LOEP original
A straight line passes through (2, 1) and (6, 7). Its equation can be written as 2y = px + q, where p and q are constants. Find p.
Formula hint
One of these formulas fits this kind of question. Which one, and which numbers go where, is up to you.
Gradient of a line through two points
m = (y2 − y1) ÷ (x2 − x1)
Also: A vertical line (x1 = x2) has an undefined gradient · A horizontal line has gradient 0
- m
- gradient (slope)
- (x1, y1), (x2, y2)
- two points on the line
When a question asks for the gradient of the line through two points, or gives the gradient and asks for a coordinate.
On the formula sheet ▶Equation of a straight line
y = mx + c
Also: y − y1 = m(x − x1) · For ax + by + k = 0: gradient = −a/b, y-intercept = −k/b
- m
- gradient
- c
- y-intercept (where the line cuts the y-axis)
- (x1, y1)
- a point on the line
When a question asks for the equation, gradient or intercept of a line, or whether a point lies on it.
On the formula sheet ▶Pick an answer to see if you're right, with the worked explanation, an interactive lab where there is one, and real-life examples.
- A. 3
- B. 3/2
- C. -4
- D. 2