NDA Maths · 3D Geometry

The Sphere

A sphere is all points at a fixed distance from a centre; its equation reveals the centre and radius, and a perpendicular distance settles how it meets a plane.

Why this matters

Twenty PYQs across 2017–2026 — the chapter's most self-contained subtopic and a reliable scorer. The work is reading centre and radius off the general equation, building spheres from conditions (diameter endpoints, concentric, through a point), and the tangency test against a plane. Six concepts, ending with the HARD locus problems.

Concept 1 of 6

General equation, centre, and radius

Intuition

The general sphere x2+y2+z2+2ux+2vy+2wz+d=0x^2+y^2+z^2+2ux+2vy+2wz+d=0 hides its centre and radius in the coefficients: the centre is (u,v,w)(-u,-v,-w) (half the linear coefficients, negated) and the radius comes from u2+v2+w2d\sqrt{u^2+v^2+w^2-d}. Note the squared terms must have coefficient 1.

Definition

For x2+y2+z2+2ux+2vy+2wz+d=0x^2+y^2+z^2+2ux+2vy+2wz+d=0: centre =(u,v,w)= (-u,-v,-w), radius =u2+v2+w2d= \sqrt{u^2+v^2+w^2-d}. Always ensure the coefficients of x2,y2,z2x^2, y^2, z^2 are each 1 (divide through if needed) before reading u,v,w,du, v, w, d.

Centre and radius of a sphere

centre=(u,v,w),r=u2+v2+w2d\text{centre} = (-u, -v, -w), \quad r = \sqrt{u^2 + v^2 + w^2 - d}

Diagram · sphere centre & radius (drag to rotate)

OrC

From x² + y² + z² + 2ux + 2vy + 2wz + d = 0: centre C = (−u, −v, −w), radius r = √(u² + v² + w² − d).

Worked example

Find the radius of the sphere x2+y2+z22x+4y6z2=0x^2 + y^2 + z^2 - 2x + 4y - 6z - 2 = 0.
  1. Match 2u=2, 2v=4, 2w=62u = -2,\ 2v = 4,\ 2w = -6: so u=1, v=2, w=3u = -1,\ v = 2,\ w = -3, and d=2d = -2.
  2. Centre =(1,2,3)= (1, -2, 3).
  3. Radius =(1)2+22+(3)2(2)=1+4+9+2=16=4= \sqrt{(-1)^2 + 2^2 + (-3)^2 - (-2)} = \sqrt{1+4+9+2} = \sqrt{16} = 4.
Answer:Radius =4= 4 (centre (1,2,3)(1,-2,3)).
Practice this conceptself-check · 4 quick reps

From the bank · past-year question

Example 13D GeometryEASY
What is the radius of the sphere x2+y2+z26x+8y10z+1=0x^2+y^2+z^2-6x+8y-10z+1=0?

[Q62 · Apr · 2019]

The centre is (u,v,w)(-u, -v, -w) — NEGATE the half-coefficients

From x2+y2+z2+2ux+2vy+2wz+d=0x^2+y^2+z^2+2ux+2vy+2wz+d=0, the centre is (u,v,w)(-u,-v,-w), NOT (u,v,w)(u,v,w). So a +2x+2x term (2u=2, u=12u=2,\ u=1) puts the centre at x=1x=-1, and a 4x-4x term (u=2u=-2) puts it at x=+2x=+2. The sign FLIPS. First read u,v,wu,v,w as HALF the linear coefficients, then negate to get the centre.

Radius is u2+v2+w2d\sqrt{u^2+v^2+w^2-d} — mind the d-d sign and don't drop the \sqrt{}

The radius is u2+v2+w2d\sqrt{u^2+v^2+w^2-d}. The constant is SUBTRACTED, so a negative dd (e.g. the 2-2 in 2=0\ldots-2=0) ADDS to the radical: (2)=+2-(-2)=+2. Treating the radius as u2+v2+w2du^2+v^2+w^2-d (forgetting the \sqrt{}) gives r2r^2, not rr; and ensure x2,y2,z2x^2,y^2,z^2 each have coefficient 1 before reading u,v,w,du,v,w,d.

Concept 2 of 6

Diameter form of a sphere

Intuition

If you're handed the two ENDS of a diameter, you don't need the centre and radius separately — the diameter form writes the sphere directly. The idea: any point PP on the sphere sees the diameter at a right angle, so PAPB=0\overrightarrow{PA}\cdot\overrightarrow{PB}=0.

Definition

With diameter endpoints A(x1,y1,z1)A(x_1,y_1,z_1) and B(x2,y2,z2)B(x_2,y_2,z_2), the sphere is (xx1)(xx2)+(yy1)(yy2)+(zz1)(zz2)=0(x-x_1)(x-x_2) + (y-y_1)(y-y_2) + (z-z_1)(z-z_2) = 0. The centre is the midpoint of ABAB and the radius is half of ABAB.

Diameter form

(xx1)(xx2)+(yy1)(yy2)+(zz1)(zz2)=0(x-x_1)(x-x_2) + (y-y_1)(y-y_2) + (z-z_1)(z-z_2) = 0

Worked example

(1,2,3)(1,2,3) and (3,4,5)(3,4,5) are the endpoints of a diameter of x2+y2+z2+2ux+2vy+2wz+d=0x^2+y^2+z^2+2ux+2vy+2wz+d=0. Find u+v+wu+v+w.
  1. Centre = midpoint of the diameter = (1+32,2+42,3+52)=(2,3,4)\left(\tfrac{1+3}{2}, \tfrac{2+4}{2}, \tfrac{3+5}{2}\right) = (2, 3, 4).
  2. Centre =(u,v,w)= (-u,-v,-w), so u=2, v=3, w=4u = -2,\ v = -3,\ w = -4.
  3. u+v+w=234=9u + v + w = -2 - 3 - 4 = -9.
Answer:u+v+w=9u + v + w = -9.
Practice this conceptself-check · 4 quick reps

From the bank · past-year question

Example 23D GeometryEASY
If (1,1,2)(1,-1,2) and (2,1,1)(2,1,-1) are the endpoints of a diameter of a sphere x2+y2+z2+2ux+2vy+2wz1=0x^2+y^2+z^2+2ux+2vy+2wz-1=0, then what is u+v+wu+v+w equal to?

[Q52 · Apr · 2024]

Concept 3 of 6

Building a sphere from conditions

Intuition

Most sphere questions hand you conditions instead of the equation: a centre and radius, or 'concentric with this sphere and passing through that point'. Concentric means SAME centre — reuse u,v,wu, v, w and only the constant dd changes; pin it down with the through-point.

Definition

**Centre (a,b,c)(a,b,c), radius rr:** (xa)2+(yb)2+(zc)2=r2(x-a)^2 + (y-b)^2 + (z-c)^2 = r^2. Concentric spheres share a centre, so they share u,v,wu, v, w; only dd differs. To make it pass through a given point, substitute that point to solve for dd (passing through the origin forces d=0d = 0).

Worked example

Find the equation of the sphere with centre (2,1,3)(2, -1, 3) and radius 5.
  1. Centre-radius form: (x2)2+(y+1)2+(z3)2=25(x-2)^2 + (y+1)^2 + (z-3)^2 = 25.
  2. Expand: x24x+4+y2+2y+1+z26z+9=25x^2 - 4x + 4 + y^2 + 2y + 1 + z^2 - 6z + 9 = 25.
  3. Collect: x2+y2+z24x+2y6z11=0x^2 + y^2 + z^2 - 4x + 2y - 6z - 11 = 0.
Answer:x2+y2+z24x+2y6z11=0x^2 + y^2 + z^2 - 4x + 2y - 6z - 11 = 0.
Practice this conceptself-check · 4 quick reps

From the bank · past-year question

Example 33D GeometryEASY
What is the equation of the sphere with centre (-2,3,4) and radius 6?

[Q65 · Apr · 2018]

Concept 4 of 6

Sphere and a plane — tangency and sections

Intuition

Whether a plane misses, touches, or cuts a sphere is decided by ONE number: the perpendicular distance pp from the centre to the plane, compared with the radius rr. p>rp>r misses, p=rp=r is tangent (touches), p<rp<r cuts a circle of radius r2p2\sqrt{r^2-p^2}.

Definition

Let pp be the perpendicular distance from the sphere's centre to the plane and rr the radius:

  • p>rp > r: no intersection.
  • p=rp = r: the plane is tangent (touches at one point) — the key NDA condition.
  • p<rp < r: the plane cuts a circle of radius r2p2\sqrt{r^2 - p^2}.

Tangency condition

p=r(perpendicular distance from centre = radius)p = r \quad\text{(perpendicular distance from centre = radius)}
Sphere tangent to a plane: distance from centre = radiusCp = rplanepoint of contactp > r : missp = r : tangentp < r : cuts a circle

Worked example

Find the diameter of the sphere whose centre is (1,2,2)(1, 2, 2) and which touches the plane x+2y+2z+3=0x + 2y + 2z + 3 = 0.
  1. Touches → radius = perpendicular distance from centre to plane.
  2. p=1(1)+2(2)+2(2)+31+4+4=1+4+4+39=123=4p = \dfrac{|1(1) + 2(2) + 2(2) + 3|}{\sqrt{1+4+4}} = \dfrac{|1+4+4+3|}{\sqrt{9}} = \dfrac{12}{3} = 4.
  3. So radius r=4r = 4; diameter =8= 8.
Answer:Diameter =8= 8.
Practice this conceptself-check · 4 quick reps

From the bank · past-year question

Example 43D GeometryMODERATE
What is the length of the diameter of the sphere whose centre is at (1,2,3)(1,-2,3) and which touches the plane 6x3y+2z4=06x-3y+2z-4=0?

[Q61 · Apr · 2020]

Touching a PLANE vs touching an AXIS

Tangent to a plane → use the point-to-plane distance for pp. Tangent to the z-axis → use the distance from the centre to the z-axis, xc2+yc2\sqrt{x_c^2 + y_c^2}. Don't mix the two distance formulas.

Concept 5 of 6

Sphere and the coordinate axes

Intuition

Counting spheres of a fixed radius that touch all three coordinate axes is a symmetry puzzle: the centre must sit at distance rr from each axis, which forces xc=yc=zc|x_c| = |y_c| = |z_c| with a sign choice per octant — giving a small finite count.

Definition

A sphere of radius rr touches all three axes when its centre is equidistant from each, with each distance equal to rr. Writing the centre as (±a,±a,±a)(\pm a, \pm a, \pm a), the distance from the centre to (say) the zz-axis is a2+a2=a2\sqrt{a^2 + a^2} = a\sqrt2; setting a2=ra\sqrt2 = r gives a=r2a = \tfrac{r}{\sqrt2}. Each independent sign choice gives a distinct sphere, so there are several such spheres (one per octant configuration).

Distance from a point to the z-axis

dist to z-axis=xc2+yc2\text{dist to } z\text{-axis} = \sqrt{x_c^2 + y_c^2}

Worked example

A sphere of radius 6 touches all three coordinate axes and lies in the first octant. Find the coordinates of its centre.
  1. Touching all three axes makes the centre equidistant from each, so write it as (a,a,a)(a, a, a) with a>0a > 0 (first octant).
  2. The distance from the centre to the zz-axis is a2+a2=a2\sqrt{a^2 + a^2} = a\sqrt2, and this must equal the radius: a2=6a\sqrt2 = 6.
  3. Solve: a=62=32a = \dfrac{6}{\sqrt2} = 3\sqrt2.
Answer:Centre =(32, 32, 32)= (3\sqrt2,\ 3\sqrt2,\ 3\sqrt2).
Practice this conceptself-check · 4 quick reps

From the bank · past-year question

Example 53D GeometryMODERATE
The number of spheres of radius rr touching the coordinate axes is

[Q64 · Sep · 2021]

Concept 6 of 6

Locus problems with spheres

Intuition

The chapter's hardest sphere questions ask for the LOCUS of a moving point — the centre of a variable sphere, or the centroid of the triangle where a sphere cuts the axes. The method is always the same: write the moving point's coordinates in terms of a parameter, then eliminate the parameter to get a relation in x,y,zx, y, z.

Definition

Set the moving point (x,y,z)(x, y, z) equal to the expression you're tracking (centre, centroid, etc.), express the free parameters from those equations, and substitute into the governing condition (the sphere passes through the origin, the plane through a fixed point, etc.). The resulting equation in x,y,zx, y, z — usually itself a sphere or plane — is the locus.

Worked example

A sphere of radius rr through the origin cuts the axes at A,B,CA, B, C. Find the locus of the centroid of triangle ABCABC.
  1. Such a sphere is x2+y2+z22ux2vy2wz=0x^2+y^2+z^2 - 2ux - 2vy - 2wz = 0 (through origin → d=0d=0); it meets the axes at A(2u,0,0),B(0,2v,0),C(0,0,2w)A(2u,0,0), B(0,2v,0), C(0,0,2w).
  2. Centroid (x,y,z)=(2u3,2v3,2w3)(x,y,z) = \left(\tfrac{2u}{3}, \tfrac{2v}{3}, \tfrac{2w}{3}\right), so u=3x2u = \tfrac{3x}{2} etc.
  3. Radius: r=u2+v2+w2u2+v2+w2=r2r = \sqrt{u^2+v^2+w^2}\Rightarrow u^2+v^2+w^2 = r^2.
  4. Substitute: 94(x2+y2+z2)=r2\tfrac{9}{4}(x^2+y^2+z^2) = r^2, i.e. x2+y2+z2=4r29x^2+y^2+z^2 = \tfrac{4r^2}{9}.
Answer:A sphere: x2+y2+z2=4r29x^2 + y^2 + z^2 = \tfrac{4r^2}{9}.
Practice this conceptself-check · 4 quick reps

From the bank · past-year question

Example 63D GeometryHARD
A variable plane passes through a fixed point (a,b,c)(a, b, c) and cuts the axes in AA, BB and CC respectively. The locus of the centre of the sphere OABCOABC, OO being the origin, is

[Q59 · Sep · 2017]

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (4)

  • General equation, centre, and radius

    Centre and radius of a sphere

    centre=(u,v,w),r=u2+v2+w2d\text{centre} = (-u, -v, -w), \quad r = \sqrt{u^2 + v^2 + w^2 - d}
  • Diameter form of a sphere

    Diameter form

    (xx1)(xx2)+(yy1)(yy2)+(zz1)(zz2)=0(x-x_1)(x-x_2) + (y-y_1)(y-y_2) + (z-z_1)(z-z_2) = 0
  • Sphere and a plane — tangency and sections

    Tangency condition

    p=r(perpendicular distance from centre = radius)p = r \quad\text{(perpendicular distance from centre = radius)}
  • Sphere and the coordinate axes

    Distance from a point to the z-axis

    dist to z-axis=xc2+yc2\text{dist to } z\text{-axis} = \sqrt{x_c^2 + y_c^2}

Watch out for (3)

Drill every past-year question on this subtopic

20 questions from the bank — paginated, with cart and Word-export support.