Back to homeMathematics · 2nd ESO · Change subject
Start for free
ESO Y2 · Mathematics
Functions · Functions

The concept of a function

The battery level of your phone depends on the number of minutes you have been playing. The water in a tank depends on how long the tap has been open. The temperature during a day depends on the time. When one quantity depends on another in such a way that each value gives exactly one result, we have a function.

Before you start, make sure you know: Tables and graphs (1st ESO)

What a function is

Diagram of a function as a machine: the value x = 2 goes in, the rule y = 4x is applied and a single value y = 8 comes out. f"machine" x = 2 y = 8 y = 4x: one number goes in, ONLY ONE comes out
Practice★☆☆Not started
One of the golden rules for deciding whether a graph represents a function is to check that for each value of the independent variable $x$ there is exactly one value of…

One of the golden rules for deciding whether a graph represents a function is to check that for each value of the independent variable $x$ there is exactly one value of the dependent variable $y$. State which of the following graphs is NOT a function and briefly justify your answer.

Two graphs on Cartesian axes. Graph A is a U-shaped curve that passes below the horizontal axis. Graph B is an arc shaped like a closing parenthesis, located to the right of the vertical axis. x y Graph A x y Graph B
Solve

Independent and dependent variables

First of all, you need to identify what depends on what. For a scooter rental that charges €1.50 to unlock and €0.20 per minute:

  • The time of use is chosen by the customer $\to$ independent variable ($x$).

  • The total cost is calculated from the time $\to$ dependent variable ($y$).

$$y = 0{,}20x + 1{,}50$$ Graph showing the linear relationship between time of use in minutes (horizontal axis) and cost in euros (vertical axis). time of use independent (x) depends on total cost dependent (y)
Practice★☆☆Not started
To hire an electric scooter, a company charges $1,50$ € as an unlock fee and $0,20$ € per minute of use. We want to analyse the relation between the time of use and the…

To hire an electric scooter, a company charges $1,50$ € as an unlock fee and $0,20$ € per minute of use. We want to analyse the relation between the time of use and the total hire cost.

Identify the variables of this relation:

  • Independent variable ($x$): ________

  • Dependent variable ($y$): ________

Solve
Practice★★☆Not started
An electric scooter has a battery that discharges at a constant rate. When leaving home, the battery is at $100\%$. For every kilometre travelled, the battery decreases…

An electric scooter has a battery that discharges at a constant rate. When leaving home, the battery is at $100\%$. For every kilometre travelled, the battery decreases by $5\%$.

  1. a) Identify the independent variable and the dependent variable, stating the units in which each is measured.
  2. b) Write the algebraic expression (formula) of the function relating the kilometres travelled ($x$) to the remaining battery percentage ($y$).
  3. c) Is it possible for the value of $x$ to be $25$? Reason whether that value belongs to the domain of the function in this real-world context.
Solve

The vertical line test

Not every curve drawn on the plane is a function. To check: draw imaginary vertical lines. If any of them cuts the graph at more than one point, it is not a function (that $x$ would have two different values of $y$).

Animation of the vertical line test: a dashed line sweeps from left to right across each graph. On the curve it always cuts at a single point, so it is a function; on the circle it cuts at two points while crossing it and at none outside it, so it is not a function. 1 intersection: it is a function 2 intersections: it is not a function
Practice★★☆Not started
Observe carefully the following three graphs drawn on the Cartesian plane. Use the vertical line test (imagine vertical lines sweeping across each graph and count at how…

Observe carefully the following three graphs drawn on the Cartesian plane. Use the vertical line test (imagine vertical lines sweeping across each graph and count at how many points they cross it) to identify which of them represent a function, and justify your answer in detail in each case.

Three graphs on the Cartesian plane: A, a parabola that opens upwards; B, a parabola that opens to the right; C, a V shape with its vertex at the origin x y Graph A x y Graph B x y Graph C
Solve
Practice★★★Not started
Analyse carefully the following graphical representation showing the relationship between two quantities. Determine, reasoning your answer based on the definition of a…

Analyse carefully the following graphical representation showing the relationship between two quantities. Determine, reasoning your answer based on the definition of a function, whether this graph represents a function or a non-functional relationship. Also state what the value (or values) of the dependent variable $y$ would be when the independent variable $x$ is equal to $2$.

x y 1 2 3 1 2 −1 −2
Solve

Reading a graph: domain, range and continuity

When reading the graph of a real function, always ask yourself: what is on each axis, in what units, and for which values does it make sense?

In a 20 L tank that fills at 4 L/min, the real domain is $[0, 5]$ minutes: after 5 min the tank is already full and the tap is turned off, so it makes no sense to continue the graph.

A graph can also have increasing sections (going up), decreasing sections (going down) and constant sections (flat), and it can be continuous (with no jumps or gaps) or have a jump somewhere.

Practice★★☆Not started
The following graph shows the distance of a delivery drone from its logistics base during a 10-minute round trip. From the graph, state: a) The domain and the range of…

The following graph shows the distance of a delivery drone from its logistics base during a 10-minute round trip.

0 2 4 6 8 10 1 2 3 4 5 t (min) d (km) P₁ P₂ Delivery

From the graph, state:

  1. a) The domain and the range of the function.
  2. b) How long was the drone stopped delivering the package? At what distance from the base was it at that time?
  3. c) In which time interval was the drone returning to the base?
Solve
Practice★★☆Not started
We are filling a cylindrical water tank using a tap that pours a constant flow of $4$ liters per minute. At the start, the tank is empty and has a total capacity of $20$…

We are filling a cylindrical water tank using a tap that pours a constant flow of $4$ liters per minute. At the start, the tank is empty and has a total capacity of $20$ liters.

  1. a) State whether the function that relates the elapsed time to the volume of water is continuous or discrete. Explain why.
  1. b) What is the domain of this function, taking into account that the tap is turned off when the tank is full?
  1. c) Draw a sketch of the graph that represents this situation, with time $t$ (in minutes) on the horizontal axis and volume $V$ (in liters) on the vertical axis.

You can do it on paper and send a photo with your answer.

Solve

Summary

See all the exercises in this section