Introduction to Three Dimensional Geometry

Maths · Class 11

Simulation · Maths · Class 11

Pythagoras twice: the distance across a box

"Pythagoras twice: the distance across a box" is a free, interactive Class 11 Maths simulation for JEE, built on the lesson "Distance between two points" in Introduction to Three Dimensional Geometry. P and Q are opposite corners of a box. Its edges are the three coordinate differences. Triangle ANQ is right angled at N, so AQ² = AN² + NQ²; triangle PAQ is right angled at A, so PQ² = PA² + AQ². Change the edges and follow the numbers. PQ² is the sum of the squares of the three coordinate differences, found by Pythagoras twice across the box: PQ = √[(x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²].

From the lesson Distance between two points in Introduction to Three Dimensional Geometry. Change the values and watch what happens.

Pythagoras twice: the distance across a boxMaths · Class 11

The idea behind it

NCERT §11.4, Example 3

  • Let P(x₁, y₁, z₁) and Q(x₂, y₂, z₂) be two points. Planes through each point parallel to the coordinate planes make a rectangular box (a cuboid) with PQ as a diagonal.
  • In the box, the angle at corner A of triangle PAQ is right, so PQ² = PA² + AQ². AQ is itself the hypotenuse of the right triangle ANQ, so AQ² = AN² + NQ².
  • The three edges are the coordinate differences: PA = y₂ − y₁, AN = x₂ − x₁ and NQ = z₂ − z₁. Hence PQ² = (x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)².
  • PQ = √[(x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²]. From the origin, OQ = √(x² + y² + z²).
  • The order of the points does not matter because every difference is squared.
  • Worked: P(1, −3, 4) and Q(−4, 1, 2) give PQ² = 25 + 16 + 4 = 45, so PQ = 3√5 units.
  • A quick own check: (3, 4, 12) is √(9 + 16 + 144) = 13 from the origin; its foot (3, 4, 0) on the floor is 5 from O, and 5, 12, 13 is the vertical right triangle.

Questions

2 answers

What does the "Pythagoras twice: the distance across a box" simulation show?
P and Q are opposite corners of a box. Its edges are the three coordinate differences. Triangle ANQ is right angled at N, so AQ² = AN² + NQ²; triangle PAQ is right angled at A, so PQ² = PA² + AQ². Change the edges and follow the numbers.
Is this simulation free?
Yes. It is free and runs in the browser on a phone or a laptop. It belongs to the lesson "Distance between two points" in Introduction to Three Dimensional Geometry (Class 11 Maths).

Embed this simulation

Free, with a link back

Teaching this idea? Put the simulation on your own page or LMS with this code.