Straight-Line Graphs: Question 1

Syllabus C3.2, E3.2, C3.5, E3.5

Structured Core 6 marks

A straight line passes through the points A(2,1)A(-2, \, 1) and B(4,13)B(4, \, 13).

(a) Find the gradient of the line. [2]

(b) Write down the equation of the line in the form y=mx+cy = mx + c. [3]

(c) State the coordinates of the point where the line crosses the yy-axis. [1]

Show worked solution Hide worked solution

Worked solution

Part (a): Find the gradient

The gradient mm of the line through two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) is the change in yy divided by the change in xx:

m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}

Take A(2,1)A(-2, \, 1) as (x1,y1)(x_1, y_1) and B(4,13)B(4, \, 13) as (x2,y2)(x_2, y_2):

m=1314(2)=124+2=126=2m = \frac{13 - 1}{4 - (-2)} = \frac{12}{4 + 2} = \frac{12}{6} = 2

Notice that 4(2)4 - (-2) becomes 4+2=64 + 2 = 6; subtracting a negative is the same as adding.

m=2\boxed{m = 2}

Tip: It does not matter which point you call “1” and which you call “2”, as long as you are consistent in the numerator and denominator. Reversing both gives 11324=126=2\dfrac{1 - 13}{-2 - 4} = \dfrac{-12}{-6} = 2, the same answer.

Part (b): Equation in the form y=mx+cy = mx + c

We already have m=2m = 2, so the line is:

y=2x+cy = 2x + c

To find cc, substitute the coordinates of either point into this equation (the line passes through both). Using A(2,1)A(-2, \, 1):

1=2(2)+c1 = 2(-2) + c 1=4+c1 = -4 + c c=1+4=5c = 1 + 4 = 5

So the equation is:

y=2x+5\boxed{y = 2x + 5}

Check with the other point B(4,13)B(4, \, 13):

2(4)+5=8+5=132(4) + 5 = 8 + 5 = 13 \checkmark

This matches the yy-coordinate of BB, confirming the equation is correct.

Alternative method (point–gradient form)

You can substitute straight into yy1=m(xx1)y - y_1 = m(x - x_1) using A(2,1)A(-2, 1):

y1=2(x(2))y - 1 = 2\big(x - (-2)\big) y1=2(x+2)y - 1 = 2(x + 2) y1=2x+4y - 1 = 2x + 4 y=2x+5y = 2x + 5

Both routes give the same equation.

Part (c): Where the line crosses the yy-axis

A line crosses the yy-axis where x=0x = 0. In the equation y=mx+cy = mx + c, the constant cc is the yy-intercept, so here c=5c = 5 tells us the line crosses the yy-axis at y=5y = 5.

The crossing point must be written as a coordinate pair:

(0,5)\boxed{(0, \, 5)}