Skip to main content
NSWMaths Standard 2Syllabus dot point

How do you turn a real situation with a fixed cost plus a steady rate into the equation y = mx + b, what do the gradient and y-intercept mean in that context, and how do you use the model to predict a value and read it backwards?

Construct a linear model y = mx + b for a practical situation made of a fixed amount plus a constant rate, interpret the gradient as the rate and the y-intercept as the fixed starting amount in context, and use the model to predict an output and to find the input that gives a required output

A focused answer to the HSC Maths Standard 2 dot point on linear models. How to build y = mx + b from a fixed amount plus a rate, interpret the gradient and y-intercept in words with units, predict a value and read the model backwards, with worked plumber, taxi, mobile-plan and tank-filling examples.

Generated by Claude Opus 4.818 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

What this dot point is asking

A linear model turns a real situation into the straight-line equation y=mx+by = mx + b so you can calculate with it. NESA wants this for the most common shape of real problem: something that starts at a fixed amount and then changes at a steady rate. A plumber charges a call-out fee and then so much per hour; a taxi has a flagfall and then so much per kilometre; a phone plan has a monthly fee and then so much per gigabyte. In each one the fixed amount is the yy-intercept bb and the steady rate is the gradient mm, so the situation is exactly y=mx+by = mx + b wearing different letters. Three skills are bundled here, and a question can test any of them. First, build the model: read the fixed amount and the rate out of the words and write the equation with letters that fit the context. Second, interpret the gradient and the yy-intercept in context, in words and with units, the gradient as a rate and the intercept as a starting value. Third, use the model: substitute an input to predict an output, and run it the other way, substituting a known output and solving to find the input that produced it.

The deeper idea that makes all of this click is that a linear model is a recipe with a starting amount and a constant step. The intercept bb tells you where the quantity begins (the cost before any work, the water already in the tank), and the gradient mm tells you how much it changes for each one-unit increase in the input (per hour, per kilometre, per gigabyte). So interpreting mm as a rate and bb as a fixed value is not a separate fact to memorise. It is simply what the two letters mean. The marks come from a few habits: choose the right number for mm and for bb, write the model with sensible variables, interpret each with the correct units, substitute carefully (multiply before adding), and, when reading backwards, solve the equation rather than guess. Marks are lost in predictable ways: swapping the rate and the fixed amount, dropping the units in an interpretation, multiplying the fixed fee by the input, and forgetting that the input often cannot be negative.

The answer

What makes a situation linear

A situation can be modelled by a straight line whenever it is built from two parts: a fixed amount that does not change, and a quantity that grows (or shrinks) by the same amount for every one-unit step. The fixed amount is there even when the input is zero; the steady rate is what the per-unit words ("per hour", "per km", "each", "for every") are telling you. If both parts are present, the model is

y=mx+b,y = mx + b,

where bb is the fixed starting amount and mm is the constant rate. The test for "is it linear?" is simply whether the rate is constant: if every extra hour adds the same dollars, or every extra kilometre adds the same fare, the graph is a straight line and a linear model fits. If the rate itself changes (a price that doubles, interest that compounds), the situation is not linear and this model does not apply.

The reason the fixed amount lands on bb and the rate lands on mm is worth seeing once. Put the input at zero: every "per unit" charge disappears because there are zero units, and all that is left is the fixed amount, which is exactly the value of yy when x=0x = 0, the yy-intercept. Now increase the input by one unit: the only thing that changes is one more lot of the rate is added, so yy goes up by the rate for each one-unit step, which is exactly the gradient. So you never have to wonder which number is which: the standing charge is always bb, and the per-unit charge is always mm.

Building the model from the words

To construct the model, pull two numbers out of the description and choose letters that suit the situation.

  1. Find the fixed amount. Look for the charge that applies once, regardless of the input: a call-out fee, a flagfall, a booking fee, a monthly fee, the water already in the tank. This is bb.
  2. Find the rate. Look for the "per unit" charge: dollars per hour, dollars per km, dollars per GB, litres per minute. This is mm.
  3. Name the variables. Choose a letter for the output (often CC for cost, VV for volume) and a letter for the input (often hh for hours, dd for distance, tt for time), and state what each one means with its unit.
  4. Write y=mx+by = mx + b with those letters, usually as (output) == (rate) ×\times (input) ++ (fixed amount).

For a plumber charging a $90 call-out fee plus $70 per hour, the fixed amount is b=90b = 90 and the rate is m=70m = 70. Letting CC be the cost in dollars and hh the hours, the model is

C=70h+90.C = 70h + 90.

Writing it as "rate times input plus fixed amount" keeps it in the same shape as y=mx+by = mx + b, so the gradient and intercept are easy to read straight back off it.

Interpreting the gradient and the y-intercept in context

"Interpret" or "explain what it represents" asks for the meaning of a number in plain words, not just the number itself. Two rules cover every case.

  • The yy-intercept bb is the value of the output when the input is 00. In a cost model that is the fixed amount you pay before anything happens: the call-out fee, the flagfall, the monthly fee. State it as an amount with its unit, for example "the $90 fixed call-out fee".
  • The gradient mm is the rate: how much the output changes for each one-unit increase in the input. State it as a rate with its units, for example "$70 per hour". A positive gradient means the output rises as the input grows; a negative gradient (a tank draining, a value depreciating) means it falls.

For the model C=70h+90C = 70h + 90, the intercept b=90b = 90 is the fixed $90 call-out fee charged for h=0h = 0 hours of work, and the gradient m=70m = 70 is the labour rate of $70 per hour. The figure below shows both: the line meets the cost axis at the $90 fixed fee, and the rise-over-run step shows the $70 per hour rate as a rise of $140 over a run of 22 hours. The dots are sample jobs, each sitting exactly on the line.

A plumber call-out cost model C = 70h + 90A straight line on cost versus hours axes for a plumber. The line cuts the cost axis at 90 dollars, the fixed call-out fee b. A right-angled step shows a run of 2 hours and a rise of 140 dollars, so the gradient m is 70 dollars per hour, the labour rate.012345090180270360450hours worked (h)cost ($)fixed fee b = $90run = 2 hoursrise = $140rate m = $70/hC = 70h + 90

Using the model: predicting forwards

Once the model is built, predicting an output is just substitution. Replace the input variable with the given value and evaluate, taking care to multiply by the rate before adding the fixed amount (order of operations). For the plumber model C=70h+90C = 70h + 90, the cost of a 33-hour job is

C=70×3+90=210+90=300,C = 70 \times 3 + 90 = 210 + 90 = 300,

so a 33-hour job costs $300. The single most common slip here is adding before multiplying, which would wrongly give 70×(3+90)70 \times (3 + 90). The fixed fee is added once at the end, not folded into the hours. A linear model is reliable for predictions inside the sensible range of the input; pushing it to extreme values (a 10001000-hour job) can give an answer the situation would never actually produce.

Using the model: reading backwards

The reverse question gives you the output and asks for the input: "the bill was $440, how long was the job?" Now you cannot just substitute, because the unknown is inside the equation. Instead, substitute the known output and solve for the input using the balancing steps from solving linear equations. For C=70h+90C = 70h + 90 with a $440 bill,

440=70h+90.440 = 70h + 90.

Subtract the fixed fee from both sides to remove it, then divide by the rate:

350=70h,h=35070=5.350 = 70h, \qquad h = \frac{350}{70} = 5.

So the job took 55 hours. The structure is always the same: take off the fixed amount first (undo the +b+\,b), then divide by the rate (undo the ×m\times\, m). Doing it in that order matches peeling the operations off in reverse, and it is far safer than trying values until one fits.

How exam questions ask about linear models

The wording tells you which of the three skills a part is testing:

  • "Write an equation / model for this situation" or "construct a linear model" means find the fixed amount (bb) and the per-unit rate (mm) in the words, then write y=mx+by = mx + b with context letters.
  • "What does the gradient represent?" wants the gradient stated as a rate with units (dollars per hour, litres per minute).
  • "What does the yy-intercept represent?" (or "how much at the start", "the cost before any...") wants the intercept as the fixed starting amount with its unit.
  • "Find the cost when...", "how much after nn...", "use the model to predict..." means substitute the input and evaluate.
  • "How many hours / how far / how long..." given an output, or "the bill was $...", means substitute the output and solve for the input.
  • "How much is added each..." or "the rate of..." is just asking for the gradient.
  • "Which option is cheaper" means build a model for each, substitute the same input into both, and compare.

Building the model stage by stage

It helps to see a model grow on the axes the same way you would build it on paper. The stages below build the plumber model C=70h+90C = 70h + 90 on cost-versus-hours axes: set up the axes for the context, mark the fixed fee at the intercept, step out the rate, then rule the line and use it to predict.

Stage 1, set up the axes for the context
Put the input (hours worked) along the horizontal axis and the output (cost) up the vertical axis, and label each with its quantity. Nothing is plotted yet, this is the frame the model will sit in.
Stage 2, mark the fixed fee at the intercept
The fixed call-out fee is the cost when h=0h = 0, so it is the yy-intercept. Plot the single point (0,90)(0, 90) on the cost axis. This is where the model begins, before any hours are worked.
Stage 3, step out the rate
The gradient is the $70 per hour rate, written as a rise of $70 for a run of 11 hour. From (0,90)(0, 90) move a run of 11 hour across and a rise of $70 up to reach (1,160)(1, 160). That right-angled step is the rate made visible.
Stage 4, rule the line and predict
Join the points and rule the straight line; the sample jobs at 11, 22 and 33 hours all lie on it. To predict a 33-hour job, go up from h=3h = 3 to the line and across to the cost axis, reading off $300, matching C=70×3+90=300C = 70 \times 3 + 90 = 300.

Building the plumber cost model in four stagesFour panels building C equals 70 h plus 90 on cost versus hours axes. Panel 1 sets up blank axes. Panel 2 marks the fixed fee of 90 dollars at the cost intercept. Panel 3 steps a run of 1 hour and a rise of 70 dollars for the rate. Panel 4 rules the line and reads a prediction of 300 dollars for a 3 hour job.2490360hourscost12490360b = $9022490360run 1rise 7032490360$3004

What the model can and cannot tell you

A linear model is a simplification, so it is worth knowing where it holds and where it breaks. It assumes the rate is perfectly constant, which is exactly why the graph is a straight line. Real charges sometimes are not: a plumber may round part-hours up to the next half hour, a phone plan may cap the extra-data charge, a taxi may add a night surcharge. Inside the range the model is built for, those details rarely matter and the prediction is reliable. Outside it, the model can give answers the situation would never produce, so you should sanity-check an extreme result. It is also why the input usually has a sensible domain. Hours worked, kilometres driven, gigabytes used and litres pumped cannot be negative, so values of the input below 00 have no meaning even though the equation would happily calculate them. When a question asks you to comment on the model, these are the points that earn the marks: the rate is assumed constant, and the input is restricted to values that make sense.

Exam-style practice questions

Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

2021 HSC-style4 marksA car hire company charges a fixed booking fee of $45 plus $0.25 for each kilometre driven. Let CC be the total cost in dollars for a hire of kk kilometres. (a) Write a linear model for the total cost. (b) Interpret the gradient and the yy-intercept in this context. (c) Find the cost of a hire that covers 320320 km.
Show worked answer →

Part (a), build the model (1 mark). The $45 booking fee applies once, so it is the fixed amount b=45b = 45. The $0.25 per kilometre is the per-unit rate, so it is the gradient m=0.25m = 0.25. In the shape y=mx+by = mx + b,

C=0.25k+45.C = 0.25k + 45.

Part (b), interpret mm and bb (2 marks). The gradient m=0.25m = 0.25 is the running rate of $0.25 per kilometre driven: each extra kilometre adds $0.25 to the cost. The yy-intercept b=45b = 45 is the fixed booking fee of $45, the cost when k=0k = 0 km before any distance is driven. Marker note: each interpretation must name the quantity with its units (per km, dollars); a bare number scores nothing.

Part (c), predict the cost (1 mark). Substitute k=320k = 320 and multiply before adding:

C=0.25×320+45=80+45=125.C = 0.25 \times 320 + 45 = 80 + 45 = 125.

So a 320320 km hire costs $125.

2022 HSC-style5 marksA backyard pool is being drained at a steady rate. The volume of water VV litres remaining after tt minutes is modelled by V=60020tV = 600 - 20t. (a) Interpret the value 600600 and the rate 20-20 in this context. (b) Find the volume remaining after 88 minutes. (c) How long does the pool take to empty? (d) State the values of tt for which the model makes sense.
Show worked answer →

Part (a), interpret the model (2 marks). Writing the model as V=20t+600V = -20t + 600, the yy-intercept is 600600 and the gradient is 20-20. The intercept 600600 is the starting volume: the pool holds 600600 L when t=0t = 0. The gradient 20-20 is the rate of draining; it is negative because the volume falls, so the pool loses 2020 L each minute.

Part (b), predict the volume (1 mark). Substitute t=8t = 8:

V=60020×8=600160=440.V = 600 - 20 \times 8 = 600 - 160 = 440.

So 440440 L remain after 88 minutes.

Part (c), time to empty (1 mark). The pool is empty when V=0V = 0, so substitute and solve for tt:

0=60020t,20t=600,t=60020=30.0 = 600 - 20t, \qquad 20t = 600, \qquad t = \frac{600}{20} = 30.

The pool empties after 3030 minutes.

Part (d), sensible domain (1 mark). Time cannot be negative and the pool is empty at t=30t = 30, so the model only makes sense for 0t300 \le t \le 30. Marker note: stating the upper limit (the pool cannot hold a negative volume) as well as t0t \ge 0 is what earns the mark.

2023 HSC-style5 marksA phone plan charges a fixed monthly fee plus a set rate for each extra gigabyte (GB) of data. One month with 44 extra GB cost $70 and another with 99 extra GB cost $95. (a) Find the rate charged per extra GB. (b) Find the fixed monthly fee and write the linear model for the cost CC of a month with xx extra GB. (c) A month's bill was $85. How many extra GB were used? (d) A rival plan charges a $40 monthly fee plus $7 per extra GB. For a month with 77 extra GB, which plan is cheaper, and by how much?
Show worked answer →

Part (a), the rate (1 mark). The rate is the gradient between the points (4,70)(4, 70) and (9,95)(9, 95):

m=957094=255=5.m = \frac{95 - 70}{9 - 4} = \frac{25}{5} = 5.

So the plan charges $5 per extra GB.

Part (b), the fixed fee and model (2 marks). The fixed fee is the cost for x=0x = 0 GB. Take the 44 GB month and subtract the 44 GB of data at $5 each:

b=705×4=7020=50.b = 70 - 5 \times 4 = 70 - 20 = 50.

The fixed monthly fee is $50, so the model is

C=5x+50.C = 5x + 50.

Part (c), read the model backwards (1 mark). The output is known, so substitute C=85C = 85 and solve for xx:

85=5x+50,35=5x,x=355=7.85 = 5x + 50, \qquad 35 = 5x, \qquad x = \frac{35}{5} = 7.

So 77 extra GB were used.

Part (d), compare the plans (1 mark). The rival model is C=7x+40C = 7x + 40. For x=7x = 7 extra GB,

this plan: C=5×7+50=85,rival: C=7×7+40=89.\text{this plan: } C = 5 \times 7 + 50 = 85, \qquad \text{rival: } C = 7 \times 7 + 40 = 89.

This plan costs $85 and the rival $89, so this plan is cheaper by 8985=489 - 85 = 4 dollars.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation2 marksA removalist charges a fixed booking fee of $150 plus $1.20 for each kilometre driven. Let CC be the total cost in dollars and kk the number of kilometres. (a) Write a linear model for the cost. (b) State the gradient and the yy-intercept.
Show worked solution →

Part (a), write the model. The fixed booking fee is the starting amount and the $1.20 per km is the rate, so

C=1.2k+150.C = 1.2k + 150.

Part (b), gradient and intercept. Comparing C=1.2k+150C = 1.2k + 150 with y=mx+by = mx + b, the gradient is the coefficient of kk and the yy-intercept is the constant:

m=1.2,b=150.m = 1.2, \qquad b = 150.

State the answer. The model is C=1.2k+150C = 1.2k + 150, with gradient m=1.2m = 1.2 and yy-intercept b=150b = 150.

foundation3 marksA water tank already holds some water and is filled at a steady rate. The volume VV litres after tt minutes is V=50t+200V = 50t + 200. (a) How much water is in the tank at the start? (b) How much is in the tank after 66 minutes? (c) How many litres are added each minute?
Show worked solution →

Part (a), volume at the start. At the start t=0t = 0, which is the yy-intercept. Substitute t=0t = 0:

V=50×0+200=200.V = 50 \times 0 + 200 = 200.

So the tank starts with 200200 litres.

Part (b), volume after 66 minutes. Substitute t=6t = 6 and evaluate, multiplying before adding:

V=50×6+200=300+200=500.V = 50 \times 6 + 200 = 300 + 200 = 500.

So after 66 minutes there are 500500 litres.

Part (c), litres added each minute. The rate of filling is the gradient, m=50m = 50. Each minute adds 5050 litres.

State the answer. The tank starts with 200200 L, holds 500500 L after 66 minutes, and fills at 5050 L per minute.

core3 marksA gym charges a one-off joining fee plus a fixed weekly membership rate. The total amount paid CC dollars after ww weeks is C=15w+60C = 15w + 60. (a) State and interpret the yy-intercept in this context. (b) State and interpret the gradient in this context. (c) Find the total paid after 1212 weeks.
Show worked solution →
Part (a), the yy-intercept
The yy-intercept is b=60b = 60, the amount when w=0w = 0 weeks. It is the one-off joining fee of $60, paid before any weekly charges.
Part (b), the gradient
The gradient is m=15m = 15. It is the rate: each extra week adds $15, so the membership costs $15 per week.
Part (c), total after 1212 weeks
Substitute w=12w = 12:

C=15×12+60=180+60=240.C = 15 \times 12 + 60 = 180 + 60 = 240.

State the answer. The intercept $60 is the joining fee, the gradient is the $15 per week rate, and after 1212 weeks the total paid is $240.

core4 marksAn electrician charges a fixed call-out fee plus an hourly labour rate. A 22-hour job costs $230 and a 44-hour job costs $370. (a) Find the hourly rate (the gradient). (b) Find the call-out fee (the yy-intercept). (c) Write the linear model for the cost CC of a job lasting hh hours.
Show worked solution →

Part (a), the hourly rate. The rate is the gradient between the points (2,230)(2, 230) and (4,370)(4, 370):

m=37023042=1402=70.m = \frac{370 - 230}{4 - 2} = \frac{140}{2} = 70.

So the hourly rate is $70 per hour.

Part (b), the call-out fee. The call-out fee is the cost for h=0h = 0 hours. Take the 22-hour job and subtract the 22 hours of labour at $70 per hour:

b=23070×2=230140=90.b = 230 - 70 \times 2 = 230 - 140 = 90.

So the call-out fee is $90.

Part (c), write the model. Put m=70m = 70 and b=90b = 90 into y=mx+by = mx + b with the context letters:

C=70h+90.C = 70h + 90.

Check. At h=4h = 4, C=70×4+90=280+90=370C = 70 \times 4 + 90 = 280 + 90 = 370, matching the 44-hour job.

core3 marksA taxi fare is modelled by F=2.4d+4.2F = 2.4d + 4.2, where FF is the fare in dollars and dd is the distance in kilometres. (a) Find the fare for a 55 km trip. (b) A trip cost $28.20. How far was it?
Show worked solution →

Part (a), fare for 55 km. Substitute d=5d = 5 and evaluate:

F=2.4×5+4.2=12+4.2=16.2.F = 2.4 \times 5 + 4.2 = 12 + 4.2 = 16.2.

So a 55 km trip costs $16.20.

Part (b), distance for a $28.20 fare. Now the output is known and the input is wanted, so substitute F=28.2F = 28.2 and solve for dd:

28.2=2.4d+4.2.28.2 = 2.4d + 4.2.

Subtract the $4.20 flagfall from both sides, then divide by the $2.40 per km rate:

24=2.4d,d=242.4=10.24 = 2.4d, \qquad d = \frac{24}{2.4} = 10.

State the answer. A 55 km trip costs $16.20, and a $28.20 fare was a 1010 km trip.

exam5 marksA mobile data plan charges a fixed monthly fee plus a set rate for each extra gigabyte (GB) of data. The monthly cost is C=10x+45C = 10x + 45, where CC is in dollars and xx is the number of extra GB. (a) Interpret the gradient and the yy-intercept in this context. (b) Find the cost of a month with 66 extra GB. (c) One month the bill was $95. How many extra GB were used? (d) Explain why a negative value of xx would not make sense in this model.
Show worked solution →

Part (a), interpret mm and bb. In the form C=mx+bC = mx + b, the gradient is m=10m = 10 and the yy-intercept is b=45b = 45. The intercept $45 is the fixed monthly fee paid for 00 extra GB, and the gradient is the rate of $10 per extra GB.

Part (b), cost for 66 extra GB. Substitute x=6x = 6:

C=10×6+45=60+45=105.C = 10 \times 6 + 45 = 60 + 45 = 105.

So 66 extra GB costs $105.

Part (c), GB used for a $95 bill. The output is known, so substitute C=95C = 95 and solve for xx:

95=10x+45,50=10x,x=5010=5.95 = 10x + 45, \qquad 50 = 10x, \qquad x = \frac{50}{10} = 5.

So 55 extra GB were used.

Part (d), why xx cannot be negative. Here xx counts extra gigabytes of data, which cannot be less than 00, so the model only makes sense for x0x \ge 0. A negative xx would describe using a negative amount of data, which has no meaning, and would also give a cost below the $45 fixed fee, which never happens.

exam5 marksA plumber's cost model is C=70h+90C = 70h + 90, where CC is the cost in dollars for a job lasting hh hours. (a) State and interpret the gradient and the yy-intercept. (b) Find the cost of a 33-hour job. (c) A customer was charged $440. How long did the job take? (d) The plumber's competitor charges a $50 call-out fee plus $80 per hour. For a 22-hour job, which plumber is cheaper, and by how much?
Show worked solution →

Part (a), interpret mm and bb. In C=70h+90C = 70h + 90 the gradient is m=70m = 70 and the yy-intercept is b=90b = 90. The intercept $90 is the fixed call-out fee (the cost for h=0h = 0 hours, before any work), and the gradient is the rate of $70 per hour of labour.

Part (b), cost of a 33-hour job. Substitute h=3h = 3:

C=70×3+90=210+90=300.C = 70 \times 3 + 90 = 210 + 90 = 300.

So a 33-hour job costs $300.

Part (c), hours for a $440 charge. Substitute C=440C = 440 and solve for hh:

440=70h+90,350=70h,h=35070=5.440 = 70h + 90, \qquad 350 = 70h, \qquad h = \frac{350}{70} = 5.

So the job took 55 hours.

Part (d), compare with the competitor. The competitor's model is C=80h+50C = 80h + 50. For a 22-hour job:

plumber: C=70×2+90=230,competitor: C=80×2+50=210.\text{plumber: } C = 70 \times 2 + 90 = 230, \qquad \text{competitor: } C = 80 \times 2 + 50 = 210.

The competitor costs $210 and the original plumber $230, so the competitor is cheaper by 230210=20230 - 210 = 20 dollars.

Related dot points