Functions Example
A function assigns exactly one output to each allowed input. Function notation such as f(−2) means evaluate the rule f at x = −2; it does not mean multiply f by −2. This example substitutes a negative input into a quadratic, uses parentheses to preserve the sign, and checks the result term by term.
If f(x) = 2x² − 3x + 1, find f(−2)
Replace every x in the function rule with −2. Keep the negative input in parentheses, then follow exponents before multiplication and addition.
| Function rule | f(x) = 2x² − 3x + 1 |
|---|---|
| Input | x = −2 |
| Substitution | f(−2) = 2(−2)² − 3(−2) + 1 |
| Order of operations | Powers, multiplication, then addition |
Step-by-step solution
- 1
Substitute the input
Replace x with −2 everywhere it appears. Parentheses make clear that the entire negative number is being squared.
- 2
Evaluate the exponent
The square of a negative number in parentheses is positive: (−2)² = 4.
- 3
Multiply
Calculate each product: 2 × 4 = 8 and (−3) × (−2) = 6.
- 4
Add the terms
Combine the three values to get the function output.
ANSWER
f(−2) = 15
The function maps the input −2 to the output 15. In coordinate form, the graph contains the point (−2, 15).
Check the signs
The squared term is positive, and the product of two negative factors in −3(−2) is also positive. Adding 8, 6, and 1 confirms the output.