Variation

Algebra 2Module 9: Rational FunctionsProblem-Solving and Data Analysis

Learn variation step by step with worked examples you can follow. Then practise with 37 instant-feedback questions. Free Algebra 2 lesson from Mr Ahmed Hamouda.

Recognize direct, joint, inverse, and combined variation, find the constant of variation, and use a proportion to solve for a missing value.

Core Concepts

What "varies" actually means

A variation equation says that two or more quantities are locked together by one fixed number. That fixed number is the constant of variation, written k. Nothing else is allowed in the equation — no + 3, no − 7. The only question in this lesson is where the variables sit: multiplied by k (directly), or divided into k (inversely).

direct variation — y = kx. As x grows, y grows by the same factor.
constant of variation — the nonzero constant k in a variation equation.
joint variation — y = kxz. One quantity varies directly as the product of two or more others.
inverse variation — xy = k, or y = k/x. As x grows, y shrinks.
combined variation — y = kx/z. One quantity varies directly and/or inversely as two or more others.
proportional — another way of saying "varies directly as."

Direct variation

Two quantities x and y are related by a direct variation if y is equal to a constant k times x.

Key Concept · Direct Variation
Words: y varies directly as x if there is some nonzero constant k such that y = kx.
Symbols: y = kx,  k ≠ 0

The graph of a direct variation function such as f(x) = 4x is a line through the origin. A direct variation is just the special case of slope-intercept form y = mx + b in which m = k and b = 0 — so the slope of a direct variation equation is its constant of variation. It passes through the origin because substituting x = 0 forces y = k(0) = 0.

y = kx  →  k = y/x   (the ratio y : x never changes)
Proportion for two sets of values:   y1/x1 = y2/x2

Joint variation

Joint variation occurs when one quantity varies directly as the product of two or more other quantities. It is still "direct" — there are simply more factors riding along with k.

Key Concept · Joint Variation
Words: y varies jointly as x and z if there is some nonzero constant k such that y = kxz.
Symbols: y = kxz,  k ≠ 0
y = kxz  →  k = y/(xz)
Proportion:   y1/(x1z1) = y2/(x2z2)
Think about it: if y varies jointly as x and z and y = 0, then kxz = 0. Since k ≠ 0, at least one of x or z must be 0.

Inverse variation

Two quantities x and y are related by an inverse variation if their product is equal to a constant k. Bigger x forces smaller y, because the product has to stay the same.

Key Concept · Inverse Variation
Words: y varies inversely as x if there is some nonzero constant k such that xy = k or y = k/x, where x ≠ 0 and y ≠ 0.
Example: If xy = 8 and x = 12, then y = 8/12 or 2/3.

When k is positive, one quantity increases while the other decreases. Because the two products must match, x1y1 = x2y2, which can be rearranged into the proportion below.

xy = k  →  y = k/x
Proportion:   x1/y2 = x2/y1   (same as x1y1 = x2y2)
Study Tip · Proportions: several different proportions can be used to solve an inverse variation problem with the same result. What matters is that the two products x1y1 and x2y2 end up equal.

Combined variation

Combined variation occurs when one quantity varies directly and/or inversely as two or more other quantities. Everything the quantity varies directly as goes in the numerator with k; everything it varies inversely as goes in the denominator.

"y varies directly as x and inversely as z"  →  y = kx/z
Solve for k:   k = yz/x
Proportion:   y1z1/x1 = y2z2/x2

The derivation is worth seeing once: if y1 = kx1/z1 and y2 = kx2/z2, then solving each for k gives y1z1/x1 = k and y2z2/x2 = k. Two things equal to the same k are equal to each other.

The four types side by side

Direct — y varies directly as x

y = kx
k = y/x
graph: line through origin
x doubles → y doubles

Joint — y varies jointly as x and z

y = kxz
k = y/(xz)
direct in two factors at once
x doubles → y doubles

Inverse — y varies inversely as x

xy = k, so y = k/x
k = xy
graph: hyperbola, never touches an axis
x doubles → y is halved

Combined — y directly as x, inversely as z

y = kx/z
k = yz/x
numerator = direct, denominator = inverse
x doubles → y doubles; z doubles → y halves

The one procedure that solves every problem

Translate the sentence into an equation containing k. Direct/joint factors go on top with k; inverse factors go on the bottom.
Substitute the complete set of values you were given (the set where you know every variable).
Solve for k. This is the constant of variation and it never changes for the rest of the problem.
Rewrite the equation using that value of k.
Substitute the second set of values and solve for the unknown.
Check: for direct variation both ratios y/x must match; for inverse variation both products xy must match.
Study Tip · Subscripts: when writing the initial proportion, use subscripts with the variables (x1, y1, x2, y2). This will help you substitute the correct value for each of the variables.
1
The constant of variation is a ratio in direct variation and a product in inverse variation. In y = kx the quotient y/x equals k for every point. In y = k/x the product xy equals k for every point. Compute both from any given pair — whichever one comes out the same twice tells you the type of variation.
2
k must be nonzero. In an inverse variation neither x nor y may be 0 either, since xy = k ≠ 0. A direct or joint variation, however, is perfectly happy at the origin.
3
Every direct variation graph passes through (0, 0) and has slope k. Every inverse variation graph is a hyperbola with the x-axis and y-axis as asymptotes — it approaches them forever and never reaches them.
Watch Out!
  • y = 3x + 5 is not a direct variation. The + 5 pushes the line off the origin.
  • "Varies inversely" means xy = k, not y/x = k. Multiply, do not divide.
  • In an inverse proportion the subscripts cross: x1/y2 = x2/y1. Writing x1/y1 = x2/y2 is a direct variation and is the single most common error in this lesson.
  • Joint variation is y = kxz, not y = kx + kz.

Key Figures

The fastest way to tell direct from inverse variation is to look at the picture. Click a chip under each graph to isolate one part of it.

Direct Variation — y = 2x
−4 −2 2 4 4 2 −2 −4 x y y = 2x (0, 0) (1, 2) (2, 4) (−1, −2) y/x = 2/1 = 4/2 = 2 so k = 2
A direct variation is a straight line through the origin whose slope is the constant of variation. Every point on it satisfies y ÷ x = 2.
Inverse Variation — y = 4/x
−4 −2 2 4 4 2 −2 −4 x y asymptote x = 0 asymptote y = 0 y = 4/x (1, 4) (2, 2) (4, 1) (−1, −4) xy = 1·4 = 2·2 = 4·1 = 4 so k = 4
An inverse variation is a hyperbola. The curve above was plotted from 21 evaluated points (x = 0.8, 0.9, 1, 1.1, 1.2, 1.4, …, 5). It never crosses either axis, because x = 0 and y = 0 would make the product xy equal 0 instead of 4.
FeatureDirect: y = 2xInverse: y = 4/x
Shapestraight linehyperbola (two branches)
Passes through (0, 0)?yes, alwaysnever
Constant of variationk = y/xk = xy
x is multiplied by 3y is multiplied by 3y is divided by 3
Asymptotesnonex = 0 and y = 0

Move It Yourself

Worked Examples

If y varies directly as x and y = −3 when x = 24, find y when x = −16.

Use a proportion that relates the values.

1y1/x1 = y2/x2Direct variation
2−3/24 = y2/(−16)y1 = −3, x1 = 24, x2 = −16
3−16(−3/24) = −16(y2/−16)Multiply each side by −16
42 = y2Simplify
y = 2
Check: k = y/x = −3/24 = −1/8. Then y = (−1/8)(−16) = 2 ✓ — and the ratio 2/(−16) = −1/8 matches. ✓
Your turn (Check): If y varies directly as x and y = −9 when x = 6, find y when x = −7.  →  k = −3/2, so y2 = 10.5.
Suppose y varies jointly as x and z. Find y when x = 4 and z = −3, if y = −15 when x = −6 and z = 1.
1y1/(x1z1) = y2/(x2z2)Joint variation
2y1/[4(−3)] = −15/[−6(1)]x1 = 4, z1 = −3, y2 = −15, x2 = −6, z2 = 1
3y1/(−12) = −15/(−6)Simplify
4−12(y1/−12) = −12(−15/−6)Multiply by the LCD, −12
5y1 = −12(2.5) = −30Simplify
y = −30
Check: from the known set, k = y/(xz) = −15/[(−6)(1)] = 2.5. Then y = 2.5(4)(−3) = −30 ✓
Your turn (Check): Suppose y varies jointly as x and z. Find y when x = −4 and z = −5, if y = −135 when x = 5 and z = −9.  →  k = 3, so y = 60.
If m varies inversely as n, and m = −4 when n = 6, find m when n = −10.
1m1/n2 = m2/n1Inverse variation — note the crossed subscripts
2−4/(−10) = m2/6m1 = −4, n1 = 6, n2 = −10
36(−4/−10) = 6(m2/6)Multiply each side by 6
42.4 = m2Simplify
m = 2.4
Check: k = mn = (−4)(6) = −24. Then m = −24/(−10) = 2.4 ✓ and the new product (2.4)(−10) = −24 matches. ✓
The trap in this problem: if you had written −4/6 = m2/(−10) you would be treating this as a direct variation and would get m2 = 20/3. In an inverse proportion the subscripts must cross.
Your turn (Check): If y varies inversely as x, and x = −3 when y = 3, find y when x = 18.  →  k = −9, so y = −0.5.
Suppose a varies directly as b, and a varies inversely as c. Find b when a = 6 and c = 28, if b = 7 when a = −49 and c = 3.
1a1 = kb1/c1 and a2 = kb2/c2b varies directly as a, so b is in the numerator; c varies inversely as a, so c is in the denominator
2k = a1c1/b1 and k = a2c2/b2Solve for k
3a1c1/b1 = a2c2/b2Substitute for k
46(28)/b1 = −49(3)/7a1 = 6, c1 = 28, a2 = −49, b2 = 7, c2 = 3
5168/b1 = −147/7Simplify
67b1(168/b1) = 7b1(−147/7)Multiply by the LCD, 7b1
71176 = −147b1Simplify
8b1 = −8Divide each side by −147
When a = 6 and c = 28, the value of b is −8.
Check: k = ac/b = (−49)(3)/7 = −21. Then b = ac/k = 6(28)/(−21) = 168/(−21) = −8 ✓
Your turn (Check): Suppose m varies directly as n, and m varies inversely as p. Find m when n = 20 and p = 25, if m = −4/3 when n = 6 and p = 9.  →  k = mp/n = −2, so m = −2(20)/25 = −1.6.
x varies jointly with p and f, and inversely with r. Find x2 when p2 = 70, f2 = 34, r2 = 23, given x1 = 17.1 when p1 = 70, f1 = 50, r1 = 16.
1x1 = kp1f1/r1 and x2 = kp2f2/r2x varies jointly as p and f and inversely as r
2k = x1r1/(p1f1) and k = x2r2/(p2f2)Solve for k
3x1r1/(p1f1) = x2r2/(p2f2)Substitute
417.1(16)/[70(50)] = x2(23)/[70(34)]Substitute all six known values
5273.6/3500 = 23x2/2380Simplify
659,500(273.6/3500) = 59,500(23x2/2380)Multiply by the LCD, 59,500
74651.2 = 575x2Simplify
8x2 ≈ 8.1Divide each side by 575
x2 ≈ 8.09
Check: k = 273.6/3500 ≈ 0.0782. Then x2 = 0.0782(70)(34)/23 ≈ 8.09 ✓
Watch Out! With four variables it is easy to drop one. Build the fraction first — direct factors upstairs, inverse factors downstairs — and only then substitute numbers.

Try It Yourself

Practice 1 · Direct

If y varies directly as x, and y = 35 when x = 7, find y when x = 11.
1k = y/x = 35/7 = 5Find the constant of variation
2y = 5xRewrite the equation
3y = 5(11) = 55Substitute x = 11
y = 55

Practice 2 · Inverse

If f varies inversely as g, and f = −12 when g = 19, find f when g = −6.
1k = fg = (−12)(19) = −228In inverse variation k is the product
2f = −228/gRewrite the equation
3f = −228/(−6) = 38Substitute g = −6
f = 38
Check: (38)(−6) = −228 ✓ same product.

Practice 3 · Joint

If a varies jointly as b and c, and a = −96 when b = 3 and c = −8, find a when b = 4 and c = −3.
1k = a/(bc) = −96/[3(−8)] = −96/(−24) = 4Solve for k
2a = 4bcRewrite the equation
3a = 4(4)(−3) = −48Substitute b = 4, c = −3
a = −48

Practice 4 · Combined

Suppose a varies directly as b and inversely as c. Find b when a = 2.5 and c = 18, if b = 6 when c = 4 and a = 96.
1a = kb/c → k = ac/bWrite the model, solve for k
2k = 96(4)/6 = 384/6 = 64Use the complete set of values
3b = ac/k = 2.5(18)/64Solve the model for b
4b = 45/64 ≈ 0.703Simplify
b = 45/64 ≈ 0.703

Practice 5 · Name the type and the constant

State whether each equation represents a direct, joint, inverse, or combined variation for the given variable, then name the constant of variation: (a) rw = 15; r   (b) y = 2rgt; y   (c) 10 = xy²/z; x   (d) c = 7/d; c
1rw = 15 → r = 15/w(a) inverse variation, k = 15
2y = 2rgt(b) joint variation in r, g, t; k = 2
310 = xy²/z → x = 10z/y²(c) combined variation; k = 10
4c = 7/d(d) inverse variation, k = 7
(a) inverse, k = 15  ·  (b) joint, k = 2  ·  (c) combined, k = 10  ·  (d) inverse, k = 7

Practice 6 · Read a table

Determine whether each relation shows direct variation, inverse variation, or neither.
(a) (4, 12), (8, 24), (16, 48), (32, 96)    (b) (8, 2), (4, 4), (−2, −8), (−8, −2)    (c) (2, 4), (3, 9), (4, 16), (5, 25)
1(a) y/x = 3, 3, 3, 3Constant ratio → direct variation, k = 3
2(b) xy = 16, 16, 16, 16Constant product → inverse variation, k = 16
3(c) y/x = 2, 3, 4, 5 and xy = 8, 27, 64, 125Neither is constant
(a) direct, k = 3  ·  (b) inverse, k = 16  ·  (c) neither (it is y = x²)

Summary

SituationWhat to doResult
"y varies directly as x"Write y = kx; k = y/xy1/x1 = y2/x2
"y is proportional to x"Same as direct variationy = kx
"y varies jointly as x and z"Write y = kxz; k = y/(xz)y1/(x1z1) = y2/(x2z2)
"y varies inversely as x"Write xy = k; k = xyx1/y2 = x2/y1
"y varies directly as x, inversely as z"Write y = kx/z; k = yz/xy1z1/x1 = y2z2/x2
"y is inversely proportional to the square of d"Square goes in the denominatory = k/d²
Given a table of pairsTest y/x, then test xyconstant ratio = direct; constant product = inverse
Given an equation, name the type for a variableSolve for that variable firstWhatever remains with it in the numerator is direct/joint; in the denominator is inverse
y = kx k = y/x y₁/x₁ = y₂/x₂ y = kxz k = y/(xz) xy = k y = k/x x₁y₁ = x₂y₂ x₁/y₂ = x₂/y₁ y = kx/z k = yz/x y = k/x²
Common mistakes to avoid
  • Calling y = kx + b a direct variation. Only b = 0 qualifies.
  • Using the direct proportion x1/y1 = x2/y2 on an inverse variation problem.
  • Naming the wrong constant: in y = 2rgt the constant is 2, not 2rg.
  • Forgetting to solve for the requested variable before naming the type. In rw = 15, r varies inversely as w even though no fraction is visible.
  • Letting a value be 0 in an inverse variation. Since xy = k ≠ 0, neither x nor y can be 0.
  • Substituting the incomplete set of values when solving for k. Always use the set where every variable is known.

Practice Quiz

15 questions · click an answer to check it instantly

0/15

๐Ÿ“ Test your understanding