Linear functions f(x) = ax + b
A Leap Card top-up, a bin collection charge, a mobile phone plan: whenever a price is a fixed amount plus a steady amount per unit, the graph is a straight line. In this section you will learn to write such a function as $f(x)=ax+b$, read its slope and y-intercept, and use it. We will come back to a bin collection charge at the end.
The first-degree polynomial as a function
Identify the gradient $m$ and the y-intercept $n$ of the following linear functions: a) $y = -4x + 7$ b) $y = \frac{2}{5}x$ c) $y = -3$
Identify the gradient $m$ and the y-intercept $n$ of the following linear functions:
- a) $y = -4x + 7$
- b) $y = \frac{2}{5}x$
- c) $y = -3$
Write the equation of the line that has a gradient of $5$ and whose y-intercept is $-2$.
Write the equation of the line that has a gradient of $5$ and whose y-intercept is $-2$.
Classify the following functions into direct proportion (strictly linear) function, linear function (affine function), or constant function: a) $f(x) = 3x - 1$ b)…
Classify the following functions into direct proportion (strictly linear) function, linear function (affine function), or constant function:
- a) $f(x) = 3x - 1$
- b) $g(x) = \frac{x}{4}$
- c) $h(x) = 8$
A first-degree polynomial function $f(x) = mx + n$ is sought that simultaneously satisfies three conditions:\n1. It is a decreasing affine function.\n2. It intersects…
A first-degree polynomial function $f(x) = mx + n$ is sought that simultaneously satisfies three conditions:\n1. It is a decreasing affine function.\n2. It intersects the $y$-axis at a point located $4$ units below the origin of coordinates.\n3. The preimage of $2$ is equal to $-3$.\na) Determine with justification the exact values of the slope $m$ and the $y$-intercept $n$, and write the algebraic expression of $f(x)$.\nb) Justify from the sign of the slope why the function is decreasing.\nc) Check algebraically whether the point $Q(-6, 8)$ belongs to the graph of this function.
Calculating images and preimages
Calculating the image of $c$ means evaluating $f(c)$: substituting $c$ for $x$ in the expression. Calculating the preimage of $k$ (the values of $x$ such that $f(x)=k$) requires solving the first-degree equation $ax+b=k$.
A taxi fare is given by the function $C(x) = 1.50x + 3$, where $C(x)$ is the cost in euros and $x$ is the distance travelled in kilometres. How much will a journey of…
A taxi fare is given by the function $C(x) = 1.50x + 3$, where $C(x)$ is the cost in euros and $x$ is the distance travelled in kilometres. How much will a journey of $8$ kilometres cost?
Cian has the affine function $f(x) = 3x + 4$ and needs to calculate the image of $x = 10$. Since he knows that $f(5) = 3 \times 5 + 4 = 19$, he reasons as follows:…
Cian has the affine function $f(x) = 3x + 4$ and needs to calculate the image of $x = 10$. Since he knows that $f(5) = 3 \times 5 + 4 = 19$, he reasons as follows: "Since $10$ is twice $5$, the value of $f(10)$ must be exactly twice $19$, that is, $f(10) = 38$".\na) Identify Cian's conceptual error and explain why it is not valid to apply a direct rule of three to this type of functions.\nb) What value should the $y$-intercept $n$ have for Cian's reasoning to have been completely correct?\nc) Calculate the actual value of $f(10)$ using its formula and check algebraically how many units the value of $y$ actually increases by when $x$ increases by $5$ units.
The length $L$ of an elastic spring, measured in centimetres, is given by the function $L(p) = 15 + 0.2p$, where $p$ is the suspended weight in grams. Find the…
The length $L$ of an elastic spring, measured in centimetres, is given by the function $L(p) = 15 + 0.2p$, where $p$ is the suspended weight in grams. Find the expression for the inverse function $p(L)$ and use it to calculate what weight was suspended if the spring measures exactly $22$ cm.
Reading a line from its graph
To read the equation from a graph, first find the y-intercept $b$: where the line cuts the y-axis. Then pick two points on the line with clear coordinates and calculate the slope $a=\dfrac{\text{rise}}{\text{run}}=\dfrac{y_2-y_1}{x_2-x_1}$. Going right, a rise up is positive and a drop down is negative.
From the following graphical representation, determine the gradient, the y-intercept and the equation of the line.
From the following graphical representation, determine the gradient, the y-intercept and the equation of the line.
A point lying on the graph
A point $P(a,b)$ lies on the graph of $f$ if and only if $f(a)=b$. Checking this means substituting and comparing; it is different from determining the equation of a line, which in general requires two independent conditions (two points, or one point and the slope).
Calculate the points of intersection with the coordinate axes (x-axis and y-axis) of the line $y = 3x - 12$.
Calculate the points of intersection with the coordinate axes (x-axis and y-axis) of the line $y = 3x - 12$.
Check algebraically whether the points $A(2, 5)$ and $B(-1, -3)$ lie on the graph of the function $y = 2x + 1$.
Check algebraically whether the points $A(2, 5)$ and $B(-1, -3)$ lie on the graph of the function $y = 2x + 1$.
Find algebraically the point of intersection of the lines $y = 4x - 5$ and $y = -2x + 7$. Check that your result matches the point indicated on the following graph.
Find algebraically the point of intersection of the lines $y = 4x - 5$ and $y = -2x + 7$. Check that your result matches the point indicated on the following graph.
From the table of values to the algebraic expression
Find the equation of the line that has gradient $m = -2$ and passes through the point $(1, 4)$.
Find the equation of the line that has gradient $m = -2$ and passes through the point $(1, 4)$.
Find the equation of the line passing through the points $A(-2, 5)$ and $B(4, -7)$.
Find the equation of the line passing through the points $A(-2, 5)$ and $B(4, -7)$.
Find the equation of the line that is parallel to $y = 3x - 2$ and passes through the point $(-1, 4)$.
Find the equation of the line that is parallel to $y = 3x - 2$ and passes through the point $(-1, 4)$.
Modelling with first-degree functions
When translating a problem statement, you first identify whether there is a constant term independent of $x$ ($b\neq 0$) or not ($b=0$, direct proportion); then the rate of change $a$ (how much $y$ changes for each unit of $x$).
A plumber charges $30$ € for a call-out fee, plus $15$ € for each hour of work. Write the algebraic expression of the function relating the cost to the time worked and…
A plumber charges $30$ € for a call-out fee, plus $15$ € for each hour of work. Write the algebraic expression of the function relating the cost to the time worked and calculate how much he will charge for a repair taking $3.5$ hours.
A water tank initially contains $800$ litres and is being emptied at a constant rate of $20$ litres per minute. Write the function relating the volume of water in the…
A water tank initially contains $800$ litres and is being emptied at a constant rate of $20$ litres per minute. Write the function relating the volume of water in the tank to the time elapsed and calculate in which minute the tank will be completely empty.
A trainer factory has monthly fixed costs of $5000$ €. In addition, producing each pair of trainers costs $15$ €. If the company sells each pair for $40$ €, write the…
A trainer factory has monthly fixed costs of $5000$ €. In addition, producing each pair of trainers costs $15$ €. If the company sells each pair for $40$ €, write the cost $C(x)$ and revenue $R(x)$ functions. How many pairs of trainers must they sell per month to make a profit of at least $2000$ €?