PYQ Vault

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.

Test yourself — a quick 12-question 3D Geometry recall quiz, instant score.

Concept 1 of 6: General equation, centre, and radius

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+w2−d\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+w2−d= \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+w2−d\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+z2−2x+4y−6z−2=0x^2 + y^2 + z^2 - 2x + 4y - 6z - 2 = 0.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2019 · Q62Easy

Example 1 · 3D Geometry · Sphere

What is the radius of the sphere x2+y2+z2−6x+8y−10z+1=0x^2+y^2+z^2-6x+8y-10z+1=0?

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+w2−d\sqrt{u^2+v^2+w^2-d} — mind the −d-d sign and don't drop the \sqrt{}

The radius is u2+v2+w2−d\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+w2−du^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

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 PA→⋅PB→=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 (x−x1)(x−x2)+(y−y1)(y−y2)+(z−z1)(z−z2)=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. The form says PA⃗⋅PB⃗=0\vec{PA}\cdot\vec{PB} = 0 for every point PP of the sphere — the angle in a semicircle is a right angle — so by Pythagoras PA2+PB2=AB2PA^2 + PB^2 = AB^2 for every PP on the sphere; a locus question "PA2+PB2=kPA^2+PB^2 = k" with k=AB2k = AB^2 IS this sphere, and with other kk it is a concentric one.

Diameter form

(x−x1)(x−x2)+(y−y1)(y−y2)+(z−z1)(z−z2)=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.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2024 · Q52Easy

Example 2 · 3D Geometry · Sphere

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+2wz−1=0x^2+y^2+z^2+2ux+2vy+2wz-1=0, then what is u+v+wu+v+w equal to?

Concept 3 of 6: Building a sphere from conditions

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: (x−a)2+(y−b)2+(z−c)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). The smallest sphere through three given points has those points on a GREAT circle: its centre is the circumcentre of the triangle they form and its radius the circumradius R=abc4ΔR = \dfrac{abc}{4\Delta}. For an equilateral triangle of side aa, R=a3R = \dfrac{a}{\sqrt3} and the centre is the centroid — so for (1,0,0),(0,1,0),(0,0,1)(1,0,0),(0,1,0),(0,0,1) (side 2\sqrt2) the smallest sphere has centre (13,13,13)(\tfrac13,\tfrac13,\tfrac13) and radius 2/3\sqrt{2/3}. Every other sphere through the three points is larger, with its centre on the line through the circumcentre perpendicular to the plane.

Worked example

Find the equation of the sphere with centre (2,−1,3)(2, -1, 3) and radius 5.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2018 · Q65Easy

Example 3 · 3D Geometry · Sphere

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

Concept 4 of 6: Sphere and a plane — tangency and sections

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 r2−p2\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 r2−p2\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.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2020 · Q61Moderate

Example 4 · 3D Geometry · Sphere

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 6x−3y+2z−4=06x-3y+2z-4=0?

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

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). A different configuration — the sphere THROUGH the origin and the three axis intercepts A(α,0,0)A(\alpha,0,0), B(0,β,0)B(0,\beta,0), C(0,0,γ)C(0,0,\gamma): substituting the four points into x2+y2+z2+2ux+2vy+2wz+d=0x^2+y^2+z^2+2ux+2vy+2wz+d=0 gives d=0d=0, u=−α/2u=-\alpha/2, v=−β/2v=-\beta/2, w=−γ/2w=-\gamma/2, so the equation is x2+y2+z2−αx−βy−γz=0x^2+y^2+z^2-\alpha x-\beta y-\gamma z=0 and the centre is (α/2, β/2, γ/2)(\alpha/2,\ \beta/2,\ \gamma/2) — the midpoint of the box diagonal OO to (α,β,γ)(\alpha,\beta,\gamma), radius 12α2+β2+γ2\tfrac12\sqrt{\alpha^2+\beta^2+\gamma^2}. Locus questions follow: if the plane xα+yβ+zγ=1\tfrac x\alpha+\tfrac y\beta+\tfrac z\gamma=1 is constrained (e.g. passes through a fixed point (a,b,c)(a,b,c), or the intercepts satisfy 1α2+1β2+1γ2=1p2\tfrac1{\alpha^2}+\tfrac1{\beta^2}+\tfrac1{\gamma^2}=\tfrac1{p^2} for a fixed distance pp from OO), write the centre as (x,y,z)=(α/2,β/2,γ/2)(x,y,z)=(\alpha/2,\beta/2,\gamma/2) and substitute α=2x\alpha=2x etc.: the locus is ax+by+cz=2\tfrac a x+\tfrac b y+\tfrac c z=2, respectively 1x2+1y2+1z2=4p2\tfrac1{x^2}+\tfrac1{y^2}+\tfrac1{z^2}=\tfrac4{p^2}.

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.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2021 · Q64Moderate

Example 5 · 3D Geometry · Sphere

The number of spheres of radius rr touching the coordinate axes is

Concept 6 of 6: Locus problems with spheres

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.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2017 · Q59Hard

Example 6 · 3D Geometry · Sphere

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

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+w2−d\text{centre} = (-u, -v, -w), \quad r = \sqrt{u^2 + v^2 + w^2 - d}
  • Diameter form of a sphere

    Diameter form

    (x−x1)(x−x2)+(y−y1)(y−y2)+(z−z1)(z−z2)=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)

Test yourself on 3D Geometry

20 past NDA questions from this chapter, timed at 25 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.