A linear function is a first-degree polynomial function describing a relationship between an independent input variable (x) and a dependent output variable (y or f(x)) where the rate of change remains strictly constant. When plotted on a Cartesian coordinate grid, every linear function produces a continuous straight line that extends infinitely in both directions.

The standard algebraic equation of a linear function is:

f(x)=mx+cory=mx+cf(x) = mx + c \quad \text{or} \quad y = mx + c

Where:

  • x is the input variable (domain).
  • y or f(x) is the output variable (range).
  • m is the gradient (slope), defining the steepness and direction of the line.
  • c is the y-intercept, defining the point (0, c) where the line intersects the vertical y-axis.
Illustation of a linear graph of the form y=mx+C with gradient labels
Image Source: Gianpiero Placidi

Why Linear Functions Matter

  • Real-World Applications: Linear functions model systems with constant rates of change—such as fixed-plus-variable billing systems (e.g., electricity tariffs, taxi fares), distance-time relationships under uniform velocity, and temperature conversions between Celsius and Fahrenheit.
  • Academic Relevance: Linear equations are the cornerstone of coordinate geometry, vector algebra, and introductory calculus. In differential calculus, non-linear curves are analyzed locally by approximating them as linear tangent lines (dydx\dfrac{dy}{dx}).
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

Core Theory

The Anatomy of a Linear Equation

The most direct way to recognize a linear function is by examining the power of the variable:

  • In a linear function, the variable x has an exponent of exactly 1 (x1=xx^1 = x).
  • There are no products of variables (e.g., xy), no variables in denominators (e.g., 1x\dfrac{1}{x}), and no roots or transcendental functions (e.g., x\sqrt{x}, 2x2^x, sin⁡(x)\sin(x)).

The Gradient (m): Steepness and Direction

The gradient (m) measures the rate at which the line rises or falls per unit increase in x.

Graphs illustrating positive, negative, zero and undefined gradients of linear graphs
Image Source: Gianpiero Placidi

The Intercepts: Crossing the Axes

Every oblique linear function crosses both Cartesian axes:

The y-Intercept

The point where the line crosses the vertical axis (x = 0):

y=m(0)+c=c⟹(0,c)y = m(0) + c = c \implies (0, c)

In real-world modeling, c frequently represents the initial value or fixed starting cost before any change occurs.

The x-Intercept

The point where the line crosses the horizontal axis (y = 0):

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

In real-world applications, this represents the break-even point or the threshold where the quantity reaches zero.

Worked Examples

Worked Example 1: Calculating Gradient and Forming y = mx + c

A straight line passes through the points A(-3, 11) and B(5, -5).

(a) Calculate the gradient of the line.

(b) Determine the equation of the line in the form y = mx + c.

(c) State the coordinates of the x-intercept.

Step 1: Calculate the gradient (m)

m=y2−y1x2−x1=−5−115−(−3)=−165+3=−168=−2m = \dfrac{y_2 - y_1}{x_2 - x_1} = \dfrac{-5 - 11}{5 - (-3)} = \dfrac{-16}{5 + 3} = \dfrac{-16}{8} = -2

Step 2: Find the y-intercept (c)

Substitute m = -2 and the coordinates of point B(5, -5) into y = mx + c:

−5=−2(5)+c-5 = -2(5) + c

−5=−10+c-5 = -10 + c

c=−5+10=5c = -5 + 10 = 5

The equation of the line is:

y=−2x+5y = -2x + 5

Step 3: Calculate the x-intercept

Set y = 0:

0=−2x+5⟹2x=5⟹x=52=2.50 = -2x + 5 \implies 2x = 5 \implies x = \dfrac{5}{2} = 2.5

The x-intercept is (2.5, 0).

Worked Example 2: Rearranging from General Form ax + by + c = 0

A line L has the equation 4x - 6y + 15 = 0

(a) Express the equation in the form y = mx + c

(b) State the gradient and the coordinates of the y-intercept.

Step 1: Isolate the y-term

4x−6y+15=04x - 6y + 15 = 0

6y=4x+156y = 4x + 15

Step 2: Divide every term by the coefficient of y (6)

y=46x+156y = \dfrac{4}{6}x + \dfrac{15}{6}

Step 3: Simplify all fractions to lowest terms

y=23x+52y = \dfrac{2}{3}x + \dfrac{5}{2}

Step 4: Identify parameters

  • Gradient:m=23m = \dfrac{2}{3}
  • y-intercept:(0,52)\left(0, \dfrac{5}{2}\right) or (0,2.5)(0, 2.5)

Practice Questions & Solutions

1

A line passes through the coordinates A(-2, -7) and B(3, 8).

(a) Calculate the gradient of the line.

(b) Find the equation of the line in the form y = mx + c

(c) Determine the exact coordinates of the point where the line crosses the x-axis.

Solution

(a)

Calculate the gradient m using the coordinates A(-2, -7) and B(3, 8):

(b)

Use point-gradient form with point B(3, 8):

(c)

To find the x-intercept, set y = 0:

Coordinates of the x-intercept:

.

2

Line has the equation .

Line is parallel to and passes through the point (-5, 4).

Find the equation of in the form , where and a > 0.

Solution

Step 1: Determine the gradient of

Rearrange into form:

The gradient of is .

Step 2: Form the equation of parallel line

Since , .

Using point :

Step 3: Convert to general form

Multiply every term by to eliminate the fraction:

Rearrange all terms to the left side:

3

A straight road is modeled by the line .

A pedestrian pathway connects perpendicular to this road, meeting it at the point where the road crosses the y-axis.

(a) Find the coordinates of the road's y-intercept.

(b) Find the gradient of the perpendicular pathway.

(c) Write down the equation of the pathway in the form .

Solution

(a)

Find the y-intercept of the road by setting x = 0:

The intersection point is (0, 2)

(b)

Rearrange the road's equation to find its gradient :

The gradient of the road is .

The gradient of the perpendicular pathway is the negative reciprocal:

(c)

The pathway passes through (0, 2) with gradient :

Summarise with AI:

Did you like this article? Rate it!

5.00 (2 rating(s))
Loading...

Gianpiero Placidi

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