3. Geometry and Trigonometry

Coordinate Geometry

Coordinate Geometry

Introduction

Coordinate geometry is the branch of mathematics that uses numbers and algebra to describe shapes, positions, and movement on a plane or in space. students, this lesson will help you see how graphs, lines, circles, and distances can be studied with coordinates instead of drawings alone 📍. The main idea is simple: every point has an address, and those addresses can be used to find patterns, prove relationships, and solve problems.

In IB Mathematics: Analysis and Approaches HL, coordinate geometry is important because it links algebra with geometry. You will use tools such as the midpoint formula, distance formula, gradient, equations of lines, and equations of circles. You will also see how coordinate methods support problem-solving in both $2$D and $3$D geometry. By the end of this lesson, you should be able to explain the main ideas, apply standard methods, and recognize how coordinate geometry fits into the wider topic of Geometry and Trigonometry.

Points, Distance, and Midpoints

A point in the plane is written as $\left(x,y\right)$. The $x$-coordinate tells how far left or right the point is from the origin, and the $y$-coordinate tells how far up or down it is. In coordinate geometry, these values let us calculate exact measurements instead of estimating from a sketch.

One of the most important ideas is the distance between two points. If $A\left(x_1,y_1\right)$ and $B\left(x_2,y_2\right)$ are two points, then the distance between them is

$$d=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2}$$

This formula comes from Pythagoras’ theorem. Imagine walking from one city block to another using straight roads that form a right triangle. The horizontal change is $x_2-x_1$ and the vertical change is $y_2-y_1$. The distance formula gives the direct route 🚶.

Example: Find the distance between $A\left(1,2\right)$ and $B\left(5,5\right)$. The difference in $x$ is $4$ and the difference in $y$ is $3$, so

$$d=\sqrt{4^2+3^2}=\sqrt{16+9}=\sqrt{25}=5$$

Another useful idea is the midpoint of a line segment. The midpoint is the point exactly halfway between two endpoints. If $A\left(x_1,y_1\right)$ and $B\left(x_2,y_2\right)$ are endpoints, the midpoint is

$$M\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2}\right)$$

This formula averages the coordinates separately. For $A\left(1,2\right)$ and $B\left(5,5\right)$, the midpoint is

$$M\left(\frac{1+5}{2},\frac{2+5}{2}\right)=\left(3,\frac{7}{2}\right)$$

These formulas are often used together. For example, if you know the endpoints of a diameter of a circle, you can find the center by using the midpoint formula.

Gradients and Equations of Lines

The gradient, or slope, of a line measures how steep it is. It is defined as the change in $y$ divided by the change in $x$. For points $A\left(x_1,y_1\right)$ and $B\left(x_2,y_2\right)$, the gradient is

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

A positive gradient means the line rises from left to right, while a negative gradient means it falls. A gradient of $0$ means the line is horizontal. A vertical line has an undefined gradient because the denominator becomes $0$.

If a line has gradient $m$ and passes through a point $\left(x_1,y_1\right)$, then its equation can be written as

$$y-y_1=m\left(x-x_1\right)$$

This is called the point-slope form. It is very useful when you know one point and the gradient. Another common form is the slope-intercept form

$$y=mx+c$$

where $c$ is the $y$-intercept, the point where the line crosses the $y$-axis.

Example: Find the equation of the line with gradient $2$ passing through $\left(1,3\right)$. Using point-slope form,

$$y-3=2\left(x-1\right)$$

Expanding gives

$$y=2x+1$$

A key skill in coordinate geometry is recognizing parallel and perpendicular lines. Parallel lines have the same gradient. Perpendicular lines have gradients whose product is $-1$.

If one line has gradient $m$, then a perpendicular line has gradient

$$-\frac{1}{m}$$

provided $m\ne 0$. This relationship is often used to find equations of altitudes, normals, and perpendicular bisectors. For example, the perpendicular bisector of a segment passes through its midpoint and has a gradient perpendicular to the segment.

Intersections and Solving Simultaneous Equations

Coordinate geometry often asks you to find where lines, circles, or other curves meet. These intersection points are found by solving equations together. This connects geometry directly to algebra.

For example, if two lines are given by

$$y=2x+1$$

and

$$y=-x+7$$

their intersection is found by setting the right-hand sides equal:

$$2x+1=-x+7$$

Solving gives

$$3x=6\quad\Rightarrow\quad x=2$$

Then

$$y=2\left(2\right)+1=5$$

So the lines intersect at $\left(2,5\right)$.

In IB questions, you may be asked to prove that three points are collinear, which means they lie on the same straight line. One way is to show that the gradients between pairs of points are equal. Another way is to show that all three points satisfy the same linear equation.

You may also need to test whether lines are parallel, perpendicular, or whether a point lies on a line. For a point $\left(a,b\right)$ to lie on a line, its coordinates must satisfy the equation of that line exactly. This is a basic but powerful idea because it turns geometric information into algebraic checking ✨.

Circles in Coordinate Geometry

A circle is the set of all points at a fixed distance from a center. In coordinate geometry, the standard equation of a circle with center $\left(a,b\right)$ and radius $r$ is

$$\left(x-a\right)^2+\left(y-b\right)^2=r^2$$

This formula comes directly from the distance formula. Every point on the circle is exactly $r$ units from the center.

Example: A circle with center $\left(2,-1\right)$ and radius $3$ has equation

$$\left(x-2\right)^2+\left(y+1\right)^2=9$$

If a circle is given in expanded form, you may need to complete the square to rewrite it in standard form. This is a common IB skill because it combines algebraic manipulation with geometric meaning.

Circles also appear in intersection problems. For example, to find where a line meets a circle, substitute the line equation into the circle equation. The result is usually a quadratic equation. The number of real solutions tells you whether the line touches the circle, crosses it, or misses it completely. One solution means the line is tangent, two solutions mean it intersects in two points, and no real solutions mean there is no intersection.

This shows how coordinate geometry helps classify shapes using equations, not just diagrams. It is a major reason the topic is included in Geometry and Trigonometry.

Coordinate Geometry in $3$D and Links to Vectors

Coordinate geometry is not limited to the plane. In $3$D, a point has coordinates $\left(x,y,z\right)$. The same logic extends into space, but now there is an extra direction. Distance between points in $3$D is found using

$$d=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2+\left(z_2-z_1\right)^2}$$

This formula is the natural extension of Pythagoras’ theorem in space.

Coordinate geometry in $3$D is closely linked to vectors. A position vector describes a point relative to the origin, and a direction vector shows the direction of a line. In many IB problems, points, lines, and planes are described using coordinates and vectors together. For example, if a line passes through a point and has a direction vector, you can write its vector equation and then convert information into coordinate form.

Planes in $3$D can also be studied using coordinate methods. A plane may be described by an equation such as

$$ax+by+cz=d$$

where $a$, $b$, and $c$ are constants. Any point that satisfies this equation lies on the plane. This connects directly to investigations of intersections between lines and planes, or between two planes. The same theme appears again: geometric relationships become algebraic equations that can be solved systematically.

Why Coordinate Geometry Matters in IB Mathematics: Analysis and Approaches HL

students, coordinate geometry is important because it gives you a precise language for geometry. Instead of relying only on pictures, you can prove results using algebra. This is especially valuable in IB Mathematics: Analysis and Approaches HL, where reasoning and justification matter as much as calculation.

Coordinate geometry supports several bigger ideas in the syllabus. It helps with:

  • describing lines, circles, and shapes clearly;
  • finding intersections and solving geometric problems;
  • proving relationships such as parallelism and perpendicularity;
  • connecting $2$D geometry with $3$D geometry and vectors;
  • using algebraic methods to support trigonometric and geometric reasoning.

A strong example of this connection is the perpendicular bisector of a segment. To find it, you use the midpoint formula, the gradient formula, and the fact that perpendicular gradients multiply to $-1$. This is a complete geometric argument built from coordinates.

Another example is using a circle equation to model a real situation, such as the path of a drone around a central point, or the coverage area of a signal tower 📡. The center and radius provide direct information about location and size. In examination-style questions, you may be asked to interpret an equation, find missing parameters, or show that a point lies on a curve.

Conclusion

Coordinate geometry is a powerful part of Geometry and Trigonometry because it turns shapes into equations and equations into shapes. students, by mastering distance, midpoint, gradients, line equations, circle equations, and $3$D extensions, you gain tools that are useful across many IB topics. The main goal is not just to calculate answers, but to understand how algebra and geometry work together to describe space accurately and logically. That connection is central to high-level mathematical reasoning.

Study Notes

  • A point in the plane is written as $\left(x,y\right)$, and in space as $\left(x,y,z\right)$.
  • The distance formula in $2$D is $d=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2}$.
  • The midpoint formula is $M\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2}\right)$.
  • The gradient of a line through $A\left(x_1,y_1\right)$ and $B\left(x_2,y_2\right)$ is $m=\frac{y_2-y_1}{x_2-x_1}$.
  • The equation of a line through $\left(x_1,y_1\right)$ with gradient $m$ is $y-y_1=m\left(x-x_1\right)$.
  • Parallel lines have equal gradients.
  • Perpendicular gradients satisfy $m_1m_2=-1$.
  • The standard equation of a circle is $\left(x-a\right)^2+\left(y-b\right)^2=r^2$.
  • Completing the square helps convert an expanded circle equation into standard form.
  • In $3$D, the distance formula becomes $d=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2+\left(z_2-z_1\right)^2}$.
  • Coordinate geometry links algebra, geometry, vectors, and trigonometric reasoning in IB Mathematics: Analysis and Approaches HL.

Practice Quiz

5 questions to test your understanding