C4.4; E4.4 - Equations of straight lines

C4.4; E4.4 - Equations of straight lines

A line crosses the yy-axis at 1 and rises 2 units for every unit to the right. How can one equation describe every point on it? C4.4 and E4.4 connect a straight-line graph's gradient and intercept to its equation, including horizontal and vertical lines.

Slope-intercept form

Start on the yy-axis at height 1. After moving xx units horizontally along a line with gradient 2, the height changes by 2x2x. Its height is therefore y=2x+1y=2x+1. This describes every point, rather than only the starting point.

Gradient and y-intercept

For the non-vertical straight line y=mx+cy=mx+c, mm is its gradient and cc is its yy-intercept, the value of yy where x=0x=0. The intercept point is (0,c)(0,c). This equation form is not on the supplied formula list for Papers 1–4: learn it.

The expression “slope-intercept form” names the same form: slope is another word for gradient. Multiplying xx by mm accounts for the change from the starting height cc. When x=0x=0, the mxmx term vanishes, leaving y=cy=c. When xx increases by 1, yy changes by mm.

Worked example 1: identifying a positive gradient

Question. Write down the gradient and yy-intercept of y=3x−2y=3x-2.

Plan. Compare the coefficient of xx and the constant term with y=mx+cy=mx+c.

y=3x+(−2)m=3c=−2\begin{aligned} y&=3x+(-2)\\ m&=3\\ c&=-2 \end{aligned}

Answer. Gradient 3 and yy-intercept −2-2, at the point (0,−2)(0,-2).

Check. x=0x=0 gives y=−2y=-2; x=1x=1 gives y=1y=1. A unit increase in xx produces a rise of 1−(−2)=31-(-2)=3.

Keep the intercept but change the coefficient of xx. The new negative fractional gradient changes both direction and steepness.

Worked example 2: identifying a negative fractional gradient

Question. Write down the gradient and yy-intercept of y=−12x−2y=-\frac12x-2.

Plan. Include the minus sign in the coefficient and in the constant term.

y=(−12)x+(−2)m=−12c=−2\begin{aligned} y&=\left(-\frac12\right)x+(-2)\\ m&=-\frac12\\ c&=-2 \end{aligned}

Answer. Gradient −12-\frac12 and yy-intercept −2-2, at (0,−2)(0,-2).

Check. At x=0x=0, y=−2y=-2; at x=2x=2, y=−3y=-3. The change is −1-1 over a run of 2, giving −1/2-1/2.

An omitted coefficient of xx means 1: y=x+4y=x+4 has gradient 1. In y=−x+4y=-x+4, the coefficient is −1-1. A line through the origin has c=0c=0, so y=5xy=5x is already simplified.

Watch out

The yy-intercept of y=3x−2y=3x-2 is −2-2, not 2 and not 3. The point (0,−2)(0,-2) is on the yy-axis; (−2,0)(-2,0) would be on the xx-axis.

Compare a fresh equation with the same form.

Equation from a graph

To obtain an equation from a grid, read where the line crosses the yy-axis and calculate its gradient using a clear triangle. Put these two values into y=mx+cy=mx+c, then simplify. At Core, the grid supplies the gradient information; you do not need a coordinate-only gradient formula.

[DIAGRAM: asset_name: Equations from three straight-line grids; asset_slug: line_equation_grids; caption: Read the intercept at x equals zero and the gradient from a matching rise and run.; description: Three accurate Cartesian unit grids. Example 1 shows a line through zero comma one and two comma five, with those clear points marked. Example 2 shows a falling line through zero comma one and four comma minus one. Your turn shows a separate line through zero comma three and two comma minus one. The lines are not labelled with their equations or gradients.]
Read the intercept at x equals zero and the gradient from a matching rise and run.

Worked example 3: a positive gradient from the grid

Question. Find the equation of the line in the first panel.

Plan. Read the yy-intercept, then use the marked points to find the gradient.

c=1the crossing at x=0m=42=2rise 4, run 2y=2x+1substitute into y=mx+c\begin{aligned} c&=1 &&\text{the crossing at }x=0\\ m&=\frac42=2 &&\text{rise 4, run 2}\\ y&=2x+1 &&\text{substitute into }y=mx+c \end{aligned}

Answer. y=2x+1y=2x+1, answering the opening question.

Check. The marked point (2,5)(2,5) satisfies 5=2(2)+15=2(2)+1. The intercept (0,1)(0,1) also satisfies the equation.

The second grid keeps the same intercept but changes the gradient to a falling fraction. Simplify the ratio before writing the equation.

Worked example 4: a negative gradient from the grid

Question. Find the equation of the line in the second panel.

Plan. Use its intercept and the signed change from the left marked point to the right one.

c=1m=−24=−12fall 2, run 4y=−12x+1\begin{aligned} c&=1\\ m&=\frac{-2}{4}=-\frac12 &&\text{fall 2, run 4}\\ y&=-\frac12x+1 \end{aligned}

Answer. y=−12x+1y=-\frac12x+1.

Check. At x=4x=4, the equation gives y=−2+1=−1y=-2+1=-1, agreeing with the right-hand marked point. At x=0x=0, it gives 1.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account