Math glossary

Cosine Function: Unit Circle, Graph, and Examples

Read cosine values from the unit circle. Learn its domain, range, symmetry, periods, and inverse with six examples.

TL;DR

Cosine gives the horizontal coordinate of a point on the unit circle at angle θ\theta. For an acute angle in a right triangle, it is adjacent side divided by hypotenuse.

Key Points

  • The cosine function accepts any real radian input and gives an output between −1-1 and 1.
  • Its basic graph starts at 1, reaches −1-1 halfway through a turn, and repeats every 2π2\pi.
  • Cosine is even, so cos(−θ)=cosθ\cos(-\theta)=\cos\theta.
  • arccos\arccos returns an angle between 0 and π\pi when its input lies in [−1,1][-1,1].
  • For a cosine equation on a full turn, check both angles with the required horizontal coordinate.

What is the cosine function?

For a point reached by rotating an angle θ\theta from the positive horizontal axis on the unit circle, the point is

(cosθ,sinθ).(\cos\theta,\sin\theta).

Cosine is its horizontal coordinate. In an acute right triangle, scale the hypotenuse to length 1. The adjacent leg along the horizontal axis then has length adjacent/hypotenuse\mathrm{adjacent}/\mathrm{hypotenuse}. This gives the same cosine definition. The unit circle extends it to angles beyond the acute range and shows when it is negative. OpenStax derives these definitions together.

A radius to a point in quadrant two at 120 degrees has negative one-half as its horizontal coordinate
At 120∘120^\circ, the point's horizontal projection is −1/2-1/2, so cos120∘=−1/2\cos120^\circ=-1/2.

How do you find common cosine values and signs?

Angle Radians Cosine
0∘0^\circ 0 1
30∘30^\circ π/6\pi/6 3/2\sqrt3/2
45∘45^\circ π/4\pi/4 2/2\sqrt2/2
60∘60^\circ π/3\pi/3 1/21/2
90∘90^\circ π/2\pi/2 0
180∘180^\circ π\pi −1-1
270∘270^\circ 3π/23\pi/2 0
360∘360^\circ 2π2\pi 1

Cosine is positive in quadrants I and IV because the horizontal coordinate is positive there. It is negative in quadrants II and III. At both vertical-axis points it is zero. For an angle away from the axes, find the acute reference angle and apply the sign from its quadrant. The trigonometric table gives more exact values for all six functions.

What are the domain, range, period, and symmetries?

Every real input θ\theta is allowed, and the range is [−1,1][-1,1]. Over one period, the graph goes from 1 at 0 to 0 at π/2\pi/2, down to −1-1 at π\pi, up to 0 at 3π/23\pi/2, and back to 1 at 2π2\pi. Its period is 2π2\pi because a full turn brings the circle point back to the start.

Reflecting an angle across the horizontal axis preserves the horizontal coordinate, so cos(−θ)=cosθ\cos(-\theta)=\cos\theta. This makes the graph symmetric about the vertical axis. The sine graph is related by cosθ=sin(θ+π/2)\cos\theta=\sin(\theta+\pi/2). Sine and cosine also satisfy cos2θ+sin2θ=1\cos^2\theta+\sin^2\theta=1, the equation of the unit circle.

For f(x)=Acos(Bx−C)+Df(x)=A\cos(Bx-C)+D with nonzero AA and BB, the amplitude is |A|\lvert A\rvert, the period is 2π/|B|2\pi/\lvert B\rvert, and the midline is y=Dy=D. Its range is [D−|A|,D+|A|][D-\lvert A\rvert,D+\lvert A\rvert]. Rewriting the argument as B(x−C/B)B(x-C/B) shows the horizontal shift C/BC/B. The sine and cosine graph lesson focuses on plotting these transformations from five points.

How do inverse cosine and cosine equations work?

Cosine takes most values more than once over a full turn. To make an inverse function, restrict the original angle to [0,π][0,\pi], on which cosine decreases from 1 to −1-1. The inverse arccosy\arccos y accepts −1≤y≤1-1\le y\le1 and returns one principal angle in [0,π][0,\pi]. OpenStax's inverse-trigonometric chapter explains the restriction.

For a full set of solutions, let α=arccosy\alpha=\arccos y. Then θ=2kπ+α\theta=2k\pi+\alpha or θ=2kπ−α\theta=2k\pi-\alpha for integer kk. The two families can coincide when y=1y=1 or y=−1y=-1. Filter the solutions to the requested interval. The degrees-to-radians guide gives the factor for converting to a consistent angle unit.

How is cosine used in calculus?

For a real input measured in radians, (cosx)′=−sinx(\cos x)'=-\sin x and ∫cosxdx=sinx+C\int\cos x\,dx=\sin x+C. The negative sine tracks the slope of the cosine graph, while the antiderivative returns the same derivative when you differentiate it. The integral of cosine guide compares signed integrals with geometric area.

The hyperbolic cosine coshx=(ex+e−x)/2\cosh x=(e^x+e^{-x})/2 is a different function. It is even, has minimum 1 at zero, and grows as the input moves away from zero. OpenStax's hyperbolic calculus chapter develops its exponential definition and applications.

Worked Cosine Function Examples

Example 1

A right triangle has a 5-centimetre leg adjacent to angle θ\theta and a 13-centimetre hypotenuse. Find cosθ\cos\theta.

  1. Use the adjacent side and the hypotenuse.
  2. Divide 5 by 13.
  3. The exact cosine is 5/135/13. The opposite side is unnecessary for this ratio.

Example 2

Find cos210∘\cos210^\circ.

  1. Subtract 180∘180^\circ to get reference angle 30∘30^\circ.
  2. The point lies in quadrant III, where the horizontal coordinate is negative.
  3. Therefore cos210∘=−3/2\cos210^\circ=-\sqrt3/2.

Example 3

Evaluate cos(−π/3)\cos(-\pi/3).

  1. Reflect the point at π/3\pi/3 across the horizontal axis.
  2. Its horizontal coordinate does not change.
  3. The result is cos(π/3)=1/2\cos(\pi/3)=1/2.

Example 4

A model uses f(t)=1.5cos(πt/4)+2f(t)=1.5\cos(\pi t/4)+2. Find its period and range.

  1. The period is 2π/(π/4)=82\pi/(\pi/4)=8 time units.
  2. The midline is 2 and the amplitude is 1.5.
  3. The range is [0.5,3.5][0.5,3.5]. The first low point after t=0t=0 is at t=4t=4.

Example 5

Solve cosθ=−2/2\cos\theta=-\sqrt2/2 for 0≤θ<2π0\le\theta<2\pi.

  1. The reference angle is π/4\pi/4.
  2. Cosine is negative in quadrants II and III.
  3. The two solutions are 3π/43\pi/4 and 5π/45\pi/4.

Example 6

Find the acute angle between the positive horizontal axis and a segment with horizontal change 3 and vertical change 4.

  1. The segment has length 32+42=5\sqrt{3^2+4^2}=5.
  2. Its cosine relative to the horizontal direction is 3/53/5.
  3. Apply inverse cosine, giving arccos(3/5)≈53.13∘\arccos(3/5)\approx53.13^\circ.

Mistakes That Change a Cosine Answer

Mistake 1: Choosing the opposite side in a right triangle

Cosine uses the leg adjacent to the selected angle, divided by the hypotenuse. If you switch acute angles, the leg names change.

Mistake 2: Confusing reciprocal and inverse cosine

secθ=1/cosθ\sec\theta=1/\cos\theta where cosine is nonzero. arccosy\arccos y returns an angle. These are different operations.

Mistake 3: Taking a calculator's principal angle as the entire solution

Use symmetry and the period to find all angles in the requested interval. Check which unit your calculator is using.

Try It Yourself

  1. Find cos(5π/3)\cos(5\pi/3).
  2. Find the period of y=cos(3x)y=\cos(3x).
  3. Find all θ\theta in [0,2π)[0,2\pi) satisfying cosθ=0\cos\theta=0.

Answers and Reasoning

  1. The reference angle is π/3\pi/3, and quadrant IV has positive cosine, so the result is 1/21/2.
  2. Divide 2π2\pi by 3 to get 2π/32\pi/3.
  3. The horizontal coordinate is zero at the top and bottom of the circle. The answers are π/2\pi/2 and 3π/23\pi/2.

Questions About Cosine

Can cosine be greater than 1?

For a real angle, no. A point on the unit circle has horizontal coordinate between −1-1 and 1, inclusive.

What is the derivative of cosine?

With radian input, it is −sinx-\sin x. See the trig derivative reference for the proof and related rules.

Conclusion

  • Use the unit circle to read the value and sign of cosine.
  • Use the graph's range, symmetry, and period to check possible answers.
  • Use the principal inverse value plus symmetry to solve a cosine equation over an interval.

Read More

Research Behind This Article

  1. OpenStax, Algebra and Trigonometry — Unit Circle. OpenStax
  2. OpenStax, Precalculus 2e — Graphs of the Sine and Cosine Functions. OpenStax
  3. OpenStax, Algebra and Trigonometry 2e — Inverse Trigonometric Functions. OpenStax
  4. Ohio State University, The Sine and Cosine Functions. Ximera
  5. OpenStax, Calculus Volume 1 — Calculus of the Hyperbolic Functions. OpenStax