40% off

Early-bird ends 15 Aug, 9am

Lock in £90

Coordinate Geometry of Straight Lines for the TMUA

Updated September 2025

Understand the algebraic and geometric properties of straight lines in the (x,y)-plane. This section covers the different forms of linear equations, the interpretation of gradient as a rate of change, and the specific conditions required for lines to be parallel or perpendicular, all essential for the TMUA.

Core concept

A straight line in the Cartesian plane is defined by a constant rate of change known as the gradient mm. Its position and orientation are uniquely determined by its gradient and a point it passes through, or by any two distinct points on the line.

The Gradient and Linear Equations

Every straight line can be defined by its gradient mm and its position on the (x,y)(x, y) plane. The most familiar form is y=mx+cy = mx + c, where mm represents the gradient and cc is the yy-intercept (the value of yy where the line crosses the yy-axis).

Interpreting the Gradient

The gradient mm measures the steepness of a line. If mm is positive, the line slopes upwards from bottom left to top right. If mm is negative, it slopes downwards from top left to bottom right. We can think of steepness as a rate of change: for every 1 unit move horizontally (in the xx direction), we must move mm units vertically (in the yy direction) to remain on the line.

img-17.jpeg

In the diagram above, the gradient is 2. For every 1 unit of xx increased, yy increases by 2.

img-18.jpeg

In this second diagram, the gradient is -3. For every 1 unit of xx increased, yy decreases by 3. Thus, the gradient tells us how fast yy changes relative to xx.

Trigonometric Interpretation of Gradient

A more sophisticated way to view the gradient is as the tangent of the angle θ\theta that the line makes with the positive xx-axis (assuming equal scales on both axes). Therefore, m=tanθm = \tan \theta. For example, a line at 45 degrees has m=tan45=1m = \tan 45^{\circ} = 1, and a line at 135 degrees has m=tan135=1m = \tan 135^{\circ} = -1.

img-19.jpeg

img-20.jpeg

Special Cases: Vertical and Horizontal Lines

Horizontal lines have a gradient of zero and take the form y=ky = k, where kk is a constant. The xx-axis itself is the line y=0y = 0. Vertical lines do not have a strictly defined finite gradient (often called infinite) and take the form x=kx = k. The yy-axis is the line x=0x = 0.

Parallel and Perpendicular Lines

Two lines y=m1x+c1y = m_1x + c_1 and y=m2x+c2y = m_2x + c_2 are parallel if and only if they have the same steepness, meaning m1=m2m_1 = m_2.

Two lines are perpendicular if and only if the product of their gradients is -1, expressed as m1m2=1m_1m_2 = -1. This condition excludes horizontal and vertical lines, which are perpendicular but have gradients of 0 and undefined respectively. You can visualize this using similar triangles:

img-21.jpeg

Forms of the Equation

In the TMUA, you must be comfortable with various algebraic forms of a line.

  1. Point-Gradient Form: yy1=m(xx1)y - y_1 = m(x - x_1). This is particularly useful when you know the gradient mm and a specific point (x1,y1)(x_1, y_1) on the line.
  2. General Form: ax+by+c=0ax + by + c = 0. In this form, aa, bb, and cc are constants. Note that cc here is NOT the yy-intercept. You should be able to rearrange this into y=mx+cy = mx + c to identify the gradient.

Finding Equations of Straight Lines

To uniquely specify a line, you need two pieces of information. There are two primary cases:

Case 1: One point and the gradient

Given a point (x1,y1)(x_1, y_1) and a gradient mm, the equation is derived from the fact that the gradient between any general point (x,y)(x, y) and (x1,y1)(x_1, y_1) must be mm:

yy1xx1=m\frac{y - y_1}{x - x_1} = m

Worked Example: Find the line with gradient m=4m = 4 through (3,2)(3, 2). Using yy1=m(xx1)y - y_1 = m(x - x_1): y2=4(x3)y - 2 = 4(x - 3) y2=4x12y - 2 = 4x - 12 y=4x10y = 4x - 10

Worked Example: Find the line with gradient m=2m = -2 through (2,4)(-2, -4). y(4)=2(x(2))y - (-4) = -2(x - (-2)) y+4=2(x+2)y + 4 = -2(x + 2) y+4=2x4y + 4 = -2x - 4 y=2x8y = -2x - 8

Case 2: Two distinct points

Given (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2), first calculate the gradient m=y1y2x1x2m = \frac{y_1 - y_2}{x_1 - x_2}. Ensure the order of subtraction is consistent for both xx and yy to avoid sign errors.

Worked Example: Find the line through (2,5)(-2, 5) and (4,7)(-4, -7). First, find mm: m=5(7)2(4)=122=6m = \frac{5 - (-7)}{-2 - (-4)} = \frac{12}{2} = 6. Now use m=6m = 6 and the point (2,5)(-2, 5): y5=6(x(2))y - 5 = 6(x - (-2)) y5=6x+12y - 5 = 6x + 12 y=6x+17y = 6x + 17

Worked Example: Find the line through (3,7)(3, -7) and (8,7)(8, -7). Since the yy-values are the same, the gradient is m=7(7)83=0m = \frac{-7 - (-7)}{8 - 3} = 0. This is a horizontal line with the equation y=7y = -7.

Key takeaways

  • The gradient mm is the rate of change of yy with respect to xx, which is also tanθ\tan \theta.
  • Parallel lines have equal gradients (m1=m2m_1 = m_2), while perpendicular lines satisfy m1m2=1m_1m_2 = -1.
  • Use the form yy1=m(xx1)y - y_1 = m(x - x_1) to quickly construct equations from a point and a gradient.
  • Always be careful with sign errors when substituting negative coordinates into yy1=m(xx1)y - y_1 = m(x - x_1).
Tips

When given two points, always check if the xx-coordinates or yy-coordinates are the same first. If x1=x2x_1 = x_2, the line is vertical (x=x1x = x_1). If y1=y2y_1 = y_2, the line is horizontal (y=y1y = y_1). This saves time compared to using the gradient formula.

Cautions

A common mistake is getting the gradient formula upside down. Remember m=ΔyΔxm = \frac{\Delta y}{\Delta x} (rise over run). Another trap is forgetting to multiply the entire (xx1)(x - x_1) bracket by mm when rearranging equations.

Insight

The gradient of a line is the simplest example of a derivative. In calculus, we find the gradient of a curve at a point by finding the gradient of the straight-line tangent at that exact location.

Frequently asked questions

What happens to the gradient of a vertical line?

A vertical line has no defined finite gradient because the change in xx is zero, and division by zero is undefined. We represent these lines as x=kx = k.

How do I find the gradient from the general form ax+by+c=0ax + by + c = 0?

Rearrange the equation into the form y=mx+ky = mx + k. This gives by=axcby = -ax - c, so y=abxcby = -\frac{a}{b}x - \frac{c}{b}. The gradient mm is ab-\frac{a}{b}.

Why is the perpendicular gradient formula m1m2=1m_1m_2 = -1?

Geometrically, if a line has a gradient m=riserunm = \frac{rise}{run}, rotating it 90 degrees swaps the rise and run and negates one of them, leading to a new gradient of 1m-\frac{1}{m}.

Does cc always mean the yy-intercept?

Only in the specific form y=mx+cy = mx + c. In the general form ax+by+c=0ax + by + c = 0, the constant cc is not the yy-intercept; the yy-intercept in that case is actually cb-\frac{c}{b}.

Ready to test your knowledge?

You've reached the end of this section. Start a practice session to solidify your understanding and master this topic.