A linear function is an algebraic relationship between an independent variable (the input, x) and a dependent variable (the output, y or f(x)) characterised by a constant rate of change. When plotted on a Cartesian coordinate plane, a linear function always generates a straight line.

In formal function notation, a linear function is written as:

f(x)=mx+cf(x) = mx + c

Where:

  • x represents the input variable (the domain value).
  • f(x) represents the output variable (often labelled y).
  • m represents the constant rate of change, known as the gradient or slope.
  • c represents the y-intercept, the point where the line crosses the vertical axis.
The best Maths tutors available
Poonam
5
5 (80 reviews)
Poonam
£100
/h
Gift icon
1st lesson free!
Paolo
4.9
4.9 (83 reviews)
Paolo
£35
/h
Gift icon
1st lesson free!
Anthony
5
5 (94 reviews)
Anthony
£10
/h
Gift icon
1st lesson free!
Sehaj
4.9
4.9 (62 reviews)
Sehaj
£60
/h
Gift icon
1st lesson free!
Intasar
5
5 (71 reviews)
Intasar
£99
/h
Gift icon
1st lesson free!
Shane
4.9
4.9 (51 reviews)
Shane
£50
/h
Gift icon
1st lesson free!
Tomi
5
5 (40 reviews)
Tomi
£55
/h
Gift icon
1st lesson free!
Hiren
5
5 (34 reviews)
Hiren
£85
/h
Gift icon
1st lesson free!
Poonam
5
5 (80 reviews)
Poonam
£100
/h
Gift icon
1st lesson free!
Paolo
4.9
4.9 (83 reviews)
Paolo
£35
/h
Gift icon
1st lesson free!
Anthony
5
5 (94 reviews)
Anthony
£10
/h
Gift icon
1st lesson free!
Sehaj
4.9
4.9 (62 reviews)
Sehaj
£60
/h
Gift icon
1st lesson free!
Intasar
5
5 (71 reviews)
Intasar
£99
/h
Gift icon
1st lesson free!
Shane
4.9
4.9 (51 reviews)
Shane
£50
/h
Gift icon
1st lesson free!
Tomi
5
5 (40 reviews)
Tomi
£55
/h
Gift icon
1st lesson free!
Hiren
5
5 (34 reviews)
Hiren
£85
/h
Gift icon
1st lesson free!
Let's go

Standard Algebraic Forms of Linear Equations

UK exam boards require familiarity with three distinct representations of a linear equation:

A. Gradient-Intercept Form: y=mx+cy = mx + c

  • Ideal when the gradient and the y-intercept are directly known or easily read from a graph.
  • If c = 0, the equation simplifies to y = mx, which represents direct proportion through the origin (0, 0).

B. Point-Gradient Form: y−y1=m(x−x1)y - y_1 = m(x - x_1)

  • Standard for A-Level coordinate geometry and GCSE Higher questions.
  • Most efficient when finding the equation of a line given a known gradient m and any single passing point (x1,y1)(x_1, y_1)

C. General Form: ax+by+c=0ax + by + c = 0

  • Here, a, b, and c are typically integers (a,b,c∈ℤa, b, c \in \mathbb{Z}), and a≥0a \ge 0.
  • Avoids fractions and is frequently requested in exam mark schemes as the required final form.

The Gradient (m): Rate of Change

The gradient measures both the steepness and the direction of the line.

Gradient m=Change in yChange in x=ΔyΔx=y2−y1x2−x1\text{Gradient } m = \dfrac{\text{Change in } y}{\text{Change in } x} = \dfrac{\Delta y}{\Delta x} = \dfrac{y_2 - y_1}{x_2 - x_1}

Gradient Classifications:

  • Positive Gradient (m > 0): The line rises from left to right (↗\nearrow). As x increases, y increases.
  • Negative Gradient (m < 0): The line falls from left to right (↘\searrow). As x increases, y decreases.
  • Zero Gradient (m = 0): A horizontal line with equation y = c. Outputs remain constant regardless of input.
  • Undefined Gradient: A vertical line with equation x = k. The denominator Δx=0\Delta x = 0, making the gradient division by zero. (Note: Vertical lines are relations, not functions, because a single input maps to infinite outputs).
Illustration of the different types of gradient for linear functions
Image Source: Gianpiero Placidi

Parallel and Perpendicular Lines

Parallel Lines

Two non-vertical lines are parallel if and only if their gradients are identical:

m1=m2m_1 = m_2

Parallel lines never intersect and remain equidistant along their entire length.

Perpendicular Lines

Two lines are perpendicular if they intersect at a right angle (90∘90^\circ). Their gradients are negative reciprocals of each other:

m1×m2=−1⟺m2=−1m1m_1 \times m_2 = -1 \iff m_2 = -\dfrac{1}{m_1}

Perpendicular Rule Example:

If line L1L_1 has a gradient of m1=25m_1 = \dfrac{2}{5}, any perpendicular line L2L_2 must have a gradient of:

m2=−1(25)=−52m_2 = -\dfrac{1}{\left(\dfrac{2}{5}\right)} = -\dfrac{5}{2}

Intercepts and Coordinate Points

  • y-intercept: Occurs where the line crosses the y-axis. Set x = 0 and solve for y:

y=m(0)+c⟹(0,c)y = m(0) + c \implies (0, c)
  • x-intercept: Occurs where the line crosses the x-axis. Set y = 0 and solve for x:

0=mx+c⟹x=−cm⟹(−cm,0)0 = mx + c \implies x = -\dfrac{c}{m} \implies \left(-\dfrac{c}{m}, 0\right)

Graphical Transformations of Linear Functions

Modifying the parameters in f(x) = mx + c transforms the line geometrically:

  1. Changing c(Vertical Translation):
    • Replacing c with c + k translates the line vertically by vector (0k)\begin{pmatrix} 0 \\ k \end{pmatrix}.
    • The line shifts upwards by k units if k > 0, or downwards if k < 0. The gradient remains unchanged.
  2. Changing the sign of m (Reflection):
    • Changing y = mx + c to y = -mx + c reflects the line in the vertical line x = 0 (y-axis).
  3. Changing the magnitude of m (Steepness):
    • Increasing |m|\vert{}m\vert{} rotates the line closer to the vertical axis, increasing steepness.
    • Decreasing |m|\vert{}m\vert{} flattens the line closer to the horizontal axis.

Practice Questions & Solutions

1

Line L1 passes through the points (1, 4) and (5, 12).

Line L2 is parallel to L1 and passes through the point (-3, 2).

Find the equation of L2 in the form ax + by + c = 0, where

Solution

Select points (-1, -5) and (2, 1):

Use point (2, 1) with y = mx + c:

y = 2x - 3

For the x-intercept, set y = 0:

Coordinates of the x-intercept:

or (1.5, 0)

2

Points A(3, 8) and B(7, 2) define a line segment AB.

(a) Calculate the gradient of AB.

(b) Find the coordinates of the midpoint of AB.

(c) Find the equation of the perpendicular bisector of AB in the form y = mx + c.

Solution

Gradient of AB:

Midpoint M:

The perpendicular bisector has gradient:

Using point M(5, 5):

3

Two lines are defined by the equations:

Find the exact coordinates of the point where and intersect.

Solution

Gradient of AB:

Midpoint M:

The perpendicular bisector has gradient:

Using point M(5, 5):

Summarise with AI:

Did you like this article? Rate it!

5.00 (1 rating(s))
Loading...

Gianpiero Placidi

UK-based Chemistry graduate with a passion for education, providing clear explanations and thoughtful guidance to inspire student success.