Find the equation of the straight line through (−1, 8) and (3, −4).
- Gradient: m = (−4 − 8)/(3 − (−1)) = −12/4 = −3.
- Put (−1, 8) into y = −3x + c: 8 = −3 × (−1) + c = 3 + c, so c = 5.
- Check with (3, −4): −3 × 3 + 5 = −4.
Answer: y = −3x + 5
Maths · Algebra. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.
A straight-line graph is fixed by two things: how steep it is and where it crosses the y-axis. In y = mx + c, m is the gradient and c is the y-intercept. The gradient is how far the line goes up for each 1 unit across; a negative gradient slopes down from left to right.
You can read m and c only when the equation is in the form y = ..., so rearrange first.
Parallel lines have the same gradient. Perpendicular lines meet at 90° and their gradients multiply to −1. For two points you can also find the midpoint (average the coordinates) and the distance between them (Pythagoras).
Reading the gradient before rearranging. For 2y = 6x + 8 the gradient is 3, not 6, because the equation must first be divided by 2 to give y = 3x + 4.
Answer: y = −3x + 5
Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.
← Formulae, identities, proof and functionsQuadratic and other graphs →Take a Maths test