Skip to the page
Home Campus
Start free

Equations and Graphs of Direct Proportion

Writing a direct proportion as the equation y=kxy = kx, finding kk from one pair of values, drawing and reading the graph, and deciding from an equation or a graph whether two quantities are directly proportional.

Before you start

  • Lesson 6.1: yy is directly proportional to xx (y∝xy \propto x) when yx\frac{y}{x} is the same for every pair of values. That value is the constant of proportionality, kk.
  • Chapter 2: the gradient of a straight line is riserun\frac{\text{rise}}{\text{run}}, and the line y=mx+cy = mx + c has gradient mm and meets the yy-axis at (0,c)(0, c).

The Equation y = kx

If yx=k\frac{y}{x} = k for every pair of values, then multiplying both sides by xx gives y=kxy = kx. So a direct proportion can be written as an equation.

The equation of a direct proportion

If y∝xy \propto x, then y=kxy = kx, where kk is a constant and k≠0k \neq 0.

kk is the constant of proportionality: k=yxk = \frac{y}{x} for any pair of values. In this chapter kk is always positive.

To find kk, one pair of values is enough, because the question tells you that y∝xy \propto x.

Example 1: Finding the equation, then values both ways

yy is directly proportional to xx, and y=12y = 12 when x=4x = 4. Find
(a) an equation connecting xx and yy,
(b) the value of yy when x=8x = 8,
(c) the value of xx when y=21y = 21.

Solution

(a) Since y∝xy \propto x, y=kxy = kx. Put in x=4x = 4 and y=12y = 12: 12=k×412 = k \times 4, so k=124=3k = \frac{12}{4} = 3. The equation is y=3xy = 3x.

(b) When x=8x = 8: y=3×8=24y = 3 \times 8 = 24.

(c) When y=21y = 21: 21=3x21 = 3x, so x=213=7x = \frac{21}{3} = 7.

Check (c): 217=3=k\frac{21}{7} = 3 = k.

(a) y=3xy = 3x (b) y=24y = 24 (c) x=7x = 7

Example 2: k as a decimal or a fraction

(a) y∝xy \propto x, and y=15y = 15 when x=6x = 6. Find yy when x=9x = 9.
(b) y∝xy \propto x, and y=4y = 4 when x=10x = 10. Find xx when y=6y = 6.

Solution

(a) 15=6k15 = 6k, so k=156=2.5k = \frac{15}{6} = 2.5 and y=2.5xy = 2.5x. When x=9x = 9: y=2.5×9=22.5y = 2.5 \times 9 = 22.5.

(b) 4=10k4 = 10k, so k=410=25k = \frac{4}{10} = \frac{2}{5} and y=25xy = \frac{2}{5}x (or y=0.4xy = 0.4x).

When y=6y = 6: 6=25x6 = \frac{2}{5}x, so x=6×52=15x = 6 \times \frac{5}{2} = 15.

Check (b): 615=25\frac{6}{15} = \frac{2}{5}.

(a) y=22.5y = 22.5 (b) x=15x = 15

Example 3: Other letters, and what k means

The cost, $CC, of nn kg of chicken wings is directly proportional to nn. 4 kg cost $22.
(a) Find an equation connecting CC and nn. What does kk stand for here?
(b) Find the cost of 11 kg.
(c) How many kilograms can be bought for $66?

Solution

(a) C=knC = kn. Put in n=4n = 4, C=22C = 22: 22=4k22 = 4k, so k=5.5k = 5.5 and C=5.5nC = 5.5n.

k=Cnk = \frac{C}{n} is the cost in dollars of 1 kg: the wings cost $5.50 per kilogram.

(b) When n=11n = 11: C=5.5×11=60.5C = 5.5 \times 11 = 60.5, so 11 kg cost $60.50.

(c) When C=66C = 66: 66=5.5n66 = 5.5n, so n=665.5=12n = \frac{66}{5.5} = 12.

(a) C=5.5nC = 5.5n; kk is the price per kilogram, $5.50. (b) $60.50 (c) 12 kg

Example 4: Completing a table

Given that y∝xy \propto x, copy and complete the table.

xx2255?1212
yy?17.517.52828?

Solution

The column x=5x = 5, y=17.5y = 17.5 is complete: k=17.55=3.5k = \frac{17.5}{5} = 3.5, so y=3.5xy = 3.5x.

When x=2x = 2: y=3.5×2=7y = 3.5 \times 2 = 7. When y=28y = 28: x=283.5=8x = \frac{28}{3.5} = 8. When x=12x = 12: y=3.5×12=42y = 3.5 \times 12 = 42.

xx2255881212
yy7717.517.528284242
yx\dfrac{y}{x}3.53.53.53.53.53.53.53.5

The last row checks the table: yx=3.5\frac{y}{x} = 3.5 in every column.

The missing values are y=7y = 7, x=8x = 8 and y=42y = 42.

The Graph of y = kx

The equation y=kxy = kx is y=mx+cy = mx + c with m=km = k and c=0c = 0. So its graph is a straight line with gradient kk that meets the yy-axis at (0,0)(0, 0), the origin.

The graph of a direct proportion

The graph of y=kxy = kx is a straight line that passes through the origin.

Its gradient is kk.

To draw it, work out two or three points from the equation; the origin is always one of them. Plot them to the scale given and join them with a ruler.

Example 5: Drawing the graph

A printer prints yy pages in xx minutes, where y=12xy = 12x. Draw the graph of y=12xy = 12x for 0≤x≤60 \le x \le 6, using 1 square for 1 minute across and 1 square for 12 pages up. Use it to show that the gradient is 12.

Solution

Make a table: when x=0x = 0, y=0y = 0; when x=2x = 2, y=12×2=24y = 12 \times 2 = 24; and so on.

xx00224466
yy00242448487272

Plot the points and join them with a straight line.

The graph of y = 12x for x from 0 to 6, a straight line through (0, 0), (2, 24), (4, 48) and (6, 72), with a step of 2 across and 24 up from (2, 24)Time, x minutesPages printed, y2241234567244872Oy = 12x

From (2,24)(2, 24) to (4,48)(4, 48): gradient =riserun=242=12.= \frac{\text{rise}}{\text{run}} = \frac{24}{2} = 12\text{.} Read the rise and the run from the numbers on the axes, not by counting squares: here one square up is 12 pages.

The graph is the straight line above, through the origin, with gradient 12=k12 = k: the printer prints 12 more pages for each minute.

Example 6: Finding k from a graph

The graph shows a direct proportion between xx and yy. Find kk, write down the equation of the line, and find yy when x=7x = 7.

A straight line through the origin, drawn from x = 0 to x = 8 on a grid numbered from 0 to 8 across and 0 to 20 upxy123456782468101214161820O

Solution

Find a point where the line crosses grid lines exactly, so that its coordinates can be read: the line passes through (4,10)(4, 10).

The same line with the point (4, 10) marked and dashed lines from it to both axesxy123456782468101214161820Oy = 2.5x(4, 10)

k=yx=104=2.5,k = \frac{y}{x} = \frac{10}{4} = 2.5\text{,} so the equation is y=2.5xy = 2.5x. (This is also the gradient: from the origin, a run of 4 and a rise of 10.)

When x=7x = 7: y=2.5×7=17.5y = 2.5 \times 7 = 17.5.

k=2.5k = 2.5; y=2.5xy = 2.5x; y=17.5y = 17.5 when x=7x = 7.

The value of kk sets how steep the line is. The graph below shows y=2xy = 2x, y=4xy = 4x and y=8xy = 8x. All three pass through the origin; for each 1 across, y=8xy = 8x goes up 8, y=4xy = 4x goes up 4 and y=2xy = 2x goes up 2.

The lines y = 2x, y = 4x and y = 8x drawn from the origin; y = 8x is the steepest and y = 2x the least steepxy12345681624324048Oy = 2xy = 4xy = 8x

For k>0k > 0, the larger the value of kk, the steeper the line.

Is It Direct Proportion?

Deciding

From an equation: y∝xy \propto x only if the equation can be written y=kxy = kx, with nothing added or taken away and xx not squared or under a fraction line.

From a graph: y∝xy \propto x only if the graph is a straight line and it passes through the origin.

Example 7: A fixed charge

A mobile phone plan charges a fixed $20 a month plus $0.20 for every minute of calls. The charge for a month, $CC, for nn minutes is C=0.2n+20C = 0.2n + 20. Is CC directly proportional to nn?

Solution

When n=0n = 0: C=20C = 20. When n=60n = 60: C=0.2×60+20=32.C = 0.2 \times 60 + 20 = 32\text{.} When n=120n = 120: C=0.2×120+20=44.C = 0.2 \times 120 + 20 = 44\text{.}

The graph of C = 0.2n + 20 for n from 0 to 120: a straight line from (0, 20) through (60, 32) to (120, 44)Minutes, nCharge, C dollars204060801001201020304050OC = 0.2n + 20

The graph is a straight line, but it meets the CC-axis at 20, not at the origin. The equation has +20+ 20, so it is not of the form C=knC = kn.

Check with pairs: 3260≈0.53\frac{32}{60} \approx 0.53 and 44120≈0.37\frac{44}{120} \approx 0.37, which are not the same.

The 0.2 is the charge per minute in dollars. Only a plan with no fixed charge, C=0.2nC = 0.2n, would make CC directly proportional to nn with k=0.2k = 0.2.

No. The graph is a straight line that does not pass through the origin, because of the fixed $20.

Example 8: Deciding from a graph

Which of the graphs AA, BB and CC shows yy directly proportional to xx? Give a reason for each.

Three graphs: A, a straight line through the origin; B, a straight line that meets the y-axis at 3; C, a curve through the origin that gets steeperxy12345624681012141618OABC

Solution

AA is a straight line through the origin: y∝xy \propto x. It passes through (3,6)(3, 6), so k=63=2k = \frac{6}{3} = 2 and its equation is y=2xy = 2x.

BB is a straight line, but it meets the yy-axis at (0,3)(0, 3), not at the origin: not direct proportion.

CC passes through the origin, but it is a curve, not a straight line: yy is not directly proportional to xx. (Its equation is y=0.5x2y = 0.5x^2; lesson 6.3 shows that yy is directly proportional to x2x^2.)

Only AA.

Example 9: Deciding from an equation

In which of these is yy directly proportional to xx? Give kk when it is.
(a) y=5xy = 5x (b) y=5x+2y = 5x + 2 (c) y=5xy = \frac{5}{x} (d) y=x3y = \frac{x}{3}

Solution

(a) Yes: y=5xy = 5x is y=kxy = kx with k=5k = 5.

(b) No: the +2+ 2 means that y=2y = 2 when x=0x = 0, so the line does not pass through the origin.

(c) No: here xx is under the fraction line. When xx is doubled, yy is halved. (This is inverse proportion, lesson 6.4.)

(d) Yes: x3=13x\frac{x}{3} = \frac{1}{3}x, so k=13k = \frac{1}{3}.

(a) yes, k=5k = 5; (b) no; (c) no; (d) yes, k=13k = \frac{1}{3}

Common Mistakes

  • "C=0.2n+20C = 0.2n + 20 is a straight line, so C∝nC \propto n." A straight line shows direct proportion only if it passes through the origin.
  • Multiplying instead of dividing to find xx. If y=3xy = 3x and y=21y = 21, then x=213=7x = \frac{21}{3} = 7, not 3×21=633 \times 21 = 63. Check: 3×7=213 \times 7 = 21.
  • Finding kk upside down. k=yxk = \frac{y}{x}: if y=12y = 12 when x=4x = 4, k=3k = 3, not 412\frac{4}{12}.
  • Counting squares for the gradient when the axes have different scales. Use the numbers on the axes.
  • Calling a curve through the origin a direct proportion. The graph of y∝xy \propto x is straight.

Practice Questions

Find kk first, then use the equation, and check each answer with k=yxk = \frac{y}{x}. The questions get harder as you go.

Question 1

yy is directly proportional to xx, and y=10y = 10 when x=2x = 2. Find (a) an equation connecting xx and yy, (b) yy when x=10x = 10, (c) xx when y=60y = 60.

ShowHide solution

(a) 10=2k10 = 2k, so k=5k = 5 and y=5xy = 5x.

(b) y=5×10=50y = 5 \times 10 = 50.

(c) 60=5x60 = 5x, so x=12x = 12. Check: 6012=5\frac{60}{12} = 5.

(a) y=5xy = 5x (b) y=50y = 50 (c) x=12x = 12

Question 2

y∝xy \propto x, and y=9y = 9 when x=12x = 12. Find (a) kk as a fraction, (b) yy when x=20x = 20, (c) xx when y=4.5y = 4.5.

ShowHide solution

(a) k=912=34k = \frac{9}{12} = \frac{3}{4}, so y=34xy = \frac{3}{4}x.

(b) y=34×20=15y = \frac{3}{4} \times 20 = 15.

(c) 4.5=34x4.5 = \frac{3}{4}x, so x=4.5×43=6x = 4.5 \times \frac{4}{3} = 6. Check: 4.56=0.75=34.\frac{4.5}{6} = 0.75 = \frac{3}{4}\text{.}

(a) k=34k = \frac{3}{4} (b) y=15y = 15 (c) x=6x = 6

Question 3

PP is directly proportional to tt, and P=42P = 42 when t=3.5t = 3.5. Find PP when t=5t = 5, and tt when P=90P = 90.

ShowHide solution

P=ktP = kt: 42=3.5k42 = 3.5k, so k=423.5=12k = \frac{42}{3.5} = 12 and P=12tP = 12t.

When t=5t = 5: P=60P = 60. When P=90P = 90: t=9012=7.5t = \frac{90}{12} = 7.5.

P=60P = 60; t=7.5t = 7.5

Question 4

Given that qq is directly proportional to pp, copy and complete the table.

pp445577??
qq?3030?48485757
ShowHide solution

From p=5p = 5, q=30q = 30: k=6k = 6, so q=6pq = 6p.

q=6×4=24q = 6 \times 4 = 24; q=6×7=42q = 6 \times 7 = 42; p=486=8p = \frac{48}{6} = 8; p=576=9.5p = \frac{57}{6} = 9.5.

pp445577889.59.5
qq24243030424248485757
qp\dfrac{q}{p}6666666666

q=24q = 24, q=42q = 42, p=8p = 8, p=9.5p = 9.5

Question 5

In which of these is yy directly proportional to xx? Give kk when it is.
(a) y=7xy = 7x (b) y=7x−1y = 7x - 1 (c) y=x4y = \frac{x}{4} (d) y=4xy = \frac{4}{x} (e) y=2(x+3)y = 2(x + 3)

ShowHide solution

(a) Yes, k=7k = 7.

(b) No: y=−1y = -1 when x=0x = 0; the line misses the origin.

(c) Yes: y=14xy = \frac{1}{4}x, k=14k = \frac{1}{4}.

(d) No: xx is under the fraction line.

(e) No: y=2x+6y = 2x + 6, and y=6y = 6 when x=0x = 0.

(a) yes, k=7k = 7; (b) no; (c) yes, k=14k = \frac{1}{4}; (d) no; (e) no

Question 6

Petrol costs $2.80 a litre. The cost of nn litres is $CC, where C=2.8nC = 2.8n. Draw the graph of CC against nn for 0≤n≤500 \le n \le 50, and use it to find the cost of 35 litres.

ShowHide solution
nn0010102020303040405050
CC00282856568484112112140140
The graph of C = 2.8n for n from 0 to 50, a straight line through the origin, with a dashed reading line from n = 35 up to the line and across to C = 98Petrol, n litresCost, C dollars102030405020406080100120140OC = 2.8n

Read up from n=35n = 35 to the line and across: C=98C = 98. Check: 2.8×35=982.8 \times 35 = 98.

35 litres cost $98.

Question 7

The graph shows yy against xx for a direct proportion. Find the equation of the line, and find xx when y=5y = 5.

A straight line through the origin, drawn from x = 0 to x = 9 on a grid numbered from 0 to 9 across and 0 to 7 upxy1234567891234567O
ShowHide solution

The line passes exactly through the grid point (3,2)(3, 2) (and (6,4)(6, 4) and (9,6)(9, 6)).

k=23k = \frac{2}{3}, so y=23xy = \frac{2}{3}x.

When y=5y = 5: 5=23x5 = \frac{2}{3}x, so x=5×32=7.5x = 5 \times \frac{3}{2} = 7.5.

y=23xy = \frac{2}{3}x; x=7.5x = 7.5 when y=5y = 5.

Question 8

Plumber A charges a call-out fee of $40 plus $30 for each hour. Plumber B charges $45 for each hour and no fee. For each, write the charge $CC for hh hours as an equation, and say whether CC is directly proportional to hh.

ShowHide solution

A: C=30h+40C = 30h + 40. Not direct proportion: the $40 is charged even for 0 hours, so the graph does not pass through the origin.

B: C=45hC = 45h. Direct proportion, with k=45k = 45: B charges $45 per hour.

A: C=30h+40C = 30h + 40, not directly proportional. B: C=45hC = 45h, directly proportional with k=45k = 45.

Question 9

The lines y=1.5xy = 1.5x, y=3xy = 3x and y=0.5xy = 0.5x are drawn on the same axes. (a) Which is the steepest? (b) Which one passes through the point (4,6)(4, 6)?

ShowHide solution

(a) All three pass through the origin, and k=3k = 3 is the largest, so y=3xy = 3x is the steepest.

(b) At x=4x = 4: 1.5×4=61.5 \times 4 = 6, 3×4=123 \times 4 = 12, 0.5×4=20.5 \times 4 = 2. Only y=1.5xy = 1.5x gives 66.

(a) y=3xy = 3x (b) y=1.5xy = 1.5x

Question 10

Ben is told that y∝xy \propto x and y=6y = 6 when x=15x = 15. He writes "k=156=2.5k = \frac{15}{6} = 2.5, so y=2.5xy = 2.5x". Find his mistake, write the correct equation, and find yy when x=40x = 40.

ShowHide solution

He divided xx by yy. The constant is k=yx=615=0.4.k = \frac{y}{x} = \frac{6}{15} = 0.4\text{.}

His equation fails its own pair: 2.5×15=37.52.5 \times 15 = 37.5, not 66.

So y=0.4xy = 0.4x, and when x=40x = 40, y=0.4×40=16y = 0.4 \times 40 = 16.

k=yx=0.4k = \frac{y}{x} = 0.4, not xy\frac{x}{y}; y=0.4xy = 0.4x; y=16y = 16 when x=40x = 40.

Question 11

The mass, mm g, of a length of copper wire is directly proportional to its length, LL cm. A 25 cm length has a mass of 4 g. (a) Find kk and say what it means. (b) Find the mass of 1.5 m of the wire. (c) What length has a mass of 10 g?

ShowHide solution

(a) m=kLm = kL: 4=25k4 = 25k, so k=425=0.16k = \frac{4}{25} = 0.16. Each centimetre of wire has a mass of 0.16 g.

(b) 1.5 m = 150 cm. m=0.16×150=24m = 0.16 \times 150 = 24.

(c) 10=0.16L10 = 0.16L, so L=100.16=62.5.L = \frac{10}{0.16} = 62.5\text{.}

(a) k=0.16k = 0.16, the mass in grams of 1 cm of wire (b) 24 g (c) 62.5 cm

Question 12

Pei Shan plots the table below and gets a straight line. She says, "The graph is a straight line, so yy is directly proportional to xx." Is she right?

xx00224466
yy337711111515
ShowHide solution

When x=0x = 0, y=3y = 3: the line meets the yy-axis at (0,3)(0, 3), not at the origin.

Also 72=3.5\frac{7}{2} = 3.5 but 156=2.5\frac{15}{6} = 2.5: yx\frac{y}{x} is not the same. (The equation is y=2x+3y = 2x + 3.)

No. The line is straight but does not pass through the origin, so yy is not directly proportional to xx.

Key Points

  • If y∝xy \propto x, then y=kxy = kx, where k=yxk = \frac{y}{x} is the constant of proportionality (k≠0k \neq 0).
  • Find kk from one pair of values, write the equation, then find yy from xx (multiply) or xx from yy (divide).
  • The graph of y=kxy = kx is a straight line through the origin with gradient kk; for k>0k > 0, a larger kk gives a steeper line.
  • To read kk from a graph, find a point on the line where it crosses grid lines exactly, and work out yx\frac{y}{x} from the numbers on the axes.
  • A straight line that misses the origin (y=mx+cy = mx + c, c≠0c \neq 0) and a curve through the origin are not direct proportion.
  • In a setting, kk is a rate: pages per minute, dollars per kilogram, grams per centimetre.

‹ 6.1 Direct Proportion 6.3 Direct Proportion to Powers and Roots ›

All Secondary 2 (Grade 8) lessons

Home Campus has lessons for Primary 3 to Secondary 2, and practice questions with worked solutions and worksheets for Primary 3 to Secondary 1. Register free to practise and keep track of progress.

This lesson follows the Singapore Secondary 2 syllabus and was checked question by question before it was published. Spotted a mistake? Tell us.