Skip to Content
All memories

Coordinate Geometry - Bridging Algebra and Geometry

 — #Mathematics#Coordinate Geometry

For centuries, geometry and algebra were studied as largely separate disciplines. Geometry dealt with shapes, lines, and angles, while algebra dealt with equations and variables. The revolutionary idea of coordinate geometry, primarily developed by René Descartes in the 17th century, created a powerful bridge between these two worlds. By representing geometric figures on a coordinate plane, it became possible to analyze shapes using algebraic equations and, conversely, to visualize equations as geometric curves. This exploration delves into the fundamental principles of two-dimensional coordinate geometry, from basic formulas to the intricate properties of lines and triangles.


Mapping the Plane: The Cartesian Coordinate System

The foundation of 2D coordinate geometry is the Cartesian system of rectangular coordinates. This system consists of:

  • Two perpendicular number lines, called axes. The horizontal line is the x-axis, and the vertical line is the y-axis.
  • The point where the axes intersect is called the origin, denoted as (0,0)(0,0).
  • The position of any point in the plane is uniquely described by an ordered pair of coordinates (x,y)(x, y). The first value, xx, is the abscissa (horizontal distance from the y-axis), and the second value, yy, is the ordinate (vertical distance from the x-axis).
  • The two axes divide the plane into four quadrants, numbered I, II, III, and IV, starting from the upper right and moving counter-clockwise.

Measuring and Dividing: The Core Formulas – Distance and Section

With the coordinate system established, we can derive formulas to measure distances and divide line segments.

Distance Formula

The distance dd between two points P(x1,y1)P(x_1, y_1) and Q(x2,y2)Q(x_2, y_2) in the plane can be found using the Pythagorean theorem.

Derivation: Construct a right-angled triangle with the line segment PQPQ as the hypotenuse. The horizontal side will have length x2x1|x_2 - x_1|, and the vertical side will have length y2y1|y_2 - y_1|. By the Pythagorean theorem: d2=(x2x1)2+(y2y1)2d^2 = (|x_2 - x_1|)^2 + (|y_2 - y_1|)^2 d2=(x2x1)2+(y2y1)2d^2 = (x_2 - x_1)^2 + (y_2 - y_1)^2 Taking the square root gives the distance formula: d=(x2x1)2+(y2y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}

Section Formula

The section formula provides the coordinates of a point that divides a line segment joining two given points in a specified ratio.

  • Internal Division: Let point P(x,y)P(x,y) divide the line segment joining A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2) internally in the ratio m:nm:n. Derivation: Draw perpendiculars from A,P,BA, P, B to the x-axis. Using similar triangles, the ratio of horizontal intercepts is equal to the ratio of division: APPB=mn    xx1x2x=mn\dfrac{AP}{PB} = \dfrac{m}{n} \implies \dfrac{x - x_1}{x_2 - x} = \dfrac{m}{n} n(xx1)=m(x2x)    nxnx1=mx2mx    (m+n)x=mx2+nx1n(x - x_1) = m(x_2 - x) \implies nx - nx_1 = mx_2 - mx \implies (m+n)x = mx_2 + nx_1. Similarly for the y-coordinates. This gives the coordinates of PP: P(x,y)=(mx2+nx1m+n,my2+ny1m+n)P(x,y) = \left(\dfrac{mx_2 + nx_1}{m+n}, \dfrac{my_2 + ny_1}{m+n}\right) A special case is the midpoint formula, where m=n=1m=n=1: Pmid=(x1+x22,y1+y22)P_{mid} = \left(\dfrac{x_1+x_2}{2}, \dfrac{y_1+y_2}{2}\right).

  • External Division: If point P(x,y)P(x,y) divides the line segment joining A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2) externally in the ratio m:nm:n, the formula is: P(x,y)=(mx2nx1mn,my2ny1mn)P(x,y) = \left(\dfrac{mx_2 - nx_1}{m-n}, \dfrac{my_2 - ny_1}{m-n}\right)


The Path of a Point: Locus and Its Equation

A locus is a set of all points (and only those points) in a plane that satisfy a given geometric condition. The equation of the locus is the algebraic relation between the coordinates (x,y)(x,y) of every point on the path.

For example, the locus of a point that is always equidistant from two fixed points A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2) is the perpendicular bisector of the line segment ABAB. Its equation can be found by setting PA=PBPA = PB: (xx1)2+(yy1)2=(xx2)2+(yy2)2\sqrt{(x-x_1)^2 + (y-y_1)^2} = \sqrt{(x-x_2)^2 + (y-y_2)^2}. Squaring both sides and simplifying yields a linear equation in xx and yy.


Changing Perspectives: Transformation of Coordinates

Sometimes, a geometric problem can be simplified by changing the coordinate system. This can be done by shifting the origin or rotating the axes.

Shifting of Origin

If the origin (0,0)(0,0) is shifted to a new point (h,k)(h,k) without changing the orientation of the axes, the relationship between the old coordinates (x,y)(x,y) and the new coordinates (x,y)(x',y') of a point is: x=x+handy=y+kx = x' + h \quad \text{and} \quad y = y' + k or equivalently: x=xhandy=ykx' = x - h \quad \text{and} \quad y' = y - k

Rotation of Axes

If the coordinate axes are rotated counter-clockwise by an angle θ\theta about the origin, a point with old coordinates (x,y)(x,y) will have new coordinates (x,y)(x',y'). The relationship is derived using trigonometry: x=xcosθysinθx = x'\cos\theta - y'\sin\theta y=xsinθ+ycosθy = x'\sin\theta + y'\cos\theta The inverse transformation (finding (x,y)(x',y') from (x,y)(x,y)) is: x=xcosθ+ysinθx' = x\cos\theta + y\sin\theta y=xsinθ+ycosθy' = -x\sin\theta + y\cos\theta


The Straight and Narrow: The Line – Fundamentals and Forms

A straight line is one of the most fundamental geometric figures.

  • Slope (or Gradient) of a Line (mm): The slope measures the steepness of a line. It is the tangent of the angle θ\theta the line makes with the positive x-axis: m=tanθm = \tan\theta. For a line passing through two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2): m=riserun=y2y1x2x1m = \dfrac{\text{rise}}{\text{run}} = \dfrac{y_2 - y_1}{x_2 - x_1}

  • Conditions for Parallel and Perpendicular Lines: Given two non-vertical lines with slopes m1m_1 and m2m_2:

    • They are parallel if and only if their slopes are equal: m1=m2m_1 = m_2.
    • They are perpendicular if and only if the product of their slopes is -1: m1m2=1m_1 m_2 = -1.
  • Intercepts of a Line:

    • x-intercept: The x-coordinate of the point where the line crosses the x-axis (where y=0y=0).
    • y-intercept: The y-coordinate of the point where the line crosses the y-axis (where x=0x=0).

Various Forms of Equations of a Line

  1. Slope-Intercept Form: y=mx+cy = mx + c, where mm is the slope and cc is the y-intercept.
  2. Point-Slope Form: yy1=m(xx1)y - y_1 = m(x - x_1), for a line with slope mm passing through point (x1,y1)(x_1, y_1).
  3. Two-Point Form: For a line passing through (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2): yy1=(y2y1x2x1)(xx1)y - y_1 = \left(\dfrac{y_2 - y_1}{x_2 - x_1}\right)(x - x_1)
  4. Intercept Form: For a line with x-intercept aa and y-intercept bb: xa+yb=1\dfrac{x}{a} + \dfrac{y}{b} = 1
  5. Normal (or Perpendicular) Form: xcosα+ysinα=px\cos\alpha + y\sin\alpha = p, where pp is the length of the perpendicular from the origin to the line, and α\alpha is the angle this perpendicular makes with the positive x-axis.
  6. General Form: Ax+By+C=0Ax + By + C = 0, where A,B,CA, B, C are constants. The slope is m=A/Bm = -A/B.

Lines in Congress: Intersections, Angles, and More

  • Intersection of Lines: The point of intersection of two non-parallel lines is found by solving their equations simultaneously.

  • Angle Between Two Lines: If θ\theta is the acute angle between two lines with slopes m1m_1 and m2m_2: tanθ=m2m11+m1m2\tan\theta = \left|\dfrac{m_2 - m_1}{1 + m_1 m_2}\right|

  • Angle Bisectors: The locus of points equidistant from two intersecting lines gives the angle bisectors. For lines A1x+B1y+C1=0A_1x+B_1y+C_1=0 and A2x+B2y+C2=0A_2x+B_2y+C_2=0, the equations of the bisectors are: A1x+B1y+C1A12+B12=±A2x+B2y+C2A22+B22\dfrac{A_1x+B_1y+C_1}{\sqrt{A_1^2+B_1^2}} = \pm \dfrac{A_2x+B_2y+C_2}{\sqrt{A_2^2+B_2^2}}

  • Distance of a Point from a Line: The perpendicular distance dd from a point (x1,y1)(x_1, y_1) to the line Ax+By+C=0Ax+By+C=0 is: d=Ax1+By1+CA2+B2d = \dfrac{|Ax_1 + By_1 + C|}{\sqrt{A^2 + B^2}}

  • Condition for Concurrency of Three Lines: Three lines A1x+B1y+C1=0A_1x+B_1y+C_1=0, A2x+B2y+C2=0A_2x+B_2y+C_2=0, and A3x+B3y+C3=0A_3x+B_3y+C_3=0 are concurrent (intersect at a single point) if the determinant of their coefficients is zero: A1B1C1A2B2C2A3B3C3=0\begin{vmatrix} A_1 & B_1 & C_1 \\ A_2 & B_2 & C_2 \\ A_3 & B_3 & C_3 \end{vmatrix} = 0 This condition also holds if the lines are mutually parallel, so one must check for non-parallelism as well.


Geometric Measures: Area of Triangles and Polygons

  • Area of a Triangle: Given vertices A(x1,y1),B(x2,y2),A(x_1, y_1), B(x_2, y_2), and C(x3,y3)C(x_3, y_3), the area can be found using the formula: Area=12x1(y2y3)+x2(y3y1)+x3(y1y2)\text{Area} = \dfrac{1}{2} |x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2)| This can be expressed concisely using a determinant: Area=12det(x1y11x2y21x3y31)\text{Area} = \dfrac{1}{2} \left| \det \begin{pmatrix} x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \\ x_3 & y_3 & 1 \end{pmatrix} \right| A consequence of this is the condition for collinearity of three points: the area of the triangle formed is zero, so the determinant above is zero.

  • Area of a Polygon: The area of any simple polygon with vertices (x1,y1),(x2,y2),,(xn,yn)(x_1, y_1), (x_2, y_2), \ldots, (x_n, y_n) listed in counter-clockwise or clockwise order can be calculated using the Shoelace Formula (or Shoelace Algorithm): Area=12(x1y2+x2y3++xny1)(y1x2+y2x3++ynx1)\text{Area} = \dfrac{1}{2} |(x_1y_2 + x_2y_3 + \dots + x_ny_1) - (y_1x_2 + y_2x_3 + \dots + y_nx_1)|


Special Points of a Triangle: The Centers of Power

Several special points, or "centers," are associated with any triangle, each with unique geometric properties. Let the vertices of a triangle be A(x1,y1),B(x2,y2),A(x_1, y_1), B(x_2, y_2), and C(x3,y3)C(x_3, y_3), and let the side lengths opposite these vertices be a,b,a, b, and cc respectively.

  • Centroid (GG): The point of intersection of the medians (lines from a vertex to the midpoint of the opposite side). It is the triangle's center of mass. G=(x1+x2+x33,y1+y2+y33)G = \left(\dfrac{x_1+x_2+x_3}{3}, \dfrac{y_1+y_2+y_3}{3}\right)
  • Incentre (II): The point of intersection of the internal angle bisectors. It is the center of the inscribed circle (incircle). I=(ax1+bx2+cx3a+b+c,ay1+by2+cy3a+b+c)I = \left(\dfrac{ax_1+bx_2+cx_3}{a+b+c}, \dfrac{ay_1+by_2+cy_3}{a+b+c}\right)
  • Excentre (Ia,Ib,IcI_a, I_b, I_c): A triangle has three excentres, each being the intersection point of one internal angle bisector and two external angle bisectors. They are the centers of the escribed circles. For the excentre IaI_a opposite vertex A: Ia=(ax1+bx2+cx3a+b+c,ay1+by2+cy3a+b+c)I_a = \left(\dfrac{-ax_1+bx_2+cx_3}{-a+b+c}, \dfrac{-ay_1+by_2+cy_3}{-a+b+c}\right)
  • Orthocentre (OO or HH): The point of intersection of the altitudes (perpendiculars from a vertex to the opposite side). Its coordinates are found by solving the system of equations for two altitude lines. H=(x1sin(2A)+x2sin(2B)+x3sin(2C)sin(2A)+sin(2B)+sin(2C),y1sin(2A)+y2sin(2B)+y3sin(2C)sin(2A)+sin(2B)+sin(2C))H = \left(\dfrac{x_1 \sin(2A) + x_2 \sin(2B) + x_3 \sin(2C)}{\sin(2A) + \sin(2B) + \sin(2C)}, \dfrac{y_1 \sin(2A) + y_2 \sin(2B) + y_3 \sin(2C)}{\sin(2A) + \sin(2B) + \sin(2C)}\right)
  • Circumcentre (CC or OO): The point of intersection of the perpendicular bisectors of the sides. It is the center of the circumscribed circle (circumcircle) and is equidistant from all three vertices. Its coordinates are found by solving the system of equations for two perpendicular bisector lines. C=(x1tan(A)+x2tan(B)+x3tan(C)tan(A)+tan(B)+tan(C),y1tan(A)+y2tan(B)+y3tan(C)tan(A)+tan(B)+tan(C))C = \left(\dfrac{x_1 \tan(A) + x_2 \tan(B) + x_3 \tan(C)}{\tan(A) + \tan(B) + \tan(C)}, \dfrac{y_1 \tan(A) + y_2 \tan(B) + y_3 \tan(C)}{\tan(A) + \tan(B) + \tan(C)}\right)
  • Nine-Point Circle Centre (NN): The center of the nine-point circle, which passes through the midpoints of the sides, the feet of the altitudes, and the midpoints of the segments from each vertex to the orthocentre. Its coordinates can be derived from those of the centroid and circumcentre: N=(xG+xC2,yG+yC2)N = \left(\dfrac{x_G + x_C}{2}, \dfrac{y_G + y_C}{2}\right) where GG is the centroid and CC is the circumcentre.
  • Notes on Concurrency and Collinearity:
    • The centroid, orthocentre, and circumcentre are collinear, lying on the Euler line of the triangle.
    • The incenter and excentres are also collinear, lying on the Gergonne line.
    • The centroid divides the segment joining the orthocentre and circumcentre in a 2:1 ratio.
  • Special Cases:
    • In an equilateral triangle, all centers coincide at the same point.
    • In an isosceles triangle, the centroid, orthocentre, and circumcentre lie on the line of symmetry.

Lines in a Group: Family of Straight Lines

A family of lines is an infinite set of lines that share a common geometric property. A very useful case is the family of lines passing through the intersection point of two given lines L1=A1x+B1y+C1=0L_1=A_1x+B_1y+C_1=0 and L2=A2x+B2y+C2=0L_2=A_2x+B_2y+C_2=0. The equation for any line in this family can be written as: L1+λL2=0or(A1x+B1y+C1)+λ(A2x+B2y+C2)=0L_1 + \lambda L_2 = 0 \quad \text{or} \quad (A_1x+B_1y+C_1) + \lambda(A_2x+B_2y+C_2) = 0 where λ\lambda is a parameter. A specific value of λ\lambda corresponds to a unique line passing through the intersection point.


Two Lines in Disguise: Pair of Straight Lines

A single second-degree equation can represent a pair of straight lines.

  • Homogeneous Equation of Second Degree: The equation ax2+2hxy+by2=0ax^2 + 2hxy + by^2 = 0 always represents a pair of straight lines passing through the origin. The separate lines can be found by factoring the expression. If the lines are y=m1xy=m_1x and y=m2xy=m_2x, then m1m_1 and m2m_2 are the roots of the quadratic equation bm2+2hm+a=0bm^2 + 2hm + a = 0.

    • Sum of slopes: m1+m2=2h/bm_1+m_2 = -2h/b.
    • Product of slopes: m1m2=a/bm_1m_2 = a/b.
    • Angle (θ\theta) between the pair of lines: tanθ=2h2aba+b\tan\theta = \dfrac{|2\sqrt{h^2-ab}|}{|a+b|} Lines are perpendicular if a+b=0a+b=0. Lines are coincident if h2ab=0h^2-ab=0.
    • Equation of the angle bisectors: x2y2ab=xyh\dfrac{x^2-y^2}{a-b} = \dfrac{xy}{h}
  • General Equation of Second Degree: The equation ax2+2hxy+by2+2gx+2fy+c=0ax^2+2hxy+by^2+2gx+2fy+c=0 represents a pair of straight lines if it satisfies two conditions:

    1. The discriminant Δ=abc+2fghaf2bg2ch2=0\Delta = abc + 2fgh - af^2 - bg^2 - ch^2 = 0.
    2. h2abh^2 \ge ab, g2acg^2 \ge ac, and f2bcf^2 \ge bc.
    • Point of Intersection: The intersection point (x0,y0)(x_0, y_0) can be found by solving the system of equations derived from partial derivatives: Fx=2ax+2hy+2g=0\dfrac{\partial F}{\partial x} = 2ax+2hy+2g=0 and Fy=2hx+2by+2f=0\dfrac{\partial F}{\partial y} = 2hx+2by+2f=0, where F(x,y)F(x,y) is the general equation.
    • The angle between the lines and the equation of their bisectors are given by the same formulas as for the homogeneous case.

Key Takeaways: The Power of Analytical Geometry

Coordinate geometry provides a robust and systematic framework for analyzing geometric problems through algebraic methods.

  • Bridging Disciplines: It establishes a direct correspondence between geometric curves and algebraic equations, allowing for the translation of problems from one domain to the other.
  • Fundamental Formulas: The distance and section formulas provide the basic tools for calculating lengths and locating points on the Cartesian plane.
  • The Straight Line: A variety of standard forms allow for the equation of a straight line to be determined from different given conditions (e.g., slope, points, intercepts).
  • Geometric Relationships: Algebraic methods can be used to find angles between lines, distances from points to lines, and conditions for concurrency and collinearity.
  • Triangles and Polygons: Coordinate geometry provides direct formulas for calculating the area of triangles and polygons and for locating important centers of a triangle.
  • Higher-Order Equations: Second-degree equations describe not only pairs of straight lines under specific conditions but also the entire family of conic sections, demonstrating the deep connection between algebraic degree and geometric shape.
  • Foundation for Higher Mathematics: The principles of coordinate geometry are foundational for the study of conic sections, three-dimensional geometry, vector spaces, calculus, and many other advanced mathematical topics.

By representing shapes and relationships with coordinates and equations, this field offers a powerful analytical perspective that is indispensable in science, engineering, computer graphics, and numerous other areas.