40% off

Early-bird ends 15 Aug, 9am

Lock in £90

Linear Functions and Gradients for the TMUA

Updated August 2025

This guide covers the identification and interpretation of linear functions using the y=mx+cy = mx + c form. It explains how to determine gradients and intercepts algebraically and graphically, alongside the specific conditions for parallel and perpendicular lines. These concepts are essential for coordinate geometry problems in the TMUA.

Core concept

A linear function is represented by y=mx+cy = mx + c, where mm is the gradient and cc is the yy intercept. Parallel lines share identical gradients, while perpendicular lines have gradients with a product of 1-1.

The Equation of a Straight Line

The standard algebraic form of a straight line is y=mx+cy = mx + c. In this representation, mm signifies the gradient (the slope of the line) and cc signifies the intercept with the yy axis. To interpret a linear function correctly, it is often necessary to rearrange any given equation into this standard form.

Worked Example: Finding Gradient and Intercept

Question: What is the gradient of the line y3x=6y - 3x = 6 and where does the line intersect the yy axis?

Solution: To find the gradient and intercept, we rearrange the equation into the form y=mx+cy = mx + c. By adding 3x3x to both sides, we get: y=3x+6y = 3x + 6 Comparing this with y=mx+cy = mx + c, we identify m=3m = 3 and c=6c = 6. Therefore, the gradient is 33 and the line cuts the yy axis at y=6y = 6.

Question: What is the gradient of the line 2y3x=62y - 3x = 6 and where does the line intersect the yy axis?

Solution: Again, we rearrange into y=mx+cy = mx + c: 2y=3x+62y = 3x + 6 Dividing every term by 22, we obtain: y=32x+3y = \frac{3}{2}x + 3 Here, m=32m = \frac{3}{2} and c=3c = 3. The gradient is 32\frac{3}{2} and the yy intercept is 33.

Parallel Lines

Lines are considered parallel if they have the same gradient. They will never intersect because they maintain a constant distance from one another.

Worked Example: Identifying Parallel Lines

Question: Which of these lines are parallel? a:y+4x=9a: y + 4x = 9 b:y=4x+7b: y = 4x + 7 c:3y+4x=9c: 3y + 4x = 9 d:2y=78xd: 2y = 7 - 8x e:3y12x=7e: 3y - 12x = -7

Solution: We find the gradient mm for each by rearranging them into y=mx+cy = mx + c: Line aa: y=4x+9y = -4x + 9, so m=4m = -4. Line bb: y=4x+7y = 4x + 7, so m=4m = 4. Line cc: y=43x+3y = -\frac{4}{3}x + 3, so m=43m = -\frac{4}{3}. Line dd: y=4x+72y = -4x + \frac{7}{2}, so m=4m = -4. Line ee: y=4x73y = 4x - \frac{7}{3}, so m=4m = 4. Lines aa and dd are parallel because they both have a gradient of 4-4. Lines bb and ee are parallel because they both have a gradient of 44.

Perpendicular Lines

Two lines are perpendicular if they meet at a right angle (9090 degrees). Algebraically, the product of their gradients must be 1-1. If one line has gradient mm, the perpendicular line has gradient 1m-\frac{1}{m}.

Worked Example: Identifying Perpendicular Lines

Question: Which of these lines are perpendicular? a:y+4x=9a: y + 4x = 9 b:y=4x+7b: y = 4x + 7 c:4y+3x=9c: 4y + 3x = 9 d:4y=7xd: 4y = 7 - x e:3y4x=7e: 3y - 4x = -7

Solution: First, determine the gradients: Line aa: m=4m = -4 Line bb: m=4m = 4 Line cc: y=34x+94y = -\frac{3}{4}x + \frac{9}{4}, so m=34m = -\frac{3}{4} Line dd: y=14x+74y = -\frac{1}{4}x + \frac{7}{4}, so m=14m = -\frac{1}{4} Line ee: y=43x73y = \frac{4}{3}x - \frac{7}{3}, so m=43m = \frac{4}{3} Checking for pairs where m1×m2=1m_1 \times m_2 = -1: Lines bb and dd: 4×(14)=14 \times (-\frac{1}{4}) = -1. These are perpendicular. Lines cc and ee: (34)×43=1(-\frac{3}{4}) \times \frac{4}{3} = -1. These are perpendicular.

Equation of a Line Given Gradient and a Point

To find the equation of a line with a known gradient mm passing through a specific point (p,q)(p, q), we substitute these values into y=mx+cy = mx + c to solve for cc.

Worked Example: Gradient and Point

Question: What is the equation of the straight line with gradient 5-5 through the point (1,2)(1, -2)?

Solution: Start with the general form y=5x+cy = -5x + c. Substitute x=1x = 1 and y=2y = -2: 2=5(1)+c-2 = -5(1) + c 2=5+c-2 = -5 + c c=3c = 3 Thus, the equation is y=5x+3y = -5x + 3. This can also be written as y+5x=3y + 5x = 3.

Equation of a Line Joining Two Given Points

To find the equation of a line passing through (x,y)(x, y) and (x1,y1)(x_1, y_1), we first calculate the gradient using the formula: m=yy1xx1=difference in ydifference in xm = \frac{y - y_1}{x - x_1} = \frac{\text{difference in } y}{\text{difference in } x} Once the gradient is found, use either point to solve for cc.

Worked Example: Two Points

Question: What is the equation of the straight line joining the points (3,5)(3, 5) and (1,3)(-1, -3)?

Solution: Calculate the gradient mm: m=5(3)3(1)=84=2m = \frac{5 - (-3)}{3 - (-1)} = \frac{8}{4} = 2 Now use the form y=2x+cy = 2x + c. Substituting the point (3,5)(3, 5): 5=2(3)+c5 = 2(3) + c 5=6+c5 = 6 + c c=1c = -1 The equation is y=2x1y = 2x - 1.

Key takeaways

  • The gradient mm is calculated as the change in yy divided by the change in xx.
  • Parallel lines have equal gradients (m1=m2m_1 = m_2).
  • Perpendicular lines have gradients that are negative reciprocals of each other (m1×m2=1m_1 \times m_2 = -1).
  • A line equation must be in the form y=mx+cy = mx + c to directly read the gradient and yy intercept.
  • The yy intercept cc is the value of yy when x=0x = 0.
Tips

In the TMUA, you may be given a line in the form ax+by+c=0ax + by + c = 0. Always rearrange this into y=abxcby = -\frac{a}{b}x - \frac{c}{b} to find the gradient quickly. Do not assume the coefficient of xx is the gradient if the coefficient of yy is not 11.

Cautions

A common error is confusing the signs when calculating the gradient between two points, particularly when one coordinate is negative. Always use brackets: y2(y1)x2(x1)\frac{y_2 - (y_1)}{x_2 - (x_1)}.

Insight

The relationship m1m2=1m_1 m_2 = -1 is a specific case of the dot product of two vectors being zero. If a line has a direction vector (1m)\binom{1}{m}, its perpendicular counterpart has a direction vector (m1)\binom{-m}{1}, which results in the negative reciprocal gradient.

Worked Examples

Example 1
The graph of the line ax+by=cax + by = c is drawn, where a, b and c are real non-zero constants.
Which one of the following is a necessary but not sufficient condition for the line to have a positive gradient and a positive y-intercept?
A:cb>0\frac{c}{b} > 0 and ab<0\frac{a}{b} < 0
B:cb<0\frac{c}{b} < 0 and ab>0\frac{a}{b} > 0
C:a>b>ca>b>c
D:a<b<ca<b<c
E:a and c have opposite signs
F:a and c have the same sign

Practice Questions

Practice Question 1
The line joining the points with coordinates (p,p1)(p, p − 1) and (1p,2p)(1 – p, 2p) is parallel to the line with equation 2x+3y+1=02x + 3y + 1 = 0

What is the value of
pp?
A:-1
B:17-\frac{1}{7}
C:19\frac{1}{9}
D:18\frac{1}{8}
E:1
F:54\frac{5}{4}
G:2
H:5

Frequently asked questions

How do you find the x intercept of a line?

To find the xx intercept, set y=0y = 0 in the equation and solve for xx.

What is the gradient of a horizontal line?

A horizontal line has a gradient of 00 because the change in yy is always 00 (y=cy = c).

What is the gradient of a vertical line?

A vertical line has an undefined gradient because the change in xx is 00, leading to division by zero (x=kx = k).

Can two perpendicular lines both have positive gradients?

No. Since their product must be 1-1, if one gradient is positive, the other must be negative.

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.