Linear functions represent relationships with a constant rate of change, creating straight lines when graphed. They can be modeled as f(x)=mx+b or y=mx+b, where f(x) represents the output value for any input x.
Function form: f(x)=mx+b
The term f(x) replaces y to emphasize that the output value depends on the input x.
Evaluating f(a) means substituting x=a into the function rule to find the corresponding output value.
The notation f(x)=k means finding the input value x that yields an output of k.
On a graph, (x,f(x)) represents an ordered pair (x,y) on the line.
In modeling, f(x) represents the total amount or final state after x units of change.
Transformations of Linear Functions
Transformations alter the position, steepness, or orientation of a base linear function, such as f(x)=3x+7.
Vertical Stretch/Compression:g(x)=a⋅f(x) multiplies all output values by a.
Example: Stretch f(x)=3x+7 vertically by a factor of 2:
g(x)=2⋅f(x)=2(3x+7)=6x+14
Reflection Across the x-Axis:g(x)=−f(x) flips the entire graph vertically.
Example: Reflect f(x)=3x+7 across the x-axis:
g(x)=−f(x)=−(3x+7)=−3x−7
Horizontal Shift:g(x)=f(x−h) shifts the graph right by h units (h>0) or left (h<0).
Example: Shift f(x)=3x+7 right by 4 units:
g(x)=f(x−4)=3(x−4)+7=3x−12+7=3x−5
Vertical Shift:g(x)=f(x)+k shifts the graph up by k units (k>0) or down (k<0).
Example: Shift f(x)=3x+7 down by 5 units:
g(x)=f(x)−5=(3x+7)−5=3x+2
Comparing Linear Functions
Linear functions can be compared across different representations, such as equations, tables, graphs, or verbal descriptions.
Comparing Rates of Change: Determine which function grows or decays faster by comparing the absolute values of their slopes (∣m∣).
Comparing Initial Values: Identify which function starts higher or lower by comparing their y-intercepts (b=f(0)).
Finding Intersections: Setting f(x)=g(x) finds the input value x where both functions produce identical outputs.
Example 1
If f(x)=−6x+1, what is the value of f(−2)?
A
13
B
−11
C
−13
D
1
Choice A is the best answer. Substituting x=−2: f(−2)=−6(−2)+1=12+1=13. Choice B is incorrect; it results from adding 1 before multiplying by −6, i.e. computing −6(−2+1). Choice C is incorrect; it applies the wrong sign to the constant term. Choice D is incorrect; it drops the −6x term entirely and reports only the constant.
Example 2
If f is a linear function and f(3)=10 and f(7)=22, what is the value of f(10)?
31
Correct
First find the slope: m=7−322−10=412=3. Using the rate of change from x=7 to x=10 (a change of 3 in x): f(10)=f(7)+3(3)=22+9=31. A common error is using a slope of 4 (mistaking the change in x for the slope) or adding only 3 instead of 3×3=9 to f(7).
Tips for solving
Evaluate f(x) carefully when nested or given algebraic inputs.
Example: If f(x)=3x−4, what is f(2a+1)?
Substitute (2a+1) for x: f(2a+1)=3(2a+1)−4=6a+3−4=6a−1.
Identify vertical shifts directly by comparing y-intercepts.
Example: The graph of g(x) is formed by shifting f(x)=2x+5 down by 3 units. What is g(x)?
Subtract 3 from the constant term: g(x)=f(x)−3=(2x+5)−3=2x+2.
Distinguish between input shifts f(x−h) and output shifts f(x)+k.
Example: If f(x)=4x, what equation represents g(x)=f(x−2)?
Replace x with (x−2): g(x)=4(x−2)=4x−8.
Compare slopes from tables by finding ΔxΔf(x).
Example: Function A has f(x)=5x+1. Function B is given by points (0,2) and (4,18). Which has a greater rate of change?
Slope of B: m=4−018−2=416=4.
Comparison: Function A has a greater rate of change (5>4).
Find the break-even or equivalence point by setting f(x)=g(x).
Example: Plan A costs f(x)=20x+50 and Plan B costs g(x)=30x+10. At how many hours x do both plans cost the same?
Set equal: 20x+50=30x+10⟹10x=40⟹x=4 hours.
Interpret domain and range restrictions in real-world contexts.
Example: A car's gas tank function is g(m)=15−0.05m, where m is miles driven. What is the practical domain?
Tank empty condition: 15−0.05m=0⟹0.05m=15⟹m=300.
Practical domain: 0≤m≤300 miles.
Practice questions
00:00
Question 1 · easy
If f(x)=3x−5, what is the value of f(4)?
Question 2 · easy
If f(x)=−6x+1, what is the value of f(−2)?
Question 3 · easy
If f(x)=2x+9, what is the value of f(0)?
Question 4 · easy
A candle's height, in centimeters, after burning for t hours is modeled by h(t)=20−2t. What is the value of h(3)?
Question 5 · easy
The graph shows the linear function f. What is the value of f(1)?
Question 6 · easy
If f(x)=−4x+10, what is the value of f(3)?
Question 7 · easy
If f(x)=7x−3, what is the value of f(0)?
Question 8 · easy
A parking garage charges according to C(h)=5h+3, where C(h) is the cost, in dollars, for h hours of parking. What is the value of C(2)?
Question 9 · easy
x
f(x)
0
4
1
7
2
10
The table shows values of the linear function f. What is the value of f(2)?