What the graph of y = cos x looks like
The cosine graph is the sine wave shifted π/2 to the left: cos x = sin(x + π/2). It starts at its peak (0, 1), crosses zero at π/2, reaches −1 at π and returns to 1 at 2π. It traces the horizontal coordinate of a point moving round the unit circle.
Cosine is even — cos(−x) = cos x — so the graph is a mirror image across the y-axis. Its derivative is −sin x, and together sine and cosine describe every simple oscillation, from pendulums to alternating current.
Key features of y = cos x
| Property | Value |
|---|---|
| Function | y = cos x (Cosine wave) |
| Family | Trigonometric |
| Domain | All real numbers (−∞, ∞) |
| Range | −1 ≤ y ≤ 1, i.e. [−1, 1] |
| x-intercept(s) | x = π/2 + kπ (…, −π/2, π/2, 3π/2, …) |
| y-intercept | y = 1 |
| Symmetry | Even — symmetric about the y-axis |
| Asymptotes | None |
| Period | 2π ≈ 6.2832 |
| Increasing on | [π + 2kπ, 2π + 2kπ] |
| Decreasing on | [2kπ, π + 2kπ] |
| Key points | Maximum 1 at x = 2kπ; minimum −1 at x = π + 2kπ |
| Derivative f′(x) | −sin x |
| Antiderivative ∫ f(x) dx | sin x + C |
Symmetry: Even — symmetric about the y-axis. For example f(2) = −0.4161 and f(−2) = −0.4161 are equal, so the left half mirrors the right half. Intercepts: the graph meets the x-axis at x = π/2 + kπ (…, −π/2, π/2, 3π/2, …) and the y-axis at y = 1.
Table of values for y = cos x
| x | y = cos x | Slope f′(x) |
|---|---|---|
| −π | −1 | 0 |
| −π/2 | 0 | 1 |
| −π/4 | 0.7071 | 0.7071 |
| 0 | 1 | 0 |
| π/6 | 0.866 | −0.5 |
| π/4 | 0.7071 | −0.7071 |
| π/3 | 0.5 | −0.866 |
| π/2 | 0 | −1 |
| 2π/3 | −0.5 | −0.866 |
| 3π/4 | −0.7071 | −0.7071 |
| π | −1 | 0 |
| 3π/2 | 0 | 1 |
| 2π | 1 | 0 |
How to sketch y = cos x by hand
Plot the points from the table — (−π, −1), (−π/2, 0), (−π/4, 0.7071), (0, 1), (π/6, 0.866), (π/4, 0.7071) — on axes running from about −2π to 2π horizontally. There are no asymptotes to draw. Then join the points with a smooth curve. As a check on the shape — increasing: [π + 2kπ, 2π + 2kπ]; decreasing: [2kπ, π + 2kπ].
Derivative, tangent line and area
The derivative of y = cos x is −sin x, which gives the slope of the curve at each point (the third column of the table). At x = 1 the curve is at height 0.5403 and its slope is f′(1) = −0.8415, so the tangent line there is y = −0.8415x + 1.3818.
The signed area under the curve from x = 0 to x = π/2 is 1, found using the antiderivative sin x + C.
Related graphs and transformations
- y = sin x — Same wave shifted right π/2
- y = sec x — Reciprocal 1/cos x
- y = arccos x — Inverse cosine
- y = cosh x — Hyperbolic cosine
- y = tan x — sin x / cos x
- y = 2 sin x — Sine with amplitude 2
Browse all graphs of common functions by family, or open the graphing calculator.