Graph of y = cos x
The graph of y = cos x is a trigonometric function. Its domain is all real numbers and its range is −1 ≤ y ≤ 1. It crosses the x-axis at (−4.71239, 0), (−1.5708, 0), (1.5708, 0) and (4.71239, 0) and the y-axis at (0, 1). It has a local minimum at (−9.42478, −1), a local maximum at (−6.28319, 1), a local minimum at (−3.14159, −1) and a local maximum at (0, 1).
y=cos(x)
Key features
| Domain | All real numbers |
|---|---|
| Range | −1 ≤ y ≤ 1 |
| x-intercepts | (−4.71239, 0), (−1.5708, 0), (1.5708, 0) and (4.71239, 0) (shown for −2π ≤ x ≤ 2π; the pattern repeats) |
| y-intercept | (0, 1) |
| Turning points | min (−9.42478, −1); max (−6.28319, 1); min (−3.14159, −1); max (0, 1); min (3.14159, −1); max (6.28319, 1) (in the window shown) |
| Symmetry | even (symmetric about the y-axis) |
| Period | 2π |
| Asymptotes | None |
| End behavior | As x → −∞, y oscillates; as x → ∞, y oscillates |
| Derivative | y′ = −sin(x) |
| Second derivative | y″ = −cos(x) |
Cosine is sine shifted left by π/2, so it starts at its maximum of 1.
Table of values
| x | 0 | π/6 | π/4 | π/3 | π/2 | π | 3π/2 | 2π |
|---|---|---|---|---|---|---|---|---|
| y | 1 | 0.866025 | 0.707107 | 0.5 | 0 | −1 | 0 | 1 |
How to graph y = cos x
- Open the graphing calculator and type
y = cos(x). - Plot the y-intercept (0, 1).
- Plot the x-intercepts: (−4.71239, 0), (−1.5708, 0), (1.5708, 0), (4.71239, 0).
- Mark the turning points: (−9.42478, −1), (−6.28319, 1), (−3.14159, −1), (0, 1).
- Use the table of values to add a few more points, then connect them with a smooth curve that follows the end behavior.
About trigonometric functions
Trigonometric functions are periodic: the graph repeats after a fixed horizontal distance called the period. Angles are in radians.
Frequently asked questions
What is the domain and range of y = cos x?
Domain: All real numbers. Range: −1 ≤ y ≤ 1.
What are the x-intercepts of y = cos x?
(−4.71239, 0), (−1.5708, 0), (1.5708, 0) and (4.71239, 0).
What is the derivative of cos x?
−sin(x). Graph it by defining f(x) = cos(x) and typing f'(x).
Is cos x even, odd or neither?
It is even (symmetric about the y-axis).