0580 · Extended · For exams 2028–2030

E3.3 Coordinate geometry

Gradient of linear graphs (ميل الخط المستقيم)

Syllabus aims: find the gradient of a straight line, and calculate it from the coordinates of two points on the line.

1. The idea

The gradient (الميل) tells you how steep a line is. Move along the line: the vertical change is the rise (التغير الرأسي) and the horizontal change is the run (التغير الأفقي).

gradient = riserun

For two points A(x₁, y₁) and B(x₂, y₂) on the line:

m = y₂ − y₁x₂ − x₁

Tips. Subtract the coordinates in the same order on top and bottom. Swapping both gives the same answer. Give the gradient as a simplified fraction or a decimal.

2. Worked examples (أمثلة محلولة)

Example 1

Find the gradient of the line through A(1, 2) and B(5, 10).

A(1, 2)B(5, 10)run = 4rise = 8

Step 1. Rise = y₂ − y₁ = 10 − 2 = 8.

Step 2. Run = x₂ − x₁ = 5 − 1 = 4.

Step 3. Gradient = 84 = 2. Positive, so the line goes up.

Example 2 (negative gradient)

Find the gradient of the line through P(−3, 4) and Q(5, −2).

Step 1. Rise = −2 − 4 = −6.

Step 2. Run = 5 − (−3) = 5 + 3 = 8.

Step 3. Gradient = −68 = −34 (or −0.75). Negative, so the line goes down.

Check: starting from Q and going to P gives 4 − (−2)−3 − 5 = 6−8 = −34. Same answer.

Example 3 (finding a missing coordinate)

The line through (2, k) and (6, 11) has gradient 32. Find k.

Step 1. Write the gradient formula: 11 − k6 − 2 = 32.

Step 2. Simplify the run: 11 − k4 = 32.

Step 3. Multiply both sides by 4: 11 − k = 6.

Step 4. So k = 11 − 6 = 5.

Check: the points (2, 5) and (6, 11) give rise 6, run 4, gradient 64 = 32. ✓

3. Practice (أسئلة متدرجة)

Try each question first. Tap to see the answer.

Q1 (easy). Find the gradient of the line through (2, 3) and (4, 7).

Answer

Rise = 7 − 3 = 4, run = 4 − 2 = 2. Gradient = 2.

Q2 (easy). Find the gradient of the line through (−1, 5) and (3, 1).

Answer

Rise = 1 − 5 = −4, run = 3 − (−1) = 4. Gradient = −44 = −1.

Q3 (medium). Find the gradient of the line through (0, −4) and (6, 5).

Answer

Rise = 5 − (−4) = 9, run = 6 − 0 = 6. Gradient = 96 = 32 (1.5).

Q4 (medium). Find the gradient of each line. (a) through (−2, −3) and (4, −3). (b) through (2, 1) and (2, 7).

Answer

(a) Rise = −3 − (−3) = 0, run = 4 − (−2) = 6. Gradient = 06 = 0. The line is horizontal.

(b) Rise = 6, run = 2 − 2 = 0. You cannot divide by 0, so the gradient is undefined. The line is vertical.

Q5 (harder). The line through (a, 3) and (7, −5) has gradient −2. Find a.

Answer

−5 − 37 − a = −2, so −87 − a = −2.

Then −8 = −2(7 − a), so 7 − a = 4, and a = 3.

Check: (3, 3) and (7, −5) give rise −8, run 4, gradient −2. ✓

4. Summary (ملخص)

Gradient lab · مختبر الميل

Rise · التغير في y: Run · التغير في x: Gradient m: Line:

Move the points A and B. Gradient m = rise ÷ run = (y₂ − y₁) ÷ (x₂ − x₁). A line going up to the right has a positive gradient, a line going down has a negative gradient. A vertical line has no gradient.

الميل = التغير الرأسي ÷ التغير الأفقي. موجب لو الخط يصعد لليمين، وسالب لو ينزل، والخط الرأسي ليس له ميل.