MYP Standard Mathematics Coordinate Geometry Basics Notes
Previous
Next
Coordinate geometry (or analytic geometry) connects algebra and geometry by describing points and shapes using coordinates and equations.
It is a foundation for building and validating mathematical models, for example when mapping locations, designing layouts, or interpreting linear data.
Coordinates Describe Location Precisely
A point on a plane is located using an ordered pair $(x,y)$.
Definition
Cartesian coordinate plane
A grid formed by two perpendicular number lines, the x-axis (horizontal) and y-axis (vertical), used to locate points with ordered pairs $(x,y)$.
The x-coordinate tells you how far left or right to move from the origin.
The y-coordinate tells you how far down or up to move.
The origin is $(0,0)$.
Because every point has a unique coordinate pair, coordinate geometry lets you calculate geometric facts (like lengths and slopes) with algebra.
Distance Between Two Points Comes From Pythagoras
Suppose you have two points $A(x_1,y_1)$ and $B(x_2,y_2)$.
If you move from $A$ to $B$, the horizontal change is $\Delta x=x_2-x_1$ and the vertical change is $\Delta y=y_2-y_1$.
Using Pythagoras' theorem on the right triangle formed by these changes gives the distance formula.
Definition
Distance formula
For points $A(x_1,y_1)$ and $B(x_2,y_2)$, the distance between them is $$AB=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}$$
Why Squaring Matters
The differences $x_2-x_1$ and $y_2-y_1$ can be negative, but distance cannot be negative.
Squaring removes sign, so the formula works no matter which point you subtract first.
Common Mistake
A very common error is to forget the squares and write $\sqrt{(x_2-x_1)+(y_2-y_1)}$.
The squares are essential because the distance is based on Pythagoras.
If $M$ is the midpoint of $AB$, then $AM=\tfrac12 AB$.
One way to validate this is to:
compute $AB$ using the distance formula,
compute $AM$ using the distance formula,
show $AM=\tfrac12 AB$.
This kind of check is an example of using logic to validate a generalization.
Active recall
For $A(a,b)$ and $B(c,d)$:
Write down the midpoint $M$.
Use the distance formula to write expressions for $AB$ and $AM$.
What changes when you compare $(c-a)$ to $\left(\tfrac{c+a}{2}-a\right)$?
Gradient Measures Steepness And Direction
A straight line's gradient (also called slope) tells howsteep it is and whether it rises or falls as you move left to right.
Definition
Gradient (slope)
For two distinct points $A(x_1,y_1)$ and $B(x_2,y_2)$ on a line, the gradient is $$m=\frac{y_2-y_1}{x_2-x_1},\quad x_2\neq x_1$$
If $m>0$, the line rises left to right.
If $m<0$, the line falls left to right.
If $m=0$, the line is horizontal.
If $x_2=x_1$, the line is vertical and the gradient is undefined.
Common Mistake
Don't swap the order in the numerator and denominator inconsistently.
If you use $(y_2-y_1)$ then you must use $(x_2-x_1)$ with the same point order.
Example question
Find the gradient of the line through $A(0,0)$ and $B(1,4)$.
Solution
$$m=\frac{4-0}{1-0}=4$$
Parallel And Perpendicular Lines Have Predictable Gradients
Gradients let you recognize angle relationships between lines without measuring angles.
Definition
Parallel lines
Two non-vertical lines are parallel if they have the same gradient.
Definition
Perpendicular lines
Two non-vertical, non-horizontal lines are perpendicular if their gradients multiply to $-1$. If one line has gradient $m\,(m\neq 0)$, then a perpendicular line has gradient $-\frac{1}{m}$.
Note
Special Cases: Horizontal And Vertical
A horizontal line has gradient $0$ and a vertical line has undefinedgradient, so the "negative reciprocal" rule cannot be applied directly in that form.
A horizontal line is perpendicular to a vertical line.
Horizontal lines are parallel to each other.
Vertical lines are parallel to each other.
Hint
When checking perpendicularity, first ask: "Is one line horizontal and the other vertical?"
If yes, they are perpendicular even though gradients do not multiply neatly.
Equations Of Straight Lines Can Be Written In Different Forms
A line can be represented by an equation in several equivalent forms.
Choosing an efficient form is part of good problem solving.
Slope-Intercept Form Highlights Gradient
Definition
Slope-intercept form
The equation of a non-vertical line can be written as $$y=mx+c$$ where $m$ is the gradient and $c$ is the $y$-intercept.
Hint
The y-intercept is where the line crosses the $y$-axis, at $(0,c)$.
Point-Slope Form Is Fast When You Know A Point And The Gradient
Definition
Point-slope form
A line through $(x_1,y_1)$ with gradient $m$ can be written as $$y-y_1=m(x-x_1)$$
Note
This is often the quickest way to build an equation from a point and a gradient.
Standard Form Is Useful For Intercepts And Some Exam Requirements
Definition
Standard form (linear)
A line can be written as $$ax+by+c=0$$ with constants $a,b,c$ (often integers, and sometimes with a required sign convention such as $a>0$).
Tip
To find intercepts quickly from standard form:
y-intercept: set $x=0$ and solve for $y$.
x-intercept: set $y=0$ and solve for $x$.
Example question
Find where the line $2y-3x-7=0$ intersects the axes.
Solution
On the $y$-axis, $x=0$: $$2y-7=0\Rightarrow y=\frac{7}{2}$$
So the y-intercept is $(0,\tfrac72)$
On the $x$-axis, $y=0$: $$-3x-7=0\Rightarrow x=-\frac{7}{3}$$
So the x-intercept is $(-\tfrac73,0)$
Exam technique
If an answer is required "in the form $ax+by+c=0$ with integers", avoid fractions by multiplying through by the lowest common multiple of denominators, then rearrange so one side is 0.
Finding A Line Equation In Common Situations
Through Two Points
Find the gradient $m=\dfrac{y2-y1}{x2-x1}$.
Use point-slope form with either point.
Convert to the required form (slope-intercept or standard).
Parallel To A Given Line
Parallel lines have the same gradient.
Use the given point to find the intercept.
Example question
The line $y=px+q$ is parallel to $y=2x-6$ and passes through $(-1,7)$. Find $p$ and $q$.
Solution
Parallel means $p=2$.
Substitute the point into $y=2x+q$: $$7=2(-1)+q=-2+q\Rightarrow q=9$$
So $p=2$ and $q=9$, and the line is $y=2x+9$
Perpendicular To A Given Line
Find the gradient of the given line.
Take the negative reciprocal to get the perpendicular gradient.
Use point-slope form.
Example question
Find the equation of the line through $S(3,7)$ perpendicular to $l_2: 3x+2y+2=0$, and give it in the form $ax+by+c=0$ with $a>0$.
Solution
First rewrite $l_2$ to see its gradient: $$3x+2y+2=0\Rightarrow 2y=-3x-2\Rightarrow y=-\frac{3}{2}x-1$$
So $m_2=-\tfrac32$
A perpendicular line has gradient $$m_1=-\frac{1}{m_2}=-\frac{1}{-\tfrac32}=\frac{2}{3}$$
Use point-slope form through $(3,7)$: $$y-7=\frac{2}{3}(x-3)$$
the gradient $m$ represents cost per unit (rate of change),
the y-intercept $c$ represents the fixed cost when $n=0$ (if $n=0$ is meaningful in context).
Case study
A "treasure map" is a fun way to see modelling in action: if each grid unit represents one league, then distance and midpoint calculations become real navigation decisions.
However, the model's validity depends on assumptions, for example whether the map scale is consistent and whether the terrain allows straight-line travel.
Rotations About The Origin Change Coordinates In Predictable Ways