The concept of a function
The battery of your mobile phone depends on how long you have been playing. The price of a subscription depends on the number of months. The height of a hiker depends on the distance they have walked. When one quantity depends on another in such a way that each value gives exactly one result, we have a function.
What a function is
Observe the following relationships between quantities and determine, in each case, whether it is a function or not: a) Each mobile phone number is associated with the…
Observe the following relationships between quantities and determine, in each case, whether it is a function or not:
- a) Each mobile phone number is associated with the name of its owner in the contact list.
- b) Each student in your class is associated with their height measured in centimetres.
- c) Each supermarket barcode is associated with the price of the corresponding product.
- d) Each person is associated with the eye colour of their siblings.
At a secondary school, different relationships between quantities are being analysed. Determine, giving reasons, which of the following situations correspond to a…
At a secondary school, different relationships between quantities are being analysed. Determine, giving reasons, which of the following situations correspond to a function and, if so, identify the independent variable and the dependent variable:
- a) Each student's ID number is associated with their current age.
- b) Each maximum temperature reached in the playground during a day is associated with the times at which that temperature was recorded.
- c) The amount of gigabytes ($GB$) consumed on a mobile tariff is associated with the monthly bill price.
- d) Each natural number is associated with its factors.
Four ways of expressing a function
The same function can be given in four ways. Example: a subscription costs 9 € per month plus a 5 € joining fee.
| Form | Example |
|---|---|
| Statement | "5 € joining fee and 9 € for each month" |
| Table | months: 1, 2, 3, 4 → euros: 14, 23, 32, 41 |
| Formula | $y = 9x + 5$ |
| Graph | points in a straight line on the plane |
The formula is the most powerful: it lets you calculate any value. To find $f(a)$, you substitute $a$ for $x$:
In an app store, each premium game has a fixed price of $2,50$ €. We want to analyse the relationship between the number of games purchased and the total cost of the…
In an app store, each premium game has a fixed price of $2,50$ €. We want to analyse the relationship between the number of games purchased and the total cost of the purchase.
- a) Identify which is the independent variable and which is the dependent variable.
- b) Is this relationship a function? Give reasons for your answer based on the definition of a function.
- c) Write the algebraic expression (formula) that relates both quantities, letting $x$ be the number of games and $y$ be the total cost.
Given the function defined by the algebraic expression $f(x) = 3x - 2$, complete the following table of values in your notebook: | $x$ (Input) | $-2$ | $-1$ | $0$ | $1$…
Given the function defined by the algebraic expression $f(x) = 3x - 2$, complete the following table of values in your notebook:
| $x$ (Input) | $-2$ | $-1$ | $0$ | $1$ | $2$ |
|---|---|---|---|---|---|
| $f(x)$ (Output) |
Once completed, state the image of $x = -1$.
The price of a monthly subscription to a streaming service is $9$ €, but there is a special offer for the first month and it only costs $3$ €. a) Draw up a table…
The price of a monthly subscription to a streaming service is $9$ €, but there is a special offer for the first month and it only costs $3$ €.
- a) Draw up a table relating the number of subscribed months (from $1$ to $4$ months) to the total cumulative expenditure.
- b) Plot these four points on a Cartesian coordinate system.
- c) Does it make sense to connect the points with a continuous line? Explain why.
Given the function $f(x) = \frac{x^2 - 4}{2}$, complete the following tasks: a) Calculate the images of the values $x = 0$, $x = 2$ and $x = -4$. b) Determine the value…
Given the function $f(x) = \frac{x^2 - 4}{2}$, complete the following tasks:
- a) Calculate the images of the values $x = 0$, $x = 2$ and $x = -4$.
- b) Determine the value of $x$ (pre-image) whose image is $f(x) = 6$.
- c) Does the point $P(-1; -1,5)$ belong to the graph of the function? Justify your answer by showing the necessary calculations.
Is it a function? The vertical line test
A graph represents a function if any vertical line cuts it at most once. If some vertical line cuts it twice, that $x$ would have two values of $y$.
For a graph to represent a function, any vertical line we draw must cut the graph at a single point. Use this "vertical line test" to decide which of the following…
For a graph to represent a function, any vertical line we draw must cut the graph at a single point. Use this "vertical line test" to decide which of the following graphs is NOT a function:
Justify your choice by explaining what happens on the chosen graph when you draw a vertical line.
Observe the following graphs plotted on the Cartesian plane. Using the vertical line test, state with reasons which of them represents a function and which does not.
Observe the following graphs plotted on the Cartesian plane. Using the vertical line test, state with reasons which of them represents a function and which does not.
Reading graphs
Graphs tell stories. In a graph of "hiker's height against distance", a rising section is an uphill stretch, a horizontal one is flat ground and a falling one is a descent. When reading them, always ask yourself: what is on each axis and in what units?
A hiker climbs a mountain following a trail. The function that relates their altitude above sea level, $H$ (in metres), to the horizontal distance covered, $d$ (in…
A hiker climbs a mountain following a trail. The function that relates their altitude above sea level, $H$ (in metres), to the horizontal distance covered, $d$ (in kilometres), is $H(d) = 400 + 150d$.
- a) At what altitude is the starting point of the route ($d = 0$)?
- b) If the hiker has covered $3$ km horizontally, at what altitude are they?
- c) Identify the variables of the function and explain their physical meaning.
A hiker records the percentage of battery remaining on their smartphone throughout a mountain walk. The resulting graph is as follows: From the graph, answer the…
A hiker records the percentage of battery remaining on their smartphone throughout a mountain walk. The resulting graph is as follows:
From the graph, answer the following:
- a) Which are the independent and dependent variables? State the units of measurement.
- b) What was the battery percentage at the start of the hike?
- c) Is it an increasing or decreasing function? What is the physical meaning of this in the context of the problem?
- d) Estimate how much time has passed when the phone has exactly $50$% charge remaining.