Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Blog › Explore in 3D

25 November 2026 · 3 min readInteractive 3D

Close-up of an ocean wave
Photo by Silas Baisch on Unsplash

Why does sin² + cos² = 1? Seen in 3D

Sine and cosine are two shadows of one point going round a circle. Stretch the circle into a spiral and the waves appear.

Trigonometry often starts with triangles, which makes sine and cosine feel like two separate facts to memorise. They are really one idea seen from two sides: a point going round a circle.

Drag the angle slider. Watch the point, its shadow on the wall and its shadow on the floor.

Two shadows of one motion

A point goes round a circle of radius 1. Its height above the centre is the sine of the angle; its distance across is the cosine. Slide the point forwards as it turns and it traces a spiral. Look at the spiral from the side and you see the sine wave; look from above and you see the cosine wave.

The identity, for free

The point is always exactly 1 away from the centre. Its across-distance and its height are the two short sides of a right-angled triangle, and 1 is the long side. By Pythagoras: cos² + sin² = 1², always. The readout under the model never changes, whatever angle you choose.

Waves in sound, light, electricity and even the position signals inside some language models all come from this one circle.

Checking it with numbers

  1. θ = 30°: sin = 0.5, cos ≈ 0.866
  2. 0.5² + 0.866² = 0.25 + 0.75 = 1
  3. θ = 45°: sin = cos ≈ 0.707
  4. 0.707² + 0.707² = 0.5 + 0.5 = 1

It works for every angle because a point on a circle of radius 1 has coordinates (cos θ, sin θ), and Pythagoras says its distance from the centre squared is cos²θ + sin²θ, which must be 1.

Identities that follow

Divide every term by cos²θ and you get tan²θ + 1 = sec²θ. Divide by sin²θ and you get 1 + cot²θ = csc²θ. These three are the starting point for proving almost every trigonometric identity in Class 10 and 11.

Where the waves show up

  • Alternating current at home is a sine wave, 50 times a second in India.
  • Sound waves and musical notes are sums of sines.
  • Transformers in AI add sine and cosine waves to word positions so the model knows word order.
  • Circular motion: a wheel’s valve moves up and down like a sine wave.

The helix in the 3D picture is a circle stretched along time: looked at from the side it is a sine wave, from above it is a circle.

Heights and distances

From 50 m away the top of a tower is seen at 30° above the ground. Height = 50 × tan 30° ≈ 28.9 m. The slant distance to the top is 50 ÷ cos 30° ≈ 57.7 m. Check: 28.9² + 50² ≈ 57.7², Pythagoras again.

Glossary

  • Unit circle: a circle of radius 1 centred at the origin.
  • Identity: an equation true for every value.
  • Period: the length after which a wave repeats, 360° or 2π for sine.

Try these yourself

  1. Q1. sin θ = 0.6: cos θ = 0.8 (for an acute angle)
  2. Q2. sin² 17° + cos² 17° = 1
  3. Q3. cos θ = 5/13: sin θ = 12/13
  4. Q4. Simplify 1 − cos² θ: sin² θ

Common mistakes

  • Writing sin² θ as sin(θ²); it means (sin θ)².
  • Forgetting the sign of sin or cos in other quadrants.
  • Using a calculator in the wrong angle mode.

In short

A point on the unit circle is (cos θ, sin θ), so Pythagoras gives sin² + cos² = 1 for every angle. Two more identities follow by dividing.

Keep going

  • Radians explained
  • Lesson: tokens and positions
  • Formula sheets
  • What is Ohm’s law?
  • Why is a negative times a negative positive?
  • How does a spam filter draw a line?
  • What if a straight line cannot separate data?

Read and listen in

Indian languages

World languages

Questions people ask

Why is sin² θ + cos² θ = 1?

On a circle of radius 1, cos θ and sin θ are the coordinates of a point, so Pythagoras gives cos²θ + sin²θ = 1².

Does it work for every angle?

Yes, for all angles, including those bigger than 90° and negative ones.

What other identities come from it?

Dividing by cos²θ gives 1 + tan²θ = sec²θ; dividing by sin²θ gives 1 + cot²θ = csc²θ.

More articles

  • What is a radian? Why angles go up to 2π
  • How does a spam filter draw a line?
  • What if a straight line cannot separate data?