Course contents0/24 done

Distance and section formula in 3D

Same ideas as 2D — one more coordinate.

Lesson 16 of 24 10 min

You will learn

  • Use distance formula in space
  • Find midpoint of a segment
  • Apply section formula (internal)

Key idea

Distance

d=(x2−x1)2+(y2−y1)2+(z2−z1)2d = \sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2}

Key idea

Section (internal m:n)

(nx1+mx2m+n,ny1+my2m+n,nz1+mz2m+n)\left(\frac{nx_1+mx_2}{m+n},\frac{ny_1+my_2}{m+n},\frac{nz_1+mz_2}{m+n}\right)

Worked example

Distance between A(1,2,3) and B(1,2,7).

  1. Only z changes: d = √(0+0+16) = 4.

Answer: 4

Worked example

Midpoint of (2,0,4) and (4,2,0).

  1. ((2+4)/2, (0+2)/2, (4+0)/2) = (3, 1, 2).

Answer: (3, 1, 2)

Practical · Interactive lab

Graph transformations

Your task: Think of (x,y) graphs first — 3D just adds a z-axis out of the page.

Open the lab →

Checkpoint

1. Distance from origin to (3,4,12) is…