Affine functions
A scalar affine function multiplies its input by a fixed slope and adds a fixed intercept.
On this page 7 sections
01A service uses 5 credits to start, plus 2 credits per job#
A service uses 5 credits to start, plus 2 credits per job. At 3 jobs, the job cost is credits; adding the starting cost gives 11.
The affine rule records both parts.
is the slope, the output change per input unit. is the intercept, the output at . Here, and .
For , what is ?
Show answer and explanation
Multiply 4 by 2, then add 5: .
02At x=0, the scaled part is zero and f(0)=b#
At , the scaled part is zero and . An intercept can be negative: with and , .
Slope is 3; intercept is −2. Which expression gives ?
Show answer and explanation
Multiply by 3, then add the intercept −2.
03Check your understanding#
A calibration rule has slope −2 and intercept 7. What output does it assign to input 3?
Show answer and explanation
Use .
Multiply the input by the slope, then add the intercept once.
- Evaluate a scalar affine rule from its slope and intercept
Sources & further reading
- [1]OpenStax College Algebra 2e: 4 1 Linear Functions ↗OpenStax · Book