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.
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 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 -intercept and the steady rate is the gradient , so the situation is exactly 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 -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 tells you where the quantity begins (the cost before any work, the water already in the tank), and the gradient tells you how much it changes for each one-unit increase in the input (per hour, per kilometre, per gigabyte). So interpreting as a rate and 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 and for , 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
where is the fixed starting amount and 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 and the rate lands on 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 when , the -intercept. Now increase the input by one unit: the only thing that changes is one more lot of the rate is added, so 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 , and the per-unit charge is always .
Building the model from the words
To construct the model, pull two numbers out of the description and choose letters that suit the situation.
- 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 .
- Find the rate. Look for the "per unit" charge: dollars per hour, dollars per km, dollars per GB, litres per minute. This is .
- Name the variables. Choose a letter for the output (often for cost, for volume) and a letter for the input (often for hours, for distance, for time), and state what each one means with its unit.
- Write with those letters, usually as (output) (rate) (input) (fixed amount).
For a plumber charging a $90 call-out fee plus $70 per hour, the fixed amount is and the rate is . Letting be the cost in dollars and the hours, the model is
Writing it as "rate times input plus fixed amount" keeps it in the same shape as , 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 -intercept is the value of the output when the input is . 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 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 , the intercept is the fixed $90 call-out fee charged for hours of work, and the gradient 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 hours. The dots are sample jobs, each sitting exactly on the line.
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 , the cost of a -hour job is
so a -hour job costs $300. The single most common slip here is adding before multiplying, which would wrongly give . 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 -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 with a $440 bill,
Subtract the fixed fee from both sides to remove it, then divide by the rate:
So the job took hours. The structure is always the same: take off the fixed amount first (undo the ), then divide by the rate (undo the ). 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 () and the per-unit rate () in the words, then write 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 -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 ...", "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 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 , so it is the -intercept. Plot the single point 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 hour. From move a run of hour across and a rise of $70 up to reach . 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 , and hours all lie on it. To predict a -hour job, go up from to the line and across to the cost axis, reading off $300, matching .
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 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 be the total cost in dollars for a hire of kilometres. (a) Write a linear model for the total cost. (b) Interpret the gradient and the -intercept in this context. (c) Find the cost of a hire that covers km.Show worked answer →
Part (a), build the model (1 mark). The $45 booking fee applies once, so it is the fixed amount . The $0.25 per kilometre is the per-unit rate, so it is the gradient . In the shape ,
Part (b), interpret and (2 marks). The gradient is the running rate of $0.25 per kilometre driven: each extra kilometre adds $0.25 to the cost. The -intercept is the fixed booking fee of $45, the cost when 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 and multiply before adding:
So a km hire costs $125.
2022 HSC-style5 marksA backyard pool is being drained at a steady rate. The volume of water litres remaining after minutes is modelled by . (a) Interpret the value and the rate in this context. (b) Find the volume remaining after minutes. (c) How long does the pool take to empty? (d) State the values of for which the model makes sense.Show worked answer →
Part (a), interpret the model (2 marks). Writing the model as , the -intercept is and the gradient is . The intercept is the starting volume: the pool holds L when . The gradient is the rate of draining; it is negative because the volume falls, so the pool loses L each minute.
Part (b), predict the volume (1 mark). Substitute :
So L remain after minutes.
Part (c), time to empty (1 mark). The pool is empty when , so substitute and solve for :
The pool empties after minutes.
Part (d), sensible domain (1 mark). Time cannot be negative and the pool is empty at , so the model only makes sense for . Marker note: stating the upper limit (the pool cannot hold a negative volume) as well as 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 extra GB cost $70 and another with 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 of a month with 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 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 and :
So the plan charges $5 per extra GB.
Part (b), the fixed fee and model (2 marks). The fixed fee is the cost for GB. Take the GB month and subtract the GB of data at $5 each:
The fixed monthly fee is $50, so the model is
Part (c), read the model backwards (1 mark). The output is known, so substitute and solve for :
So extra GB were used.
Part (d), compare the plans (1 mark). The rival model is . For extra GB,
This plan costs $85 and the rival $89, so this plan is cheaper by 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 be the total cost in dollars and the number of kilometres. (a) Write a linear model for the cost. (b) State the gradient and the -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
Part (b), gradient and intercept. Comparing with , the gradient is the coefficient of and the -intercept is the constant:
State the answer. The model is , with gradient and -intercept .
foundation3 marksA water tank already holds some water and is filled at a steady rate. The volume litres after minutes is . (a) How much water is in the tank at the start? (b) How much is in the tank after minutes? (c) How many litres are added each minute?Show worked solution →
Part (a), volume at the start. At the start , which is the -intercept. Substitute :
So the tank starts with litres.
Part (b), volume after minutes. Substitute and evaluate, multiplying before adding:
So after minutes there are litres.
Part (c), litres added each minute. The rate of filling is the gradient, . Each minute adds litres.
State the answer. The tank starts with L, holds L after minutes, and fills at L per minute.
core3 marksA gym charges a one-off joining fee plus a fixed weekly membership rate. The total amount paid dollars after weeks is . (a) State and interpret the -intercept in this context. (b) State and interpret the gradient in this context. (c) Find the total paid after weeks.Show worked solution →
- Part (a), the -intercept
- The -intercept is , the amount when weeks. It is the one-off joining fee of $60, paid before any weekly charges.
- Part (b), the gradient
- The gradient is . It is the rate: each extra week adds $15, so the membership costs $15 per week.
- Part (c), total after weeks
- Substitute :
State the answer. The intercept $60 is the joining fee, the gradient is the $15 per week rate, and after weeks the total paid is $240.
core4 marksAn electrician charges a fixed call-out fee plus an hourly labour rate. A -hour job costs $230 and a -hour job costs $370. (a) Find the hourly rate (the gradient). (b) Find the call-out fee (the -intercept). (c) Write the linear model for the cost of a job lasting hours.Show worked solution →
Part (a), the hourly rate. The rate is the gradient between the points and :
So the hourly rate is $70 per hour.
Part (b), the call-out fee. The call-out fee is the cost for hours. Take the -hour job and subtract the hours of labour at $70 per hour:
So the call-out fee is $90.
Part (c), write the model. Put and into with the context letters:
Check. At , , matching the -hour job.
core3 marksA taxi fare is modelled by , where is the fare in dollars and is the distance in kilometres. (a) Find the fare for a km trip. (b) A trip cost $28.20. How far was it?Show worked solution →
Part (a), fare for km. Substitute and evaluate:
So a 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 and solve for :
Subtract the $4.20 flagfall from both sides, then divide by the $2.40 per km rate:
State the answer. A km trip costs $16.20, and a $28.20 fare was a 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 , where is in dollars and is the number of extra GB. (a) Interpret the gradient and the -intercept in this context. (b) Find the cost of a month with extra GB. (c) One month the bill was $95. How many extra GB were used? (d) Explain why a negative value of would not make sense in this model.Show worked solution →
Part (a), interpret and . In the form , the gradient is and the -intercept is . The intercept $45 is the fixed monthly fee paid for extra GB, and the gradient is the rate of $10 per extra GB.
Part (b), cost for extra GB. Substitute :
So extra GB costs $105.
Part (c), GB used for a $95 bill. The output is known, so substitute and solve for :
So extra GB were used.
Part (d), why cannot be negative. Here counts extra gigabytes of data, which cannot be less than , so the model only makes sense for . A negative 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 , where is the cost in dollars for a job lasting hours. (a) State and interpret the gradient and the -intercept. (b) Find the cost of a -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 -hour job, which plumber is cheaper, and by how much?Show worked solution →
Part (a), interpret and . In the gradient is and the -intercept is . The intercept $90 is the fixed call-out fee (the cost for hours, before any work), and the gradient is the rate of $70 per hour of labour.
Part (b), cost of a -hour job. Substitute :
So a -hour job costs $300.
Part (c), hours for a $440 charge. Substitute and solve for :
So the job took hours.
Part (d), compare with the competitor. The competitor's model is . For a -hour job:
The competitor costs $210 and the original plumber $230, so the competitor is cheaper by dollars.
Related dot points
- Use the gradient-intercept form y = mx + b: read the gradient m and the y-intercept b directly from the equation (rearranging first if needed), write the equation of a line from its graph, and sketch a line from m and b
A focused answer to the HSC Maths Standard 2 dot point on the gradient-intercept formula. How to read the gradient m and y-intercept b straight from y = mx + b, rearrange an equation into that form first, write the equation of a drawn line, sketch a line from m and b, and build a real cost model, with worked Australian examples.
- Find the gradient of a straight line as rise over run, interpret the sign of the gradient and what steepness means, read the y-intercept from a graph, and calculate the gradient between two points
A focused answer to the HSC Maths Standard 2 dot point on gradient and intercept. Gradient as rise over run, what positive, negative, zero and undefined gradients mean and what steepness tells you, reading the y-intercept off a graph, and the gradient formula between two points, with worked ramp, hourly-pay and phone-plan examples.
- Graph linear functions by constructing a table of values and plotting the points, recognise a linear relationship, sketch horizontal and vertical lines, and graph a line using its x- and y-intercepts
A focused answer to the HSC Maths Standard 2 dot point on graphing linear functions. Build a table of values, plot the points and rule a straight line, sketch horizontal lines and vertical lines, graph a line from its x- and y-intercepts, and read values off the graph, with worked Australian cost and distance examples.
- Recognise and model direct variation y = kx, where one quantity is a constant multiple of another, find the constant of variation k from a data pair, write and use the equation, identify direct variation from a constant ratio in a table or a straight-line graph through the origin, and contrast it with simple inverse variation y = k/x
A focused answer to the HSC Maths Standard 2 dot point on direct variation. How y = kx works, finding the constant of variation k from a data pair, why the graph is a straight line through the origin, recognising direct variation from a table or graph, and a brief contrast with inverse variation y = k/x, with worked pay, cost and speed examples.
- Use the relationship between distance, speed and time to solve problems, rearranging the formula to find any of the three quantities and converting between km/h and m/s
A focused answer to the HSC Maths Standard 2 dot point on distance, speed and time. The triangle and how to rearrange it for distance, speed or time, average speed over a whole journey, keeping units consistent, converting between km/h and m/s with the factor 3.6, and reading a distance-time graph, with worked Australian examples.