Graphs - WJECDirect and inverse proportion

Graphs can be used to present data clearly and as a tool to aid calculations in the form of conversion graphs and travel graphs. Sometimes graphs can be used to misrepresent data.

Part of Maths Numeracy (WJEC)Algebra

Direct and inverse proportion

When two quantities are in direct proportion, as one increases the other does too.

We can display this relationship in a graph. Two quantities that are in direct proportion will always produce a straight-line graph that passes through the origin.

If the constant of proportionality is positive, the graph will have a positive gradient. If the constant is negative, the graph will have a negative gradient.

Example 1

A babysitter’s earnings are directly proportional to the number of hours worked.

If they are paid £9 for each hour of work we can write this as a formula:

\(\text {Earnings = £9} \times \text {hours worked}\)

To plot this we need three points, we can use a table of values to help us:

A 2 row table labelled 'hours' and 'earnings'

When hours = 0, earnings = £9 × 0 = £0

When hours = 1, earnings = £9 × 1 = £9

When hours = 2, earnings = £9 × 2 = £18

A 2 row table labelled 'hours' and 'earnings'. At hour 0 earnings are 0, at hour 1 earnings are 9, and at hour 2 earnings are 18

Giving the points (\({0} \text{,} {~0}\)), (\({1} \text{,} {~9}\)) and (\({2} \text{,} {~18}\)).

Once you’ve plotted these points, draw a line through all three extending it as far as you can.

A straight line graph. The x axis is labelled 'hours worked', the y axis is labelled 'earnings in pounds'

Example 2

The number of packets of crisps and the total cost are shown in the table.

A 2 column table labelled 'number of packets' and 'cost'. 0 packets cost 0p. 1 packet costs 30p. 2 packets cost 60p. 3 packets cost 90p. 4 packets cost £1.20p

When we graph these points we see they can be connected together in a straight line:

A straight line graph. The x axis is labelled 'number of packets', the y axis is labelled 'cost'. For every 1 on the x axis, the y axis increases by 30

For every 1 on the \(\text {x}\) axis, the \(\text {y}\) axis increases by 30. This means the gradient of the graph is 30 and the graph can be written as:

\(\text {y = 30 x}\)

Finding relationships from a graph

A straight line graph. The x axis is labelled from 0 to 8, the y axis is labelled from 0 to 120

\(\text {y}\) is directly proportional to \(\text {x}\). From this graph, write an equation to show the relationship between \(\text {x}\) and \(\text {y}\).

When \(\text {x}\) = 2, \(\text {y}\) = 30

\({30} \text{~÷} {~2} = {15}\)

\(\text {y = 15~\times~x}\)

\(\text {y = 15 x}\)

When two quantities are in inverse proportion, as one increases the other decreases.

When we graph this relationship we get a curved graph.

Example

\(\text {y}\) is inversely proportional to \(\text {x}\) and when \(\text {x}\) = 2, \(\text {y}\) = 10

Draw a graph by completing the table of values:

A 2 row table labelled x and y. X has values 1, 2, 4, and 5. Y has one value 10 which corresponds to the x value 2

1. As \(\text {y}\) is inversely proportional to \(\text {x}\) we can write:

\(\text {y = k / x}\)

2. Substitute in the known values and rearranging finds the value of \(\text {k}\):

\(\text {10 = k / 2}\)

\(\text {10 \times~2 = k}\)

\(\text {k = 20}\)

3. We can now complete the table of values:

A 2 row table labelled x and y. X has values 1, 2, 4, and 5. Y has values 20, 10, 5, and 4

When \(\text {x = 1}\), \(\text {y = 20 / 1} = 20\)

When \(\text {x = 4}\), \(\text {y = 20 / 4} = 5\)

When \(\text {x = 5}\), \(\text {y = 20 / 5} = 4\)

4. We can now plot these points and join them together in a curve.

A convex down graph. The x axis is labelled from 0 to 5, the y axis is labelled from 0 to 30