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

Try it yourself

Find the centre and radius of x2+y2+z22x4y+2z3=0x^2+y^2+z^2 - 2x - 4y + 2z - 3 = 0.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Centre of x2+y2+z24x6y8z16=0x^2+y^2+z^2-4x-6y-8z-16=0?
  2. 2.
    Radius formula in terms of u,v,w,d?
  3. 3.
    Centre of x2+y2+z2+2x=0x^2+y^2+z^2+2x=0?
  4. 4.
    Must the coefficients of x2,y2,z2x^2,y^2,z^2 be?

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]

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

Try it yourself

Find the centre and radius of the sphere with diameter endpoints (2,3,5)(2,3,5) and (4,9,3)(4,9,3).

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Centre of a sphere given its diameter endpoints?
  2. 2.
    Radius given diameter endpoints?
  3. 3.
    Diameter ends (0,0,0)(0,0,0),(2,0,0)(2,0,0): centre?
  4. 4.
    On the diameter form, PAPB=?\overrightarrow{PA}\cdot\overrightarrow{PB} = ?

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

Try it yourself

Find the sphere concentric with x2+y2+z22x6y8z5=0x^2+y^2+z^2-2x-6y-8z-5=0 and passing through the origin.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Concentric spheres share their?
  2. 2.
    Sphere centre origin radius 5?
  3. 3.
    Passing through the origin forces which constant to?
  4. 4.
    Centre (1,0,0)(1,0,0), radius 2 — equation?

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

Try it yourself

Does the plane z=0z = 0 cut, touch, or miss the sphere centre (0,0,3)(0,0,3), radius 2?

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Sphere tangent to a plane means p=?p = ?
  2. 2.
    If p<rp < r, the plane cuts a circle of radius?
  3. 3.
    If p>rp > r the plane and sphere?
  4. 4.
    z-axis tangent to a sphere means distance from centre to z-axis = ?

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

Try it yourself

A sphere has centre (3,4,7)(3, 4, 7). What is its distance from the z-axis, and is the z-axis tangent if r=5r = 5?

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Distance from (xc,yc,zc)(x_c,y_c,z_c) to the z-axis?
  2. 2.
    Spheres of radius r touching all three axes — how many?
  3. 3.
    z-axis tangent ⇒ distance from centre to z-axis equals?
  4. 4.
    Distance from (6,8,1)(6,8,1) to the z-axis?

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

Try it yourself

A point PP moves so that its distance from the origin is always twice its distance from the point (3,0,0)(3, 0, 0). Find the locus of PP.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Locus method: write the point in terms of a parameter, then?
  2. 2.
    A sphere through the origin has which constant zero?
  3. 3.
    Sphere x2+y2+z22ux2vy2wz=0x^2+y^2+z^2-2ux-2vy-2wz=0 meets the x-axis at?
  4. 4.
    The locus of a centre is often itself a?

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 (1)

Mastery check — 5 interleaved questions

Try each one before clicking. Questions are interleaved across the concepts above, not grouped — interleaving sharpens transfer.

Example 13D GeometryHARD
For the following two (02) items: Suppose SS is the sphere with the smallest radius that passes through the points A(1,0,0)A(1,0,0), B(0,1,0)B(0,1,0) and C(0,0,1)C(0,0,1).
What is the radius of SS?

[Q53 · Sep · 2025]

Example 23D GeometryEASY
for the items that follow: The equation of the sphere S is x2+y2+z24x6y12z+k=0x^2+y^2+z^2-4x-6y-12z+k=0.
What is the radius of the sphere passing through origin and concentric with the sphere S?

[Q63 · Apr · 2026]

Example 33D GeometryMODERATE
Consider the following for the items that follow: The plane 6x+ky+3z12=06x+ky+3z-12=0 where keq0k eq0 meets the coordinate axes at AA, BB and CC respectively. The equation of the sphere passing through the origin and AA, BB, CC is x2+y2+z22x3y4z=0x^2+y^2+z^2-2x-3y-4z=0.
What is the value of kk?

[Q91 · Apr · 2022]

Example 43D GeometryMODERATE
Consider the equation of a sphere x2+y2+z24x6y8z16=0x^2 + y^2 + z^2 - 4x - 6y - 8z - 16 = 0. Which of the following statements is/are correct? 1. z-axis is tangent to the sphere. 2. The centre of the sphere lies on the plane x+y+z9=0x + y + z - 9 = 0. Select the correct answer using the code given below:

[Q63 · Sep · 2022]

Example 53D GeometryHARD
A sphere of radius r through origin cuts axes at A,B,C. What is the locus of centroid of triangle ABC?

[Q60 · Apr · 2018]

Drill every past-year question on this subtopic

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