Skip to main content
TexasMathsSyllabus dot point

How do you write a linear function or equation to model a real-world situation, and evaluate it using function notation?

Write linear functions that model the relationship between two quantities from a description, table, or graph, write an equation representing a functional relationship, and evaluate functions in function notation (TEKS A.2C, A.2G, A.12B).

A STAAR Algebra I answer on writing linear functions to model situations, identifying initial value and rate, function notation f(x), and evaluating functions (TEKS A.2C, A.2G, A.12B).

Generated by Claude Opus 4.810 min answer

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

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

Jump to a section
  1. What this topic is asking
  2. Building the model: rate and initial value
  3. From a table or graph
  4. Function notation
  5. How STAAR examines this topic
  6. Choosing the right variable as the input
  7. Comparing two linear models
  8. Try this

What this topic is asking

Modeling is the point of Reporting Category 3: turn a situation into a linear function and use it. TEKS A.2C and A.2G ask you to write a function or equation from a description, table, or graph, and A.12B asks you to evaluate functions written in function notation f(x)f(x). STAAR rewards both building the correct model and interpreting its inputs and outputs in context.

Building the model: rate and initial value

A linear model has the shape f(x)=mx+bf(x) = mx + b, and the words of the problem tell you each part.

  • The rate of change is the "per" quantity (per month, per mile, per item). It is the slope mm and multiplies the variable.
  • The initial value is the fixed, one-time, or starting amount (a sign-up fee, a starting balance). It is the yy-intercept bb and stands alone.

"A plumber charges 60tocomeoutplus60 to come out plus 45 an hour" becomes C(h)=45h+60C(h) = 45h + 60: the hourly rate multiplies hh, the call-out fee is the constant.

From a table or graph

From a table, the slope is the constant change in output per unit change in input, and the initial value is the output at input 0. From a graph, read the yy-intercept and a slope step. Either way, assemble f(x)=mx+bf(x) = mx + b.

Function notation

Function notation f(x)f(x) is a name for the output. The letter ff names the function, xx is the input, and f(x)f(x) is the corresponding output.

Function notation can also be read backward: "f(x)=90f(x) = 90, find xx" means solve 90=20t+15090 = 20t + 150, an equation you solve as usual.

How STAAR examines this topic

  • Multiple choice. Choose the function matching a description; rate-and-fee swaps are the standard distractor.
  • Equation editor and number entry. Build the function, evaluate ff at a value, or solve f(x)=kf(x) = k for the input.
  • Inline choice. Interpret the slope and intercept in context from dropdowns.

A clarifying idea is that building the model and using it are two skills the test pairs: first translate the words into f(x)=mx+bf(x) = mx + b, then either evaluate (input given) or solve (output given). Keeping straight which quantity is known prevents the most common modeling errors.

Choosing the right variable as the input

A subtle modeling decision is which quantity is the input (xx) and which is the output (f(x)f(x)). The input is the quantity you control or that drives the change, usually time, distance, or the number of items; the output is what results, usually cost, amount, or value. Reading the prompt for "after xx minutes" or "for each item" identifies the input, and the phrase "total cost" or "amount remaining" identifies the output. Getting this the right way around matters because it fixes which number is the slope and which is the intercept, and it determines how function notation is read.

Comparing two linear models

STAAR sometimes gives two models and asks which is greater, or when they are equal. If two phone plans are A(m)=0.10m+20A(m) = 0.10m + 20 and B(m)=0.05m+30B(m) = 0.05m + 30, setting them equal, 0.10m+20=0.05m+300.10m + 20 = 0.05m + 30, gives m=200m = 200 minutes as the crossover, and for fewer minutes plan A is cheaper while for more minutes plan B is. This connects modeling to solving a linear equation, and it shows why interpreting the slope (the per-unit rate) is what tells you which model pulls ahead as the input grows.

Try this

Q1. A pool starts with 500 gallons and fills at 30 gallons per minute. Write W(t)W(t). [1 point]

  • Cue. W(t)=30t+500W(t) = 30t + 500.

Q2. For f(x)=6x4f(x) = 6x - 4, find f(7)f(7). [1 point]

  • Cue. f(7)=6(7)4=38f(7) = 6(7) - 4 = 38.

Exam-style practice questions

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

STAAR (style)1 marksMultiple choice. A gym charges a 40signupfeeplus40 sign-up fee plus 25 per month. Which function gives the total cost CC after mm months? (A) C(m)=25m+40C(m) = 25m + 40 (B) C(m)=40m+25C(m) = 40m + 25 (C) C(m)=65mC(m) = 65m (D) C(m)=25+40mC(m) = 25 + 40m
Show worked answer →

The correct answer is (A).

The rate (per month) is the slope, 2525, and the one-time sign-up fee is the initial value, 4040. So C(m)=25m+40C(m) = 25m + 40. Choice (B) swaps the rate and the fee, charging $40 per month; choice (C) wrongly adds them into a single rate. The recurring "per" quantity multiplies the variable; the one-time amount is the constant.

STAAR (style)2 marksEquation editor. The function f(x)=4x+15f(x) = -4x + 15 models the gallons of water left in a tank after xx minutes. Find f(3)f(3) and state what it represents.
Show worked answer →

f(3)=3f(3) = 3, meaning 3 gallons remain after 3 minutes.

Evaluate by substituting x=3x = 3: f(3)=4(3)+15=12+15=3f(3) = -4(3) + 15 = -12 + 15 = 3. In context, f(3)f(3) is the amount of water (3 gallons) left after 3 minutes. The slope 4-4 means the tank loses 4 gallons per minute, and the intercept 15 is the starting amount. Reading function notation as "output when the input is 3" is the assessed skill.

Related dot points

Sources & how we know this