Lably
Skip to content

Sine and cosine

Fundamental trigonometric functions

  • 16 min read
  • 6 chapters
  • 1 lab on Lably

Learn it on Lably

The definitions of sine and cosine have been extended to any real value in terms of the lengths of certain line segments in a unit circle. More modern definitions express the sine and cosine as infinite series, or as the solutions of certain differential equations, allowing their extension to arbitrary positive and negative values and even to complex numbers.

The sine and cosine functions are commonly used to model periodic phenomena such as sound and light waves, the position and velocity of harmonic oscillators, sunlight intensity and day length, and average temperature variations throughout the year. They can be traced to the jyā and koṭi-jyā functions used in Indian astronomy during the Gupta period.

Elementary descriptions

Right-angled triangle definition

To define the sine and cosine of an acute angle α, start with a right triangle that contains an angle of measure α; in the accompanying figure, angle α in a right triangle ABC is the angle of interest. The three sides of the triangle are named as follows:

  • The opposite side is the side opposite to the angle of interest; in this case, it is a.
  • The hypotenuse is the side opposite the right angle; in this case, it is h. The hypotenuse is always the longest side of a right-angled triangle.
  • The adjacent side is the remaining side; in this case, it is b. It forms a side of (and is adjacent to) both the angle of interest and the right angle.

Once such a triangle is chosen, the sine of the angle is equal to the length of the opposite side divided by the length of the hypotenuse, and the cosine of the angle is equal to the length of the adjacent side divided by the length of the hypotenuse: sin⁡(α)=oppositehypotenuse,cos⁡(α)=adjacenthypotenuse.

The other trigonometric functions of the angle can be defined similarly; for example, the tangent is the ratio between the opposite and adjacent sides or equivalently the ratio between the sine and cosine functions. The reciprocal of sine is cosecant, which gives the ratio of the hypotenuse length to the length of the opposite side. Similarly, the reciprocal of cosine is secant, which gives the ratio of the hypotenuse length to that of the adjacent side. The cotangent function is the ratio between the adjacent and opposite sides, a reciprocal of a tangent function. These functions can be formulated as: tan⁡(θ)=sin⁡(θ)cos⁡(θ)=oppositeadjacent,cot⁡(θ)=1tan⁡(θ)=adjacentopposite,csc⁡(θ)=1sin⁡(θ)=hypotenuseopposite,sec⁡(θ)=1cos⁡(θ)=hypotenuseadjacent.

Special angle measures

As stated, the values sin⁡(α) and cos⁡(α) appear to depend on the choice of a right triangle containing an angle of measure α. However, this is not the case as all such triangles are similar, and so the ratios are the same for each of them. For example, each leg of the 45-45-90 right triangle is 1 unit, and its hypotenuse is 2; therefore, sin⁡45∘=cos⁡45∘=22. The following table shows the special value of each input for both sine and cosine with the domain between 0≤x≤π2. The input in this table provides various unit systems such as degree, radian, and so on. The angles other than those five can be obtained by using a calculator.

Laws

The law of sines is useful for computing the lengths of the unknown sides in a triangle if two angles and one side are known. Given a triangle ABC with sides a, b, and c, and angles opposite those sides α, β, and γ, the law states, sin⁡αa=sin⁡βb=sin⁡γc. This is equivalent to the equality of the first three expressions below: asin⁡α=bsin⁡β=csin⁡γ=2R, where R is the triangle's circumradius.

The law of cosines is useful for computing the length of an unknown side if two other sides and an angle are known. The law states, a2+b2−2abcos⁡(γ)=c2 In the case where γ=π/2 from which cos⁡(γ)=0, the resulting equation becomes the Pythagorean theorem.

Vector definition

The cross product and dot product are operations on two vectors in Euclidean vector space. The sine and cosine functions can be defined in terms of the cross product and dot product. If a and b are vectors, and θ is the angle between a and b, then sine and cosine can be defined as: sin⁡(θ)=|a×b||a||b|,cos⁡(θ)=a⋅b|a||b|.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Functions