0580 · Extended · For exams 2028–2030

E3.5 Coordinate geometry

Equations of linear graphs (معادلة الخط المستقيم)

Syllabus aims: interpret and obtain the equation of a straight-line graph, and give the gradient and y-intercept from an equation.

1. The idea

The gradient (الميل) between two points is m = y2 − y1x2 − x1. The line y = mx + c has gradient m and cuts the y-axis at (0, c), the y-intercept (المقطع الصادي).

Finding the equation from a graph (إيجاد المعادلة من الرسم): read the y-intercept c, choose two points that lie exactly on grid crossings, and work out m = rise ÷ run. For a line through (0, 2) and (4, 10): m = (10 − 2) ÷ 4 = 2, so y = 2x + 2.

Other forms: ax + by = c (rearrange to y = mx + c to read m and c), a vertical line x = k and a horizontal line y = k. Give the final equation in its simplest form.

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

Example 1 (from a graph)

The graph shows a straight line through the points A and B. Read their coordinates and find the equation of the line.

Step 1. A (0, -1)B (3, 8)12342468Read the points: A is (0, −1) and B is (3, 8). The y-intercept is c = −1.

Step 2. Gradient m = 8 − (−1)3 − 0 = 93 = 3.

Step 3. y = 3x − 1.

Check: put in B: 3 × 3 − 1 = 8. ✓

Example 2 (reading m and c)

Find the gradient and y-intercept of the line 5x + 4y = 8.

Step 1. Make y the subject: 4y = −5x + 8.

Step 2. Divide by 4: y = −54x + 2.

Step 3. Gradient = −54. y-intercept = 2.

Check: put x = 0 in the original: 4y = 8, y = 2. ✓

Example 3 (another form)

A line passes through (0, 3) and (4, 0). Give its equation in the form ax + by = c.

Step 1. Gradient = 0 − 34 − 0 = −34. The y-intercept is 3, so y = −34x + 3.

Step 2. Multiply every term by 4: 4y = −3x + 12.

Step 3. 3x + 4y = 12.

Check: (4, 0): 12 + 0 = 12 ✓. (0, 3): 0 + 12 = 12 ✓.

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

Try each question first. Tap to see the answer.

Q1 (easy). Write the gradient and y-intercept of y = 2x − 7.

Answer

Gradient 2, y-intercept −7.

Q2 (easy). Find the equation of the line with gradient −2 that cuts the y-axis at 4.

Answer

y = −2x + 4.

Q3 (medium). Find the equation of the line through (2, 3) and (4, 9).

Answer

m = 62 = 3. 3 = 6 + c, so c = −3. y = 3x − 3.

Q4 (medium). Find the gradient and y-intercept of 2x − 3y = 6.

Answer

−3y = −2x + 6, so y = 23x − 2. Gradient 23, y-intercept −2.

Q5 (harder). Find the equation of the line through (−1, 4) and (3, −4).

Answer

m = −4 − 43 − (−1) = -84 = −2. 4 = 2 + c, so c = 2. y = −2x + 2. Check (3, −4): −6 + 2 = −4. ✓

4. Summary (ملخص)

Linear explorer · مستكشف الدالة الخطية

Gradient · الميل: y-intercept · التقاطع الصادي: