[Home](https://learningfolio.de5.net/) / [Math](https://learningfolio.de5.net/math/) / [Math glossary](https://learningfolio.de5.net/math/glossary/) / Cosine Function: Unit Circle, Graph, and Examples

[Math glossary](https://learningfolio.de5.net/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.

Written by **Learningfolio Team**

We’re subject-matter experts in math, science, parent support, and education, with 100 years of combined experience. We believe in learning, experimenting, and growing, and we review one another’s work.

## On this page

* [TL;DR](https://learningfolio.de5.net/math/cosine-function/#tldr)
* [Key Points](https://learningfolio.de5.net/math/cosine-function/#key-points)
* [What is the cosine function?](https://learningfolio.de5.net/math/cosine-function/#what-is-the-cosine-function)
* [How do you find common cosine values and signs?](https://learningfolio.de5.net/math/cosine-function/#how-do-you-find-common-cosine-values-and-signs)
* [What are the domain, range, period, and symmetries?](https://learningfolio.de5.net/math/cosine-function/#what-are-the-domain-range-period-and-symmetries)
* [How do inverse cosine and cosine equations work?](https://learningfolio.de5.net/math/cosine-function/#how-do-inverse-cosine-and-cosine-equations-work)
* [How is cosine used in calculus?](https://learningfolio.de5.net/math/cosine-function/#how-is-cosine-used-in-calculus)
* [Worked Cosine Function Examples](https://learningfolio.de5.net/math/cosine-function/#worked-cosine-function-examples)
* [Mistakes That Change a Cosine Answer](https://learningfolio.de5.net/math/cosine-function/#mistakes-that-change-a-cosine-answer)
* [Try It Yourself](https://learningfolio.de5.net/math/cosine-function/#try-it-yourself)
* [Questions About Cosine](https://learningfolio.de5.net/math/cosine-function/#questions-about-cosine)
* [Conclusion](https://learningfolio.de5.net/math/cosine-function/#conclusion)
* [Read More](https://learningfolio.de5.net/math/cosine-function/#read-more)
* [Research Behind This Article](https://learningfolio.de5.net/math/cosine-function/#research-behind-this-article)

## 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$ and 1.
* Its basic graph starts at 1, reaches $-1$ halfway through a turn, and repeats every $2\pi$.
* Cosine is even, so $\cos(-\theta)=\cos\theta$.
* $\arccos$ returns an angle between 0 and $\pi$ when its input lies in $[-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\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 $\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](https://learningfolio.de5.net/assets/versioned/cosine-unit-circle-horizontal-coordinate.e1e594b1ff96.webp)


At $120^\circ$, the point's horizontal projection is $-1/2$, so $\cos120^\circ=-1/2$.

## How do you find common cosine values and signs?

| Angle | Radians | Cosine |
| --- | --- | --- |
| $0^\circ$ | 0 | 1 |
| $30^\circ$ | $\pi/6$ | $\sqrt3/2$ |
| $45^\circ$ | $\pi/4$ | $\sqrt2/2$ |
| $60^\circ$ | $\pi/3$ | $1/2$ |
| $90^\circ$ | $\pi/2$ | 0 |
| $180^\circ$ | $\pi$ | $-1$ |
| $270^\circ$ | $3\pi/2$ | 0 |
| $360^\circ$ | $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](https://learningfolio.de5.net/math/trigonometry-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]$. Over one period, the graph goes from 1 at 0 to 0 at $\pi/2$, down to $-1$ at $\pi$, up to 0 at $3\pi/2$, and back to 1 at $2\pi$. Its period is $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(-\theta)=\cos\theta$. This makes the graph symmetric about the vertical axis. The sine graph is related by $\cos\theta=\sin(\theta+\pi/2)$. Sine and cosine also satisfy $\cos^2\theta+\sin^2\theta=1$, the equation of the unit circle.

For $f(x)=A\cos(Bx-C)+D$ with nonzero $A$ and $B$, the amplitude is $\lvert A\rvert$, the period is $2\pi/\lvert B\rvert$, and the midline is $y=D$. Its range is $[D-\lvert A\rvert,D+\lvert A\rvert]$. Rewriting the argument as $B(x-C/B)$ shows the horizontal shift $C/B$. The [sine and cosine graph lesson](https://learningfolio.de5.net/math/how-to-graph-sine-and-cosine-functions/) 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,\pi]$, on which cosine decreases from 1 to $-1$. The inverse $\arccos y$ accepts $-1\le y\le1$ and returns one principal angle in $[0,\pi]$. OpenStax's inverse-trigonometric chapter explains the restriction.

For a full set of solutions, let $\alpha=\arccos y$. Then $\theta=2k\pi+\alpha$ or $\theta=2k\pi-\alpha$ for integer $k$. The two families can coincide when $y=1$ or $y=-1$. Filter the solutions to the requested interval. The [degrees-to-radians guide](https://learningfolio.de5.net/math/radians-in-math/) gives the factor for converting to a consistent angle unit.

## How is cosine used in calculus?

For a real input measured in radians, $(\cos x)'=-\sin x$ and $\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](https://learningfolio.de5.net/math/integral-of-cos-x/) compares signed integrals with geometric area.

The **hyperbolic cosine** $\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\theta$.

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

### Example 2

Find $\cos210^\circ$.

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

### Example 3

Evaluate $\cos(-\pi/3)$.

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

### Example 4

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

1. The period is $2\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]$. The first low point after $t=0$ is at $t=4$.

### Example 5

Solve $\cos\theta=-\sqrt2/2$ for $0\le\theta<2\pi$.

1. The reference angle is $\pi/4$.
2. Cosine is negative in quadrants II and III.
3. The two solutions are $3\pi/4$ and $5\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 $\sqrt{3^2+4^2}=5$.
2. Its cosine relative to the horizontal direction is $3/5$.
3. Apply inverse cosine, giving $\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\theta=1/\cos\theta$ where cosine is nonzero. $\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\pi/3)$.
2. Find the period of $y=\cos(3x)$.
3. Find all $\theta$ in $[0,2\pi)$ satisfying $\cos\theta=0$.

### Answers and Reasoning

1. The reference angle is $\pi/3$, and quadrant IV has positive cosine, so the result is $1/2$.
2. Divide $2\pi$ by 3 to get $2\pi/3$.
3. The horizontal coordinate is zero at the top and bottom of the circle. The answers are $\pi/2$ and $3\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$ and 1, inclusive.

### What is the derivative of cosine?

With radian input, it is $-\sin x$. See the [trig derivative reference](https://learningfolio.de5.net/math/differentiation-of-trigonometric-functions/) 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

* [Why a secant derivative uses a reciprocal of cosine](https://learningfolio.de5.net/math/derivative-of-sec-x/)
* [Apply the Pythagorean identity to sine and cosine](https://learningfolio.de5.net/math/pythagorean-identities/)

## Research Behind This Article

1. OpenStax, *Algebra and Trigonometry — Unit Circle*. [OpenStax](https://openstax.org/books/algebra-and-trigonometry/pages/7-3-unit-circle)
2. OpenStax, *Precalculus 2e — Graphs of the Sine and Cosine Functions*. [OpenStax](https://openstax.org/books/precalculus-2e/pages/6-1-graphs-of-the-sine-and-cosine-functions)
3. OpenStax, *Algebra and Trigonometry 2e — Inverse Trigonometric Functions*. [OpenStax](https://openstax.org/books/algebra-and-trigonometry-2e/pages/8-3-inverse-trigonometric-functions)
4. Ohio State University, *The Sine and Cosine Functions*. [Ximera](https://ximera.osu.edu/precal/precalculusWithReview2/9-1UnitCircleToFunctionGraph/9-1-2TheSineAndCosineFunctions)
5. OpenStax, *Calculus Volume 1 — Calculus of the Hyperbolic Functions*. [OpenStax](https://openstax.org/books/calculus-volume-1/pages/6-9-calculus-of-the-hyperbolic-functions)
