Find the equation of the line through (−1, 6) and (3, −6).
- Gradient: m = (−6 − 6)/(3 − (−1)) = −12/4 = −3.
- Use (−1, 6) in y = −3x + c: 6 = −3 × (−1) + c = 3 + c, so c = 3.
- Check with (3, −6): −3 × 3 + 3 = −6.
Answer: y = −3x + 3
Maths · Coordinate geometry. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.
Every straight line that is not vertical can be written as y = mx + c. Here m is the gradient and c is the y-intercept, the value of y where the line crosses the y-axis.
To find the equation of a line you need two facts: its gradient and one point on it. If you are given two points, find the gradient from them first. Then put the gradient and the coordinates of one point into y = mx + c to find c.
If an equation is in another form, such as 4x − 2y = 8, rearrange it to make y the subject before you read off m and c.
Reading m and c before y is alone. In 3y = 2x + 12 the y-intercept is 4, not 12, because every term must be divided by 3.
Answer: y = −3x + 3
Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.