Linear and Affine Functions
A motoconcho driver charges 50 pesos to start the ride and 20 pesos for every kilometer. A gym charges 1,200 pesos to sign up and 900 pesos a month. Your piggy bank grows by 100 pesos every week. In all of these cases the graph is a straight line, and with just two numbers (how much it goes up for each unit and where it starts) you know everything.
Slope and intercept
Move $m$ and $b$. Notice that $m$ changes the steepness, while $b$ moves the line up or down without turning it:
-
$m > 0$: the function is increasing.
-
$m < 0$: the function is decreasing.
-
$m = 0$: horizontal line (constant function, $y = b$).
-
The larger $|m|$ is, the steeper the line.
For each of the following functions, state the value of the gradient and the y-intercept, and indicate whether its graph is increasing or decreasing: a) $y = 4x - 3$ b)…
For each of the following functions, state the value of the gradient and the y-intercept, and indicate whether its graph is increasing or decreasing:
- a) $y = 4x - 3$
- b) $y = -2x + 7$
- c) $y = \frac{1}{3}x$
- d) $y = 5 - x$
Of the following equations, state which correspond to a linear function, which to an affine function, and which are neither linear nor affine. Justify your answer. a)…
Of the following equations, state which correspond to a linear function, which to an affine function, and which are neither linear nor affine. Justify your answer.
- a) $y = -3x$
- b) $y = x^2 + 1$
- c) $y = \frac{x}{2} - 4$
- d) $y = \frac{2}{x}$
- e) $y = 7$
The figure shows three lines, $a$, $b$ and $c$, as shown below. a) Match each line with its equation from these three: $y = 2x + 1$, $y = -x + 3$,…
The figure shows three lines, $a$, $b$ and $c$, as shown below.
- a) Match each line with its equation from these three: $y = 2x + 1$, $y = -x + 3$, $y = \frac{1}{2}x - 2$.
- b) Explain how you used the sign of the gradient and the y-intercept to decide.
Calculating the slope
If you know two points $A(x_1, y_1)$ and $B(x_2, y_2)$ on the line:
$$m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{\text{rise}}{\text{run}}$$Slope as a percent
On ramps, streets, and highways, slope is expressed as a percent: it is the slope $m$ multiplied by 100.
$$\text{slope in \%} = \frac{\text{height gained}}{\text{horizontal distance}} \times 100$$Calculate the gradient of the line passing through each pair of points: a) $A(2, 5)$ and $B(6, 13)$ b) $P(-1, 4)$ and $Q(3, -8)$ c) $M(0, -2)$ and $N(5, -2)$
Calculate the gradient of the line passing through each pair of points:
- a) $A(2, 5)$ and $B(6, 13)$
- b) $P(-1, 4)$ and $Q(3, -8)$
- c) $M(0, -2)$ and $N(5, -2)$
Find the equation of the line passing through the points $A(1, 2)$ and $B(3, 8)$ by following these steps: a) Calculate the gradient $m$. b) Substitute the coordinates…
Find the equation of the line passing through the points $A(1, 2)$ and $B(3, 8)$ by following these steps:
- a) Calculate the gradient $m$.
- b) Substitute the coordinates of one of the points into $y = mx + n$ to find $n$.
- c) Write the final equation and check that the other point also satisfies it.
The line in the figure represents a linear function, as shown below. a) Find two points with integer coordinates that the line passes through. b) Calculate its gradient…
The line in the figure represents a linear function, as shown below.
- a) Find two points with integer coordinates that the line passes through.
- b) Calculate its gradient using those points.
- c) Write the equation of the function.
Accessibility regulations limit the gradient of ramps: an accessible ramp must not exceed a $10\ \,\%$ gradient. The gradient, expressed as a percentage, is the quotient…
Accessibility regulations limit the gradient of ramps: an accessible ramp must not exceed a $10\ \,\%$ gradient. The gradient, expressed as a percentage, is the quotient of the vertical rise divided by the horizontal distance covered, multiplied by $100$, as shown in the figure.
- a) A ramp rises by $0.54\ \text{m}$ over a horizontal distance of $6\ \text{m}$. Calculate its gradient as a percentage. Does it comply with regulations?
- b) If you want to cover the same vertical height difference with a gradient of $8\ \,\%$, what minimum horizontal length must the ramp have?
- c) Express the ramp from part a) as a function $y = mx$, taking the start of the ramp as the origin. What does $m$ mean?
Graphing a line and checking points
Two points are enough. Make a table with two simple values of $x$ (like 0 and 1), calculate their $y$ values, plot the points, and join them.
To check whether a point is on the line, substitute: $(1, 4)$ is on $y = -2x + 6$ because $-2 + 6 = 4$ ✓.
Check, by substituting the coordinates into the equation, whether the points $A(3, 4)$ and $B(-2, 11)$ lie on the line $y = -3x + 5$.
Check, by substituting the coordinates into the equation, whether the points $A(3, 4)$ and $B(-2, 11)$ lie on the line $y = -3x + 5$.
Copy and complete the table of values of the function $y = -2x + 6$ in your notebook for $x = -1$, $0$, $1$, $2$ and $3$, and plot the line on Cartesian axes. At what…
Copy and complete the table of values of the function $y = -2x + 6$ in your notebook for $x = -1$, $0$, $1$, $2$ and $3$, and plot the line on Cartesian axes. At what point does it cross the $X$ axis?
The graph shows an affine function, as shown in the figure. a) What is its y-intercept? b) By how much does $y$ increase when $x$ increases by one unit? What is the…
The graph shows an affine function, as shown in the figure.
- a) What is its y-intercept?
- b) By how much does $y$ increase when $x$ increases by one unit? What is the slope?
- c) Write its equation.
Lines in real life
In word problems, $b$ is usually the fixed amount (the sign-up fee, the starting charge) and $m$ is the amount per unit (pesos per month, pesos per kilometer, pesos per minute).
A gym charges a registration fee of $\text{RD\$}\ 1\,200$ and $\text{RD\$}\ 900$ per month. a) Write the equation giving the total cost $y$ in pesos as a function of the…
A gym charges a registration fee of $\text{RD\$}\ 1\,200$ and $\text{RD\$}\ 900$ per month.
- a) Write the equation giving the total cost $y$ in pesos as a function of the number of months $x$.
- b) What is the y-intercept and what does it represent in this context?
- c) What about the slope? What does it mean?
The water tank of an irrigation community contains $1,200\ \text{m}^3$ and is consumed at a rate of $75\ \text{m}^3$ per day, as shown in the figure. a) Write the…
The water tank of an irrigation community contains $1,200\ \text{m}^3$ and is consumed at a rate of $75\ \text{m}^3$ per day, as shown in the figure.
- a) Write the function giving the water volume $y$ as a function of day $x$.
- b) What is the gradient? Why is it negative?
- c) What volume will remain after $9$ days?
- d) On which day will the tank run out if it does not rain?
Find the point of intersection of the lines $y = 2x + 1$ and $y = -x + 7$: a) Set up the equation that results from equating the two expressions and solve it. b)…
Find the point of intersection of the lines $y = 2x + 1$ and $y = -x + 7$:
- a) Set up the equation that results from equating the two expressions and solve it.
- b) Calculate the y-coordinate of the intersection point.
- c) Check the result by substituting into both equations.
Una compañía de telefonía ofrece dos tarifas, como se muestra en la figura (eje horizontal: minutos de llamadas al mes; eje vertical: coste mensual en pesos): Tarifa A:…
Una compañía de telefonía ofrece dos tarifas, como se muestra en la figura (eje horizontal: minutos de llamadas al mes; eje vertical: coste mensual en pesos):
-
Tarifa A: cuota fija de $\text{RD\$}\ 12$ al mes y $\text{RD\$}\ 0.04$ por minuto de llamadas.
-
Tarifa B: sin cuota fija, a $\text{RD\$}\ 0.08$ por minuto.
- a) Write the monthly cost function in terms of the minutes used for each plan.
- b) After how many minutes per month does plan A become cheaper?
- c) Marta talks an average of $250$ minutes per month. Which plan is better for her, and how much does she save per year?
Back to the beginning: the motoconcho follows the line $y = 20x + 50$ (pesos by kilometers) and the gym follows $y = 900x + 1{,}200$ (pesos by months). In both, the fixed fee is the intercept $b$ and the cost per unit is the slope $m$.