Cosine — The Other Side
Same circle, same sweep — the horizontal twin of sine
This concept builds on Sine on the Unit Circle and in a Right Triangle. Consider exploring it first for the best experience.
Same Circle, Turned a Quarter
Start with the same unit circle as sine: radius 1, a red point on the edge and the hypotenuse from the centre. Here 0° points straight up and θ sweeps counter-clockwise, so the bold blue segment — cos(θ) — stands upright and matches the height of the wave beside it. At 0° it spans the whole radius: cos(0°) = 1. As θ grows the segment shortens, and the wave records each length, so the cosine curve starts at its peak instead of at zero.
Adjacent Over Hypotenuse
cos(θ) = adjacent / hypotenuse. The adjacent side is the blue leg running along the 0° direction; the hypotenuse is always 1 on the unit circle, so cos(θ) is simply the length of the blue leg. The red side opposite θ is sin(θ), so every right triangle drawn here obeys sin²(θ) + cos²(θ) = 1. As θ reaches 90° the point swings level with the centre, the blue leg shrinks to nothing and cos(90°) = 0.
Going Negative
Past 90° the point drops below the centre, so the blue leg now points downward and cos(θ) turns negative. Watch the "cos(θ)" card fall until, at 180°, the point is directly opposite where it started and cos(180°) = −1, the lowest the wave ever goes. From 180° to 270° the value climbs back to 0, and by 360° it returns to 1, ready to repeat. Cosine is symmetric: cos(−θ) = cos(θ), so turning the same angle the other way gives the same value.
Worked Example: θ = 60°
Under "Jump to θ", press the 60° button. The adjacent leg is exactly half the radius, so cos(60°) = 0.5 / 1 = 0.5, and the "sin(θ)" card shows 0.866. Check: 0.5² + 0.866² = 0.25 + 0.75 = 1. A 4 m ladder leaning at 60° to the ground has its foot 4 × 0.5 = 2 m from the wall. Now press 90°: the blue leg vanishes and cos(90°) = 0.
Compare With Sine
Tick "Compare with sine". The dashed green curve is sin(θ) on the same axes. Both curves have the same shape, height and period, but cosine reaches its peak at 0° while sine waits until 90°, a quarter-cycle later. The "90° shift" marker spans that gap: cos(θ) = sin(θ + 90°). Where one curve crosses zero the other is at a peak or a trough, so whenever sine is changing fastest, cosine is at its largest size. This is why cosine is the rate of change of sine.
What-If: Slide the Phase
Keep "Compare with sine" ticked and move the "Phase (φ)" slider. The blue curve slides sideways while keeping its shape. At φ = −90° (with "Amplitude (A)" at 1 and "Frequency (ω)" at 1) it lands exactly on the dashed sine curve and a Match! note appears: cos(θ − 90°) = sin(θ). Sine and cosine are one wave, offset in time. Try φ = +90° as well: the curve flips onto −sin(θ), the upside-down sine.
How It Works — Step by Step
-
1
Same Circle, Turned a Quarter
Start with the same unit circle as sine: radius 1, a red point on the edge and the hypotenuse from the centre. Here 0° points straight up and θ sweeps counter-clockwise, so the bold blue segment — cos(θ) — stands upright and matches the height of the wave beside it. At 0° it spans the whole radius: cos(0°) = 1. As θ grows the segment shortens, and the wave records each length, so the cosine curve starts at its peak instead of at zero.
-
2
Adjacent Over Hypotenuse
cos(θ) = adjacent / hypotenuse. The adjacent side is the blue leg running along the 0° direction; the hypotenuse is always 1 on the unit circle, so cos(θ) is simply the length of the blue leg. The red side opposite θ is sin(θ), so every right triangle drawn here obeys sin²(θ) + cos²(θ) = 1. As θ reaches 90° the point swings level with the centre, the blue leg shrinks to nothing and cos(90°) = 0.
-
3
Going Negative
Past 90° the point drops below the centre, so the blue leg now points downward and cos(θ) turns negative. Watch the "cos(θ)" card fall until, at 180°, the point is directly opposite where it started and cos(180°) = −1, the lowest the wave ever goes. From 180° to 270° the value climbs back to 0, and by 360° it returns to 1, ready to repeat. Cosine is symmetric: cos(−θ) = cos(θ), so turning the same angle the other way gives the same value.
-
4
Worked Example: θ = 60°
Under "Jump to θ", press the 60° button. The adjacent leg is exactly half the radius, so cos(60°) = 0.5 / 1 = 0.5, and the "sin(θ)" card shows 0.866. Check: 0.5² + 0.866² = 0.25 + 0.75 = 1. A 4 m ladder leaning at 60° to the ground has its foot 4 × 0.5 = 2 m from the wall. Now press 90°: the blue leg vanishes and cos(90°) = 0.
-
5
Compare With Sine
Tick "Compare with sine". The dashed green curve is sin(θ) on the same axes. Both curves have the same shape, height and period, but cosine reaches its peak at 0° while sine waits until 90°, a quarter-cycle later. The "90° shift" marker spans that gap: cos(θ) = sin(θ + 90°). Where one curve crosses zero the other is at a peak or a trough, so whenever sine is changing fastest, cosine is at its largest size. This is why cosine is the rate of change of sine.
-
6
What-If: Slide the Phase
Keep "Compare with sine" ticked and move the "Phase (φ)" slider. The blue curve slides sideways while keeping its shape. At φ = −90° (with "Amplitude (A)" at 1 and "Frequency (ω)" at 1) it lands exactly on the dashed sine curve and a Match! note appears: cos(θ − 90°) = sin(θ). Sine and cosine are one wave, offset in time. Try φ = +90° as well: the curve flips onto −sin(θ), the upside-down sine.
Key Takeaways
Cosine = Adjacent Leg
On the unit circle, cos(θ) is the length of the adjacent leg — the distance along the 0° direction from the centre to the foot of the perpendicular.
90° Phase Shift
The cosine wave is the sine wave shifted 90° to the left: cos(θ) = sin(θ + 90°), and sin(θ) = cos(θ − 90°). Same shape, different starting point.
Key Values
cos(0°) = 1, cos(60°) = 0.5, cos(90°) = 0, cos(180°) = −1, cos(270°) = 0. It starts at its peak, not at 0.
Same Periodicity
Like sine, cosine repeats every 360° (2π radians) and stays between −1 and 1. Same period, same amplitude, different phase.
Connected Concepts
Sine
Its sibling on the vertical axis.
Tangent
Cosine is the denominator — causing tan to blow up at 90°.
Dot Product
Cosine measures alignment.
Law of Cosines
Cosine is the missing piece that extends the Pythagorean theorem to any triangle.
Unit Circle
Every cosine value is the x-coordinate of a point on this circle.
Polar Coordinates
A point at distance r and angle θ sits at x = r·cos(θ) — cosine turns angles into positions.
Simple Harmonic Motion
A mass released from the top of its swing moves as A·cos(ωt), starting at its peak just like this wave.
Fourier Series
Any repeating signal can be built by adding sine and cosine waves of different frequencies.
Updated
- — Steps now explain sin² + cos² = 1, the full turn back to 1 and why cosine leads sine; three new connections.
- — Each step now holds for a full turn; the worked example adds cos 90° = 0, which the quiz now asks about.
- — New Compare with sine overlay, Jump to θ buttons and a 60° worked example; steps now match the rotated circle.