Skip to content

M2: Coordinate Geometry

Coordinate Geometry of Straight Lines

Gradient (Slope)

The gradient mm of a line passing through (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) is:

m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}

Equations of a Line

  • Gradient-intercept form: y=mx+cy = mx + c
  • Point-gradient form: yy1=m(xx1)y - y_1 = m(x - x_1)
  • Two-point form: yy1xx1=y2y1x2x1\frac{y - y_1}{x - x_1} = \frac{y_2 - y_1}{x_2 - x_1}
  • General form: Ax+By+C=0Ax + By + C = 0 where AA, BB, CC are constants

Parallel and Perpendicular Lines

  • Parallel: m1=m2m_1 = m_2
  • Perpendicular: m1m2=1m_1 \cdot m_2 = -1

Distance Between Points

d=(x2x1)2+(y2y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}

Distance from a Point to a Line

The perpendicular distance from (x0,y0)(x_0, y_0) to Ax+By+C=0Ax + By + C = 0:

d=Ax0+By0+CA2+B2d = \frac{|Ax_0 + By_0 + C|}{\sqrt{A^2 + B^2}}

Intersection of Two Lines

To find the intersection of A1x+B1y+C1=0A_1 x + B_1 y + C_1 = 0 and A2x+B2y+C2=0A_2 x + B_2 y + C_2 = 0, solve the system of simultaneous equations.

If A1A2=B1B2=C1C2\frac{A_1}{A_2} = \frac{B_1}{B_2} = \frac{C_1}{C_2}, the lines are coincident (the same line). If A1A2=B1B2C1C2\frac{A_1}{A_2} = \frac{B_1}{B_2} \neq \frac{C_1}{C_2}, the lines are parallel (no intersection).

Angle Between Two Lines

The acute angle θ\theta between two lines with gradients m1m_1 and m2m_2:

tanθ=m1m21+m1m2\tan \theta = \left|\frac{m_1 - m_2}{1 + m_1 m_2}\right|

Coordinate Geometry of Circles

Standard Form

A circle with centre (h,k)(h, k) and radius rr:

(xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2

General Form

x2+y2+Dx+Ey+F=0x^2 + y^2 + Dx + Ey + F = 0

Centre: (D2,E2)\left(-\frac{D}{2}, -\frac{E}{2}\right). Radius: r=12D2+E24Fr = \frac{1}{2}\sqrt{D^2 + E^2 - 4F}.

For a real circle, D2+E24F>0D^2 + E^2 - 4F > 0.

Finding the Equation of a Circle

Given the centre and a point on the circle: Substitute into the standard form.

Given three points: Set up a system of three equations using the general form and solve for DD, EE, and FF.

Given the endpoints of a diameter: The centre is the midpoint of the diameter. The radius is half the length of the diameter.

Tangent to a Circle

A tangent to a circle at point (x1,y1)(x_1, y_1) on (xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2:

(x1h)(xh)+(y1k)(yk)=r2(x_1 - h)(x - h) + (y_1 - k)(y - k) = r^2

Example: Find the equation of the tangent to x2+y2=25x^2 + y^2 = 25 at the point (3,4)(3, 4).

3x+4y=253x + 4y = 25

Intersection of a Line and a Circle

Substitute the equation of the line into the equation of the circle to obtain a quadratic in xx (or yy). The discriminant of this quadratic determines the nature of the intersection:

  • Δ>0\Delta > 0: The line cuts the circle at two distinct points
  • Δ=0\Delta = 0: The line is tangent to the circle
  • Δ<0\Delta < 0: The line does not meet the circle

Circle through Three Points

Given three non-collinear points (x1,y1)(x_1, y_1), (x2,y2)(x_2, y_2), (x3,y3)(x_3, y_3), substitute each into x2+y2+Dx+Ey+F=0x^2 + y^2 + Dx + Ey + F = 0 to obtain a system of three linear equations in DD, EE, FF.

Conic Sections: Parabola

Standard Forms

A parabola is the locus of points equidistant from a fixed point (focus) and a fixed line (directrix).

Vertical axis (opening up or down):

y2=4ax(opens right)y^2 = 4ax \quad \text{(opens right)} y2=4ax(opens left)y^2 = -4ax \quad \text{(opens left)} x2=4ay(opens upward)x^2 = 4ay \quad \text{(opens upward)} x2=4ay(opens downward)x^2 = -4ay \quad \text{(opens downward)}

For y2=4axy^2 = 4ax: Focus at (a,0)(a, 0), directrix x=ax = -a, axis of symmetry is the xx-axis. Vertex at the origin.

Translated parabola: (xh)2=4a(yk)(x - h)^2 = 4a(y - k) has vertex at (h,k)(h, k), focus at (h,k+a)(h, k + a), directrix y=kay = k - a.

Parametric Form

For the parabola y2=4axy^2 = 4ax, a general point is (at2,2at)(at^2, 2at) where tt is the parameter.

Tangent to a Parabola

For y2=4axy^2 = 4ax, the tangent at the point (at12,2at1)(at_1^2, 2at_1) is:

ty=x+at12ty = x + at_1^2

Reflective Property

A ray from the focus reflects off the parabola parallel to the axis. Conversely, a ray parallel to the axis reflects through the focus. This property is used in satellite dishes, headlights, and telescopes.

Conic Sections: Ellipse

Standard Forms

An ellipse is the locus of points such that the sum of the distances from two fixed points (foci) is constant.

Horizontal major axis:

x2a2+y2b2=1(a>b)\frac{x^2}{a^2} + \frac{y^2}{b^2} = 1 \quad (a > b)

Centre: (0,0)(0, 0). Foci: (±c,0)(\pm c, 0) where c2=a2b2c^2 = a^2 - b^2. Major axis length: 2a2a. Minor axis length: 2b2b. Vertices: (±a,0)(\pm a, 0). Co-vertices: (0,±b)(0, \pm b). Eccentricity: e=cae = \frac{c}{a} where 0<e<10 < e < 1.

Vertical major axis:

x2b2+y2a2=1(a>b)\frac{x^2}{b^2} + \frac{y^2}{a^2} = 1 \quad (a > b)

Foci: (0,±c)(0, \pm c) where c2=a2b2c^2 = a^2 - b^2.

Translated ellipse: (xh)2a2+(yk)2b2=1\frac{(x-h)^2}{a^2} + \frac{(y-k)^2}{b^2} = 1 has centre at (h,k)(h, k).

Properties

  • The sum of distances from any point on the ellipse to the two foci equals 2a2a
  • The closer ee is to 0, the more circular the ellipse
  • The closer ee is to 1, the more elongated the ellipse

Tangent to an Ellipse

For x2a2+y2b2=1\frac{x^2}{a^2} + \frac{y^2}{b^2} = 1, the tangent at (x1,y1)(x_1, y_1) is:

xx1a2+yy1b2=1\frac{x x_1}{a^2} + \frac{y y_1}{b^2} = 1

Conic Sections: Hyperbola

Standard Forms

A hyperbola is the locus of points such that the difference of distances from two fixed points (foci) is constant.

Horizontal transverse axis:

x2a2y2b2=1\frac{x^2}{a^2} - \frac{y^2}{b^2} = 1

Centre: (0,0)(0, 0). Foci: (±c,0)(\pm c, 0) where c2=a2+b2c^2 = a^2 + b^2. Vertices: (±a,0)(\pm a, 0). Asymptotes: y=±baxy = \pm \frac{b}{a} x. Eccentricity: e=cae = \frac{c}{a} where e>1e > 1.

Vertical transverse axis:

y2a2x2b2=1\frac{y^2}{a^2} - \frac{x^2}{b^2} = 1

Foci: (0,±c)(0, \pm c) where c2=a2+b2c^2 = a^2 + b^2. Asymptotes: y=±abxy = \pm \frac{a}{b} x.

Translated hyperbola: (xh)2a2(yk)2b2=1\frac{(x-h)^2}{a^2} - \frac{(y-k)^2}{b^2} = 1 has centre at (h,k)(h, k).

Properties

  • The difference of distances from any point on the hyperbola to the two foci equals 2a2a
  • Asymptotes are the lines the hyperbola approaches but never reaches
  • The eccentricity e>1e > 1

Tangent to a Hyperbola

For x2a2y2b2=1\frac{x^2}{a^2} - \frac{y^2}{b^2} = 1, the tangent at (x1,y1)(x_1, y_1) is:

xx1a2yy1b2=1\frac{x x_1}{a^2} - \frac{y y_1}{b^2} = 1

Comparing Conic Sections

PropertyParabolaEllipseHyperbola
Eccentricitye=1e = 10<e<10 < e < 1e>1e > 1
Foci1 focus2 foci2 foci
Key relatione=1e = 1c2=a2b2c^2 = a^2 - b^2c2=a2+b2c^2 = a^2 + b^2
AsymptotesNoneNoneTwo asymptotes
Conic condition (Δ=0\Delta = 0)Δ=0\Delta = 0Δ<0\Delta < 0Δ>0\Delta > 0

Rectangular Hyperbola

A rectangular hyperbola has perpendicular asymptotes. Its standard equation is xy=c2xy = c^2 or x2y2=a2x^2 - y^2 = a^2.

For xy=c2xy = c^2: Asymptotes are the coordinate axes x=0x = 0 and y=0y = 0.

Transformations

Translation

Replacing xx with (xh)(x - h) and yy with (yk)(y - k) translates the graph hh units right and kk units up.

Example: y=(x2)2+3y = (x - 2)^2 + 3 is y=x2y = x^2 translated 2 units right and 3 units up.

Reflection

  • y=f(x)y = f(-x): Reflection in the yy-axis
  • y=f(x)y = -f(x): Reflection in the xx-axis

Scaling

  • y=af(x)y = af(x): Vertical stretch by factor aa (if a>1a > 1) or compression (if 0<a<10 < a < 1)
  • y=f(ax)y = f(ax): Horizontal compression by factor aa (if a>1a > 1) or stretch (if 0<a<10 < a < 1)

Rotation of Conics

The general second-degree equation Ax2+Bxy+Cy2+Dx+Ey+F=0Ax^2 + Bxy + Cy^2 + Dx + Ey + F = 0 represents:

  • An ellipse (or circle) if B24AC<0B^2 - 4AC < 0
  • A parabola if B24AC=0B^2 - 4AC = 0
  • A hyperbola if B24AC>0B^2 - 4AC > 0

Vector Methods in Proofs

Vectors in Coordinate Geometry

The position vector of point P(x,y)P(x, y) is OP=(xy)\vec{OP} = \begin{pmatrix} x \\ y \end{pmatrix}.

Vector Equation of a Line

Through point AA with position vector a\mathbf{a}, in the direction of vector d\mathbf{d}:

r=a+td(tR)\mathbf{r} = \mathbf{a} + t\mathbf{d} \quad (t \in \mathbb{R})

In Cartesian form, if d=(d1d2)\mathbf{d} = \begin{pmatrix} d_1 \\ d_2 \end{pmatrix}:

xa1d1=ya2d2\frac{x - a_1}{d_1} = \frac{y - a_2}{d_2}

Using Vectors to Prove Geometric Properties

Example: Prove that the diagonals of a parallelogram bisect each other.

Let the parallelogram have vertices AA, BB, CC, DD with position vectors a\mathbf{a}, b\mathbf{b}, c\mathbf{c}, d\mathbf{d}.

Since ABCDABCD is a parallelogram: AB=DC\overrightarrow{AB} = \overrightarrow{DC}, so ba=cd\mathbf{b} - \mathbf{a} = \mathbf{c} - \mathbf{d}, giving a+c=b+d\mathbf{a} + \mathbf{c} = \mathbf{b} + \mathbf{d}.

The midpoint of diagonal ACAC is a+c2\frac{\mathbf{a} + \mathbf{c}}{2}. The midpoint of diagonal BDBD is b+d2\frac{\mathbf{b} + \mathbf{d}}{2}.

Since a+c=b+d\mathbf{a} + \mathbf{c} = \mathbf{b} + \mathbf{d}, the midpoints coincide. Therefore, the diagonals bisect each other.

Using Dot Product for Perpendicularity

Two vectors u\mathbf{u} and v\mathbf{v} are perpendicular if and only if their dot product is zero:

uv=0\mathbf{u} \cdot \mathbf{v} = 0

uv=uvcosθ\mathbf{u} \cdot \mathbf{v} = |\mathbf{u}||\mathbf{v}|\cos\theta

Area Using Vectors

The area of triangle ABCABC is:

Area=12AB×AC\text{Area} = \frac{1}{2}|\overrightarrow{AB} \times \overrightarrow{AC}|

In 2D, if AB=(a1a2)\overrightarrow{AB} = \begin{pmatrix} a_1 \\ a_2 \end{pmatrix} and AC=(c1c2)\overrightarrow{AC} = \begin{pmatrix} c_1 \\ c_2 \end{pmatrix}:

Area=12a1c2a2c1\text{Area} = \frac{1}{2}|a_1 c_2 - a_2 c_1|

Vector Proofs for Collinearity

Three points AA, BB, CC are collinear if and only if AB\overrightarrow{AB}is parallel to AC\overrightarrow{AC}, i.e.:

AB=kACfor some scalar k\overrightarrow{AB} = k\overrightarrow{AC} \quad \text{for some scalar } k

Common Pitfalls

  • Confusing the standard forms of the ellipse and hyperbola
  • Forgetting that c2=a2b2c^2 = a^2 - b^2 for the ellipse but c2=a2+b2c^2 = a^2 + b^2 for the hyperbola
  • Misidentifying the transverse axis of a hyperbola (it is the axis containing the vertices)
  • Incorrectly computing the perpendicular distance from a point to a line (sign errors in the formula)
  • Forgetting to check the discriminant condition when determining intersection types
  • Errors in the sign when using the translation formula for conics