The direct variation equation y equals a x, the constant of variation, the family of lines through the origin, the constant-ratio test for deciding whether data shows direct variation, and building a direct variation model from one data pair.
Subject: Algebra 2 · 68 slides · symbolic lesson
Open the interactive version of this deck
Title
Algebra 2 · Lesson 2.5
The line through the origin, and the ratio that never moves
Objectives
Chapter 2 has been about lines in general: a slope, an intercept, two dials to set. This lesson looks hard at one special family, the lines whose intercept is zero, and it turns out that family is worth a lesson of its own because so many real quantities belong to it.
The idea is simple enough to say in a sentence. Two quantities vary directly when one is always the same fixed multiple of the other, so doubling one doubles the other. The work of the lesson is learning to recognise that, to test for it, and to build a model out of it.
Keep one picture in mind from the start, because everything else hangs on it: a line through the origin. If the graph misses the origin, the relationship is not direct variation, however straight the line is.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, pp. 107-109 — the Before, Now, Why and the Key Vocabulary
Warm-up
Start with a relationship you already trust, and write your answers down before reading on. Committing to paper first is what makes the comparison worth anything.
Discussion prompt
A car travels at a steady 60 miles per hour. Write an equation for the distance travelled after t hours. What distance does your equation give at time zero, and what does that say about where the graph crosses the vertical axis?
That single equation contains everything this lesson is about. There is a fixed multiplier, 60. There is a graph through the origin. And there is a ratio that does not move as the journey goes on.
Compare it with the models you built in Lesson 2.4, which usually had a starting amount as well as a rate. A taxi fare with a flag charge, a phone bill with a monthly fee: those graphs start somewhere above zero. This one starts at zero, and that is the difference the whole lesson turns on.
OpenStax Algebra and Trigonometry 2e, §5.8 Modeling Using Variation §5.8 — the same relationship, called a direct proportion
Section
Part 1
Concept
Here is the definition the whole lesson rests on. Read it once, then look at the picture beneath it, because the picture is easier to remember than the words.
direct variation — The equation y equals a x represents direct variation between x and y, and y is said to vary directly with x. The nonzero constant a is called the constant of variation.
\[ y = ax, \quad a \ne 0 \]
The word to weigh is fixed. The multiplier a never changes as x moves. Feed the equation a bigger x and you get a bigger y, but you get it by using the same multiplier, not a new one.
Figure (svg): A table of five ordered pairs for y equals two x with a third column holding the ratio of y to x, which reads 2 in every row, beside the graph of the line through those five points and through the origin.
On the left, each y is twice its x, so the third column reads 2 all the way down. On the right, those same five pairs are plotted, and a sixth point has been marked that no row of the table mentions: the origin.
The origin is always there. Put zero in for x and the equation gives zero for y, whatever a happens to be, so every direct variation graph passes through that one point. That is the picture to carry with you.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 107 — the Key Concept box
Notation
Four symbols, and each one is doing a job worth naming. This is a formula you will write dozens of times, so spend a minute on what its parts mean before using it.
Annotate
On: \( y = ax \)
The missing piece is the one worth staring at. Almost every mistake in this lesson comes from treating an equation with a constant term as though it were a direct variation, and the decoder above is the guard against it.
One more habit of reading. The letter a here plays the part that m played in Lesson 2.3, so a is a slope: it is a steepness as well as a multiplier. Both readings are useful and you will switch between them freely.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 107 — the Key Concept equation
Concept
Two phrases describe this relationship, and you will meet both, so it is worth knowing that they say the same thing. The book's phrase is the one to use in this chapter.
| how it is said | written | what plays the part of the constant |
|---|---|---|
| y varies directly with x | y = ax | a, the constant of variation |
| y is directly proportional to x | y = kx | k, the constant of proportionality |
| y is a fixed multiple of x | y = ax | the multiple itself |
| the ratio of y to x is constant | y / x = a | the value of the ratio |
Only the letters and the wording change. In science lessons the letter is usually k and the phrase is directly proportional; in this textbook it is a and the phrase is varies directly with. Nothing else about the relationship differs.
Watch the direction the phrase points, though. Saying y varies directly with x names y as the quantity being described and x as the one you choose, and that is the order in which they appear in the equation.
It matters because the constant is the output divided by the input, and swapping the roles turns the constant upside down. If the body length of a shark varies directly with its tooth length then the constant is about 120; say instead that the tooth length varies directly with the body length and the constant becomes the reciprocal, a little over eight thousandths.
So read the sentence carefully before writing the equation. The quantity named first in the phrase is the one that stands alone on the left.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 107 — the Key Vocabulary
Concept
The definition is a rule for producing y from x. Rearranged, it becomes something more useful still: a test you can apply to a pile of measurements where nobody has told you the equation.
\[ y = ax \]
Divide each side by x
Why: which is allowed for any x other than zero, and which pulls the constant out on its own.
\[ \dfrac{y}{x} = a \]
Read that line as a claim about data. If y really is a fixed multiple of x, then dividing any pair gives the same number back, because that number is the multiplier itself.
constant of variation — The nonzero constant a in the equation y equals a x. It is the slope of the graph, and it is also the fixed value of the ratio of y to x.
So there are two faces of the same fact, and Part 4 of this lesson runs entirely on the second one. The product form builds values; the ratio form checks them.
Notice the small exclusion. At x equal to zero the ratio cannot be formed at all, since dividing by zero is not allowed, so the ratio test is always applied to the pairs whose first number is not zero. The origin is a point on the graph, not a row in the ratio table.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 108 — Ratios and Direct Variation
Intuition
Before any symbols, get a feel for what the fixed multiplier does, because the feel is what lets you spot direct variation in a word problem without writing anything down.
Suppose paint covers a wall at a fixed rate and one tin does 40 square feet. Two tins do 80, three tins do 120, and half a tin does 20. Whatever you do to the number of tins, the same thing happens to the area.
\[ A = 40n \]
That last sentence is the test in plain English. Multiply the input by anything at all and the output is multiplied by the same thing. Double the tins, double the area. Multiply the tins by seven and the area is multiplied by seven too.
Now break it, so you can feel the difference. Suppose the job needs 15 square feet of primer before any tin is opened. One tin now covers 55 square feet of finished wall, two tins 95, and 95 is not twice 55. The extra 15 spoils the doubling, and it is exactly the constant term that puts the graph above the origin.
That is the whole distinction, and it is worth having in your hands before the algebra arrives. A fixed multiplier scales; a fixed addition does not.
Prediction
Test the feel you have just built. Do not work anything out numerically: reason from the definition, choose an answer, and only then read the explanation.
Predict first
In a direct variation, x is multiplied by 3. What happens to y?
Correct: y is multiplied by 3
Why: Replacing x by three x gives a times three x, which is three times a x, which is three times the old y. The constant cancels out of the comparison entirely, so the answer does not depend on what it was. Adding three would be what a constant term does, and multiplying by nine would need x to appear twice.
\[ a(3x) = 3(ax) = 3y \]
The line of algebra above is worth more than the answer. The constant a is still sitting there, unchanged, which is precisely why the tripling comes through untouched. Nothing about the size of a enters the argument.
The tempting wrong answer is the one saying it depends on the constant of variation, because that sounds cautious and careful. It is worth noticing that caution is not always right: here the behaviour is the same for every constant, and saying otherwise means the definition has not quite landed yet.
Squaring is the mistake to watch for later in the year. If y varied with the square of x, tripling x really would multiply y by nine, and Lesson 8.1 will put that relationship beside this one.
Worked example
Four equations, and the question is the same each time: is this direct variation, and if so what is the constant? Some are already in the standard form and some need one move first.
\[ y = -8x \]
Read the first straight off
Why: it already has the shape y equals a x with no constant term, so the coefficient of x is the constant of variation.
\[ a = -8 \]
Nothing to do there. Notice the sign travels with the constant: a is negative eight, not eight, and a negative constant is perfectly legal.
\[ 2y - 5x = 0 \]
Solve the second for y
Why: adding five x to each side and then dividing by 2 puts the equation in standard form.
\[ 2y = 5x \;\Longrightarrow\; y = \tfrac52 x \]
This is why the question says solve first. In its original shape the equation hides its constant; once y stands alone the constant is written in front of x for anyone to read.
\[ 5y = -4x \;\Longrightarrow\; y = -\tfrac45 x, \qquad 6y = x \;\Longrightarrow\; y = \tfrac16 x \]
Divide through in each of the last two
Why: dividing the third by 5 and the fourth by 6 leaves y alone, and in both cases nothing is added on the end.
\[ a = -\tfrac45 \quad \text{and} \quad a = \tfrac16 \]
All four are direct variations. The book's list also contains two that are not, and they are worth naming here: y minus 4 equals three x, and three y minus 7 equals ten x. Solve either one and a constant term survives, so neither graph passes through the origin.
Check each by substituting zero for x
Why: a direct variation must give y equal to zero there; the first gives zero, and in the second equation zero for x forces two y to be zero, so y is zero too.
\[ y = -8(0) = 0, \qquad 2y - 5(0) = 0 \;\Longrightarrow\; y = 0 \]
Substituting zero is the fastest single test there is. It takes a second, it needs no rearranging, and it catches every equation with a constant term hiding in it.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 109 — Exercises 18-23
Sorting
Six equations from the same exercise set. Solve each for y in your head if you need to, then ask the one question that decides it: once y stands alone, is there anything added on the end?
Sort into buckets
Sort each equation by whether it represents direct variation.
The two that fail are the interesting ones, because nothing about them looks wrong. They are straight lines, they have perfectly good slopes, and they would answer any question about rate of change. They simply are not proportional relationships.
Watch out for the third equation in particular. Its constant term is 7 in the form given, but once you divide by 3 it becomes seven thirds, and a fraction appearing where an integer was is not a reason to think it vanished.
If you found yourself rearranging every one, good. That is the reliable method. The shortcut of substituting zero is faster, but it is worth earning the shortcut by doing it the long way a few times first.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 109 — Exercises 18-23
Picture it
This is the picture to argue with whenever you are tempted to call a line a direct variation. Two lines are drawn, and they have exactly the same slope, so they are equally steep and perfectly parallel.
Figure (svg): The line y equals two x and the line y equals two x plus three drawn on the same axes, with four marked points on each, beside two ratio tables: the first has a fixed ratio of 2, the second has ratios 5, 3.5, 3 and 2.75.
Look at the ratio tables before the graph. On the left, every y is twice its x, so the ratio column reads 2 four times. On the right, each y is three more than it was, and the ratio column slides from 5 down to 2.75 as x grows.
Why does it slide? Because the extra 3 is a fixed amount, not a fixed multiple. When x is small the 3 is most of the y and the ratio is large; when x grows the 3 matters less and the ratio drifts down towards 2 without ever getting there.
Now look at the graph. The blue line goes through the origin, marked in green. The orange line crosses the vertical axis three units higher, marked in red, and misses the origin by exactly the amount that spoils the ratio.
So the word direct is not decoration. It names the case where the relationship is pure multiplication, with nothing added, and that case is the only one with a fixed ratio and the only one through the origin.
Trap
Here is a line, and here is the verdict most people reach about it:
\[ y = 2x + 3 \]
It is linear. It has a slope of 2. It has a perfectly good constant multiplying x. Surely y varies directly with x, with a constant of variation of 2.
The reasoning behind that verdict is usually this: the equation has a number in front of x, and the definition mentions a number in front of x, so the definition is satisfied.
Test it with two pairs instead of trusting the shape. At x equal to 1 the equation gives 5, and at x equal to 2 it gives 7.
\[ \dfrac{5}{1} = 5, \qquad \dfrac{7}{2} = 3.5 \]
The two ratios disagree, so there is no single multiplier, so this is not direct variation. Doubling x from 1 to 2 did not double y from 5 to 10.
\[ y = 2(0) + 3 = 3 \ne 0 \]
The faster test is the second line: at x equal to zero the equation returns 3, so the graph crosses the vertical axis at 3 and cannot pass through the origin.
The lesson generalises. Direct variation is a special kind of linear, not another word for it. Every direct variation is linear; most linear equations are not direct variations.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 107 — the Key Concept definition
Socratic
The definition goes out of its way to say that a is not zero. Definitions rarely carry conditions for fun, so argue this one out rather than memorising it.
\[ y = ax, \quad a \ne 0 \]
Discussion prompt
Suppose a were allowed to be zero. Write down the equation that results, describe its graph, and say why it would be strange to call that relationship a variation. Then say what the ratio test would report for such data.
There is a second reason worth knowing. If a were zero the equation could not be turned round to give x from y, because every y would be zero and there would be nothing to divide by. The models in Part 5 all get used in both directions, and a zero constant would make that impossible.
So read the condition as part of the definition, not a footnote to it. A direct variation has a genuine multiplier, and a genuine multiplier is one that actually multiplies.
One thing the exclusion does not rule out is a negative constant. Negative constants are common and entirely respectable, and the next part of the lesson is full of them.
Section
Part 2
Intuition
In Lesson 2.4 you needed two points to pin down a line, or one point and a slope. Here you will be handed a single ordered pair and asked for the equation, which looks like being given half the information.
You are not. The definition has already given you a second point, free of charge and in advance: the origin. Every direct variation passes through it, so the pair you are handed is the second point, not the first.
\[ (0, 0) \; \text{and} \; (x_1, y_1) \;\Longrightarrow\; \text{one line} \]
Two points determine a line, so the line is fixed, and with it the constant. That is the whole reason a single pair is enough here when it would not be enough for a general linear equation.
The arithmetic route is even shorter than finding a slope from two points. Substitute the pair into y equals a x, and the only unknown left is a, so one division finishes it.
Keep the geometry in view as you do the algebra, because it is a free check. The line you produce has to pass through the point you were given and through the origin, and a quick sketch will tell you whether it does.
Worked example
Write and graph a direct variation equation that has the pair minus four, eight as a solution. Notice what the question does not give you: it never mentions a slope, because the pair and the origin between them decide it.
\[ y = ax \]
Substitute 8 for y and minus 4 for x
Why: the pair is a solution, which means exactly that these two numbers satisfy the equation.
\[ 8 = a(-4) \]
Only one letter is left, so this is now an ordinary one-step equation of the kind you solved in Chapter 1. The unknown is the constant rather than x, and that is the only novelty.
Divide each side by minus 4
Why: because minus 4 multiplies a, and dividing undoes multiplying.
\[ a = \dfrac{8}{-4} = -2 \]
Put the constant back into the standard form
Why: the equation is y equals a x with the a now known.
\[ y = -2x \]
Figure (svg): The line y equals minus two x, with the point minus four, eight marked on it and the origin marked, and dashed steps of four across and eight up joining them.
The graph is drawn from the two points you now hold. Start at the origin, go 4 to the left and 8 up, and you are at the given point; the line through the two of them is the answer, and it falls as you read it left to right because the constant is negative.
Check the given pair in the equation
Why: substituting minus 4 for x must return the 8 you were given, and minus two times minus 4 is 8.
\[ -2(-4) = 8 \;\checkmark \]
Check the sign of your constant against the picture as well as the arithmetic. The point sits up and to the left of the origin, which only a falling line can do, so a negative constant is what you should have expected.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 107 — Example 1
Fill the middle
Same three moves, new numbers, and this time you do them. Substitute, divide, and then test the constant on a different value of x so that you are checking rather than hoping.
Fill in the blanks
a = \dfrac-3-15 = \dfrac______ = ___, \qquad \text___ x = 5: \; y = ___
Why: Minus nine divided by 3 is minus 3, so the equation is y equals minus three x. At x equal to 5 that gives minus 15. The second blank is not busywork: it checks that you can now use the equation, which is the only reason for finding the constant in the first place.
The graph of this one falls steeply. A constant of minus 3 means every step of 1 to the right takes you 3 units down, so the line runs through the second and fourth quadrants and never enters the first or third.
Notice how the ratio form did the work. You were given a pair, you divided y by x, and the answer was the constant. That is the same division you will do dozens of times in Part 4, applied to a single pair rather than a table.
If you wrote three over minus nine instead, you would have got minus one third, and the equation would fail its own test at once: minus one third times 3 is minus 1, not minus 9. The next slide but one is about exactly that slip.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 107 — Guided Practice 1
Worked example
Write a direct variation equation with minus seven, four as a solution. Nothing changes in the method, but the answer is not a whole number, and a fraction is the normal case rather than a sign that something went wrong.
\[ y = ax \]
Substitute 4 for y and minus 7 for x
Why: the given pair satisfies the equation, which is what having it as a solution means.
\[ 4 = a(-7) \]
Divide each side by minus 7
Why: so the constant stands alone; a positive divided by a negative is negative.
\[ a = \dfrac{4}{-7} = -\dfrac47 \]
Leave it as a fraction. Turning it into a decimal here would give minus 0.5714 and change, which is both uglier and less accurate, and every later use of the constant would inherit the rounding.
Write the equation
Why: the constant goes in front of x, sign included.
\[ y = -\tfrac47 x \]
Figure (svg): The line y equals minus four sevenths x through the origin, with the point minus seven, four marked, and dashed steps of seven right and four down from the origin.
A fractional constant is a two-step instruction for drawing the line: seven along the bottom, four down. The picture also marks the mirror point at seven, minus four, which you get for nothing by going the other way from the origin.
Check the given pair
Why: minus four sevenths of minus 7 is plus 4, because the sevens cancel and two negatives make a positive.
\[ -\tfrac47(-7) = 4 \;\checkmark \]
Cancelling is the thing to notice in that check. The denominator of the constant is the x you started from, so it cancels exactly, and the check comes out in whole numbers every time.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 107 — Guided Practice 2
Discrimination
Six ordered pairs, and the question is only about the sign of the constant each one produces. Do not divide: look at the two signs and reason from them, because a sign error is the commonest mistake in this whole topic.
Sort into buckets
Sort each ordered pair by the sign of the constant of variation it gives.
The rule underneath is one you have known since Chapter 1: like signs divide to give a positive, unlike signs give a negative. Applied here it becomes a statement about pictures, which is what makes it worth restating.
The pair of negatives is the one people misfile. Minus 4 and minus 8 look thoroughly negative, and the constant they give is positive 2, because both of the minus signs are used up in the division.
Getting the sign right before you divide is worth the second it takes. If your arithmetic then disagrees with your prediction, you know to look again, and you will usually find you divided the wrong way round.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 109 — Exercises 3-10
Trap
Finding the constant for the pair 6 and minus 21, here is a very common first line:
\[ a = \dfrac{6}{-21} = -\dfrac27 \]
It has the right two numbers in it and the right sign, and it looks like a perfectly respectable fraction.
\[ y = -\tfrac27 x \]
The slip is easy to make because the pair is written x first, and dividing in the order you read is the natural thing to do.
Test the suggested equation on the pair it was built from. Minus two sevenths of 6 is minus twelve sevenths, and that is nowhere near minus 21.
\[ -\tfrac27(6) = -\tfrac{12}{7} \ne -21 \]
The definition says y equals a x, so a is the output divided by the input, which is y over x and never the other way round.
\[ a = \dfrac{-21}{6} = -\dfrac72, \qquad y = -\tfrac72 x \]
That one checks: minus seven halves of 6 is minus 21. The habit worth forming is to finish every one of these by substituting the given pair back in, which catches an inverted ratio instantly.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 109 — Exercise 5
Worked example
The pair here is four thirds and minus 4, so the number you divide by is itself a fraction. Dividing by a fraction is the move some people dread, and it is worth meeting in a small problem like this one.
\[ y = ax \quad \text{with} \quad (x, y) = \left(\tfrac43, -4\right) \]
Substitute the pair
Why: four thirds for x and minus 4 for y.
\[ -4 = a\left(\tfrac43\right) \]
Multiply each side by the reciprocal of four thirds
Why: dividing by four thirds is the same as multiplying by three quarters, which is what clears the fraction in one move.
\[ a = -4 \cdot \tfrac34 = -3 \]
So an awkward-looking pair gives a tidy constant. That happens a great deal in this exercise set, and it is a hint that the fraction is meant to be handled rather than avoided.
Write the equation
Why: the constant is minus 3, so the line falls three units for every step to the right.
\[ y = -3x \]
Compare this with Guided Practice 1, which also gave a constant of minus 3 from the pair 3 and minus 9. Both pairs sit on the same line, which is worth knowing: a line has infinitely many pairs on it, and any one of them produces the same constant.
Check the given pair
Why: minus three times four thirds is minus twelve thirds, which is minus 4, the value you were given.
\[ -3\left(\tfrac43\right) = -\tfrac{12}{3} = -4 \;\checkmark \]
The check is where a reciprocal slip would show up. Had you multiplied by four thirds instead of three quarters you would have got minus sixteen thirds, and substituting it back would fail immediately.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 109 — Exercise 9
Comparison
These are the book's next six problems, and they come in two halves: find the constant from the pair you are given, then use your equation to find y when x is 12. Fill in the blanks, and notice how little work the second half takes once the first is done.
Comparison matrix
| the given pair | constant a | y when x is 12 |
|---|---|---|
| x = 4, y = 8 | 2 | 24 |
| x = −3, y = −5 | 5/3 | 20 |
| x = 35, y = −7 | −1/5 | -2.4 |
| x = −4.8, y = −1.6 | 1/3 | 4 |
| x = 2/3, y = −10 | -15 | -180 |
The first row is the gentle one: 8 divided by 4 is 2, and twice 12 is 24. The last row is the one to slow down for, because the input is a fraction and dividing by two thirds means multiplying by three halves.
\[ a = \dfrac{-10}{2/3} = -10 \cdot \tfrac32 = -15, \qquad y = -15(12) = -180 \]
Look at the third row too. The constant is minus one fifth, so the value at 12 is minus twelve fifths, which is minus 2.4. A decimal answer is not a sign of an error; it is what a fifth does to a number that is not a multiple of 5.
Six problems, and the pattern is identical every time: one division to get the constant, one multiplication to use it. Once you see that, this whole exercise block is arithmetic rather than algebra.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 109 — Exercises 11-16
Elimination
Four equations, and three of them really do pass through the point three, eighteen. That is what makes this a good question: passing through the point is necessary but nowhere near sufficient.
Eliminate the wrong options
Which of these is a direct variation equation with the pair three, eighteen as a solution?
Survives elimination: six
Why: Direct variation means the form y equals a number times x, with nothing added and no power on x. Eighteen divided by 3 is 6, so the constant is 6 and the equation is y equals six x. Three of the four options contain the point, which is why the form has to be checked as well as the arithmetic.
Work through the survivors one at a time. The squared one contains the point but is a curve, so no single multiplier works across the whole relationship. The added-6 one contains the point but crosses the vertical axis at 6.
\[ y = 2(3)^2 = 18, \quad y = 6(3) = 18, \quad y = 4(3) + 6 = 18 \]
Three equations, three ways of hitting the same point, and only one of them a direct variation. A single point can never settle the question by itself, because infinitely many graphs of every shape pass through any point you choose.
The one that fails the point rather than the form is instructive in its own way. One sixth is 3 divided by 18, the ratio the wrong way up, which is the trap two slides back wearing a multiple-choice costume.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 109 — Exercise 17
Section
Part 3
Concept
You have two descriptions of the same object now, and it is worth writing them side by side, because the second one is what connects this lesson to the rest of the chapter.
\[ y = ax \qquad \text{is} \qquad y = mx + b \;\text{ with }\; m = a \;\text{ and }\; b = 0 \]
So a direct variation is not a new kind of graph. It is a line, with everything you already know about lines, and the single extra fact that its vertical intercept is zero.
Substitute zero for x to find the intercept
Why: the intercept is the value of y where the graph crosses the vertical axis, which is where x is zero.
\[ y = a(0) = 0 \]
That one line of algebra is the proof of the whole claim, and it holds for every value of a. No matter how steep or shallow, rising or falling, the graph is nailed to the origin.
Reading it the other way round is just as useful. Given a graph, you can decide whether it shows direct variation by looking at one place only: does the line go through the origin? If it does, and it is straight, then it does.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 107 — the Graph half of the Key Concept box
Intuition
The constant of variation has been doing two jobs in this lesson, and it is worth putting them side by side because most people find one of the two readings easier and then forget the other exists.
\[ a = \dfrac{y}{x} = \dfrac{\text{rise}}{\text{run}} \]
As a multiplier, the constant answers the question: how many of these do I get for one of those? A constant of 120 says 120 centimetres of shark per centimetre of tooth, and the question it answers is about sizes.
As a slope, the same number answers a different question: how far up does the graph go for one step to the right? A constant of 120 says the line climbs 120 units for every unit across, and the question it answers is about pictures.
The reason one number can do both jobs here is the origin. A slope is normally a change in y divided by a change in x, measured between two points; when one of those points is the origin, the changes are just y and x themselves, so the slope and the ratio become the same calculation.
\[ \dfrac{y_1 - 0}{x_1 - 0} = \dfrac{y_1}{x_1} \]
That line is why a direct variation lets you read the constant off any single point of the graph. For a line that misses the origin you would need two points to get a slope; for one through the origin, one point is enough.
Picture it
The book calls this a family, and the word is exact. These four lines have nothing in common except the one point they share, and nothing to distinguish them except their steepness.
Figure (svg): Four lines drawn on one set of axes, of slopes two, one half, minus two and minus one half, all crossing at the origin.
Trace each line with a finger from bottom left to top right and watch what the constant controls. A large positive constant gives a steep climb; a small one gives a gentle slope; a negative one turns the climb into a descent.
Now notice what none of them can do. Not one of them can be moved up or down, because moving it would take it off the origin and out of the family. A general linear equation has two dials, a slope and an intercept; direct variation locks the second dial at zero and leaves only the first.
That is why one number is enough to name a member of this family. Say the constant and you have said the line, which is exactly why one ordered pair is enough to identify it.
The four constants drawn here are 2, one half, minus 2 and minus one half. Notice that the pairs are reciprocals of each other in size, which is why the steep lines look like the shallow ones reflected in a diagonal mirror.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 107 — the family of direct variation graphs
Worked example
Graph the direct variation whose constant is three halves. You could build a table of values, but there is a faster route that uses what you know about the origin, and it is the one to practise.
\[ y = \tfrac32 x \]
Plot the origin first
Why: every direct variation passes through it, so this point costs nothing and needs no calculation.
\[ (0, 0) \;\text{is on every direct variation graph} \]
The constant is now read as a slope, which is a rise over a run. Three halves means three up for every two across, so the numerator tells you the vertical move and the denominator the horizontal one.
Step two right and three up from the origin
Why: a slope of three halves means exactly that, and it lands you on a second point of the line.
\[ (0 + 2, \, 0 + 3) = (2, 3) \]
Repeat the same step to get a third point
Why: a third point is worth having as a check that your ruler is straight.
\[ (2 + 2, \, 3 + 3) = (4, 6) \]
Figure (svg): The line y equals three halves x drawn from the origin, with dashed steps of two right and three up repeated twice, marking the points two, three and four, six.
The picture shows the two steps in different colours. Both are the same size and the same direction, which is what being a straight line means, and the line through all three points is the graph.
Check the third point in the equation
Why: three halves of 4 is 6, the value the stepping predicted, so the steps and the equation agree.
\[ \tfrac32(4) = \tfrac{12}{2} = 6 \;\checkmark \]
If you want a fourth point at no cost, step backwards from the origin instead: two left and three down puts you at minus 2, minus 3, which is on the same line.
Tweak it
This is the family from two slides ago, put under your control. Drag the constant and watch what moves, but more importantly watch what refuses to move.
Parameter explorer
Slide the constant. Read off the value of y at x equal to 4 when the constant is 1.5, and then say what every one of these lines has in common.
\[ y = {a}x \]
Two things are worth doing deliberately with the slider. Set the constant to a large positive number and the line stands almost upright; set it near zero and the line lies almost flat along the horizontal axis.
Then push it through zero from positive to negative and watch the line swing over. The steepness shrinks to nothing, the line flattens, and then it starts to fall. Exactly at zero it is the horizontal axis itself, which is the case the definition excludes.
What never changes is the pivot. Every line in the family turns about the origin like a hand on a clock face, and that is the whole geometric content of having no constant term.
Edge cases
Now the opposite experiment. Fix the steepness at 2 and give yourself control of the constant term instead, which is the dial that direct variation does not have.
Parameter explorer
Slide the added constant. Say what value it must take for the relationship to be a direct variation, and describe what happens to the ratio of y to x at x equal to 1 as you move it away from that value.
\[ y = 2x + b, \qquad b = {b} \]
The slider makes the geometry obvious. Moving the added constant slides the whole line up and down without ever tilting it, so the family of parallel lines you sweep out contains exactly one direct variation: the one that happens to catch the origin.
It is worth appreciating how special that makes direct variation. Out of all the lines with a given slope, only one in that whole infinite family is a proportional relationship, and it is the one the definition picks out.
Try one more thing before moving on. Set the constant to a small value such as 0.5 and look hard at the graph. It very nearly passes through the origin, and on a rough sketch you might not notice, which is why the numerical ratio test matters more than the eye.
Picture it
A direct variation graph is a whole line, not a ray, so it runs off the page in both directions. Where it goes is decided entirely by the sign of the constant, and the picture below is worth memorising.
Figure (svg): Two panels of axes. On the left a line of positive slope runs through the first and third quadrants, labelled I and III. On the right a line of negative slope runs through the second and fourth, labelled II and IV.
On the left the constant is positive. Take a positive x and y comes out positive, which is the first quadrant; take a negative x and y comes out negative, which is the third. The line is confined to those two.
On the right the constant is negative, and the signs of x and y disagree at every point. Positive x gives negative y, which is the fourth quadrant, and negative x gives positive y, which is the second.
So no direct variation ever visits more than two quadrants, and the two are always diagonally opposite. That is a consequence of passing through the origin: to reach a third quadrant a line would have to bend, and lines do not bend.
This gives you a fast sanity check on any answer. If you calculate a positive constant but your given point sits in the second quadrant, one of the two is wrong, and it is almost always the arithmetic.
Ranking
Steepness is about size, not sign. A line falling sharply is steep, and so is a line climbing sharply, so the ordering you want here ignores the minus signs and compares only how big the constants are.
Put in order
Put these four direct variations in order from the shallowest graph to the steepest.
Why: Ignore the signs and compare the sizes of the constants: one quarter, then 1, then 3, then 5. The quarter gives the flattest line, rising one unit for every four across, and the constant of minus 5 gives the steepest, dropping five units for every one across. The two negative constants produce falling lines, which are just as steep as rising lines of the same size.
The constant of one quarter and the constant of minus 1 are the pair worth thinking about. They point in opposite directions, and yet the one of size 1 is four times as steep as the one of size a quarter, so it comes later in the order.
A useful way to picture it: the constant is how far you move vertically for one step to the right. A quarter of a unit is barely a tilt; five units is nearly a wall.
This also gives you another reading of the family picture. Choosing a member of the family is choosing a steepness and a direction, and the constant of variation encodes both at once, its size giving the steepness and its sign the direction.
Socratic
Here is a reasoning exercise from the book that ties this lesson to what you learned about perpendicular lines in Lesson 2.3. Work it out with letters rather than numbers, and use a concrete pair afterwards to test it.
Figure (svg): Two lines crossing at the origin at right angles, one of slope two and one of slope minus one half, drawn on square axes.
The picture shows one case: the constants 2 and minus one half, whose lines meet at the origin at a right angle. Both lines pass through the origin, so both are direct variations, which is what makes the question answerable at all.
Discussion prompt
Let the pair x one, y one be a solution other than the origin of a direct variation equation. Write a second direct variation equation whose graph is perpendicular to the first, and explain each step. Then test your answer on the pair 1 and 2.
The condition that the pair is not the origin is doing real work. The origin satisfies every direct variation equation, so it tells you nothing about which one you have, and it would also put a zero on the bottom of the fraction.
Notice how much of Chapter 2 is packed into a two-line answer: the ratio that gives a constant from a point, the negative reciprocal that gives a perpendicular slope, and the fact that neither equation picks up a constant term along the way.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 110 — Exercise 36
Counterexample
The book ends its reasoning exercises with a challenge, and it is one of those statements that looks harder than it is. Try to break it first, then prove it, because a failed attempt to break a claim is the best preparation for proving it.
\[ \text{Claim: for any two solutions, } \dfrac{x_2}{x_1} = \dfrac{y_2}{y_1} \]
Discussion prompt
Take two distinct solutions of a single direct variation equation, neither of them the origin. Try to find a pair for which the claim fails. When you cannot, show why it must always hold.
This is the proportional-reasoning shortcut you may already have used in science lessons, now with a reason attached. If one quantity triples then so does the other, and you never have to find the constant at all.
It is also a second test for direct variation, and sometimes a quicker one than dividing. Take two pairs, compare the ratio of the inputs with the ratio of the outputs, and if they disagree the relationship is not direct variation.
The exclusion of the origin matters again here, for the same reason as before: the origin would put a zero on the bottom of both fractions and the statement would say nothing.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 110 — Exercise 37
Section
Part 4
Concept
Everything so far began with an equation or a single clean pair. Real measurements arrive as a table, with no equation in sight, and the question becomes whether a direct variation is a reasonable description of them at all.
\[ \dfrac{y}{x} = a \]
The ratio form is what answers that question. Work out the ratio of the two quantities for every pair in the table. If the ratios are all the same, the data shows direct variation and that shared value is the constant.
Be honest about the word same, though, because real measurements are never exact. A shark is measured to the nearest centimetre, a download is timed with a stopwatch, and small disagreements are expected.
The book says so explicitly in its Avoid Errors note: for real-world data the ratios do not have to be exactly equal for direct variation to be a plausible model. What you are looking for is ratios that wobble slightly around one value, not ratios that march steadily in one direction.
That distinction between wobble and march is the judgement this part of the lesson trains. Six ratios reading 119, 121, 121, 119, 120, 120 are wobbling around 120. Six ratios reading 44, 92, 129, 203, 360, 551 are marching, and no single constant describes them.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 108 — Ratios and Direct Variation, with the Avoid Errors note
Worked example
Great white sharks have triangular teeth, and the book gives the side length of a tooth and the body length for six of them. Does body length vary directly with tooth length, and if so, what is the constant?
| tooth length t (cm) | 1.8 | 2.4 | 2.9 | 3.6 | 4.7 | 5.8 |
|---|---|---|---|---|---|---|
| body length b (cm) | 215 | 290 | 350 | 430 | 565 | 695 |
Divide the body length by the tooth length for the first three sharks
Why: the ratio test asks for the ratio of b to t, so every shark gets its own division.
\[ \dfrac{215}{1.8} \approx 119, \quad \dfrac{290}{2.4} \approx 121, \quad \dfrac{350}{2.9} \approx 121 \]
Do not stop after two. Two agreeing ratios prove nothing at all, since any two pairs of numbers define some constant between them; it is the fourth, fifth and sixth that turn a guess into a verdict.
Divide for the remaining three sharks
Why: the same division again, on the three largest sharks in the table.
\[ \dfrac{430}{3.6} \approx 119, \quad \dfrac{565}{4.7} \approx 120, \quad \dfrac{695}{5.8} \approx 120 \]
All six land between 119 and 121, which is a wobble of under one per cent. Since the sharks were measured with a tape measure and not a laser, that is as close to equal as measurements of animals ever get.
Write the equation using the shared value
Why: the ratio of b to t is about 120, and multiplying each side by t puts it in the standard form.
\[ \dfrac{b}{t} \approx 120 \;\Longrightarrow\; b = 120t \]
Figure (svg): Six data points of shark body length against tooth length, all lying close to a line through the origin of slope one hundred and twenty.
The graph is the verdict in picture form. One line through the origin passes within a few centimetres of all six sharks, even though the largest is nearly three times the length of the smallest.
Check the model on the largest and smallest sharks
Why: the model predicts 216 cm for the smallest tooth against a measured 215, and 696 cm for the largest against a measured 695, so it is out by one centimetre in each case.
\[ 120(1.8) = 216, \qquad 120(5.8) = 696 \]
Being out by a centimetre on a seven-metre shark is the kind of error a model is entitled to. Notice also that the book prints an equals sign for the third ratio, 350 over 2.9, where it should be an approximation: that quotient is 120.69, not exactly 121.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 108 — Example 3
Notation
The answer to Example 3 was written in two ways, and the book gives both because each is useful for a different question. Take them apart before using them.
Annotate
On: \( \dfrac{b}{t} = 120 \quad \text{or} \quad b = 120t \)
Keeping the two purposes separate is worth the effort. Students who try to test data with the product form end up solving an equation for each pair, and students who try to predict with the ratio form end up with a fraction they still have to rearrange.
The units note deserves a second look. A bare 120 is a number; 120 centimetres of body per centimetre of tooth is a fact about sharks, and it is the version to write down if anybody asks what your constant means.
Fill the middle
The book's first data table. Compute two of the five ratios, decide whether they agree, and then use the constant you have found on a value of x that the table never mentions.
| x | 3 | 6 | 9 | 12 | 15 |
|---|---|---|---|---|---|
| y | −1 | −2 | −3 | −4 | −5 |
Fill in the blanks
\dfrac-1/3-7 = \dfrac______ = \dfrac______ = \dfrac______ = ___, \qquad \text___ x = 21: \; y = ___
Why: Every pair gives the same ratio of minus one third, so the data shows direct variation with that constant and the equation is y equals minus one third x. At x equal to 21 the equation gives minus 7. The middle three pairs give minus two sixths, minus three ninths and minus four twelfths, all of which reduce to minus one third as well.
Notice that the y values here are small whole numbers while the x values climb in threes. That is exactly what a constant of minus one third looks like in a table: three steps along the top for every one step down the bottom.
The value at 21 is worth pausing on, because it shows what a verdict buys you. Having decided the data shows direct variation, you can now answer questions about inputs nobody measured, and that is the entire point of building a model.
Reducing the fractions is where care is needed. Minus four over twelve does not look like minus one over three until you divide top and bottom by 4, and a table can look inconsistent simply because the fractions have not been reduced.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 110 — Exercise 31
Worked example
Here is the discipline the whole ratio test depends on, in the smallest possible example. Find the constant from a real pair, then check it against every other pair in the table, and only then write the equation.
| x | −5 | −4 | −3 | −2 | −1 |
|---|---|---|---|---|---|
| y | 20 | 16 | 12 | 8 | 4 |
Divide the first pair to get a candidate constant
Why: the ratio of y to x for the leftmost column, with a positive divided by a negative giving a negative.
\[ a = \dfrac{20}{-5} = -4 \]
Call it a candidate, not the constant. One pair always produces some number, even for data that has nothing proportional about it, so at this stage you have a hypothesis and nothing more.
Test the candidate on the second and third pairs
Why: the same division on the next two columns, which must give the same answer if the hypothesis is right.
\[ \dfrac{16}{-4} = -4, \qquad \dfrac{12}{-3} = -4 \]
Test it on the last two pairs as well
Why: every pair in the table, not a sample of them.
\[ \dfrac{8}{-2} = -4, \qquad \dfrac{4}{-1} = -4 \]
Five identical ratios, and these are exact rather than approximate, which tells you the data came from a formula rather than a tape measure. So the verdict is yes, and the constant is minus 4.
Figure (svg): A table of five ordered pairs with a ratio column reading minus four in every row, beside the graph of the line y equals minus four x through those five points and the origin.
The table and the graph say the same thing in two languages. The ratio column is flat, and the five points lie on one line that carries on through the origin even though no row of the table mentions the origin.
Check the equation on a pair you did not use to build it
Why: the equation came from the leftmost pair, so test it on the rightmost: minus four times minus 1 is 4, the measured value.
\[ y = -4x: \; -4(-1) = 4 \;\checkmark \]
Notice that all five points sit in the second quadrant, up and to the left, which is exactly where a negative constant puts them. The sign of the constant and the position of the data agree, which is one more check for free.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 110 — Exercise 33
Discrimination
Each item is the first three pairs of a table. Compute the ratios mentally where you can, and sort on the one criterion that matters: does the ratio of the second number to the first stay put?
Sort into buckets
Sort each set of pairs by whether it shows direct variation.
The set that starts with the pair 2 and 5 is mine rather than the book's, and it is there to punish exactly one habit: checking two pairs and stopping. Its first two pairs agree perfectly, and only the third gives it away.
The set with ratios 24, 6 and 2.67 is worth recognising on sight. Its products are all 24, so the two quantities are inversely related, and the next slide takes that case apart properly.
Of the three that do show direct variation, all have negative constants, so their points sit in the second and fourth quadrants. If you sorted by looking at the signs rather than the ratios you would have got those three right by accident, which is worth knowing about your own reasoning.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 110 — Exercises 31-34
Worked example
The same six sharks, but now the second quantity is body mass in kilograms instead of body length. The question is identical, and the answer is not, which is what makes this checkpoint worth doing carefully.
| tooth length t (cm) | 1.8 | 2.4 | 2.9 | 3.6 | 4.7 | 5.8 |
|---|---|---|---|---|---|---|
| body mass m (kg) | 80 | 220 | 375 | 730 | 1690 | 3195 |
Divide mass by tooth length for the first three sharks
Why: the same ratio test as before, applied to the new quantity.
\[ \dfrac{80}{1.8} \approx 44, \quad \dfrac{220}{2.4} \approx 92, \quad \dfrac{375}{2.9} \approx 129 \]
Stop and look at those three before going on. They are not wobbling around a single value; each one is markedly bigger than the last, and the gaps are growing rather than shrinking.
Divide for the remaining three sharks
Why: finishing the table, to confirm that the trend continues rather than settling.
\[ \dfrac{730}{3.6} \approx 203, \quad \dfrac{1690}{4.7} \approx 360, \quad \dfrac{3195}{5.8} \approx 551 \]
From 44 to 551 is a factor of more than twelve. No amount of measurement error produces that, so the answer is no: body mass does not vary directly with tooth length, and there is no constant to report.
Figure (svg): Six data points of shark body mass against tooth length curving steeply upward and away from a dashed straight line through the origin fitted to the first point.
The picture shows what a failed ratio test looks like. The dashed line is the direct variation the first shark alone would suggest, and the data abandons it immediately and curves away upward.
Check the verdict by testing a doubling
Why: tooth length from 2.9 to 5.8 is a doubling, so direct variation would double the mass from 375 to 750; the real mass is 3195, which is more than eight times as much.
\[ 2 \cdot 375 = 750 \quad \text{but the table says} \quad 3195 \]
That is the proportional-reasoning test from Exercise 37 used in reverse, and it settles the question in one line. There is a reason behind the eightfold growth too: mass grows roughly with the cube of a length, and doubling a length multiplies a cube by eight.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 109 — Guided Practice 6
Error analysis
This is the book's error analysis exercise, and every line of the arithmetic below is correct. The fault is in what was computed, not in how, which makes it a good deal harder to spot than a slip.
Annotate
On: \( 1 \cdot 24 = 24, \; 2 \cdot 12 = 24, \; 3 \cdot 8 = 24, \; 4 \cdot 6 = 24 \)
Figure (svg): Four data points lying on a falling curve, with a straight line through the origin drawn dashed for comparison, beside a table whose ratio column reads 24, 6, 2.67 and 1.5 while its product column reads 24 in every row.
The graph is the clearest refutation. Four points, and there is no line through the origin that comes close to all of them: the dashed line is the best a direct variation could manage and it misses three of the four badly.
Look at the table beside it and you can see exactly how the mistake happened. Two columns are constant-looking to a hurried eye, and only one of them is the column the definition asks about.
The correction to write is therefore about method rather than arithmetic. Test with quotients, not products, and if the products are what turn out to be constant then say so, because that is a genuine finding about a different kind of variation.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 110 — Exercise 35
Estimation
Three download times for three file sizes. Before dividing anything, estimate the constant, because an estimate is what lets you notice a misplaced decimal point in the division that follows.
| file size s (MB) | 4.5 | 7.8 | 16.0 |
|---|---|---|---|
| download time t (s) | 23 | 40 | 82 |
Predict first
Roughly how many seconds does each megabyte take?
Correct: about 5 seconds
Why: Round the last pair to 80 seconds for 16 megabytes and the division is easy: 80 divided by 16 is 5. The middle pair gives 40 for 8, which is 5 again. An answer of about 0.2 is the ratio upside down, and one of about 20 would mean the largest file took more than five minutes.
Rounding to numbers you can divide in your head is a skill worth practising deliberately. Sixteen into eighty is a division you know; sixteen into eighty-two is not, and the two answers differ by a tenth of a second.
The wrong option of about 0.2 is the interesting one, because it is a genuine quantity: it is megabytes per second rather than seconds per megabyte. Both numbers describe the same connection, and only one of them answers the question that was asked.
Having an estimate in hand changes what the division is for. You are no longer finding out roughly what the constant is; you are confirming a number you already expect, which is a much better position to catch a mistake from.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 110 — Exercise 41
Worked example
Now do the divisions properly and decide the verdict. This is the first data set in the lesson where the ratios disagree in the second decimal place, which is exactly the situation the Avoid Errors note was written for.
\[ (4.5, 23), \quad (7.8, 40), \quad (16.0, 82) \]
Divide the time by the size for each of the three files
Why: the ratio of t to s, one division per measurement, kept to three decimal places so the comparison is honest.
\[ \dfrac{23}{4.5} \approx 5.111, \quad \dfrac{40}{7.8} \approx 5.128, \quad \dfrac{82}{16} = 5.125 \]
Compare them: 5.111, 5.128 and 5.125. They differ by less than two hundredths of a second per megabyte, which is far inside the accuracy of any stopwatch that recorded whole seconds.
Write the model with the shared value rounded sensibly
Why: about 5.1 seconds per megabyte, which is all the precision the data supports.
\[ t \approx 5.1s \]
Figure (svg): Three data points of download time against file size lying almost exactly on a line through the origin of slope about 5.1 seconds per megabyte.
On the graph the three points sit so close to the line that you would struggle to see the gaps. That visual closeness is the same information as the agreement of the ratios, and either one is enough to justify the model.
Check the model against the measured times
Why: the model predicts 22.95 seconds for the smallest file against 23 measured, 39.78 against 40, and 81.6 against 82.
\[ 5.1(4.5) = 22.95, \quad 5.1(7.8) = 39.78, \quad 5.1(16) = 81.6 \]
Every prediction is within half a second of the measurement, and all three are slightly low, which suggests the true constant is a shade above 5.1 rather than that the model is wrong.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 110 — Exercise 41
Socratic
You now have three data sets and three different verdicts, so it is a good moment to ask what standard you have actually been applying. Write your own answer before reading the one below.
Discussion prompt
The shark lengths gave ratios of 119, 121, 121, 119, 120 and 120, and you called that direct variation. The shark masses gave 44, 92, 129, 203, 360 and 551, and you did not. Say what feature separated the two cases, and describe a set of ratios you would find genuinely hard to call.
The useful question to ask of a set of ratios is therefore not how big the differences are, but whether they have a direction. Scatter is a sign that your instrument is imperfect; a trend is a sign that your model is.
Graphing is the fastest way to tell the two apart, which is why every data slide in this lesson carries a picture. Scatter puts points either side of the line; a trend puts them all on one side at each end and bends away.
This is also where honesty about a model matters. Direct variation is a description offered as plausible, not a law proved, and the book is careful to say plausible rather than true.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 108 — the Avoid Errors note
Section
Part 5
Concept
This is where the lesson earns its keep. A single measurement of a proportional quantity is enough to build a model, and the model then answers questions about every value you did not measure.
The procedure is the one from Part 2 with real quantities in place of x and y. Name the two quantities, write the variation equation with their letters, substitute the one measurement, and solve for the constant.
\[ d = at \;\Longrightarrow\; a = \dfrac{d}{t} \]
The only genuinely new step is the first one, and it is a step of judgement rather than algebra: deciding that the two quantities are proportional at all. Usually the question tells you so, in the words varies directly.
Once the constant is known, name its units out loud. A constant in a model is always so many of one thing per one of the other, and writing that down turns a bare number into a statement you could defend.
Then read the model in both directions. Given a time, multiply to get a diameter; given a diameter, divide to get a time. Most examination questions ask for one of these, and the best ones ask for both.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 108 — the Solution to Example 2
Intuition
It is worth asking why direct variation turns up as often as it does, rather than treating it as a lucky special case. The answer is that a great many quantities are built by repetition at a fixed rate, and repetition starting from nothing lands you at the origin.
Think about what the origin means in each of this lesson's models. A hailstone that has been forming for no time has no size. A diver already at the surface needs no time to ascend. A roof with no hail on it carries no extra weight. A shift of no hours pays nothing.
\[ t = 0 \;\Longrightarrow\; d = 0 \]
In each case the statement is obviously true, and its being obviously true is exactly what justifies the assumption of direct variation. If the sentence sounds wrong when you say it, the relationship is probably not a direct variation.
Try the test on a case where it fails. A taxi that has driven no distance still charges you the flag fare, so a ride of zero miles costs more than nothing, and the fare cannot vary directly with the distance. The same goes for a phone bill with a monthly charge or a job with a call-out payment.
So the first question to ask of any proposed model is the zero question: if the input were nothing at all, would the output be nothing at all? It takes a second, it needs no data, and it tells you whether the ratio test is even worth running.
Picture it
Hailstones form when strong updrafts hold ice particles high in a cloud and water droplets freeze onto them. The longer the stone stays up there, the more ice it gathers, so time and size are plainly connected.
Figure (svg): Two circles drawn to the same scale: a smaller one measuring three quarters of an inch across after twelve minutes, and a larger one measuring one and a quarter inches across after twenty minutes, with an arrow of eight minutes between them.
The two circles are drawn to the same scale, which is what makes the picture worth looking at. After 12 minutes the stone measures three quarters of an inch across; after 20 minutes it measures an inch and a quarter.
Check the proportion by eye before any algebra. The time has gone up by two thirds, from 12 to 20, and the diameter has gone up by two thirds as well, from 0.75 to 1.25. That is what direct variation looks like when you can see it.
Notice which measurement the diagram gives you: the distance all the way across, which is the diameter, not the distance from the centre to the edge. That distinction will cost somebody an answer two slides from now, so register it while it is easy.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 108 — the hailstone diagram in Example 2
Worked example
Assume the diameter varies directly with the time the stone takes to form. Write an equation for the diameter after t minutes, then predict the diameter after 20 minutes. The measurement you have is 0.75 inches at 12 minutes.
\[ d = at \]
Substitute 0.75 for d and 12 for t
Why: the one measurement you have, put into the variation equation.
\[ 0.75 = a(12) \]
Letters chosen for the quantities rather than x and y, but the equation is the same one from Example 1 and the same single step frees the constant.
Divide each side by 12
Why: because 12 multiplies the constant, and dividing undoes multiplying.
\[ a = \dfrac{0.75}{12} = 0.0625 \]
Say what that number means before using it: the stone grows 0.0625 inches of diameter for every minute it spends in the cloud, which is a sixteenth of an inch a minute.
Write the model
Why: the constant goes in front of t, and the equation now works for any time at all.
\[ d = 0.0625t \]
Substitute 20 for t to make the prediction
Why: the question asks for the diameter after 20 minutes, which is now one multiplication.
\[ d = 0.0625(20) = 1.25 \]
Figure (svg): The line d equals 0.0625 t, with the measured point at twelve minutes and 0.75 inches and the prediction at twenty minutes and 1.25 inches marked, and a dashed path from a diameter of 1.2 inches back to 19.2 minutes.
On the graph the measurement is the yellow point and the prediction is the green one, both on one line through the origin. The line through the origin is the assumption made visible: a stone that has been forming for no time at all has no size.
Check the prediction against the proportion
Why: 20 minutes is five thirds of 12 minutes, so the diameter should be five thirds of 0.75, and five thirds of 0.75 is 1.25 as the model says.
\[ \tfrac{20}{12} = \tfrac53, \qquad \tfrac53(0.75) = 1.25 \;\checkmark \]
That check used Exercise 37 rather than the constant, which makes it a genuinely independent route to the same answer. When two different methods agree, an arithmetic slip in either one would have shown up.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 108 — Example 2
Worked example
A hailstone forming in a cloud has a radius of 0.6 inches. Predict how long it has been forming. Read the question twice before starting, because it does not give you what the model takes.
\[ d = 0.0625t \]
Convert the radius into a diameter
Why: the model is written in terms of the diameter, and a diameter is twice a radius.
\[ d = 2(0.6) = 1.2 \]
That first move is the whole difficulty of the problem. The model has no idea what a radius is; it only knows the number you feed it, so the number has to be the right kind of measurement.
Substitute 1.2 for d in the model
Why: the known quantity now goes on the left, and the unknown is the time.
\[ 1.2 = 0.0625t \]
Divide each side by 0.0625
Why: because 0.0625 multiplies t; this is the model used in reverse.
\[ t = \dfrac{1.2}{0.0625} = 19.2 \]
So the stone has been forming for 19.2 minutes, a little over 19 minutes. Sanity-check it against Example 2: a diameter of 1.2 is slightly less than 1.25, so the time should be slightly less than 20 minutes, and it is.
Check by feeding the time forward through the model
Why: 0.0625 times 19.2 gives 1.2 inches of diameter, which is the 0.6 inch radius you were given.
\[ 0.0625(19.2) = 1.2 \;\Longrightarrow\; \text{radius } 0.6 \;\checkmark \]
Finish the check by converting back to a radius as well as forward through the model. Getting a diameter of 1.2 is only right if you remember that the question was asked in radii.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 109 — Guided Practice 5
Trap
The hailstone question again, answered by someone who read it quickly:
\[ 0.6 = 0.0625t \]
\[ t = 9.6 \text{ minutes} \]
Every step after the first is correct, and 9.6 is exactly what that equation gives. The model was used properly on a number that was not the model's number.
The model is about the diameter, and 0.6 inches was a radius, so the value to substitute is 1.2.
\[ 1.2 = 0.0625t \;\Longrightarrow\; t = 19.2 \]
Notice that the wrong answer is exactly half the right one, which is the signature of a radius-for-diameter slip.
The general habit: before substituting, say out loud what the letter in your model stands for, and check that your number measures that same thing. Units alone will not save you here, because both numbers are in inches.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 109 — Guided Practice 5
Real world
The time a diver takes to ascend safely varies directly with the depth, because coming up too fast is dangerous and the safe rate is fixed. A safe ascent from 45 feet takes a minimum of 0.75 minutes.
Figure (svg): The line t equals d over sixty, with the measured point at forty-five feet and 0.75 minutes and the predicted point at one hundred feet and about 1.67 minutes marked on it.
The graph is drawn from the measurement alone, and the line through the origin encodes something physically sensible: a diver already at the surface needs no time to reach it.
Discussion prompt
Write an equation relating the depth d and the time t, saying what your constant means with its units. Then predict the minimum time for a safe ascent from a depth of 100 feet, and say whether your answer looks reasonable.
The unit conversion in the middle is what makes this model memorable. One sixtieth of a minute per foot is an awkward thing to hold in your head, and one second per foot is not, yet they are the same constant.
Rewriting a constant in friendlier units is worth doing whenever you can, because it turns the model into something you can check mentally. Any answer to this question should come out at roughly as many seconds as the dive was feet deep.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 110 — Exercise 38
Worked example
Hail half an inch deep and weighing 1800 pounds covers a roof, and the weight varies directly with the depth. Write the equation, then predict the weight of hail 1.75 inches deep on the same roof.
\[ w = ad \]
Substitute 1800 for w and 0.5 for d
Why: the one measurement given, with the depth in inches and the weight in pounds.
\[ 1800 = a(0.5) \]
Divide each side by 0.5
Why: dividing by one half is the same as multiplying by 2, which is why the constant comes out larger than the measurement.
\[ a = \dfrac{1800}{0.5} = 3600 \]
Pause on the size of that constant, because it surprises people. It says 3600 pounds of hail per inch of depth, and it is bigger than the weight you were told precisely because the depth you were told was less than one inch.
Write the model and substitute 1.75 for the depth
Why: the question asks for the weight at a depth of 1.75 inches, which is one multiplication.
\[ w = 3600d, \qquad w = 3600(1.75) = 6300 \]
Six thousand three hundred pounds is over three tons of ice sitting on a roof, which is why this is a question worth being able to answer rather than an arbitrary exercise.
Check by proportion instead of by constant
Why: 1.75 inches is three and a half times 0.5 inches, so the weight should be three and a half times 1800, and three and a half times 1800 is 6300.
\[ \tfrac{1.75}{0.5} = 3.5, \qquad 3.5(1800) = 6300 \;\checkmark \]
Notice how much easier the proportional route was here. When the two depths are simple multiples of each other, comparing them directly beats finding the constant, and the answers must agree either way.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 110 — Exercise 39
Matching
Four models from this lesson, and four constants. Match them on the units rather than the numbers, because the units are what tell you which quantity is being divided by which.
Match the pairs
Why: The units of a constant of variation are always the units of the output divided by the units of the input, so reading them backwards tells you what the model does. Inches per minute turns a time into a length, minutes per foot turns a depth into a time, and pounds per inch turns a depth into a weight. The shark constant is the only one whose two units are the same, which is why it is a bare number in the book.
The shark constant is the one worth dwelling on. Both quantities are lengths in centimetres, so the units cancel and the constant is dimensionless, which is a fancy way of saying a shark is about 120 times as long as its tooth.
The two constants involving time point in opposite directions, and that is a distinction worth being deliberate about. The hailstone model turns a time into a length; the diving model turns a length into a time.
Whenever you finish building a model, write the units of the constant down beside it. It costs a second and it makes the wrong-way-round error from Part 2 almost impossible to commit.
Worked example
Your weight on Mars varies directly with your weight on Earth, because both are the same mass pulled by a different planet. Somebody weighing 116 pounds on Earth would weigh 44 pounds on Mars.
\[ M = aE \]
Substitute 44 for M and 116 for E
Why: Mars is the output here and Earth the input, in the order the letters appear in the equation.
\[ 44 = a(116) \]
Divide each side by 116 and reduce the fraction
Why: both 44 and 116 are divisible by 4, which turns an ugly fraction into a usable one.
\[ a = \dfrac{44}{116} = \dfrac{11}{29} \]
Eleven twenty-ninths is about 0.379, so everything weighs a little over a third of its Earth weight on Mars. Holding that rough figure in mind is what stops you from writing the fraction upside down.
Write the equation
Why: the constant multiplies the Earth weight to give the Mars weight.
\[ M = \tfrac{11}{29}E \]
Figure (svg): The line M equals eleven twenty-ninths E, with the point at one hundred and sixteen pounds on Earth and forty-four pounds on Mars marked by dashed guide lines.
The graph shows why the wrong version is tempting. The correct line is shallow, because Mars weights are the smaller numbers; the upside-down version would be steep, and its predictions would be heavier on Mars than on Earth.
The book offers twenty-nine elevenths as one of its alternatives, and it fails immediately: it would predict a Mars weight of 306 pounds for a 116 pound person.
Check the given pair in the equation
Why: eleven twenty-ninths of 116 is eleven times 4, because 116 divided by 29 is 4, and eleven times 4 is 44.
\[ \tfrac{11}{29}(116) = 11(4) = 44 \;\checkmark \]
The cancellation there is not a coincidence. The denominator of a reduced constant always divides the input it came from, which is what makes checking one of these so quick.
McDougal Littell Algebra 2 (Texas Edition), Ch. 2 Linear Equations and Functions — Lesson 2.5 Model Direct Variation §2.5, p. 110 — Exercise 40
Edge cases
Every model in this part was built from one measurement and an assumption, and an assumption is a thing that can fail. Deciding where a model stops being trustworthy is as much a part of using it as the arithmetic.
\[ d = 0.0625t \]
Discussion prompt
The hailstone model says the diameter keeps growing at a sixteenth of an inch a minute. Say what it predicts after two hours, and why that prediction should not be believed. Then explain which of these vary directly with the scale factor when a photograph is enlarged: the width, the perimeter, the area and the diagonal.
Those two halves of the question are the same warning twice. A proportional model holds while the mechanism behind it holds, and it fails when something changes, whether that is a hailstone getting too heavy or a length becoming an area.
The area case is the one that catches people in examinations, and the shark masses earlier in the lesson were the same phenomenon in three dimensions. Lengths scale directly; areas and volumes do not.
So the honest way to report a model is with its range attached. The hailstone equation is a good description between about 10 and 25 minutes, which is where the measurements came from, and a guess outside that.
OpenStax Algebra and Trigonometry 2e, §5.8 Modeling Using Variation §5.8 — the same caution about the range over which a variation model is used
Section
Part 6
Pattern
Every question in this lesson is one of three, and they are told apart by what you are given rather than by what is asked. Read the list once before the checks, and notice that the middle step is always the same division.
The graph is the single best summary of all four cases. A direct variation is a straight line through the origin, so if you can see the graph you already know the verdict, and if you cannot then the ratio test is the graph done with arithmetic.
One warning to carry into the checks. The commonest error in this topic is not an arithmetic slip; it is answering a question about form with evidence about a single point, or answering a question about ratios with evidence about products.
Check
Solve each one for y in your head, or substitute zero for x, and look for anything left over when x is gone. Only one of these four can survive that.
Check your understanding
Which equation represents direct variation?
Answer: B
Why: Solving the winning equation gives y equals five halves x, with no constant term, so its graph passes through the origin and its constant of variation is five halves. Every other option keeps a number after x has been removed, which pushes its graph off the origin.
The equation with the 7 in it is the one to watch. Dividing 7 by 3 makes the constant term look less like a constant term, and that cosmetic change is enough to fool a quick reading.
The winning equation is the only one written with both variables on the same side, which is a shape worth recognising. An equation of the form a number times y minus another number times x equals zero is always a direct variation, because zero on the right is what guarantees the origin is a solution.
Confirm the winner with a pair. At x equal to 2 it gives two y equal to 10, so y is 5, and the ratio of 5 to 2 is five halves, matching the constant. Try the same at x equal to 4 and you get 10 over 4, which is five halves again.
If you used the zero substitution rather than rearranging, check that you applied it to the original form and not to a half-rearranged one. Zero for x in the winning equation gives two y equal to zero, so y is zero, which is the origin.
Check
Three pairs, and the ratio test is the only thing that settles it. Compute all three ratios before you look at the options, because two of them agree and the third is the whole question.
Check your understanding
The pairs (2, 5), (4, 10) and (6, 16) come from a set of measurements. Does y vary directly with x?
Answer: C
Why: Dividing gives 5 over 2 equal to 2.5, then 10 over 4 equal to 2.5, then 16 over 6 which is about 2.67. The first two agree and the third does not, so no single multiplier fits all three pairs and the data does not show direct variation.
The option that blames a graph which is not a straight line is worth separating out carefully. Its verdict is right and its reason is wrong: a relationship can be beautifully linear and still not be a direct variation, which is the trap from Part 1 returning in a data costume.
Here the failure is small in size and the ratios differ by less than a fifth, so you might reasonably ask whether this is measurement scatter. It is not, because the third ratio is the largest and there are only three points: with a trend this short, the honest answer is that the data does not support the model.
Notice the shape of the tempting wrong answer. It is built from the two pairs that agree and ignores the one that does not, which is exactly the habit the six-table sorting slide was designed to break.
If you want the verdict in one line, use the proportional test instead. Tripling x from 2 to 6 should triple y from 5 to 15, and the measured value is 16.
Check
The diving model from Part 5, with the numbers reused. Build the constant first, then substitute, and keep an eye on which way round the division goes.
Check your understanding
A diver's minimum safe ascent time varies directly with the depth, and an ascent from 45 feet takes 0.75 minutes. What is the minimum time from 100 feet?
Answer: A
Why: The constant is 0.75 divided by 45, which is one sixtieth of a minute per foot, or one second per foot. A hundred feet therefore takes a hundred seconds, which is 100 divided by 60, about 1.67 minutes.
The wrong answer worth the most attention is the very large one. It comes from using a measurement as though it were a constant, and it is the same mistake as calling 0.75 the number of minutes per foot when it is the number of minutes for 45 feet.
A rough check catches three of the four instantly. The dive is a bit more than twice as deep as the measured one, so the answer should be a bit more than twice 0.75, which is a bit over 1.5 minutes. Only one option is anywhere near.
The 2.22 option is the most honest mistake on the list: the reasoning was right and the work stopped one step early. Finding the factor by which the input grew is genuine progress, and it still has to be applied to the output.
Work out the constant in friendly units if you can. One second per foot makes this question mental arithmetic, and it makes an answer of 75 minutes obviously absurd.
Explain it to yourself
One word has been carrying this whole lesson, and explaining it in your own sentences is what fixes it. Write your answer before reading the one below, and try to use the word origin and the word ratio in it.
Discussion prompt
In three or four sentences, explain to someone who has just met lines what the word direct adds to the word variation. Use one equation that is a direct variation and one that is not, and say what the ratio of y to x does in each case. Then say which single point on a graph you would look at first.
If your explanation leaned mostly on the phrase no constant term, try writing it again with the word ratio doing the work instead. Both descriptions are correct, but the ratio one is the one that lets you test data, and data is where this idea earns its living.
A good test of your own understanding is whether you can explain the sharks and the hailstone as the same problem. Both take a single constant and a single measurement and turn them into predictions, and the only difference is which quantities the letters name.
Try the explanation on a relationship from your own life as well. Anything sold by the unit, at a fixed price with no delivery charge, is a direct variation, and the moment a delivery charge is added it stops being one.
Exit ticket
One question that uses all three habits: find the constant in the right order, check it against a second pair, and say what the constant means.
| time t (hours) | 2 | 5 | 8 |
|---|---|---|---|
| pay p (dollars) | 31 | 77.50 | 124 |
Discussion prompt
Decide whether pay varies directly with time for these three shifts. If it does, give the equation and say what the constant means with its units. Then find the pay for a shift of 6.5 hours, and name one thing that would have to be true of the job for this model to keep working.
The data here is exact rather than approximate, which is the giveaway that it came from a rule rather than a measurement. Money paid by the hour is calculated, not measured, so the ratios agree to the penny.
The last part of the question is the one worth most. A flag payment for turning up, or a higher rate after eight hours, would both break the proportionality, and both are entirely normal features of real jobs.
If you reached for the ratio of time to pay instead, the arithmetic would have given about 0.0645 hours per dollar. That is a real quantity too, and it answers a different question: how long you have to work to earn a dollar.
Finish by looking at the graph in your head. A line through the origin with a slope of 15.5 is steep, and the three shifts sit along it at 2, 5 and 8 hours, with the six and a half hour shift between the last two, which is where an answer just over a hundred dollars belongs.
Recap
One sentence holds the lesson: direct variation is the line through the origin, and the ratio of the two quantities is the constant that names it. Everything in the table below is that sentence applied to a different starting point.
| what you are given | what you do | example from this lesson |
|---|---|---|
| an equation | solve for y and look for a constant term | 2y − 5x = 0 is direct variation, y = 2x + 3 is not |
| one ordered pair | divide y by x, in that order | (−4, 8) gives y = −2x |
| a table of data | divide y by x for every pair | six sharks give b = 120t |
| one measurement | divide, then state the units | 0.75 in. at 12 min. gives d = 0.0625t |
\[ y = ax \quad \text{and} \quad \dfrac{y}{x} = a, \qquad a \ne 0 \]
Those two lines are the same fact facing in two directions. The left-hand form builds values and draws graphs; the right-hand form tests data and finds constants. Moving between them is one multiplication.
The trap to keep guarding against is the one from Part 1. Direct variation is a special kind of linear relationship, not a synonym for it, and the test is whether anything is added once y stands alone.
The habit to keep is finishing with a check. Substitute your pair back into your equation, or compare two pairs by proportion, and glance at whether the sign of your constant agrees with the quadrant your data sits in.
Lesson 8.1 will take this idea and turn it over. There y equals a divided by x, the product stays constant instead of the ratio, the graph is a curve rather than a line, and an input of zero causes trouble that direct variation never has. Exercise 35 in this lesson was your first sight of it.
OpenStax Algebra and Trigonometry 2e, §5.8 Modeling Using Variation §5.8 — the same two forms, called direct proportion and the constant of proportionality
Want this taught 1-on-1? Alexander tutors Algebra 2 — $55/session, free consultation.