krit.club logo

Algebra - Coordinate Geometry: y = mx + c

Grade 8Cambridge (IGCSE)

Review the key concepts, formulae, and examples before starting your quiz.

🔑Concepts

•

The equation of a straight line is typically written as y=mx+cy = mx + c, where mm represents the gradient (steepness) and cc represents the yy-intercept (where the line crosses the yy-axis).

Graph of y = 0.5x + 2 showing the y-intercept at (0,2) and the slope.
•

The gradient mm measures the change in yy for every unit change in xx. It is calculated as m=riserun=y2−y1x2−x1m = \frac{\text{rise}}{\text{run}} = \frac{y_2 - y_1}{x_2 - x_1}. A positive mm slopes upwards to the right, while a negative mm slopes downwards.

A right-angled triangle showing rise and run on a slope.
•

Horizontal lines have the equation y=ky = k (gradient m=0m = 0), and vertical lines have the equation x=kx = k (gradient is undefined).

•

Parallel lines have the same gradient. If two lines are parallel, m1=m2m_1 = m_2. For example, y=3x+4y = 3x + 4 and y=3x−10y = 3x - 10 are parallel lines.

📐Formulae

Gradient formula: m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1} (Rise over Run)

General form of a linear equation: y=mx+cy = mx + c

Midpoint of a line segment: M=(x1+x22,y1+y22)M = (\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2})

Distance between two points: d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}

💡Examples

Problem 1:

Identify the gradient and y-intercept of the line with the equation y=−4x+7y = -4x + 7.

Solution:

Gradient (mm) = -4, y-intercept (cc) = 7.

Explanation:

Compare the given equation to the standard form y=mx+cy = mx + c. Here, the coefficient of xx is -4 and the constant term is 7.

Problem 2:

Find the gradient of the line passing through the points A(2,3)A(2, 3) and B(5,12)B(5, 12).

Solution:

m=3m = 3

Explanation:

Using the gradient formula m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}, we get m=12−35−2=93=3m = \frac{12 - 3}{5 - 2} = \frac{9}{3} = 3.

Problem 3:

Rearrange the equation 3x+2y=83x + 2y = 8 into the form y=mx+cy = mx + c and state the gradient.

Solution:

y=−32x+4y = -\frac{3}{2}x + 4; Gradient = -1.5

Explanation:

Subtract 3x3x from both sides to get 2y=−3x+82y = -3x + 8. Divide every term by 2 to isolate yy: y=−32x+4y = -\frac{3}{2}x + 4.

Problem 4:

Find the equation of a line that has a gradient of 2 and passes through the point (3,10)(3, 10).

Solution:

y=2x+4y = 2x + 4

Explanation:

Substitute m=2m = 2, x=3x = 3, and y=10y = 10 into y=mx+cy = mx + c: 10=2(3)+c10 = 2(3) + c. This simplifies to 10=6+c10 = 6 + c, so c=4c = 4. Plug mm and cc back into the general form.

Problem 5:

Determine if the lines y=5x−2y = 5x - 2 and 10x−2y=410x - 2y = 4 are parallel.

Solution:

Yes, they are parallel.

Explanation:

The first line has a gradient of 5. Rearranging the second line: −2y=−10x+4⇒y=5x−2-2y = -10x + 4 \Rightarrow y = 5x - 2. Since both lines have the same gradient (m=5m=5), they are parallel.

Problem 6:

A line passes through the point (0,−2)(0, -2) and has a gradient of 33. Find the equation of the line and identify its xx-intercept.

Graph of the linear function y = 3x - 2 passing through (0, -2).

Solution:

y=mx+cy = mx + c y=3x−2y = 3x - 2 To find the xx-intercept, set y=0y = 0: 0=3x−20 = 3x - 2 2=3x2 = 3x x=23x = \frac{2}{3}

Explanation:

The value cc is the yy-intercept, which is given as −2-2 (the yy-coordinate when x=0x=0). The gradient mm is given as 33. To find where the line crosses the xx-axis, we solve for xx when yy is zero.

Problem 7:

Find the equation of the line that passes through the points P(−2,4)P(-2, 4) and Q(4,1)Q(4, 1).

Graph of a line with a negative gradient passing through points P(-2, 4) and Q(4, 1).

Solution:

First, find the gradient mm: m=1−44−(−2)=−36=−12m = \frac{1 - 4}{4 - (-2)} = \frac{-3}{6} = -\frac{1}{2} Now use y=mx+cy = mx + c with point (4,1)(4, 1): 1=−12(4)+c1 = -\frac{1}{2}(4) + c 1=−2+c1 = -2 + c c=3c = 3 Equation: y=−12x+3y = -\frac{1}{2}x + 3

Explanation:

We calculate the gradient using the change in yy divided by the change in xx. Once we have mm, we substitute one of the points into the general equation to solve for the yy-intercept cc.