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

Linear function or direct proportion

Each bag of jelly sweets costs $1{,}50$ €. A cyclist always travels at $20$ km/h. A spring stretches by the same amount for every kilogram you hang from it. In all these cases, if you double the amount of one variable, the other one also doubles: this is a linear function, and its graph is always a straight line through the origin.

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

The direct proportion function

  • $m > 0$: the line is increasing (it goes up from left to right).

  • $m < 0$: the line is decreasing (it goes down from left to right).

  • The greater $|m|$ is, the steeper the line.

Practice★☆☆Not started
State, with reasons, which of the following three graphs corresponds to a direct proportion function.

State, with reasons, which of the following three graphs corresponds to a direct proportion function.

x y Graph A Graph B Graph C
Solve
Practice★★☆Not started
Three friends compare their mobile data plans to see how many "Gigas" they consume when watching high-definition videos. It is known that consumption is proportional to…

Three friends compare their mobile data plans to see how many "Gigas" they consume when watching high-definition videos. It is known that consumption is proportional to the viewing time.

  • Plan A: $y = 0,8x$

  • Plan B: $y = 1,2x$

  • Plan C: $y = 0,5x$

Where $x$ is the time in hours and $y$ is the Gigas consumed.

  1. a) Which of the three plans consumes data fastest? Justify your answer using the concept of gradient.
  2. b) If a user has a daily limit of $6$ GB, how many hours of video could they watch with Plan B before running out of data?
Solve

The gradient: calculating it and what it means

The constant $m$ is also called the gradient: it is how much $y$ increases each time $x$ increases by $1$ unit.

$$m = \frac{y}{x} = \frac{\text{rise}}{\text{run}}$$ Graph of the line y = 2x showing that moving 1 unit along the horizontal axis goes up 2 units vertically, giving a gradient m = 2. O(0,0) P(1, 2) run 1 rise 2 m = 2
Practice★☆☆Not started
In a sweet shop, each bag of sweets costs $1,50 \text{ €}$. We want to study the relationship between the number of bags we buy ($x$) and the total money we pay ($y$).…

In a sweet shop, each bag of sweets costs $1,50 \text{ €}$. We want to study the relationship between the number of bags we buy ($x$) and the total money we pay ($y$).

Identify:

  • The independent variable.

  • The dependent variable.

  • The constant of proportionality ($m$).

  • The equation of the function relating both quantities.

Solve
Practice★☆☆Not started
Observe the following table of values relating the time an LED light bulb is turned on ($x$, in hours) to energy consumption ($y$, in watt-hours, Wh): | Time ($x$) | 1 |…

Observe the following table of values relating the time an LED light bulb is turned on ($x$, in hours) to energy consumption ($y$, in watt-hours, Wh):

Time ($x$) 1 2 3 4
Consumption ($y$) 9 18 27 36

State whether it is a direct proportion function, calculate its constant of proportionality and write its equation.

Solve
Practice★★☆Not started
Find the equation of the direct proportion function $y = mx$ whose graph passes through the point $A(-3, 12)$. Represent the function graphically, indicating at least…

Find the equation of the direct proportion function $y = mx$ whose graph passes through the point $A(-3, 12)$. Represent the function graphically, indicating at least two other points through which the line passes.

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

Solve

Plotting $y = mx$

Two points are enough: the origin $O(0,0)$ always works as one of them, and for the other, substitute a simple value of $x$ (for example, $x = 1$) into the formula.

Practice★☆☆Not started
Complete the following table knowing that the relationship between $x$ and $y$ is directly proportional with a constant of $m = 4$. Then, plot the points on a Cartesian…

Complete the following table knowing that the relationship between $x$ and $y$ is directly proportional with a constant of $m = 4$. Then, plot the points on a Cartesian plane.

$x$ -2 -1 0 1 2
$y$

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

Solve
Practice★★☆Not started
A delivery drone flies at a constant speed of $12$ meters per second ($\text{m/s}$). a) Complete the following table that relates flight time ($x$) to distance traveled…

A delivery drone flies at a constant speed of $12$ meters per second ($\text{m/s}$).

  1. a) Complete the following table that relates flight time ($x$) to distance traveled ($y$):
Time ($\text{s}$) $1$ $5$ $10$ $30$
Distance ($\text{m}$) $12$
  1. b) Graph the function on Cartesian axes (time on the horizontal axis and distance on the vertical axis).
  1. c) State what the slope is and explain what physical meaning it has in this problem.

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

Solve

Direct proportion in real life

Many everyday situations involve direct proportion: constant speed, price per item, constant data or energy consumption. The key is to identify $m$: the value of each unit.

Practice★☆☆Not started
A pizza delivery person on a bicycle travels at a constant speed of $20 \text{ km/h}$. Write the function relating the distance covered ($y$, in km) to the elapsed time…

A pizza delivery person on a bicycle travels at a constant speed of $20 \text{ km/h}$.

  • Write the function relating the distance covered ($y$, in km) to the elapsed time ($x$, in hours).

  • How many kilometres will they have travelled after $3$ hours of work?

Solve
Practice★★★Not started
On a video game streaming platform, the streaming quality consumes data in proportion to the time of use. A user has checked that after playing for $15$ minutes, their…

On a video game streaming platform, the streaming quality consumes data in proportion to the time of use. A user has checked that after playing for $15$ minutes, their router shows a consumption of $1,2$ gigabytes (GB).

  • Determine the constant of proportionality $m$ that relates the data consumption ($y$, in GB) to the time ($x$, in minutes).

  • Write the equation of the linear function that models this situation.

  • If the user has a daily limit of $5$ GB before their speed is reduced, how many exact minutes and seconds can they play while maintaining that quality?

0 5 10 15 20 25 30 35 t (min) 0,4 0,8 1,2 1,6 2,0 2,4 2,8 y (GB) y = m·x P(15, 1,2) Q(30, 2,4) Δx = 15 Δy = 1,2 m = Δy/Δx
Solve
Practice★★★Not started
Hooke's law states that the extension of a spring is directly proportional to the force applied to it. A spring measures $12$ cm at rest. When hanging a weight of $2$…

Hooke's law states that the extension of a spring is directly proportional to the force applied to it. A spring measures $12$ cm at rest. When hanging a weight of $2$ kg, the spring measures $15$ cm.

  • Note: The function of proportionality relates the force (or mass, in this case) to the extension (the increase in length), not to the total length. Calculate the extension produced by the $2$ kg.

  • Determine the constant of proportionality $m$ ($cm/kg$).

  • Write the function $y = mx$ relating extension $y$ to mass $x$.

  • What will be the total length of the spring if we hang a weight of $5,4$ kg?

0 5 10 12 15 At rest L₀ = 12 cm x=2kg L = 15 cm y Extension
Solve

Back to the start: If you buy bags of jelly sweets at $1{,}50$ € each, the function is $y = 1{,}50x$; for example, buying $4$ bags will cost exactly $y = 1{,}50 \cdot 4 = 6$ €.

Summary

See all the exercises in this section