Direct Variation Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Direct Variation.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

A proportional relationship y=kxy = kx that always passes through the origin โ€” when one quantity doubles, so does the other.

Distance varies directly with time at constant speed: d=60td = 60t.

Read the full concept explanation โ†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: In direct variation y=kxy=kx, zero input gives zero output and the two quantities scale together by a fixed factor.

Common stuck point: The procedure for direct variation is the easy part; the trap is calling any straight line direct variation. Asking "When x=0x=0 is y=0y=0, and does doubling xx double yy?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: When x=0x=0 is y=0y=0, and does doubling xx double yy?

Worked Examples

Example 1

easy
yy varies directly with xx, and y=18y = 18 when x=3x = 3. Find the constant kk and write the direct variation equation.

Answer

k=6k = 6; y=6xy = 6x

First step

1
Direct variation: y=kxy = kx.

Full solution

  1. 2
    Find kk: k=y/x=18/3=6k = y/x = 18/3 = 6.
  2. 3
    Equation: y=6xy = 6x.
  3. 4
    Check: when x=3x=3, y=6ร—3=18y = 6 \times 3 = 18 โœ“
In direct variation y=kxy = kx, kk is found by dividing yy by xx. Here k=18/3=6k = 18/3 = 6.

Example 2

medium
The cost of fabric varies directly with length. 5 meters costs \$35. How much do 8 meters cost? Set up a proportion.

Example 3

medium
Sarah's pay is a direct variation of hours worked: \$45 for 3 hours. How much does she earn in 11 hours?

Example 4

medium
Convert 60 miles per hour to a direct variation d=ktd = kt in miles for time tt in hours.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
If y=kxy = kx and y=24y = 24 when x=4x = 4, find yy when x=7x = 7.

Example 2

medium
A machine produces 150 units in 5 hours. Assuming direct variation, how many units in 9 hours?

Example 3

easy
Is y=7xy = 7x a direct variation?

Example 4

easy
Is y=3x+1y = 3x + 1 a direct variation?

Example 5

easy
In the direct variation y=kxy = kx with k=6k = 6, find yy when x=3x = 3.

Example 6

easy
In a direct variation, y=20y = 20 when x=4x = 4. Find kk.

Example 7

easy
Does y=kxy = kx always pass through (0,0)(0,0)?

Example 8

easy
Distance varies directly with time: d=60td = 60t. Find dd at t=4t = 4.

Example 9

easy
If x=0x = 0 gives y=3y = 3, can the relation be a direct variation?

Example 10

easy
Write the direct variation where yy is always 44 times xx.

Example 11

medium
A table (x,y)=(2,10),(4,20),(6,30)(x,y) = (2,10),(4,20),(6,30). Is it a direct variation? Give kk.

Example 12

medium
A table (x,y)=(1,4),(2,7),(3,10)(x,y) = (1,4),(2,7),(3,10). Is it a direct variation?

Example 13

medium
If yy varies directly with xx and y=15y = 15 when x=5x = 5, find yy when x=8x = 8.

Example 14

medium
Which is a direct variation: (A) y=x2y = \frac{x}{2} or (B) y=x2+1y = \frac{x}{2} + 1?

Example 15

medium
The cost of gas varies directly with gallons: $12\$12 for 44 gallons. Find the cost for 99 gallons.

Example 16

medium
In a direct variation, when xx triples, what happens to yy?

Example 17

medium
A line passes through (0,0)(0,0) and (6,9)(6, 9). Write it as a direct variation.

Example 18

challenge
A relation has (x,y)=(3,12)(x,y) = (3,12) and (7,28)(7, 28). Decide if it is a direct variation and justify with kk.

Example 19

challenge
Two boxes of nails weigh proportionally. If 55 boxes weigh WW and 88 boxes weigh W+9W + 9 kg, find the weight of one box.

Example 20

challenge
Explain why all direct variations are linear but not all linear relationships are direct variations.

Example 21

medium
If yy varies directly with xx and y=9y = 9 when x=6x = 6, find xx when y=21y = 21.

Example 22

medium
Wages vary directly with hours: $54\$54 for 66 hours. How many hours earn $90\$90?

Example 23

easy
Is y=โˆ’2xy = -2x a direct variation?

Example 24

easy
If yy varies directly with xx and y=50y = 50 when x=10x = 10, find yy when x=25x = 25.

Example 25

easy
An apple costs the same amount each. 4 apples cost $3. Write a direct variation for cost cc in terms of number of apples nn.

Example 26

easy
Is y=0y = 0 a direct variation?

Example 27

easy
A line y=kxy = kx passes through (2,โˆ’8)(2, -8). Find kk.

Example 28

medium
If yy varies directly with xx and yy becomes 4 times as large, what happens to xx?

Example 29

medium
Convert: 2 dozen eggs cost \$7.20. Find the direct variation cost per egg.

Example 30

medium
A graph of yy vs xx shows a straight line through (0,0)(0, 0) and (5,12)(5, 12). Write the direct variation.

Example 31

medium
yy varies directly with xx. When x=12x = 12, y=30y = 30. Find xx when y=75y = 75.

Example 32

medium
A spring obeys Hooke's law: stretch is directly proportional to force. A 4 N force stretches it 6 cm. How far does a 10 N force stretch it?

Example 33

medium
Decide whether each describes a direct variation: (i) perimeter of a square vs side length, (ii) area of a square vs side length.

Example 34

medium
If y=kxy = kx and changing xx from 4 to 7 changes yy from 12 to 21, verify the direct variation.

Example 35

medium
Is the relationship modeled by y=2x2y = 2x^2 a direct variation?

Example 36

hard
A direct variation passes through (8,14)(8, 14). Find yy when x=โˆ’6x = -6.

Example 37

hard
A graph of yy vs xx has slope 4 but passes through (0,3)(0, 3). Is this a direct variation? Why?

Example 38

hard
Two direct variations y=k1xy = k_1 x and z=k2xz = k_2 x share the same input. If k1=4k_1 = 4 and k2=โˆ’7k_2 = -7, what direct variation relates yy and zz?

Example 39

hard
If yy varies directly with xx and the ordered pair (a,18)(a, 18) is on the graph y=2xy = 2x, find aa.

Example 40

hard
Quantity yy doubles each time xx doubles. Is this a direct variation? Why or why not?

Example 41

hard
yy varies directly with xx. Given y=12y = 12 when x=8x = 8, find the equation and use it to compute yy when x=50x = 50.

Example 42

challenge
Three jars of jam cost \$11.40. Use direct variation to find the cost of 17 jars.

Example 43

challenge
yy varies directly with xx, and yy varies directly with zz. If y=12y = 12 when x=4x = 4 and y=20y = 20 when z=5z = 5, write yy explicitly as a function of xx and zz separately. Then determine the relationship between xx and zz when y=60y = 60.

Background Knowledge

These ideas may be useful before you work through the harder examples.

proportionalitylinear relationship