Logo
Published on

Vectors and Coordinate Geometry: Circles and Spheres

Authors
  • avatar
    Name
    Vu Hung
    Twitter

Problem Statement

In standard Cartesian geometry, you learned that the distance dd between two points is given by the distance formula, and the midpoint MM is the average of their coordinates. You also learned that a circle is defined as the locus of points equidistant from a centre point, leading to the equation (xh)2+(yk)2=r2(x-h)^2 + (y-k)^2 = r^2.

When working in Extension 2 Mathematics, we upgrade these concepts using vectors. The distance between two position vectors a\mathbf{a} and b\mathbf{b} is simply the magnitude of their difference: rc|\mathbf{r} - \mathbf{c}|. This incredibly simple expression, when set equal to a constant radius RR, perfectly describes both a circle in 2D space and a sphere in 3D space, vastly simplifying complex geometric problems.

Consider a sphere in 3D space. The points AA and BB lie on opposite ends of a diameter of the sphere. Their position vectors relative to the origin OO are: a=2i3j+5k\mathbf{a} = 2\mathbf{i} - 3\mathbf{j} + 5\mathbf{k} b=6i+j3k\mathbf{b} = 6\mathbf{i} + \mathbf{j} - 3\mathbf{k}

(a) Using vector methods, find the position vector c\mathbf{c} of the centre of the sphere.

(b) Find the radius RR of the sphere.

(c) Write down the vector equation of the sphere in the form rc=R|\mathbf{r} - \mathbf{c}| = R.

(d) Determine if the point PP with position vector p=4i+3j+2k\mathbf{p} = 4\mathbf{i} + 3\mathbf{j} + 2\mathbf{k} lies inside, outside, or on the surface of the sphere.


Hints

  • Part (a): The centre of the sphere is the midpoint of the diameter ABAB. In vector notation, the midpoint of a\mathbf{a} and b\mathbf{b} is 12(a+b)\frac{1}{2}(\mathbf{a} + \mathbf{b}).
  • Part (b): The radius is half the length of the diameter. Find the vector AB=ba\vec{AB} = \mathbf{b} - \mathbf{a}, calculate its magnitude (the distance formula in 3D), and divide by 2. Alternatively, find the distance from the centre c\mathbf{c} to either a\mathbf{a} or b\mathbf{b}.
  • Part (c): The vector equation of a sphere is the locus of all position vectors r\mathbf{r} such that the distance from r\mathbf{r} to the centre c\mathbf{c} is exactly RR. Substitute your answers from (a) and (b).
  • Part (d): To test a point, substitute its position vector into the left side of the sphere's equation: pc|\mathbf{p} - \mathbf{c}|. If the result is less than RR, it's inside; if greater, outside; if equal, on the surface.

Solutions

Part (a): Finding the Centre

  1. The centre c\mathbf{c} is the midpoint of vectors a\mathbf{a} and b\mathbf{b}.
  2. c=12(a+b)\mathbf{c} = \frac{1}{2}(\mathbf{a} + \mathbf{b}) c=12((2i3j+5k)+(6i+j3k))\mathbf{c} = \frac{1}{2} \left( (2\mathbf{i} - 3\mathbf{j} + 5\mathbf{k}) + (6\mathbf{i} + \mathbf{j} - 3\mathbf{k}) \right)
  3. Add the components: c=12((2+6)i+(3+1)j+(53)k)\mathbf{c} = \frac{1}{2} \left( (2+6)\mathbf{i} + (-3+1)\mathbf{j} + (5-3)\mathbf{k} \right) c=12(8i2j+2k)\mathbf{c} = \frac{1}{2} \left( 8\mathbf{i} - 2\mathbf{j} + 2\mathbf{k} \right)
  4. Divide by 2: c=4ij+k\mathbf{c} = 4\mathbf{i} - \mathbf{j} + \mathbf{k}

Part (b): Finding the Radius

  1. We will find the radius by calculating the distance from the centre c\mathbf{c} to the point A(a)A(\mathbf{a}). R=acR = |\mathbf{a} - \mathbf{c}|
  2. Calculate the vector difference: ac=(2i3j+5k)(4ij+k)\mathbf{a} - \mathbf{c} = (2\mathbf{i} - 3\mathbf{j} + 5\mathbf{k}) - (4\mathbf{i} - \mathbf{j} + \mathbf{k}) ac=(24)i+(3(1))j+(51)k\mathbf{a} - \mathbf{c} = (2-4)\mathbf{i} + (-3 - (-1))\mathbf{j} + (5-1)\mathbf{k} ac=2i2j+4k\mathbf{a} - \mathbf{c} = -2\mathbf{i} - 2\mathbf{j} + 4\mathbf{k}
  3. Find the magnitude of this vector using the 3D distance formula: R=(2)2+(2)2+(4)2R = \sqrt{(-2)^2 + (-2)^2 + (4)^2} R=4+4+16R = \sqrt{4 + 4 + 16} R=24=26R = \sqrt{24} = 2\sqrt{6}

Part (c): The Vector Equation

  1. The general vector equation for a sphere is rc=R|\mathbf{r} - \mathbf{c}| = R.
  2. Substitute the centre vector and the radius: r(4ij+k)=26|\mathbf{r} - (4\mathbf{i} - \mathbf{j} + \mathbf{k})| = 2\sqrt{6}

Part (d): Testing a Point

  1. We need to find the distance from point PP to the centre CC. Distance=pc\text{Distance} = |\mathbf{p} - \mathbf{c}|
  2. Calculate the vector difference: pc=(4i+3j+2k)(4ij+k)\mathbf{p} - \mathbf{c} = (4\mathbf{i} + 3\mathbf{j} + 2\mathbf{k}) - (4\mathbf{i} - \mathbf{j} + \mathbf{k}) pc=(44)i+(3(1))j+(21)k\mathbf{p} - \mathbf{c} = (4-4)\mathbf{i} + (3 - (-1))\mathbf{j} + (2-1)\mathbf{k} pc=0i+4j+1k\mathbf{p} - \mathbf{c} = 0\mathbf{i} + 4\mathbf{j} + 1\mathbf{k}
  3. Find the magnitude: pc=02+42+12=16+1=17|\mathbf{p} - \mathbf{c}| = \sqrt{0^2 + 4^2 + 1^2} = \sqrt{16 + 1} = \sqrt{17}
  4. Compare this distance to the radius R=24R = \sqrt{24}. Since 17<24\sqrt{17} < \sqrt{24}, the distance to the point is less than the radius.
  5. Therefore, the point PP lies inside the sphere.

Takeaways

  • Vector Elegance: The expression rc=R|\mathbf{r} - \mathbf{c}| = R is vastly cleaner than its Cartesian equivalent (xcx)2+(ycy)2+(zcz)2=R2(x-c_x)^2 + (y-c_y)^2 + (z-c_z)^2 = R^2, yet it holds the exact same geometric meaning.
  • Dimensions Don't Matter: The vector midpoint formula 12(a+b)\frac{1}{2}(\mathbf{a}+\mathbf{b}) and distance formula ba|\mathbf{b}-\mathbf{a}| work exactly the same way regardless of whether you are working in 2 dimensions, 3 dimensions, or NN dimensions.
  • Locus Logic: Always read rc|\mathbf{r} - \mathbf{c}| as "the distance from point RR to point CC". This makes setting up loci equations intuitive.

Further Readings


Connect with me

Vectors unlock a whole new dimension of geometry. For a deep dive into 3D spaces, check out the comprehensive booklets on Vu's Maths Hub. I post detailed walkthroughs of 3D vector problems on my YouTube channel. For more insights, follow me on Instagram and subscribe to my Substack.