Graph of y = cos x

Trigonometric functions · Updated 2026-11-26

Quick answer

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).

−10−8−6−4−2246810−6−4−2246
  • y=cos(x)
Open in graphing calculator

Click the curve to show intercepts and turning points.

Key features

DomainAll 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 pointsmin (−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)
Symmetryeven (symmetric about the y-axis)
Period2π
AsymptotesNone
End behaviorAs x → −∞, y oscillates; as x → ∞, y oscillates
Derivativey′ = −sin(x)
Second derivativey″ = −cos(x)

Cosine is sine shifted left by π/2, so it starts at its maximum of 1.

Table of values

x0π/6π/4π/3π/2π3π/22π
y10.8660250.7071070.50−101

How to graph y = cos x

  1. Open the graphing calculator and type y = cos(x).
  2. Plot the y-intercept (0, 1).
  3. Plot the x-intercepts: (−4.71239, 0), (−1.5708, 0), (1.5708, 0), (4.71239, 0).
  4. Mark the turning points: (−9.42478, −1), (−6.28319, 1), (−3.14159, −1), (0, 1).
  5. 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).