Skip to main content

Coordinate Geometry — Diagnostic Tests

Unit Tests

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

UT-1: Circle Equation by Completing the Square

Question:

Find the centre and radius of the circle x2+y26x+4y12=0x^2 + y^2 - 6x + 4y - 12 = 0.

Solution:

Complete the square for xx and yy:

(x26x+9)+(y2+4y+4)=12+9+4(x^2 - 6x + 9) + (y^2 + 4y + 4) = 12 + 9 + 4

(x3)2+(y+2)2=25(x - 3)^2 + (y + 2)^2 = 25

Centre: (3,  2)(3,\; -2), Radius: 55.


UT-2: Perpendicular Slopes Product Equals -1

Question:

The line L1L_1 passes through A(1,3)A(1, 3) and B(5,7)B(5, 7). The line L2L_2 passes through C(4,1)C(4, -1) and is perpendicular to L1L_1. Find the equation of L2L_2.

Solution:

Slope of L1L_1: m1=7351=44=1m_1 = \dfrac{7 - 3}{5 - 1} = \dfrac{4}{4} = 1.

Slope of L2L_2: m2=1m1=1m_2 = \dfrac{-1}{m_1} = -1.

Using point-slope form with point C(4,1)C(4, -1):

y(1)=1(x4)y - (-1) = -1(x - 4)

y+1=x+4y + 1 = -x + 4

y=x+3y = -x + 3

or x+y3=0x + y - 3 = 0.


UT-3: Circle Tangent from External Point

Question:

Find the length of the tangent from the point P(8,3)P(8, 3) to the circle x2+y24x6y+9=0x^2 + y^2 - 4x - 6y + 9 = 0.

Solution:

Complete the square: (x2)2+(y3)2=4(x - 2)^2 + (y - 3)^2 = 4.

Centre C=(2,3)C = (2, 3), radius r=2r = 2.

Distance from PP to CC: PC=(82)2+(33)2=36=6PC = \sqrt{(8-2)^2 + (3-3)^2} = \sqrt{36} = 6.

Length of tangent: PT=PC2r2=364=32=42PT = \sqrt{PC^2 - r^2} = \sqrt{36 - 4} = \sqrt{32} = 4\sqrt{2}.


UT-4: Locus Definition

Question:

A point P(x,y)P(x, y) moves such that its distance from (3,1)(3, -1) is always twice its distance from the line x=1x = -1. Find the equation of the locus of PP.

Solution:

Distance from PP to (3,1)(3, -1): (x3)2+(y+1)2\sqrt{(x-3)^2 + (y+1)^2}.

Distance from PP to x=1x = -1: x+1|x + 1|.

(x3)2+(y+1)2=2x+1\sqrt{(x-3)^2 + (y+1)^2} = 2|x + 1|

Square both sides:

(x3)2+(y+1)2=4(x+1)2(x-3)^2 + (y+1)^2 = 4(x+1)^2

x26x+9+y2+2y+1=4x2+8x+4x^2 - 6x + 9 + y^2 + 2y + 1 = 4x^2 + 8x + 4

3x214x+y2+2y+6=0-3x^2 - 14x + y^2 + 2y + 6 = 0

3x2y2+14x2y6=03x^2 - y^2 + 14x - 2y - 6 = 0

This is a hyperbola.


UT-5: Intersection of Line and Circle

Question:

Find the coordinates of the points of intersection of the line y=2x1y = 2x - 1 and the circle x2+y210x6y+25=0x^2 + y^2 - 10x - 6y + 25 = 0.

Solution:

Substitute y=2x1y = 2x - 1 into the circle equation:

x2+(2x1)210x6(2x1)+25=0x^2 + (2x - 1)^2 - 10x - 6(2x - 1) + 25 = 0

x2+4x24x+110x12x+6+25=0x^2 + 4x^2 - 4x + 1 - 10x - 12x + 6 + 25 = 0

5x226x+32=05x^2 - 26x + 32 = 0

(5x16)(x2)=0(5x - 16)(x - 2) = 0

x=165orx=2x = \frac{16}{5} \quad \text{or} \quad x = 2

x=165x = \dfrac{16}{5}: y=3251=275y = \dfrac{32}{5} - 1 = \dfrac{27}{5}. Point: (165,  275)\left(\dfrac{16}{5},\; \dfrac{27}{5}\right).

x=2x = 2: y=3y = 3. Point: (2,  3)(2,\; 3).


Integration Tests

Tests synthesis of coordinate geometry with other topics.

IT-1: Coordinate Geometry and Quadratics (with Quadratics)

Question:

The line y=mx+cy = mx + c is tangent to the circle x2+y2=4x^2 + y^2 = 4. Express cc in terms of mm.

Solution:

Substitute y=mx+cy = mx + c:

x2+(mx+c)2=4x^2 + (mx + c)^2 = 4

x2+m2x2+2mcx+c24=0x^2 + m^2x^2 + 2mcx + c^2 - 4 = 0

(1+m2)x2+2mcx+(c24)=0(1 + m^2)x^2 + 2mcx + (c^2 - 4) = 0

For tangency, Δ=0\Delta = 0:

(2mc)24(1+m2)(c24)=0(2mc)^2 - 4(1 + m^2)(c^2 - 4) = 0

4m2c24(1+m2)(c24)=04m^2c^2 - 4(1 + m^2)(c^2 - 4) = 0

m2c2(1+m2)c2+4(1+m2)=0m^2c^2 - (1 + m^2)c^2 + 4(1 + m^2) = 0

m2c2c2m2c2+4+4m2=0m^2c^2 - c^2 - m^2c^2 + 4 + 4m^2 = 0

c2+4+4m2=0-c^2 + 4 + 4m^2 = 0

c2=4(1+m2)c^2 = 4(1 + m^2)

c=±21+m2c = \pm 2\sqrt{1 + m^2}


IT-2: Coordinate Geometry and Trigonometry (with Trigonometry)

Question:

The points A(1,0)A(1, 0) and B(0,1)B(0, 1) are on the unit circle. Find the coordinates of point CC on the unit circle such that triangle ABCABC is equilateral.

Solution:

OA=OB=OC=1OA = OB = OC = 1 (all on unit circle).

Angle AOBAOB: AOB\angle AOB where A=(1,0)A = (1, 0) and B=(0,1)B = (0, 1).

cosAOB=OAOBOAOB=0+01=0\cos \angle AOB = \dfrac{\vec{OA} \cdot \vec{OB}}{|OA||OB|} = \dfrac{0 + 0}{1} = 0, so AOB=90°\angle AOB = 90°.

For an equilateral triangle inscribed in a circle, each angle is 60°60°. But AOB=90°60°\angle AOB = 90° \neq 60°, so there is no equilateral triangle with vertices AA, BB, CC all on the unit circle.

This tests the misconception of assuming any three points on a circle can form an equilateral triangle.


IT-3: Coordinate Geometry and Functions (with Functions)

Question:

The parabola y=x24x+7y = x^2 - 4x + 7 has vertex VV. Find the coordinates of VV, and the equation of the axis of symmetry. If the parabola is reflected in the yy-axis, find the equation of the reflected parabola.

Solution:

y=(x2)24+7=(x2)2+3y = (x - 2)^2 - 4 + 7 = (x - 2)^2 + 3.

Vertex: V=(2,3)V = (2, 3).

Axis of symmetry: x=2x = 2.

Reflecting in the yy-axis replaces xx with x-x:

y=(x)24(x)+7=x2+4x+7=(x+2)2+3y = (-x)^2 - 4(-x) + 7 = x^2 + 4x + 7 = (x + 2)^2 + 3.

The reflected parabola has vertex (2,3)(-2, 3) and axis x=2x = -2.


Worked Examples

WE-1: Distance and Midpoint Verification

Question:

A(3,1)A(3, -1), B(7,5)B(7, 5), and C(11,1)C(11, -1) are three points.

(a) Show that triangle ABCABC is isosceles. (2 marks) (b) Find the area of triangle ABCABC. (3 marks)

Solution:

(a) AB=(73)2+(5(1))2=16+36=52=213AB = \sqrt{(7-3)^2 + (5-(-1))^2} = \sqrt{16 + 36} = \sqrt{52} = 2\sqrt{13}.

BC=(117)2+(15)2=16+36=52=213BC = \sqrt{(11-7)^2 + (-1-5)^2} = \sqrt{16 + 36} = \sqrt{52} = 2\sqrt{13}.

AC=(113)2+(1(1))2=64=8AC = \sqrt{(11-3)^2 + (-1-(-1))^2} = \sqrt{64} = 8.

Since AB=BCAB = BC, triangle ABCABC is isosceles.

(b) Base AC=8AC = 8. Height is the perpendicular from BB to ACAC.

Since ACAC is horizontal (y=1y = -1), the height =5(1)=6= |5 - (-1)| = 6.

Area =12×8×6=24= \dfrac{1}{2} \times 8 \times 6 = 24 square units.


WE-2: Equation of Circle Through Two Points

Question:

Find the equation of the circle with centre on the line y=2xy = 2x that passes through the points (1,3)(1, 3) and (4,6)(4, 6).

Solution:

Let the centre be C(a,2a)C(a, 2a).

CA=CBCA = CB (equal radii):

(a1)2+(2a3)2=(a4)2+(2a6)2\sqrt{(a-1)^2 + (2a-3)^2} = \sqrt{(a-4)^2 + (2a-6)^2}

Square both sides:

(a1)2+(2a3)2=(a4)2+(2a6)2(a-1)^2 + (2a-3)^2 = (a-4)^2 + (2a-6)^2

a22a+1+4a212a+9=a28a+16+4a224a+36a^2 - 2a + 1 + 4a^2 - 12a + 9 = a^2 - 8a + 16 + 4a^2 - 24a + 36

5a214a+10=5a232a+525a^2 - 14a + 10 = 5a^2 - 32a + 52

18a=4218a = 42

a=4218=73a = \frac{42}{18} = \frac{7}{3}

Centre: (73,  143)\left(\dfrac{7}{3},\; \dfrac{14}{3}\right).

Radius squared: (731)2+(1433)2=169+259=419\left(\dfrac{7}{3} - 1\right)^2 + \left(\dfrac{14}{3} - 3\right)^2 = \dfrac{16}{9} + \dfrac{25}{9} = \dfrac{41}{9}.

Equation: (x73)2+(y143)2=419\left(x - \dfrac{7}{3}\right)^2 + \left(y - \dfrac{14}{3}\right)^2 = \dfrac{41}{9}, or 9x2+9y242x84y+128=09x^2 + 9y^2 - 42x - 84y + 128 = 0.


WE-3: Locus of Moving Point

Question:

A point P(x,y)P(x, y) moves so that its distance from the point (2,3)(2, -3) always equals its distance from the line y=1y = 1. Find the equation of the locus of PP.

Solution:

Distance from PP to (2,3)(2, -3): (x2)2+(y+3)2\sqrt{(x-2)^2 + (y+3)^2}.

Distance from PP to y=1y = 1: y1|y - 1|.

(x2)2+(y+3)2=y1\sqrt{(x-2)^2 + (y+3)^2} = |y - 1|

Squaring: (x2)2+(y+3)2=(y1)2(x-2)^2 + (y+3)^2 = (y-1)^2.

x24x+4+y2+6y+9=y22y+1x^2 - 4x + 4 + y^2 + 6y + 9 = y^2 - 2y + 1

x24x+8y+12=0x^2 - 4x + 8y + 12 = 0

x24x+8y+12=0x^2 - 4x + 8y + 12 = 0

This is a parabola (since it has one squared term and one linear term in the other variable).


WE-4: Angle Between Two Lines

Question:

Find the acute angle between the lines 3xy+2=03x - y + 2 = 0 and x+2y7=0x + 2y - 7 = 0.

Solution:

Line 1: 3xy+2=0    y=3x+23x - y + 2 = 0 \implies y = 3x + 2, slope m1=3m_1 = 3.

Line 2: x+2y7=0    y=12x+72x + 2y - 7 = 0 \implies y = -\dfrac{1}{2}x + \dfrac{7}{2}, slope m2=12m_2 = -\dfrac{1}{2}.

tanθ=m1m21+m1m2=3(1/2)1+3(1/2)=7/213/2=7/21/2=7\tan \theta = \left|\frac{m_1 - m_2}{1 + m_1 m_2}\right| = \left|\frac{3 - (-1/2)}{1 + 3(-1/2)}\right| = \left|\frac{7/2}{1 - 3/2}\right| = \left|\frac{7/2}{-1/2}\right| = 7

θ=arctan(7)81.9°\theta = \arctan(7) \approx 81.9°


WE-5: Finding the Point of Intersection

Question:

Find the coordinates of the point of intersection of the lines 2x+3y=132x + 3y = 13 and 4xy=54x - y = 5.

Solution:

From the second equation: y=4x5y = 4x - 5.

Substitute into the first: 2x+3(4x5)=132x + 3(4x - 5) = 13.

2x+12x15=132x + 12x - 15 = 13

14x=28    x=214x = 28 \implies x = 2

y=4(2)5=3y = 4(2) - 5 = 3

Point of intersection: (2,3)(2, 3).


WE-6: Shortest Distance from Point to Line

Question:

Find the shortest distance from the point (3,1)(3, -1) to the line 4x+3y10=04x + 3y - 10 = 0.

Solution:

Using the point-to-line distance formula:

d=4(3)+3(1)1042+32=123105=15d = \frac{|4(3) + 3(-1) - 10|}{\sqrt{4^2 + 3^2}} = \frac{|12 - 3 - 10|}{5} = \frac{1}{5}


WE-7: Two Circles Touching Externally

Question:

Circle C1C_1: x2+y24x6y+9=0x^2 + y^2 - 4x - 6y + 9 = 0. Circle C2C_2: x2+y2+6x+2y15=0x^2 + y^2 + 6x + 2y - 15 = 0.

(a) Find the centres and radii of C1C_1 and C2C_2. (3 marks) (b) Show that C1C_1 and C2C_2 touch externally. (2 marks)

Solution:

(a) C1C_1: (x2)2+(y3)2=4(x-2)^2 + (y-3)^2 = 4. Centre O1=(2,3)O_1 = (2, 3), r1=2r_1 = 2.

C2C_2: (x+3)2+(y+1)2=25(x+3)^2 + (y+1)^2 = 25. Centre O2=(3,1)O_2 = (-3, -1), r2=5r_2 = 5.

(b) Distance between centres:

O1O2=(2(3))2+(3(1))2=25+16=41O_1 O_2 = \sqrt{(2-(-3))^2 + (3-(-1))^2} = \sqrt{25 + 16} = \sqrt{41}

Sum of radii: r1+r2=2+5=7r_1 + r_2 = 2 + 5 = 7.

417\sqrt{41} \neq 7 (416.4\sqrt{41} \approx 6.4), so C1C_1 and C2C_2 do NOT touch externally.

In fact, O1O2=41<7=r1+r2O_1 O_2 = \sqrt{41} < 7 = r_1 + r_2, so the circles overlap (intersect at two points).


WE-8: Equation of Perpendicular Bisector

Question:

Find the equation of the perpendicular bisector of the segment joining A(2,5)A(-2, 5) and B(4,1)B(4, -1).

Solution:

Midpoint: M=(2+42,  5+(1)2)=(1,2)M = \left(\dfrac{-2+4}{2},\; \dfrac{5+(-1)}{2}\right) = (1, 2).

Slope of ABAB: m=154(2)=66=1m = \dfrac{-1-5}{4-(-2)} = \dfrac{-6}{6} = -1.

Slope of perpendicular bisector: m=1m_{\perp} = 1.

Equation: y2=1(x1)    y=x+1y - 2 = 1(x - 1) \implies y = x + 1, or xy+1=0x - y + 1 = 0.


Common Pitfalls

  1. Incorrect sign when completing the square in circle equations. When completing the square for x26xx^2 - 6x, the result is (x3)29(x - 3)^2 - 9, not (x3)2+9(x - 3)^2 + 9. Remember: you add and subtract the same quantity. Always verify by expanding back.

  2. Forgetting to square the distance formula. When equating distances (e.g. for a locus problem), square both sides immediately to avoid messy square roots. A common error is trying to work with =\sqrt{\ldots} = \sqrt{\ldots} without squaring.

  3. Confusing the radius with the diameter in circle equations. The standard form (xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2 gives the radius squared on the right side. If the equation is (xh)2+(yk)2=d2(x-h)^2 + (y-k)^2 = d^2, then dd is the diameter, not the radius.

  4. Wrong slope for perpendicular lines. If a line has slope mm, the perpendicular line has slope 1m-\dfrac{1}{m}, not 1m\dfrac{1}{m}. This sign error is extremely common in DSE.

  5. Not considering both intersection points of line and circle. When a line intersects a circle, there can be 0, 1 (tangent), or 2 intersection points. Always check the discriminant of the resulting quadratic.


DSE Exam-Style Questions

DSE-1

The equation of a circle CC is x2+y2+4x10y+20=0x^2 + y^2 + 4x - 10y + 20 = 0.

(a) Find the centre and radius of CC. (3 marks) (b) Find the equation of the tangent to CC at the point (1,5)(-1, 5). (4 marks) (c) The tangent in (b) meets the yy-axis at PP. Find the coordinates of PP. (2 marks)

Solution:

(a) (x2+4x+4)+(y210y+25)=20+4+25=9(x^2 + 4x + 4) + (y^2 - 10y + 25) = -20 + 4 + 25 = 9.

(x+2)2+(y5)2=9(x + 2)^2 + (y - 5)^2 = 9.

Centre =(2,5)= (-2, 5), Radius =3= 3.

(b) The tangent at (1,5)(-1, 5) is perpendicular to the radius from (2,5)(-2, 5) to (1,5)(-1, 5).

Slope of radius =551(2)=0= \dfrac{5 - 5}{-1 - (-2)} = 0 (horizontal).

So the tangent is vertical: x=1x = -1.

(c) x=1x = -1 meets the yy-axis (x=0x = 0)? A vertical line x=1x = -1 is parallel to the yy-axis and never meets it. There is no intersection point PP.

This reveals an important check: when the point (1,5)(-1, 5) has the same yy-coordinate as the centre, the radius is horizontal and the tangent is vertical.


DSE-2

The line L:y=mx+1L: y = mx + 1 intersects the circle x2+y2=9x^2 + y^2 = 9 at two distinct points.

(a) Show that (1+m2)x2+2mx8=0(1 + m^2)x^2 + 2mx - 8 = 0. (2 marks) (b) Find the range of values of mm for which LL intersects the circle at two distinct points. (3 marks) (c) For m=1m = 1, find the length of the chord of intersection. (3 marks)

Solution:

(a) Substitute y=mx+1y = mx + 1 into x2+y2=9x^2 + y^2 = 9:

x2+(mx+1)2=9x^2 + (mx + 1)^2 = 9

x2+m2x2+2mx+1=9x^2 + m^2 x^2 + 2mx + 1 = 9

(1+m2)x2+2mx8=0(1 + m^2)x^2 + 2mx - 8 = 0.

(b) Two distinct intersections require Δ>0\Delta > 0:

Δ=(2m)24(1+m2)(8)=4m2+32(1+m2)=4m2+32+32m2=36m2+32\Delta = (2m)^2 - 4(1+m^2)(-8) = 4m^2 + 32(1 + m^2) = 4m^2 + 32 + 32m^2 = 36m^2 + 32.

Since 36m2+32>036m^2 + 32 > 0 for all real mm, the line always intersects the circle at two distinct points for all mm.

(c) For m=1m = 1: (1+1)x2+2x8=0    2x2+2x8=0    x2+x4=0(1 + 1)x^2 + 2x - 8 = 0 \implies 2x^2 + 2x - 8 = 0 \implies x^2 + x - 4 = 0.

x=1±1+162=1±172x = \dfrac{-1 \pm \sqrt{1 + 16}}{2} = \dfrac{-1 \pm \sqrt{17}}{2}.

yy-coordinates: y=x+1y = x + 1, so y=1±172y = \dfrac{1 \pm \sqrt{17}}{2}.

Chord length =(x1x2)2+(y1y2)2=(17)2+(17)2=34= \sqrt{(x_1 - x_2)^2 + (y_1 - y_2)^2} = \sqrt{(\sqrt{17})^2 + (\sqrt{17})^2} = \sqrt{34}.


DSE-3

A variable point P(x,y)P(x, y) moves such that its distance from A(1,2)A(1, 2) is always equal to its distance from B(5,6)B(5, 6).

(a) Find the equation of the locus of PP. (3 marks) (b) Verify that (3,4)(3, 4) lies on the locus. (1 mark) (c) Describe the locus geometrically. (1 mark)

Solution:

(a) (x1)2+(y2)2=(x5)2+(y6)2\sqrt{(x-1)^2 + (y-2)^2} = \sqrt{(x-5)^2 + (y-6)^2}.

Squaring: (x1)2+(y2)2=(x5)2+(y6)2(x-1)^2 + (y-2)^2 = (x-5)^2 + (y-6)^2.

x22x+1+y24y+4=x210x+25+y212y+36x^2 - 2x + 1 + y^2 - 4y + 4 = x^2 - 10x + 25 + y^2 - 12y + 36.

2x4y+5=10x12y+61-2x - 4y + 5 = -10x - 12y + 61.

8x+8y56=08x + 8y - 56 = 0.

x+y7=0x + y - 7 = 0.

(b) Check (3,4)(3, 4): 3+47=03 + 4 - 7 = 0. Yes, it lies on the locus.

(c) The locus is the perpendicular bisector of the segment ABAB, which is a straight line.


DSE-4

The vertices of a triangle are A(0,0)A(0, 0), B(8,0)B(8, 0), and C(4,6)C(4, 6).

(a) Find the equation of the median from CC to ABAB. (2 marks) (b) Find the equation of the altitude from AA to BCBC. (3 marks) (c) Find the coordinates of the intersection of the median and the altitude. (3 marks)

Solution:

(a) Midpoint of ABAB: M=(4,0)M = (4, 0).

Median from C(4,6)C(4, 6) to M(4,0)M(4, 0): this is a vertical line x=4x = 4.

(b) Slope of BCBC: mBC=0684=64=32m_{BC} = \dfrac{0 - 6}{8 - 4} = \dfrac{-6}{4} = -\dfrac{3}{2}.

Slope of altitude from AA: m=23m_{\perp} = \dfrac{2}{3}.

Equation: y0=23(x0)    y=23xy - 0 = \dfrac{2}{3}(x - 0) \implies y = \dfrac{2}{3}x, or 2x3y=02x - 3y = 0.

(c) Intersection of x=4x = 4 and 2x3y=02x - 3y = 0: 2(4)3y=0    y=832(4) - 3y = 0 \implies y = \dfrac{8}{3}.

Intersection point: (4,  83)\left(4,\; \dfrac{8}{3}\right).


DSE-5

C1:(x1)2+(y+2)2=25C_1: (x-1)^2 + (y+2)^2 = 25 and C2:(x7)2+(y4)2=9C_2: (x-7)^2 + (y-4)^2 = 9.

(a) Find the distance between the centres of C1C_1 and C2C_2. (2 marks) (b) Determine the number of intersection points of C1C_1 and C2C_2. (2 marks) (c) Find the equation of the common chord of C1C_1 and C2C_2. (4 marks)

Solution:

(a) Centres: O1=(1,2)O_1 = (1, -2), O2=(7,4)O_2 = (7, 4).

O1O2=(71)2+(4(2))2=36+36=72=62O_1 O_2 = \sqrt{(7-1)^2 + (4-(-2))^2} = \sqrt{36 + 36} = \sqrt{72} = 6\sqrt{2}.

(b) r1=5r_1 = 5, r2=3r_2 = 3.

r1r2=2|r_1 - r_2| = 2, r1+r2=8r_1 + r_2 = 8.

2<62<82 < 6\sqrt{2} < 8 (since 628.496\sqrt{2} \approx 8.49), so actually O1O2>r1+r2O_1 O_2 > r_1 + r_2.

The circles do not intersect. There are 0 intersection points.

Wait: 62=6×1.414=8.485>8=r1+r26\sqrt{2} = 6 \times 1.414 = 8.485 > 8 = r_1 + r_2.

Therefore the circles are separate (0 intersection points). Part (c) would have no common chord. The question may have an error, or the circles may need adjustment. If the problem is solvable, we proceed assuming the circles do intersect.