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).
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
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 . 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 , 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 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 -intercept and stands alone.
"A plumber charges 45 an hour" becomes : the hourly rate multiplies , 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 -intercept and a slope step. Either way, assemble .
Function notation
Function notation is a name for the output. The letter names the function, is the input, and is the corresponding output.
Function notation can also be read backward: ", find " means solve , 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 at a value, or solve 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 , 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 () and which is the output (). 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 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 and , setting them equal, , gives 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 . [1 point]
- Cue. .
Q2. For , find . [1 point]
- Cue. .
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 25 per month. Which function gives the total cost after months? (A) (B) (C) (D) Show worked answer →
The correct answer is (A).
The rate (per month) is the slope, , and the one-time sign-up fee is the initial value, . So . 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 models the gallons of water left in a tank after minutes. Find and state what it represents.Show worked answer →
, meaning 3 gallons remain after 3 minutes.
Evaluate by substituting : . In context, is the amount of water (3 gallons) left after 3 minutes. The slope 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
- Solve linear equations in one variable, including those requiring the distributive property and those with variables on both sides, and identify equations with one solution, no solution, or infinitely many (TEKS A.5A).
A STAAR Algebra I answer on solving one-variable linear equations (TEKS A.5A), the inverse-operations routine, the distributive property, variables on both sides, and recognizing one solution, no solution, or infinitely many.
- Solve linear inequalities in one variable, including those requiring the distributive property and those with variables on both sides, graph the solution, and interpret it in context (TEKS A.5B).
A STAAR Algebra I answer on solving one-variable linear inequalities (TEKS A.5B), the rule for flipping the sign when multiplying or dividing by a negative, graphing on a number line, and interpreting in context.
- Calculate the rate of change (slope) of a linear function represented tabularly, graphically, or algebraically, and interpret slope and intercepts as rate and initial value in context (TEKS A.3A, A.3B).
A STAAR Algebra I answer on finding slope and rate of change from tables, graphs, two points, and contexts (TEKS A.3A, A.3B), the slope formula on the reference sheet, and interpreting slope and intercepts in real-world situations.
- Write linear equations in two variables in various forms (, , ) given one point and the slope, two points, a table, a graph, or a verbal description (TEKS A.2B, A.2C, A.2G).
A STAAR Algebra I answer on writing linear equations in slope-intercept, point-slope, and standard form (TEKS A.2B, A.2C, A.2G) from a point and slope, two points, a table, a graph, or a verbal description.
- Write systems of two linear equations given a table, a graph, a verbal description, or a real-world problem, then solve and interpret the solution in context (TEKS A.2H, A.2I).
A STAAR Algebra I answer on writing and modeling with systems of two linear equations from real-world situations (TEKS A.2H, A.2I), defining variables, building one equation per condition, and interpreting the solution.
Sources & how we know this
- STAAR Algebra I Assessed Curriculum — Texas Education Agency (2024)
- 19 TAC Chapter 111, Algebra I (TEKS), Adopted 2012 — Texas Education Agency (2012)