Skip to main content

Coordinates and Geometry — Diagnostic Tests

Unit Tests

Tests edge cases, boundary conditions, and common misconceptions for coordinate geometry.

UT-1: Circle from Three Non-Collinear Points

Question:

Find the equation of the circle passing through the three points A(1,2)A(1, 2), B(5,4)B(5, 4), and C(3,8)C(3, 8).

Express your answer in the form (xa)2+(yb)2=r2(x-a)^2 + (y-b)^2 = r^2 and in the expanded form x2+y2+px+qy+r=0x^2 + y^2 + px + qy + r = 0.

[Difficulty: hard. Tests the perpendicular bisector method and algebraic verification.]

Solution:

Step 1: Find the perpendicular bisector of ABAB.

Midpoint of ABAB: M1=(1+52,2+42)=(3,3)M_1 = \left(\frac{1+5}{2}, \frac{2+4}{2}\right) = (3, 3).

Gradient of ABAB: mAB=4251=12m_{AB} = \frac{4-2}{5-1} = \frac{1}{2}.

Gradient of perpendicular bisector: m1=2m_1 = -2.

Equation: y3=2(x3)y - 3 = -2(x - 3), i.e. y=2x+9y = -2x + 9.

Step 2: Find the perpendicular bisector of BCBC.

Midpoint of BCBC: M2=(5+32,4+82)=(4,6)M_2 = \left(\frac{5+3}{2}, \frac{4+8}{2}\right) = (4, 6).

Gradient of BCBC: mBC=8435=42=2m_{BC} = \frac{8-4}{3-5} = \frac{4}{-2} = -2.

Gradient of perpendicular bisector: m2=12m_2 = \frac{1}{2}.

Equation: y6=12(x4)y - 6 = \frac{1}{2}(x - 4), i.e. y=12x+4y = \frac{1}{2}x + 4.

Step 3: Find the centre (intersection of perpendicular bisectors).

2x+9=12x+4-2x + 9 = \frac{1}{2}x + 4 5=52x5 = \frac{5}{2}x x=2x = 2

y=2(2)+9=5y = -2(2) + 9 = 5

The centre is O=(2,5)O = (2, 5).

Step 4: Find the radius.

r=OA=(21)2+(52)2=1+9=10r = |OA| = \sqrt{(2-1)^2 + (5-2)^2} = \sqrt{1 + 9} = \sqrt{10}

Verification with point CC: OC=(23)2+(58)2=1+9=10|OC| = \sqrt{(2-3)^2 + (5-8)^2} = \sqrt{1+9} = \sqrt{10}. Confirmed.

Step 5: Write the equations.

Standard form: (x2)2+(y5)2=10(x - 2)^2 + (y - 5)^2 = 10.

Expanded form: x24x+4+y210y+25=10x^2 - 4x + 4 + y^2 - 10y + 25 = 10, giving:

x2+y24x10y+19=0x^2 + y^2 - 4x - 10y + 19 = 0


UT-2: Circle-Line Tangency via Discriminant

Question:

Find the value of kk such that the line y=kx+5y = kx + 5 is tangent to the circle x2+y24x6y+9=0x^2 + y^2 - 4x - 6y + 9 = 0.

Hence find the coordinates of the point of tangency for each valid value of kk.

[Difficulty: hard. Tests the discriminant method for tangency and the geometric interpretation.]

Solution:

Step 1: Substitute the line into the circle equation.

x2+(kx+5)24x6(kx+5)+9=0x^2 + (kx+5)^2 - 4x - 6(kx+5) + 9 = 0 x2+k2x2+10kx+254x6kx30+9=0x^2 + k^2x^2 + 10kx + 25 - 4x - 6kx - 30 + 9 = 0 (1+k2)x2+(10k46k)x+4=0(1+k^2)x^2 + (10k - 4 - 6k)x + 4 = 0 (1+k2)x2+(4k4)x+4=0(1+k^2)x^2 + (4k - 4)x + 4 = 0

Step 2: Set the discriminant to zero for tangency.

Δ=(4k4)24(1+k2)(4)=0\Delta = (4k-4)^2 - 4(1+k^2)(4) = 0 16k232k+161616k2=016k^2 - 32k + 16 - 16 - 16k^2 = 0 32k=0-32k = 0 k=0k = 0

Step 3: Find the point of tangency.

With k=0k = 0, the line is y=5y = 5. Substituting into the circle:

x2+254x30+9=0x^2 + 25 - 4x - 30 + 9 = 0 x24x+4=0x^2 - 4x + 4 = 0 (x2)2=0(x-2)^2 = 0 x=2x = 2

The point of tangency is (2,5)(2, 5).

Geometric check: The circle (x2)2+(y3)2=4(x-2)^2 + (y-3)^2 = 4 has centre (2,3)(2, 3) and radius 22. The line y=5y = 5 is at distance 53=2|5-3| = 2 from the centre, equal to the radius. Confirmed.


UT-3: Composite Transformation Matrices

Question:

The matrix RR represents a rotation anticlockwise by 90°90° about the origin, and the matrix SS represents a reflection in the line y=xy = x.

R=(0110),S=(0110)R = \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}, \quad S = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}

(a) Find the matrix RSRS and describe the single transformation it represents.

(b) Find the matrix SRSR and describe the single transformation it represents.

(c) The point P(3,1)P(3, 1) is first reflected in the line y=xy = x and then rotated 90°90° anticlockwise about the origin. Find the coordinates of the image of PP.

(d) The triangle with vertices (0,0)(0, 0), (4,0)(4, 0), (0,3)(0, 3) is transformed by RSRS. Find the area of the image and explain why it is preserved.

[Difficulty: hard. Tests understanding that matrix multiplication is not commutative for transformations, and the relationship between determinant and area.]

Solution:

(a)

RS=(0110)(0110)=(00+(1)101+(1)010+0111+00)=(1001)RS = \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}\begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} = \begin{pmatrix} 0\cdot0+(-1)\cdot1 & 0\cdot1+(-1)\cdot0 \\ 1\cdot0+0\cdot1 & 1\cdot1+0\cdot0 \end{pmatrix} = \begin{pmatrix} -1 & 0 \\ 0 & 1 \end{pmatrix}

This is a reflection in the yy-axis.

(b)

SR=(0110)(0110)=(00+110(1)+1010+011(1)+00)=(1001)SR = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}\begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix} = \begin{pmatrix} 0\cdot0+1\cdot1 & 0\cdot(-1)+1\cdot0 \\ 1\cdot0+0\cdot1 & 1\cdot(-1)+0\cdot0 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}

This is a reflection in the xx-axis.

Note: RSSRRS \neq SR, confirming that transformations do not generally commute.

(c) Applying SS first, then RR: the image is RS(31)R \cdot S \cdot \begin{pmatrix} 3 \\ 1 \end{pmatrix}.

S(31)=(0110)(31)=(13)S\begin{pmatrix}3\\1\end{pmatrix} = \begin{pmatrix}0&1\\1&0\end{pmatrix}\begin{pmatrix}3\\1\end{pmatrix} = \begin{pmatrix}1\\3\end{pmatrix}

R(13)=(0110)(13)=(31)R\begin{pmatrix}1\\3\end{pmatrix} = \begin{pmatrix}0&-1\\1&0\end{pmatrix}\begin{pmatrix}1\\3\end{pmatrix} = \begin{pmatrix}-3\\1\end{pmatrix}

The image of PP is (3,1)(-3, 1).

Alternatively, using RS=(1001)RS = \begin{pmatrix}-1&0\\0&1\end{pmatrix}:

RS(31)=(31)RS\begin{pmatrix}3\\1\end{pmatrix} = \begin{pmatrix}-3\\1\end{pmatrix}

Confirmed.

(d) The original triangle has area 12×4×3=6\frac{1}{2} \times 4 \times 3 = 6 square units.

The determinant of RSRS is det(1001)=1\det\begin{pmatrix}-1&0\\0&1\end{pmatrix} = -1.

The absolute value of the determinant gives the area scale factor: det(RS)=1|\det(RS)| = 1. Therefore the area of the image is 66 square units.

Both RR (rotation) and SS (reflection) are isometries (distance-preserving transformations). Their composite is also an isometry, so area is preserved.


Integration Tests

Tests synthesis of coordinate geometry with other topics. Requires combining concepts from multiple units.

IT-1: Closest Point on a Curve Using Calculus (with Differentiation)

Question:

Find the point on the curve y=x24x+7y = x^2 - 4x + 7 that is closest to the point (1,8)(1, 8).

[Difficulty: hard. Combines distance formula with differentiation to find the minimum distance.]

Solution:

Step 1: Set up the distance squared function. (Using distance squared avoids the square root and gives the same minimiser.)

A general point on the curve is (x,x24x+7)(x, x^2-4x+7).

D2=(x1)2+(x24x+78)2=(x1)2+(x24x1)2D^2 = (x - 1)^2 + (x^2 - 4x + 7 - 8)^2 = (x-1)^2 + (x^2-4x-1)^2

Step 2: Differentiate with respect to xx.

d(D2)dx=2(x1)+2(x24x1)(2x4)\frac{d(D^2)}{dx} = 2(x-1) + 2(x^2-4x-1)(2x-4)

Set this equal to zero:

(x1)+(x24x1)(2x4)=0(x-1) + (x^2-4x-1)(2x-4) = 0

(x1)+2(x2)(x24x1)=0(x-1) + 2(x-2)(x^2-4x-1) = 0

Expand (x2)(x24x1)=x34x2x2x2+8x+2=x36x2+7x+2(x-2)(x^2-4x-1) = x^3 - 4x^2 - x - 2x^2 + 8x + 2 = x^3 - 6x^2 + 7x + 2.

(x1)+2(x36x2+7x+2)=0(x-1) + 2(x^3 - 6x^2 + 7x + 2) = 0 x1+2x312x2+14x+4=0x - 1 + 2x^3 - 12x^2 + 14x + 4 = 0 2x312x2+15x+3=02x^3 - 12x^2 + 15x + 3 = 0

Step 3: Solve the cubic. Testing x=1x = 1: 212+15+3=802 - 12 + 15 + 3 = 8 \neq 0. Testing x=1x = -1: 21215+3=26-2 - 12 - 15 + 3 = -26. Testing x=3x = 3: 54108+45+3=654 - 108 + 45 + 3 = -6. Testing x=12x = \frac{1}{2}: 143+152+3=7.25\frac{1}{4} - 3 + \frac{15}{2} + 3 = 7.25. Testing x=0x = 0: 33.

By the intermediate value theorem, there is a root between x=1x = -1 and x=0x = 0, and possibly others.

Testing x=12x = -\frac{1}{2}: 143152+3=14152=314-\frac{1}{4} - 3 - \frac{15}{2} + 3 = -\frac{1}{4} - \frac{15}{2} = -\frac{31}{4}. Between x=0x = 0 (D=3D' = 3) and x=1x = 1 (D=8D' = 8), no root. Between x=3x = 3 (D=6D' = -6) and x=4x = 4 (D=128192+60+3=1D' = 128-192+60+3 = -1), and x=5x = 5 (D=250300+75+3=28D' = 250-300+75+3=28), so a root between x=4x = 4 and x=5x = 5.

Actually, let me check x=32x = \frac{3}{2}: 27427+452+3=6.7527+22.5+3=5.25\frac{27}{4} - 27 + \frac{45}{2} + 3 = 6.75 - 27 + 22.5 + 3 = 5.25. Between x=1x = 1 (88) and x=3x = 3 (6-6), a root near x=2x = 2: 1648+30+3=116 - 48 + 30 + 3 = 1. At x=2.1x = 2.1: 18.52252.92+31.5+3=0.10218.522 - 52.92 + 31.5 + 3 = 0.102. At x=2.12x = 2.12: 19.08...53.95...+31.8+3=0.06...19.08... - 53.95... + 31.8 + 3 = -0.06....

Root near x2.11x \approx 2.11.

The exact solution requires the cubic formula. For the closest point, we accept the numerical approximation. At x2.11x \approx 2.11: y4.458.44+7=3.01y \approx 4.45 - 8.44 + 7 = 3.01.

The closest point is approximately (2.11,3.01)(2.11, 3.01).


IT-2: Vector Method for a Geometry Problem (with Vectors)

Question:

In triangle ABCABC, the point DD lies on BCBC such that BD:DC=2:1BD : DC = 2 : 1. The point EE is the midpoint of ACAC. The lines ADAD and BEBE intersect at point FF.

Using position vectors with origin at AA, and taking AB=b\overrightarrow{AB} = \mathbf{b} and AC=c\overrightarrow{AC} = \mathbf{c}:

(a) Find the position vector of FF in terms of b\mathbf{b} and c\mathbf{c}.

(b) Find the ratio AF:FDAF : FD.

(c) If b=5|\mathbf{b}| = 5, c=7|\mathbf{c}| = 7, and bc=15\mathbf{b} \cdot \mathbf{c} = 15, find AF|\overrightarrow{AF}|.

[Difficulty: hard. Tests vector methods for concurrency problems and application of the dot product.]

Solution:

(a) Express all points in terms of b\mathbf{b} and c\mathbf{c}:

  • OB=b\overrightarrow{OB} = \mathbf{b}, OC=c\overrightarrow{OC} = \mathbf{c} (since origin is at AA)
  • OD=OB+23BC=b+23(cb)=13b+23c\overrightarrow{OD} = \overrightarrow{OB} + \frac{2}{3}\overrightarrow{BC} = \mathbf{b} + \frac{2}{3}(\mathbf{c} - \mathbf{b}) = \frac{1}{3}\mathbf{b} + \frac{2}{3}\mathbf{c}
  • OE=12c\overrightarrow{OE} = \frac{1}{2}\mathbf{c}

Point FF lies on ADAD: OF=OA+sAD=s(13b+23c)\overrightarrow{OF} = \overrightarrow{OA} + s\overrightarrow{AD} = s\left(\frac{1}{3}\mathbf{b} + \frac{2}{3}\mathbf{c}\right) for some 0s10 \leq s \leq 1.

Point FF also lies on BEBE: OF=OB+tBE=b+t(12cb)=(1t)b+t2c\overrightarrow{OF} = \overrightarrow{OB} + t\overrightarrow{BE} = \mathbf{b} + t\left(\frac{1}{2}\mathbf{c} - \mathbf{b}\right) = (1-t)\mathbf{b} + \frac{t}{2}\mathbf{c} for some 0t10 \leq t \leq 1.

Equating coefficients of b\mathbf{b} and c\mathbf{c}:

s3=1tand2s3=t2\frac{s}{3} = 1 - t \quad \text{and} \quad \frac{2s}{3} = \frac{t}{2}

From the second equation: t=4s3t = \frac{4s}{3}.

Substituting into the first: s3=14s3\frac{s}{3} = 1 - \frac{4s}{3}, giving 5s3=1\frac{5s}{3} = 1, so s=35s = \frac{3}{5}.

OF=35(13b+23c)=15b+25c\overrightarrow{OF} = \frac{3}{5}\left(\frac{1}{3}\mathbf{b} + \frac{2}{3}\mathbf{c}\right) = \frac{1}{5}\mathbf{b} + \frac{2}{5}\mathbf{c}

(b) AF:FDAF : FD. Since s=3/5s = 3/5, point FF divides ADAD in the ratio s:(1s)=3/5:2/5=3:2s : (1-s) = 3/5 : 2/5 = 3 : 2.

So AF:FD=3:2AF : FD = 3 : 2.

(c)

AF=15b+25c\overrightarrow{AF} = \frac{1}{5}\mathbf{b} + \frac{2}{5}\mathbf{c}

AF2=(15b+25c)(15b+25c)|\overrightarrow{AF}|^2 = \left(\frac{1}{5}\mathbf{b} + \frac{2}{5}\mathbf{c}\right) \cdot \left(\frac{1}{5}\mathbf{b} + \frac{2}{5}\mathbf{c}\right)

=125b2+425bc+425c2= \frac{1}{25}|\mathbf{b}|^2 + \frac{4}{25}\mathbf{b}\cdot\mathbf{c} + \frac{4}{25}|\mathbf{c}|^2

=125(25)+425(15)+425(49)= \frac{1}{25}(25) + \frac{4}{25}(15) + \frac{4}{25}(49)

=1+6025+19625= 1 + \frac{60}{25} + \frac{196}{25}

=1+25625=28125= 1 + \frac{256}{25} = \frac{281}{25}

AF=LB281RB◆◆LB5RB|\overrightarrow{AF}| = \frac◆LB◆\sqrt{281}◆RB◆◆LB◆5◆RB◆


IT-3: Parametric Curve via Function Composition (with Functions)

Question:

A curve is defined parametrically by:

x=t22t,y=(t22t)22(t22t)x = t^2 - 2t, \quad y = (t^2 - 2t)^2 - 2(t^2 - 2t)

for tRt \in \mathbb{R}.

(a) Show that y=x22xy = x^2 - 2x and hence identify the curve as a standard form.

(b) Find the coordinates of the turning points of the curve and determine their nature.

(c) The curve is translated so that its minimum point moves to the origin. Find the equation of the translated curve in the form y=ax2+bx+cy = ax^2 + bx + c.

[Difficulty: hard. Tests recognition of function composition in parametric equations and completing the square.]

Solution:

(a) Let f(t)=t22t=(t1)21f(t) = t^2 - 2t = (t-1)^2 - 1.

Then x=f(t)x = f(t) and y=f(f(t))=f(x)y = f(f(t)) = f(x).

Therefore y=x22x=(x1)21y = x^2 - 2x = (x-1)^2 - 1.

This is a parabola with vertex at (1,1)(1, -1), opening upward.

(b) y=x22xy = x^2 - 2x. Since x=(t1)211x = (t-1)^2 - 1 \geq -1 for all tt, the domain of the curve is x1x \geq -1.

dydx=2x2\frac{dy}{dx} = 2x - 2. Setting this to zero: x=1x = 1.

At x=1x = 1: y=12=1y = 1 - 2 = -1. This is the vertex.

d2ydx2=2>0\frac{d^2y}{dx^2} = 2 > 0, confirming a minimum at (1,1)(1, -1).

The turning point is (1,1)(1, -1), which is a minimum.

Note: there are no other turning points. The curve is a standard parabola restricted to x1x \geq -1.

At x=1x = -1 (when t=1t = 1): y=1+2=3y = 1 + 2 = 3. This is an endpoint of the parametric curve, not a turning point of the parabola itself.

(c) The translation moves (1,1)(1, -1) to (0,0)(0, 0). The translation vector is (1,1)(-1, 1).

Let X=x1X = x - 1 and Y=y+1Y = y + 1. Then y=(x1)21y = (x-1)^2 - 1 becomes Y1=X21Y - 1 = X^2 - 1, i.e.:

Y=X2Y = X^2

In terms of the original variables (after translation, using xx and yy for the new coordinates):

y=x2y = x^2

So a=1a = 1, b=0b = 0, c=0c = 0.