topic badge
CanadaON
Grade 8

4.03 Graphs of linear equations

Lesson

We have looked at how to visualise a linear relationship on a Cartesian plane, and we learnt that we only actually need to identify two points on the Cartesian plane in order to sketch the line. We will now look at how to sketch a line directly from its equation, without needing to create a table of values first.

In Linear rules  we learnt that all linear relationships can be expressed in the form: $y=mx+b$y=mx+b, where $m$m is equal to the change in the $y$y-values for every increase in the $x$x-value by $1$1, and $c$c is the value of $y$y when $x=0$x=0.

 

Intercepts

Lines drawn on the Cartesian plane, extend forever in both directions.  If we ignore the special case of horizontal and vertical lines (which we will look at in another lesson), all other lines will either cross both the $x$x-axis and the $y$y-axis or they will pass through the origin, $\left(0,0\right)$(0,0).

Here are some examples:

We use the word intercept to refer to the point where the line crosses or intercepts with an axis.

Intercepts
  • The $x$x-intercept is the point where the line crosses the $x$x-axis. The coordinates of the $x$x-intercept will always have a $y$y-coordinate of zero.
  • The $y$y-intercept is the point where the line crosses the $y$y-axis. The coordinates of the $y$y-intercept will always have an $x$x-coordinate of zero.

Note: Every straight line must have at least one intercept but cannot have any more than two intercepts.

As mentioned previously, we only need to identify two points to sketch a a straight line, and the $x$x and $y$y-intercepts are probably the most useful points to identify and plot. They are also two of the easier points to find as we are substituting in either the values $x=0$x=0 or $y=0$y=0, which simplifies the work needed to solve. 

The $y$y-intercept can be thought of as either the co-ordinate the point where the $y$y-axis is crossed, or simply the $y$y-value at this point (as the $x$x-value is by default $0$0).

 

Worked example

Find the $y$y-intercept for the straight line below:

The $y$y-intercept is $-6$6, and the coordinates of the $y$y-intercept are $\left(0,-6\right)$(0,6).

Practice Question

question 1

Consider the following graph.

 

Loading Graph...
A coordinate plane with the following attributes:

Axis intersection at centre

Tick label format is fraction

The x major unit is $1$1

The x axis ends at $7$7

The x axis starts from $-7$7

The x minor unit is $1$1

The y major unit is $1$1

The y axis ends at $7$7

The y axis starts from $-7$7

The y minor unit is $1$1

The following elements are present:

Function: 4 - (4*x)/3

 

  1. State the $x$x-value of the $x$x-intercept.

  2. State the $y$y-value of the $y$y-intercept.

question 2

Consider the linear equation $y=2x-4$y=2x4.

  1. What are the coordinates of the $y$y-intercept?

    Give your answer in the form $\left(a,b\right)$(a,b).

  2. What are the coordinates of the $x$x-intercept?

    Give your answer in the form $\left(a,b\right)$(a,b).

  3. Now, sketch the line $y=2x-4$y=2x4:

    Loading Graph...

 

The slope of a line

The change in $y$y-values for every increase in the $x$x-value is called the slope. The slope is often thought of as the 'slope' of the line- how steep it is. 

The slope

The value of the slope, $m$m, relates to the line as follows:

  • A negative slope ($m<0$m<0) means the line is decreasing
  • A positive slope ($m>0$m>0) means the line is increasing
  • A zero slope ($m=0$m=0) means the line is horizontal
  • The higher the value of $m$m, the steeper the line.

Practice Question

question 3

Select the three lines that have the same slope from the following options:

  1. $y=6-3x$y=63x

    A

    $y=\frac{x}{3}+7$y=x3+7

    B

    $y=3x-7$y=3x7

    C

    $y=7+3x$y=7+3x

    D

    $y=3x$y=3x

    E

    $y=6x+3$y=6x+3

    F

 

Slope-intercept form of a straight line

Any straight line on the coordinate plane is defined entirely by its slope and its $y$y-intercept. 

We can represent the equation of any straight line, except vertical lines, using what is known as the slope-intercept form of a straight line.

Slope-intercept form of a straight line

All linear relationships can be expressed in the form: $y=mx+b$y=mx+b.

  • $m$m is equal to the slope, or slope, of the line.
  • $b$b is the value of the $y$y-intercept.

 

 

Coefficients and constant terms

In algebra, any number written immediately in front of a variable, is called a coefficient. For example, in the term $3x$3x, the coefficient of $x$x is $3$3. Any number by itself is known as a constant term.

In the slope-intercept form of a line, $y=mx+b$y=mx+b, the slope, $m$m, is the coefficient of $x$x, and the $y$y-intercept, $b$b, is a constant term.

Practice Questions

question 4

Consider the line graph shown below:

Loading Graph...

  1. The $x$x-value at the $y$y-intercept is $0$0.
    What is the $y$y-value at this point?

  2. The equation of the line is $y=3x+4$y=3x+4.

    This is of the form $y=mx+b$y=mx+b.

    Which variable represents the $y$y-intercept?

    $y$y

    A

    $m$m

    B

    $x$x

    C

    $b$b

    D

 

Outcomes

8.B2.8

Compare proportional situations and determine unknown values in proportional situations, and apply proportional reasoning to solve problems in various contexts.

8.C1.1

Identify and compare a variety of repeating, growing, and shrinking patterns, including patterns found in real-life contexts, and compare linear growing and shrinking patterns on the basis of their constant rates and initial values.

8.C1.2

Create and translate repeating, growing, and shrinking patterns involving rational numbers using various representations, including algebraic expressions and equations for linear growing and shrinking patterns.

8.C4

Apply the process of mathematical modelling to represent, analyse, make predictions, and provide insight into real-life situations.

What is Mathspace

About Mathspace