Cosine Function - Graph, Properties & Examples

#Trigonometry
TL;DR
The cosine function gives the $x$-coordinate of a point on the unit circle, or the ratio $\frac{\text{adjacent}}{\text{hypotenuse}}$ in a right triangle. This article covers the definition, the cosine graph (period $2\pi$, range $[-1, 1]$), why cosine is an even function, its quadrant signs, key values, and worked examples.
BT
Bhanzu TeamLast updated on July 15, 20268 min read

What Is the Cosine Function?

The cosine function, written $\cos\theta$, is one of the three primary trigonometric functions. It has two equivalent definitions, and a student needs both.

  • Right-triangle definition. For an acute angle $\theta$ in a right triangle, $\cos\theta = \dfrac{\text{adjacent}}{\text{hypotenuse}}$. This is the SOH-CAH-TOA "CAH" — Cosine, Adjacent, Hypotenuse.

  • Unit-circle definition. For any angle $\theta$, place the angle at the centre of a circle of radius 1. The point where the terminal ray meets the circle has coordinates $(\cos\theta, \sin\theta)$. So cosine is the $x$-coordinate of that point.

The triangle definition handles angles between $0°$ and $90°$. The unit-circle definition extends cosine to every angle, including obtuse, reflex, and negative ones — which is what lets cosine become a wave rather than just a ratio. Cosine is the complement of sine (the sine and cosine pairing runs through all of trigonometry), and it sits among the wider family of trigonometric functions.

Computing the Same Value Two Ways

Take $\theta = 60°$. From the right triangle (a 30-60-90 with hypotenuse 2, adjacent side 1):

$$\cos 60° = \dfrac{\text{adjacent}}{\text{hypotenuse}} = \dfrac{1}{2}$$

From the unit circle, the point at $60°$ is $\left(\dfrac{1}{2}, \dfrac{\sqrt{3}}{2}\right)$, so the $x$-coordinate is $\dfrac{1}{2}$. Same answer, two anchors. Holding both prevents the common gap where cosine feels like "a triangle ratio" in one chapter and "a wave" in the next, never the same object.

What Are the Properties of the Cosine Function?

The behaviour of $\cos\theta$ is fixed by a handful of properties, each readable straight off the graph above.

  • Domain: all real numbers — you can feed cosine any angle.

  • Range: $[-1, 1]$ — the output never escapes this band.

  • Period: $2\pi$ (or $360°$). The wave repeats every full turn: $\cos(\theta + 2\pi) = \cos\theta$.

  • Amplitude: 1 — the distance from the centre line to a peak.

  • Even function: $\cos(-\theta) = \cos\theta$. The graph is a mirror image across the $y$-axis.

  • Maximum / minimum: $+1$ at $\theta = 0, 2\pi, \dots$ and $-1$ at $\theta = \pi, 3\pi, \dots$

Cosine Signs by Quadrant

Because cosine is the $x$-coordinate, its sign follows the sign of $x$ around the circle.

Quadrant

Angle range

Sign of $\cos\theta$

I

$0°$ to $90°$

Positive

II

$90°$ to $180°$

Negative

III

$180°$ to $270°$

Negative

IV

$270°$ to $360°$

Positive

The word "quadrant" just names one of the four regions the axes cut the plane into; cosine is positive wherever a point sits to the right of the $y$-axis.

Key Cosine Values

These special-angle values are worth knowing cold; they recur throughout trigonometry and feed the trigonometric table.

$\theta$

$0°$

$30°$

$45°$

$60°$

$90°$

$180°$

$\cos\theta$

$1$

$\dfrac{\sqrt{3}}{2}$

$\dfrac{1}{\sqrt{2}}$

$\dfrac{1}{2}$

$0$

$-1$

Examples of the Cosine Function

Example 1

A right triangle has an adjacent side of 4 and a hypotenuse of 5. Find $\cos\theta$.

$$\cos\theta = \dfrac{\text{adjacent}}{\text{hypotenuse}} = \dfrac{4}{5}$$

Final answer: $\cos\theta = \dfrac{4}{5}$.

Example 2

Evaluate $\cos(-60°)$. First instinct, then the correct route.

The tempting move is to treat the minus sign like a subtraction and write $\cos(-60°) = -\cos 60° = -\dfrac{1}{2}$.

Check it against the graph. Cosine is symmetric about the $y$-axis — the curve at $-60°$ sits at the same height as at $+60°$, both above the axis. A negative answer would put it below. That contradicts the picture, so the instinct is wrong.

The rescue is the even-function property: $\cos(-\theta) = \cos\theta$.

$$\cos(-60°) = \cos 60° = \dfrac{1}{2}$$

Final answer: $\cos(-60°) = \dfrac{1}{2}$.

Example 3

Find $\cos 120°$ using a reference angle.

$120°$ lands in Quadrant II, where cosine is negative. Its reference angle is $180° - 120° = 60°$.

$$\cos 120° = -\cos 60° = -\dfrac{1}{2}$$

Final answer: $\cos 120° = -\dfrac{1}{2}$.

Example 4

The amplitude of $y = 3\cos x$ is what, and what is its range?

The coefficient 3 stretches the wave vertically. Amplitude $= 3$, so the range is $[-3, 3]$.

Final answer: amplitude $3$, range $[-3, 3]$.

Example 5

Find the period of $y = \cos(2x)$.

The period of $\cos(bx)$ is $\dfrac{2\pi}{b}$. Here $b = 2$:

$$\text{Period} = \dfrac{2\pi}{2} = \pi$$

Final answer: period $= \pi$.

Example 6

Verify the Pythagorean identity at $\theta = 45°$.

The identity $\cos^2\theta + \sin^2\theta = 1$ should hold for every angle. At $45°$, $\cos 45° = \sin 45° = \dfrac{1}{\sqrt{2}}$:

$$\left(\dfrac{1}{\sqrt{2}}\right)^2 + \left(\dfrac{1}{\sqrt{2}}\right)^2 = \dfrac{1}{2} + \dfrac{1}{2} = 1 \checkmark$$

Final answer: the identity holds. See the Pythagorean identities for the general proof.

The first-instinct error students reach for in these is dropping the reference-angle step for obtuse angles — the triangle gives the size of the value, but the quadrant decides the sign, and skipping the second part is exactly where $\cos 120°$ comes out positive by mistake.

Why the Cosine Function Matters - "Sideways Position Under Rotation"

Cosine exists to describe one specific thing well: how far a rotating object has travelled in the horizontal direction. That single job is why the function is everywhere periodic motion is.

  • Signal processing. Any sound or radio wave can be built from cosine waves of different frequencies — the basis of the Fourier transform behind audio and image compression.

  • Physics of waves and oscillation. A swinging pendulum or a mass on a spring has a position that follows $x(t) = A\cos(\omega t)$.

  • The dot product and angles. In vectors, $\cos\theta$ measures how aligned two directions are, which is how a search engine compares two documents or a graphics engine computes lighting.

What competitor explainers usually skip is why cosine, specifically, leads with a peak: at angle zero the rotating point is fully to the right, so its $x$-coordinate is already at maximum. Sine starts at zero because the same point starts with no height. The two functions are the same wave, a quarter-turn apart.

Common Mistakes With the Cosine Function

Mistake 1: Treating $\cos(-\theta)$ as $-\cos\theta$

Where it slips in: Any time a negative angle appears inside cosine.

Don't do this: Pulling the sign out: $\cos(-\theta) = -\cos\theta$.

The correct way: Cosine is even — $\cos(-\theta) = +\cos\theta$. The sign stays inside and does nothing.

The point of confusion here is between cosine (even) and sine (odd, where $\sin(-\theta) = -\sin\theta$). Students who learn one rule and apply it to both functions get exactly half their negative-angle answers wrong.

Mistake 2: Forgetting the quadrant sign

Where it slips in: Computing cosine of an obtuse or reflex angle from its reference angle.

Don't do this: Writing $\cos 150° = \cos 30° = \dfrac{\sqrt{3}}{2}$ and leaving it positive.

The correct way: $150°$ is in Quadrant II, where cosine is negative, so $\cos 150° = -\dfrac{\sqrt{3}}{2}$.

The rusher computes the reference value and stops; the habit the reference-angle method fixes is doing the size and the sign as two separate, deliberate steps.

Mistake 3: Confusing amplitude with period

Where it slips in: Reading off transformations of $y = a\cos(bx)$.

Don't do this: Saying $y = 2\cos(3x)$ has period 2 and amplitude 3.

The correct way: The outside coefficient $a = 2$ is the amplitude; the inside coefficient $b = 3$ sets the period $\dfrac{2\pi}{3}$.

Key Takeaways

  • The cosine function is $\dfrac{\text{adjacent}}{\text{hypotenuse}}$ in a triangle and the $x$-coordinate on the unit circle.

  • Its graph has period $2\pi$, amplitude 1, and range $[-1, 1]$.

  • Cosine is even: $\cos(-\theta) = \cos\theta$.

  • It is positive in Quadrants I and IV, negative in II and III.

  • For $y = a\cos(bx)$, $a$ sets amplitude and $b$ sets period $\dfrac{2\pi}{b}$.

To go deeper into the cosine function with a teacher, explore Bhanzu's trigonometry tutor sessions, a high school math tutor for graphing practice, or live math tutoring with peers from 20+ countries.

A Practical Next Step

Practice these to solidify your understanding: sketch $y = \cos x$ from $0$ to $2\pi$ from memory, then find the amplitude and period of $y = 4\cos(2x)$. If you get stuck, come back to the properties list above. Want a live Bhanzu trainer to graph these with you? Book a free demo class.

Read More

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

Is the cosine function even or odd?
Even. $\cos(-\theta) = \cos\theta$, so its graph is symmetric about the $y$-axis.
What is the range of the cosine function?
$[-1, 1]$. The output never goes above 1 or below $-1$.
How is cosine related to sine?
They are the same wave shifted by $90°$: $\cos\theta = \sin\left(\theta + \dfrac{\pi}{2}\right)$. Cosine leads, sine follows.
What is the difference between $\cos\theta$ and the inverse cosine?
$\cos\theta$ takes an angle and returns a ratio; the inverse, $\cos^{-1}$ or arccos, takes a ratio and returns an angle. They are not reciprocals.
Why does the cosine graph start at 1 instead of 0?
At $\theta = 0$ the unit-circle point is at $(1, 0)$, so its $x$-coordinate — the cosine — is already at its maximum.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →