Direct and Inverse Variation
Many laws of science have the simple form : the braking distance of a car grows with the square of its speed, the pressure of a gas is inversely proportional to its volume, and light gets dimmer with the square of the distance. These are called variation models. On this page you’ll learn to recognize them, find the constant from data, read their graphs and asymptotes, and fit cubic models, all while working through the modelling cycle the IB expects you to use.
Key ideas
Section titled “Key ideas”Direct variation
Section titled “Direct variation”varies directly as (written ) when
for some constant , called the constant of variation (or constant of proportionality).
- : , a straight line through the origin.
- : , a parabola with vertex at the origin.
- : , a cubic through the origin.
The key test: the ratio is the same for every data point, and it equals .
Inverse variation
Section titled “Inverse variation”varies inversely as (written ) when
So inverse variation is the same family with a negative integer power. The most common cases are (for example Boyle’s law for a gas) and (an inverse-square law, like light intensity or gravity).
The key test: the product is the same for every data point, and it equals .
Graphs and asymptotes
Section titled “Graphs and asymptotes”| Model | Passes through the origin? | Asymptotes |
|---|---|---|
| , | yes | none |
| , | no ( is not in the domain) | vertical: (the -axis); horizontal: (the -axis) |
For , the domain is . In real contexts the input is usually positive (a volume, a distance), so only the branch with matters.
What happens when x is multiplied
Section titled “What happens when x is multiplied”If and is multiplied by , then is multiplied by :
So if , doubling multiplies by . If (that is, ), doubling multiplies by .
Cubic models
Section titled “Cubic models”A cubic model has the form
It can rise, fall and rise again (or the reverse), so it suits data with up to two turning points: a profit that grows and then falls, the volume of a box as you change one length, or the power produced by a wind turbine. To find the parameters, substitute known points and solve the resulting system of linear equations with your GDC. If the -intercept is known (for example a starting value at ), then is known straight away, and only three equations in , and remain.
The modelling cycle
Section titled “The modelling cycle”The IB describes modelling as a cycle, not a one-off calculation:
- Develop the model. From the context and the shape of the data, choose a type (, cubic, exponential, …) and decide on a reasonable domain (what inputs make sense?).
- Fit the model. Find the parameters: from one or more data points, from an initial condition, or by solving equations with technology.
- Test the model. Compare its predictions with data you didn’t use. Are the differences small?
- Reflect. Is the model reasonable in context? Justify your choice from the shape of the data, the properties of the curve, or the situation itself.
- Use the model. Read values, interpret parameters and make predictions, remembering that extrapolation (predicting outside the data) is risky.
If the test or reflection shows a problem, go back to step 1 and try again. For more practice choosing between linear, quadratic, exponential and sinusoidal models, see function modelling. For fitting curves to all the data at once (regression), see non-linear regression.
Worked examples
Section titled “Worked examples”Example 1: Braking distance
Section titled “Example 1: Braking distance”The braking distance metres of a car varies directly as the square of its speed km/h. At km/h the braking distance is m.
- (a) Find a formula for in terms of .
- (b) Find the braking distance at km/h.
- (c) Find the speed at which the braking distance is m.
Solution.
(a) , so . Substitute , :
So .
(b) m. Notice that doubling the speed multiplied the distance by : from m to m.
(c) Solve :
Take the positive root, since a speed is positive here.
Example 2: Boyle’s law from data
Section titled “Example 2: Boyle’s law from data”A fixed amount of gas is kept at constant temperature. Its pressure (kPa) is measured at different volumes (L).
| (L) | |||||
|---|---|---|---|---|---|
| (kPa) |
- (a) Show that varies inversely as , and write the model.
- (b) State the equations of the asymptotes of the graph, and a reasonable domain.
- (c) Find the volume when the pressure is kPa.
Solution.
(a) When doubles from to , halves, which suggests . Check the products :
They are all equal, so (that is, ).
(b) The vertical asymptote is and the horizontal asymptote is . A volume must be positive, so a reasonable domain is (in practice, only the range of volumes the container allows).
(c) , so L.
Example 3: Which inverse law?
Section titled “Example 3: Which inverse law?”The intensity (lux) of light from a lamp is measured at distance metres.
| (m) | ||||
|---|---|---|---|---|
| (lux) |
- (a) Decide whether or , and write the model.
- (b) Predict the intensity at m.
- (c) At what distance is the intensity lux?
Solution.
(a) Test both. If , then is constant; if , then is constant.
Only is constant, so this is an inverse-square law:
(b) lux. (Check with the scaling rule: from m to m the distance doubles, so the intensity is divided by : . ✓)
(c) gives , so m.
Example 4: A cubic profit model and the modelling cycle
Section titled “Example 4: A cubic profit model and the modelling cycle”A new café records its monthly profit , in thousands of dollars, months after opening. It opened with a loss of thousand dollars.
| (months) | ||||
|---|---|---|---|---|
| (thousand $) |
The owner models the profit with .
- (a) Find , , and .
- (b) The profit at was thousand dollars. Test the model with this value.
- (c) Find the maximum monthly profit predicted by the model.
- (d) Use the model to predict the profit at , and reflect on the result.
Solution.
(a) At , . Substitute the other three points into :
Solve the system with your GDC’s simultaneous-equation solver: , , .
(b) . The actual profit was , so the model is off by only thousand dollars. The model passes this test.
(c) Graph on your GDC and find the maximum: at months, , so a maximum profit of about $9100 per month (to 3 s.f.).
(d) , a loss of $23 000 in a month. In fact the model reaches at and falls steeply after that, because every cubic with eventually decreases without limit. Nothing in the data suggests the café will collapse, so this is a warning about extrapolation: the model is reasonable for about (the data), and predictions far beyond that shouldn’t be trusted. To predict further ahead, the owner should collect more data and refit (back to step 1 of the cycle).
Common mistakes
Section titled “Common mistakes”Writing the constant from the wrong ratio. For , the constant is , not . For , it’s . Write the general equation first ( or ), then substitute.
Checking only one pair of points. Any single point gives some value of . To decide which law fits a table, compute or for every point and look for a constant value.
Thinking inverse variation means “subtract”. “As increases, decreases” isn’t enough: also decreases. Inverse variation means stays constant, so doubling divides by .
Forgetting the asymptotes and the domain. For with , is not in the domain; the -axis is a vertical asymptote and the -axis is a horizontal asymptote. In context, restrict the domain further to values that make sense (for example ).
Taking the negative root without thinking. Solving gives , but a speed or a length must be positive. State which root you keep and why.
Trusting a cubic far outside the data. A cubic always heads to at both ends. A model that fits well on the data can give absurd predictions a short way beyond it. Always state a reasonable domain.
Practice
Section titled “Practice”1. (Warm-up) varies directly as , and when . Find when .
Solution
with , so . Then .
2. (Warm-up) is inversely proportional to , and when . Find when and when .
Solution
with , so and .
: .
: .
3. (Warm-up) Let . Write down the equations of the asymptotes of the graph of , and its domain and range.
Solution
. Vertical asymptote ; horizontal asymptote .
Domain ; range .
4. (Core) Here is a table of values.
- (a) Show that and find the model.
- (b) Find the positive value of for which .
Solution
(a) : , , , . The ratio is constant, so .
(b) gives , so .
5. (Core) Charles’s law says that, at constant pressure, the volume of a gas varies directly as its temperature in kelvin. A balloon has a volume of L at K.
- (a) Find the volume at K.
- (b) Find the temperature, in kelvin and in degrees Celsius, at which the volume is L. (Use .)
- (c) Explain why the domain of this model must be .
Solution
(a) with . So L.
(b) gives K, which is , about (3 s.f.).
(c) Temperatures in kelvin can’t be negative (and a gas would liquefy long before K), and the model would give a zero or negative volume at , which is impossible.
6. (Core) A theatre finds that the number of tickets it sells for a show varies inversely as the price dollars. At a price of $8 it sells tickets.
- (a) Find the model, and the number of tickets sold at $12.
- (b) Show that the model predicts the same revenue at every price.
- (c) Comment on whether the model is reasonable for very low prices.
Solution
(a) with . So , and at $12, tickets.
(b) Revenue , so $3600 whatever the price.
(c) Not reasonable. As the model predicts , but the theatre has a fixed number of seats. At $5 it already predicts tickets, which a small theatre may not have. The model should only be used over a limited range of prices.
7. (Core) The temperature (°C) in a greenhouse hours after 6 a.m. is modelled by .
| (°C) |
- (a) Write down the value of , and set up three equations for , and .
- (b) Solve them with your GDC and write down the model.
- (c) Find the maximum temperature predicted, and the time it occurs.
- (d) Predict the temperature at and comment.
Solution
(a) . Then
(b) , , , so .
(c) Using the GDC’s maximum feature: , . So the maximum is about at about 2:12 p.m.
(d) . That’s absurd for a greenhouse at 10 p.m.: the cubic keeps falling steeply after its maximum. The model is only reasonable for roughly the daytime hours covered by the data (about ).
8. (Challenge) The power produced by a wind turbine is proportional to the cube of the wind speed . At m/s it produces kW.
- (a) Find the power at m/s.
- (b) By what percentage must the wind speed increase to double the power?
Solution
(a) Doubling multiplies by , so kW. (Or: , and .)
(b) If is multiplied by , is multiplied by . We need , so . The wind speed must increase by about (3 s.f.).
9. (Challenge) The gravitational force between two objects is inversely proportional to the square of the distance between their centres.
- (a) If increases by , by what percentage does decrease?
- (b) By what factor must change for to become of its original value?
Solution
(a) . Replacing by multiplies by . So decreases by .
(b) We need , so and (a distance factor is positive). The distance must be tripled.
Homework
Section titled “Homework”Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.
Give non-exact answers to 3 significant figures unless a question says otherwise.
Foundations
Section titled “Foundations”H1. (Foundations) Write the general equation first, find the constant, then answer the question.
- (a) varies directly as , and when . Find when .
- (b) is inversely proportional to , and when . Find when .
- (c) , and when . Find when .
H2. (Foundations) Without finding any constants, say what happens to in each case. Give the factor is multiplied by.
- (a) and is doubled.
- (b) and is tripled.
- (c) and is halved.
- (d) and is multiplied by .
H3. (Core) For each table, decide whether , , , , or none of these. Show the ratio or product you tested for every point, and write the model when there is one.
Table A:
Table B:
Table C:
Table D:
H4. (Core) On a wet road, the braking distance metres of a car varies directly as the square of its speed km/h. A driving school near Kenora uses the hypothetical value m at km/h.
- (a) Find a formula for in terms of .
- (b) Find the braking distance at km/h. Check your answer with the scaling rule.
- (c) The driver can see m ahead in heavy rain. Find the greatest speed at which the car can stop within m.
H5. (Core) A cyclist on a Montréal bike path pedals at a steady rate with the same front chainring. The number of turns per minute of the rear wheel varies inversely as the number of teeth on the rear cog. With a -tooth cog, the wheel turns times per minute.
- (a) Find a model for in terms of .
- (b) Find when the cyclist shifts to a -tooth cog.
- (c) Which cog gives turns per minute?
- (d) The wheel travels m per turn. Find the cyclist’s speed in km/h with the cog from part (c).
H6. (Core) (IB style) A sealed syringe holds mL of air at a pressure of kPa. The temperature stays constant, so the pressure (kPa) is inversely proportional to the volume (mL). (The data are hypothetical.)
- (a) Find the model for in terms of .
- (b) The plunger is pushed in until the volume is mL. Find the pressure.
- (c) Find the volume when the pressure is kPa.
- (d) Write down the equations of the asymptotes of the graph of , and explain what the horizontal asymptote means in this context.
Challenge
Section titled “Challenge”H7. (Challenge) The intensity of light from a desk lamp is inversely proportional to the square of the distance from the bulb.
- (a) You move your book closer to the bulb. By what percentage does the intensity increase?
- (b) At m from the bulb the intensity is lux. Without finding the constant, find the intensity at m.
- (c) By what percentage must you increase the distance so that the intensity falls by ?
H8. (Challenge) A student in Timmins measures the mass (grams) of steel ball bearings of diameter (cm). The measurements are rounded, so no ratio will be exactly constant.
| (cm) | ||||
|---|---|---|---|---|
| (g) |
- (a) Test , and . Which model fits, and why does this make sense for a solid ball?
- (b) Write the model, taking the constant as the mean of your four ratios.
- (c) Predict the mass of a ball bearing with diameter cm.
- (d) Find the diameter of a ball bearing with a mass of kg.
H9. (Challenge) Reason about the power, not the numbers.
- (a) varies inversely as . A classmate says, “If increases by , then decreases by .” Explain the error and find the correct percentage decrease.
- (b) for a positive integer . When is tripled, increases by . Find .
- (c) for a positive integer . When is doubled, decreases by . Find .
H10. (Challenge) An open box is made from a cm by cm sheet of card by cutting a square of side cm from each corner and folding up the sides. The volume (cm³) is recorded for some values of .
| (cm) | ||||
|---|---|---|---|---|
| (cm³) |
- (a) Model the data with . Set up four equations and solve them with your GDC.
- (b) Show that your model is the same as , and explain where each factor comes from.
- (c) Use your GDC to find the value of that gives the greatest volume (to 3 s.f.), and that volume to the nearest cm³.
- (d) State a reasonable domain for the model. The model gives , and its graph has a second turning point near . Explain why neither of these means anything for the box.