How to Evaluate a Function- Complete Guide with Examples
What Does "Evaluating a Function" Actually Mean?
Evaluating a function means plugging a number into the function and calculating the output. That's it. Nothing fancy.
You've got a function like f(x) = 2x + 5. When someone asks you to evaluate f(3), they're asking: "What happens when x equals 3?"
You replace every x in the formula with 3, then simplify. The result is your answer.
The Basic Process: Step-by-Step
Here's how evaluation works every single time:
- Identify the input value (the number in the parentheses)
- Substitute that number for every variable in the expression
- Simplify using order of operations
Let's walk through an example.
Example: f(x) = 3x² - 2x + 1
Evaluate f(4).
Step 1: Replace x with 4
f(4) = 3(4)² - 2(4) + 1
Step 2: Apply order of operations (PEMDAS)
f(4) = 3(16) - 8 + 1
f(4) = 48 - 8 + 1
f(4) = 41
Your answer is 41.
Evaluating Different Types of Functions
Linear Functions
Linear functions are the easiest. Just substitute and solve.
f(x) = 5x - 3
f(2) = 5(2) - 3 = 10 - 3 = 7
Quadratic Functions
Quadratic functions involve squaring. Watch your order of operations.
f(x) = x² - 9
f(-3) = (-3)² - 9 = 9 - 9 = 0
⚠️ Common mistake: Don't write -3² = 9. The correct interpretation is -(3²) = -9. Use parentheses to keep negatives straight.
Polynomial Functions
Polynomials can have multiple terms with different powers.
f(x) = 2x³ - x² + 4x - 7
f(2) = 2(8) - 4 + 8 - 7
f(2) = 16 - 4 + 8 - 7
f(2) = 13
Fraction Functions
When your function has fractions, substitute carefully and simplify.
f(x) = (x² - 4) / (x + 2)
f(3) = (9 - 4) / (3 + 2)
f(3) = 5/5 = 1
Radical Functions
Square roots add a constraint: the radicand must be non-negative if you're working with real numbers.
f(x) = √(x + 7)
f(2) = √(2 + 7) = √9 = 3
Evaluating at Negative Numbers
This is where people mess up constantly. The rule: always use parentheses around negative inputs.
f(x) = x² - 5x
Evaluate f(-2):
f(-2) = (-2)² - 5(-2)
f(-2) = 4 + 10
f(-2) = 14
Wrong way: f(-2) = -2² - 5(-2) = -4 + 10 = 6 ✗
The wrong method forgets to square the negative properly.
Multiple Function Notation Formats
You'll see functions written different ways. Here's what they all mean:
| Notation | Meaning |
|---|---|
| f(x) | Standard function notation |
| y = 2x + 1 | Function written as equation |
| g(x) | Different function name (g instead of f) |
| f(3) | Evaluate f when x = 3 |
| f(a) | Evaluate f when x = a (keeps it symbolic) |
Evaluating Composite Functions
A composite function is a function inside another function. Notation: f(g(x))
Work from the inside out.
f(x) = x + 2
g(x) = 3x
Find f(g(2)):
Step 1: Evaluate g(2) = 3(2) = 6
Step 2: Plug that into f: f(6) = 6 + 2 = 8
f(g(2)) = 8
Function Evaluation vs. Function Solving
Don't confuse these two things.
- Evaluating means finding the output for a given input. You know x, find y.
- Solving means finding the input that produces a given output. You know y, find x.
Example of solving: If f(x) = 2x + 5 and f(x) = 11, find x.
11 = 2x + 5
6 = 2x
x = 3
Common Mistakes to Avoid
- Forgetting parentheses around negative numbers
- Skipping order of operations (doing addition before multiplication, etc.)
- Not simplifying completely
- Confusing f(x) = ... with f(x) = ... = some number
- Forgetting that exponents come before multiplication
Quick Reference: Evaluating f(x) at Common Values
For f(x) = 2x² - 3x + 1:
| Input (x) | Calculation | Output f(x) |
|---|---|---|
| 0 | 2(0)² - 3(0) + 1 | 1 |
| 1 | 2(1) - 3(1) + 1 | 0 |
| 2 | 2(4) - 3(2) + 1 | 3 |
| -1 | 2(1) - 3(-1) + 1 | 6 |
Getting Started: Your Evaluation Checklist
Before you submit any function evaluation:
- ✓ Did you write the original function with the input value substituted?
- ✓ Are all negative inputs in parentheses?
- ✓ Did you apply exponents before multiplication?
- ✓ Did you simplify completely?
- ✓ Can you verify by checking a simpler case?
That's the entire process. Substitution, order of operations, simplification. Nothing more.