Back to homeMathematics · 1st Bach. Social Sciences · Change subject
Start for free
BAC1 ss · Mathematics
Functions · Functions

Linear functions: interpolation

A market study measures the price at two different production levels and needs to estimate a third, intermediate one. An electric car battery is measured at 0 km and at 120 km, and we want to know how much charge will be left at 80 km. This is interpolation: using two (or three) known data points to build a function and read off any other value from it.

Before you start, make sure you know: Linear and affine functions (3rd ESO)
Before you start, make sure you know: Systems of linear equations (4th ESO)

Linear interpolation

Practice★☆☆Not started
The following table shows the temperature of an industrial oven as it heats up at a constant rate: | Time (minutes) | $5$ | $15$ | | :--- | :--- | :--- | | Temperature…

The following table shows the temperature of an industrial oven as it heats up at a constant rate:

Time (minutes) $5$ $15$
Temperature (ºC) $80$ $160$

Use linear interpolation to estimate the temperature of the oven when $12$ minutes have elapsed since it was switched on.

Solve
Practice★☆☆Not started
Given the following table of values relating the number of hours worked by a freelance programmer and their total fees: | Hours ($x$) | $4$ | $10$ | | :--- | :--- | :---…

Given the following table of values relating the number of hours worked by a freelance programmer and their total fees:

Hours ($x$) $4$ $10$
Fees ($y$) $180$ € $420$ €

Calculate, using the formula of the linear interpolation line, how much they would charge for a job of $7$ hours. Also state the hourly rate charged (gradient).

Solve

Linear extrapolation

Graph showing two known points joined by a continuous segment and a dashed extension towards an extrapolated point outside the interval. known data extrapolation
Practice★☆☆Not started
A gardener observes that the growth of a species of bamboo is linear during its first few weeks. If at $10$ days it measured $45$ cm and at $20$ days it measured $75$…

A gardener observes that the growth of a species of bamboo is linear during its first few weeks. If at $10$ days it measured $45$ cm and at $20$ days it measured $75$ cm:

  1. Determine the linear function that models the height of the bamboo as a function of time.

  2. Perform a linear extrapolation to predict the height of the plant at $25$ days.

Time t (days) Height h (cm) 5 10 15 20 25 30 15 30 45 60 75 90 105 P₁ (10, 45) P₂ (20, 75) Extrapolation h(25) = ?
Solve
Practice★★☆Not started
An electric car draws energy from its battery in proportion to the distance traveled. When leaving the garage with $100\,\%$ charge, after traveling $120$ km, the…

An electric car draws energy from its battery in proportion to the distance traveled. When leaving the garage with $100\,\%$ charge, after traveling $120$ km, the battery shows $64\,\%$ charge remaining. The figure shows these two data points.

Axes of distance traveled in km and battery in percentage, with the points (0; 100) and (120; 64)06012018024030020406080100Distance (km)Battery (%)(0; 100)(120; 64)
  1. a) Write the linear function that gives the percentage of battery remaining as a function of the kilometers traveled.
  1. b) If the driver decides to stop to recharge when $15\,\%$ of the battery is left, how many kilometers will they have traveled in total according to the linear model?
  1. c) Using extrapolation, determine what percentage of battery the car would show after a $300$ km trip. Does the result make physical sense? Justify your answer.
Solve

Comparing two lines: the break-even point

Practice★☆☆Not started
Two music platforms offer the following monthly plans: Plan A: $5$ € fixed fee plus $0,20$ € for each song downloaded. Plan B: No fixed fee, but $0,60$ € for each song…

Two music platforms offer the following monthly plans:

  • Plan A: $5$ € fixed fee plus $0,20$ € for each song downloaded.

  • Plan B: No fixed fee, but $0,60$ € for each song downloaded.

Let $x$ be the number of songs downloaded in a month and $y$ the monthly cost in euros.

  1. a) Write the cost function for each plan.
  1. b) Graph both functions on the same Cartesian axes (it is enough to take values of $x$ between $0$ and $20$ songs) and find graphically the "break-even point" (where both plans cost the same). State its coordinates.
Solve
Practice★★★Not started
The supply and demand laws for a product have been modelled linearly using the following data collected from a market research study: At a price of $15\text{ €}$, $200$…

The supply and demand laws for a product have been modelled linearly using the following data collected from a market research study:

  • At a price of $15\text{ €}$, $200$ units are supplied and $500$ are demanded.

  • At a price of $25\text{ €}$, $400$ units are supplied and $300$ are demanded.

  1. a) Calculate the supply function $O(p)$ and demand function $D(p)$ using linear interpolation.
  1. b) Find the equilibrium price (where supply equals demand) and the equilibrium quantity.
  1. c) If the government imposes a maximum price of $18\text{ €}$, will there be excess supply or a shortage of demand? Calculate the exact difference in units.
Solve

Quadratic interpolation: fitting a parabola to three points

Graph of the parabola y = x² + 2x + 1, increasing over the plotted stretch, passing through the three marked points (0,1), (1,4) and (2,9). (0,1) (1,4) (2,9) y = x² + 2x + 1
Practice★☆☆Not started
Check that the parabola $y = x^{2} - 2x + 3$ passes through the points $(0, 3)$, $(1, 2)$ and $(2, 3)$, and use it to estimate the value of $y$ at $x = 1,5$.

Check that the parabola $y = x^{2} - 2x + 3$ passes through the points $(0, 3)$, $(1, 2)$ and $(2, 3)$, and use it to estimate the value of $y$ at $x = 1,5$.

Solve
Practice★☆☆Not started
We want to interpolate the points $(0, 1)$, $(1, 4)$ and $(2, 9)$ using a parabola $y = ax^{2} + bx + c$. a) Set up the system of three equations in unknowns $a$, $b$…

We want to interpolate the points $(0, 1)$, $(1, 4)$ and $(2, 9)$ using a parabola $y = ax^{2} + bx + c$.

  1. a) Set up the system of three equations in unknowns $a$, $b$ and $c$.
  1. b) Check that $a = 1$, $b = 2$ and $c = 1$ is a solution to the system and write the interpolating parabola.
Solve
Practice★★☆Not started
The figure shows a parabola passing through the points $(1, 3)$, $(3, 7)$ and $(5, 5)$. a) Set up the system of equations that $a$, $b$ and $c$ must satisfy so that…

The figure shows a parabola passing through the points $(1, 3)$, $(3, 7)$ and $(5, 5)$.

0 1 2 3 4 5 6 x 1 2 3 4 5 6 7 8 9 y ? (1, 3) (3, 7) (5, 5)
  1. a) Set up the system of equations that $a$, $b$ and $c$ must satisfy so that $y = ax^{2} + bx + c$ passes through the three points, and solve it.
  1. b) Use the parabola obtained to estimate the value of $y$ at $x = 4$ (the one marked with "?" in the figure).
  1. c) Check with the graph that the estimate is consistent.
Solve

Back to the beginning: With the linear function for the battery $B(x) = 100 - 0{,}3x$, after $80\text{ km}$ there will be $B(80) = 100 - 0{,}3 \cdot 80 = 76\%$ charge left; since this is an interpolation ($80 \in [0, 120]$), the estimate is reliable.

Summary

See all the exercises in this section