topic badge

4.04 Linear functions in context

Lesson

Now that we have the skills and techniques to construct, draw and analyse linear functions, we will put them into context.

Before we begin, there are a few differences to be aware of between the linear relationships we have seen so far on the coordinate plane, and the ones we use to model real-world situations.

 

Independent and dependent variables

The first thing to notice is that the independent and dependent variables, $x$x and $y$y, will often represent physical quantities such as time, distance, cost, mass or temperature. Instead of being labelled $x$x and $y$y, they may be labelled with letters or names that better represent those quantities.

For example, if we were modelling the rate of fuel being used in a car, the independent variable may represent the distance travelled, in kilometres, and the dependent variable may represent the volume of fuel, in litres, in the car's fuel tank. Instead of $x$x and $y$y, we might use $d$d and $V$V as our variables. Each of these variables has units of measurement associated with them.

Gradient and vertical intercept

As we know already, the two key features of a linear function, or straight-line graph, are the gradient and the $y$y-intercept. In linear modelling situations, the $y$y-intercept is often referred to as the vertical intercept, because the vertical axis may be labelled with a variable other than $y$y.

The vertical intercept represents an initial value. In our example above, the vertical intercept is $63$63 litres. It represents the volume of fuel in a full tank, before the car began its journey.

In a real-world context the gradient represents a rate of change. Using our example above, the gradient would represent the volume of fuel used per distance travelled. In other words, the gradient is a measure of the car's fuel consumption.

The graph above is decreasing as the fuel is being used, so it has a negative gradient. If we divide the 'rise' of $-63$63 by the 'run' of $900$900 we get a gradient of $-0.07$0.07. This means fuel is being consumed at a rate of $0.07$0.07 litres per kilometre (or $7$7 litres per $100$100 kilometres).

 

Gradient and vertical intercept

In linear modelling situations:

  • The vertical intercept represents an initial value
  • The gradient represents a rate of change

 

Restrictions on the model

The linear graphs in the previous chapter extended indefinitely in both directions. However, since most physical quantities like distance, volume or time do not contain negative values, the graphs of many linear models exist only in the first quadrant of the coordinate plane (like the example above). This is not always the case though. Temperature is a physical quantity that can have negative values. When analysing a linear model consider carefully what values make sense in the given context.

 

Practice questions

question 1

The graph shows the amount of water remaining in a bucket that was initially full before a hole was made in its side.

Loading Graph...

  1. What is the gradient of the function?

  2. What is the $y$y-value of the $y$y-intercept?

  3. Write an equation to represent the amount of water remaining in the bucket, $y$y, as a function of time, $x$x.

  4. What does the slope tell you?

    The amount of water remaining in the bucket after $2$2 minutes.

    A

    The amount of water that is flowing out of the hole every minute.

    B

    The time it takes for the bucket to be completely empty.

    C

    The time it takes the amount of water remaining in the bucket to drop by one litre.

    D
  5. What does the $y$y-intercept tell you?

    The capacity of the bucket.

    A

    The amount of water remaining in the bucket after $30$30 minutes.

    B

    The amount of water remaining in the bucket when it is empty.

    C

    The size of the hole.

    D
  6. Find the amount of water remaining in the bucket after $54$54 minutes.

question 2

A carpenter charges a callout fee of $\$150$$150 plus $\$45$$45 per hour.

  1. Write an equation to represent the total amount charged, $y$y, by the carpenter as a function of the number of hours worked, $x$x.

  2. What is the gradient of the function?

  3. What does this gradient represent?

    The total amount charged increases by $\$45$$45 for each additional hour of work.

    A

    The minimum amount charged by the carpenter.

    B

    The total amount charged increases by $\$1$$1 for each additional $45$45 hours of work.

    C

    The total amount charged for $0$0 hours of work.

    D
  4. What is the value of the $y$y-intercept?

  5. What does this $y$y-intercept represent?

    Select all that apply.

    The total amount charged increases by $\$150$$150 for each additional hour of work.

    A

    The maximum amount charged by the carpenter.

    B

    The callout fee.

    C

    The minimum amount charged by the carpenter.

    D
  6. Find the total amount charged by the carpenter for $6$6 hours of work.

 

Contextual linear relationships in a table of values

Real world situations often involve the collection of data, which is commonly displayed in a table of values. The independent variable (often, but not always, called $x$x) is conventionally displayed in the first row of the table, followed by the dependent variable (often, but not always, called $y$y), in the second row.

We may first want to decide whether the values in the table represent a linear relationship. To do this, we could plot the values on a coordinate plane. If we can draw a straight line through all of the points, then we have a linear relationship. We could also check directly from the table by checking if as the $x$x-values increase by a constant amount, the $y$y-values also change by a constant amount.

Once we know that the relationship between the variables is linear, we can work out the gradient and vertical intercept, and express the relationship as a linear equation (or function).

 

Worked example

Consider the points in the table. The time ($x$x) is measured in minutes and temperature in degrees Celsius($^\circ$°C).

Time $(x)$(x) $2$2 $4$4 $6$6 $8$8
Temperature $(y)$(y) $10$10 $16$16 $22$22 $28$28

(a) Determine the gradient for the linear function represented by the table of values.

Think: The $x$x-values increase by the same amount. We can determine how the $y$y-values change for a given change in $x$x in order to calculate the gradient.

Do:

We see a constant change in $y$y (the rise) of $6$6 for an equivalent change in $x$x (the run) of $2$2. Therefore, we can calculate the gradient as follows:

$m$m $=$= $\frac{\text{rise}}{\text{run}}$riserun
  $=$= $\frac{6}{2}$62
  $=$= $3$3

(b) Interpret the value of the gradient found in part (a).

Think: The gradient gives the rate of change of the dependent variable ($y$y) with respect to the independent variable ($x$x).

Do: The rate of change of the linear function is $3$3 $^\circ$°C/min. That is, as the time increases by $1$1 minute the temperature increases by $3$3 $^\circ$°C. 

 

(c) Determine the equation of the line, passing through the points given in the table, in gradient-intercept form.

Think: From part (a) we have that the relationship between $x$x and $y$y is of the form: $y=3x+c$y=3x+c. For the first value in the table, when $x=2$x=2, $y=10$y=10, what would we have to add to $3\times2$3×2 to obtain $10$10?

Do: $6+4=10$6+4=10, so $c=4$c=4. Hence, the linear rule that fits the table of values is $y=3x+4$y=3x+4.

Reflect: Check the rule matches the other sets of points in the table. Can you also see the $y$y-intercept would be $4$4 by continuing the pattern in the table to the left?

 

Practice questions

question 3

Let the height of a candle be $y$y cm. If the candle is lit, the height decreases according to the equation $y=-2t+8$y=2t+8, where $t$t is the elapsed time in minutes.

  1. Complete the table of values below:

    Time ($t$t min) $0$0 $1$1 $2$2 $3$3
    Height of candle ($y$y cm) $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$
  2. Draw the graph of $y=-2t+8$y=2t+8.

    Loading Graph...

  3. The height of candle and the time elapsed must be non-negative. Using part (b), for which values of $t$t does the equation $y=-2t+8$y=2t+8 accurately model the height of the candle?

    $0\le t\le2$0t2

    A

    $0\le t\le4$0t4

    B

    $0\le t\le8$0t8

    C

    $0\le t\le10$0t10

    D

question 4

A diver starts at the surface of the water and begins to descend below the surface at a constant rate. The table shows the depth of the diver over $5$5 minutes.

Number of minutes passed ($x$x) $0$0 $1$1 $2$2 $3$3 $4$4
Depth of diver in meters ($y$y) $0$0 $1.4$1.4 $2.8$2.8 $4.2$4.2 $5.6$5.6
  1. What is the increase in depth each minute?

  2. Write an equation for the relationship between the number of minutes passed ($x$x) and the depth ($y$y) of the diver.

    Enter each line of work as an equation.

  3. In the equation, $y=1.4x$y=1.4x, what does $1.4$1.4 represent?

    The change in depth per minute.

    A

    The diver’s depth below the surface.

    B

    The number of minutes passed.

    C
  4. At what depth would the diver be after $6$6 minutes?

  5. We want to know how long the diver takes to reach $12.6$12.6 meters beneath the surface.

    If we substitute $y=12.6$y=12.6 into the equation in part (b) we get $12.6=1.4x$12.6=1.4x.

    Solve this equation for $x$x to find the time it takes.

Outcomes

ACMEM124

interpret and use graphs in practical situations, including travel graphs and conversion graphs

ACMEM125

draw graphs from given data to represent practical situations

What is Mathspace

About Mathspace