Evaluating functions worksheet: free PDF, lesson & answer key

Evaluating functions — cheat sheet
- Step 1 — Identify the rule: write down
f(x) = ... - Step 2 — Find the input: note the value inside the parentheses, e.g.
f(4)means input = 4 - Step 3 — Substitute: replace every
xwith the input value (use parentheses) - Step 4 — Simplify: follow order of operations (PEMDAS) to get the output
- Watch out:
f(x)is NOTf × x— it is function notation - Negative inputs: always wrap them in parentheses before squaring or multiplying
Each section below expands one line of that cheat sheet with a worked example, common pitfalls, and practice. The free printable worksheet and answer key are just below.
Get the full 10-problem worksheet with a separate answer key as a print-ready PDF.
⚡ TL;DR
- Evaluating a function = plugging an input into the rule and simplifying.
- f(x) is notation, not multiplication — the most common student error.
- Always use parentheses when substituting negative numbers.
- Piecewise functions: check the condition first, then apply the right rule.
- This worksheet has 10 problems, easy to hard, with a full answer key.
- A free printable PDF is available above and after the on-page worksheet.
Table of contents
- What is evaluating a function?
- Why this skill matters in algebra
- Quick facts
- Step-by-step: how to evaluate any function
- Fully worked examples
- Common mistakes (and how to fix them)
- Evaluating vs. solving: comparison table
- The part most guides miss
- On-page practice worksheet
- Reveal-on-click practice problems
- Frequently asked questions
- Related articles
- Sources & references
What is evaluating a function?
Evaluating a function means substituting a specific number (the input) into the function rule in place of the variable, then simplifying to produce a single number (the output). The notation f(4) instructs you to replace x with 4 everywhere it appears in f(x).
A function is a rule that assigns exactly one output to every valid input. Think of it as a machine: you feed a number in, the rule processes it, and one number comes out. The notation f(x) names the function (f) and labels the input slot (x).
Evaluating is the most fundamental thing you do with a function. Every graph you draw, every table you fill, and every real-world model you build starts with this one skill.
Why this skill matters in algebra
Evaluating functions is the gateway to graphing, composition, inverses, and calculus. Without it, you cannot plot a single point on y = f(x), check whether a value is in the domain, or verify a solution.
In my experience teaching algebra, students who struggle with graphing or function composition almost always have a shaky understanding of basic evaluation. Fixing that one gap typically unlocks several topics at once.
Most textbooks introduce evaluating functions as a mechanical plug-and-chug drill, and that is fine for building speed. But I always ask my students: what does the output number actually mean? If f(t) = 60t models distance (km) over time (hours), then f(3) = 180 means “after 3 hours you are 180 km away.” Connecting the arithmetic to a real meaning is what makes the skill stick. I recommend writing one sentence of interpretation for every evaluation you do — at least while you are learning.
Quick facts
| Fact | Detail |
|---|---|
| Skill name | Evaluating functions (function evaluation) |
| Grade level | Grade 8 pre-algebra through Algebra 1 (Grade 9) |
| Core notation | f(x), g(x), h(t) — letter names the function, variable names the input |
| Key operation | Substitution + order of operations (PEMDAS) |
| Function types covered | Linear, quadratic, cubic, rational, piecewise |
| Most common error | Reading f(x) as “f times x” instead of function notation |
| Prerequisite skills | Order of operations, integer arithmetic, basic algebra |
Step-by-step: how to evaluate any function
Follow these four steps every time and you will not make a substitution error.
- Write down the function rule. Copy f(x) = … exactly as given. Do not do anything in your head yet.
- Identify the input value. If the problem says “find f(5)”, the input is 5. If it says “find f(-2)”, the input is -2.
- Substitute — use parentheses. Replace every occurrence of x with the input value inside parentheses. This step prevents sign errors with negatives and squared terms.
- Simplify using order of operations. Work through PEMDAS: parentheses, exponents, multiplication/division, addition/subtraction. Write each step on its own line until you reach a single number.
f(x) = 5x - 3 ← the rule
Find f(4) ← input is 4
Step 3: f(4) = 5(4) - 3
Step 4: f(4) = 20 - 3
f(4) = 17 ← output
Fully worked examples
Here are three worked examples that match the difficulty progression of the worksheet below.
Example 1 — Linear function
Substitute x = 2:
f(2) = 3(2) + 5
= 6 + 5
= 11
Output: 11
Example 2 — Quadratic function with a negative input
Substitute x = -2 (use parentheses!):
q(-2) = (-2)^2 + 2(-2) - 1
= 4 + (-4) - 1
= 0 - 1
= -1
Output: -1
Example 3 — Piecewise function
f(x) = 2x + 1 if x >= 0 f(x) = x^2 if x < 0 Find f(-3) and f(4).
f(-3): Input is -3, which satisfies x < 0, so use the second rule.
f(-3) = (-3)^2 = 9
f(4): Input is 4, which satisfies x >= 0, so use the first rule.
f(4) = 2(4) + 1 = 9
Both outputs happen to equal 9 — but for completely different reasons. That is a useful reminder that the output value alone does not tell you which rule was used.
INPUT FUNCTION RULE OUTPUT
───── ───────────── ──────
x = 4 ──► f(x) = 3x + 5 ──► f(4) = 17
Step 1: Replace x with (4)
Step 2: 3(4) + 5
Step 3: 12 + 5
Step 4: 17 ✓
x = -2 ──► q(x) = x^2+2x-1 ──► q(-2) = -1
Step 1: Replace x with (-2)
Step 2: (-2)^2 + 2(-2) - 1
Step 3: 4 - 4 - 1
Step 4: -1 ✓
Common mistakes (and how to fix them)
These four errors account for the majority of wrong answers on function evaluation problems.
Wrong: f(3) = f × 3
Right: f(3) means “evaluate function f at input 3” — no multiplication involved.
Wrong: f(-2) = x^2 evaluated as -2^2 = -4
Right: (-2)^2 = +4. The parentheses change the answer completely.
Wrong: f(x) = x^2 – x, find f(3) → 3^2 – x (left one x unreplaced)
Right: Replace EVERY x: 3^2 – 3 = 9 – 3 = 6.
Wrong: Applying the first rule without checking which condition the input satisfies.
Right: Always check the condition (x < 0, x >= 2, etc.) before choosing a rule.
Evaluating vs. solving: comparison table
Students often confuse evaluating a function with solving a function equation. The table below shows the key differences.
| Feature | Evaluating a function | Solving a function equation |
|---|---|---|
| What is known? | The input (x value) | The output (f(x) value) |
| What do you find? | The output (a number) | The input (x value) |
| Direction of work | Forward: input → output | Backward: output → input |
| Example | f(x) = 2x + 3, find f(4) → 11 | f(x) = 2x + 3, find x when f(x) = 11 → x = 4 |
| Main operation | Substitution + simplification | Algebraic manipulation (inverse operations) |
| Answer form | A single output number | An x value (or set of x values) |
According to the Khan Academy functions unit, evaluating and solving are the two most foundational function operations in Algebra 1 — and understanding the direction of each is what separates confident students from confused ones.
Most worksheets treat evaluation as purely arithmetic — substitute and simplify. What they skip is domain awareness. Before you substitute, ask: is this input actually allowed? For a function like f(x) = 1/(x-3), evaluating f(3) is undefined (division by zero). For g(x) = sqrt(x-5), evaluating g(2) is undefined over the reals. In my experience, students who develop the habit of checking the domain before substituting make far fewer errors on multi-step problems and are much better prepared for pre-calculus. No other free worksheet I have reviewed builds this habit — so I am building it into this one. On problems 8-10 of the worksheet below, pause and ask yourself: is the input in the domain? Then substitute.
On-page practice worksheet
Print this page or work through it on screen. The 10 problems below match the PDF exactly. Show your substitution step for every problem — do not skip straight to the answer. Check your work with the answer key at the bottom.
Instructions: Evaluate each function for the given input value. Show your substitution step and simplify fully.
- f(x) = 3x + 5. Find f(2).
- g(x) = x – 7. Find g(10).
- h(x) = 4x. Find h(-3).
- f(x) = 2x + 1. Find f(0).
- p(x) = x^2 – 4. Find p(3).
- q(x) = x^2 + 2x – 1. Find q(-2).
- f(x) = 3x^2 – x + 2. Find f(2).
- g(x) = (x + 3) / 2. Find g(7).
- h(x) = 2x^2 – 5x + 1. Find h(-1).
- f(x) = x^3 – 2x. Find f(3).
Show answer key
- f(2) = 3(2) + 5 = 11
- g(10) = 10 – 7 = 3
- h(-3) = 4(-3) = -12
- f(0) = 2(0) + 1 = 1
- p(3) = (3)^2 – 4 = 9 – 4 = 5
- q(-2) = (-2)^2 + 2(-2) – 1 = 4 – 4 – 1 = -1
- f(2) = 3(2)^2 – (2) + 2 = 12 – 2 + 2 = 12
- g(7) = (7 + 3) / 2 = 10 / 2 = 5
- h(-1) = 2(-1)^2 – 5(-1) + 1 = 2 + 5 + 1 = 8
- f(3) = (3)^3 – 2(3) = 27 – 6 = 21
Want a clean print-ready version? Download the PDF with a separate answer key section.
Reveal-on-click practice problems
Try each problem yourself first, then click to reveal the full worked solution.
Practice A: f(x) = 5x^2 – 3x + 1. Find f(-1). (Click to reveal solution)
Substitute x = (-1):
f(-1) = 5(-1)^2 - 3(-1) + 1
= 5(1) + 3 + 1
= 5 + 3 + 1
= 9
Answer: 9
Practice B: g(x) = (2x – 4) / (x + 1). Find g(3). (Click to reveal solution)
Check domain: x + 1 = 3 + 1 = 4, not zero, so g(3) is defined.
Substitute x = 3:
g(3) = (2(3) - 4) / (3 + 1)
= (6 - 4) / 4
= 2 / 4
= 1/2
Answer: 1/2 (or 0.5)
Practice C: Piecewise — find f(5) and f(-2) for the rule below. (Click to reveal solution)
f(x) = x^2 - 1 if x >= 0
f(x) = 3x + 4 if x < 0
f(5): input 5 satisfies x >= 0, use first rule.
f(5) = (5)^2 - 1 = 25 - 1 = 24
f(-2): input -2 satisfies x < 0, use second rule.
f(-2) = 3(-2) + 4 = -6 + 4 = -2
Answers: f(5) = 24, f(-2) = -2
Frequently asked questions
What does evaluating a function mean?
What is the difference between f(x) and f times x?
How do you evaluate a function from a table?
Can the input to a function be negative?
What grade level is evaluating functions?
What is a piecewise function and how do you evaluate it?
How is evaluating functions different from solving equations?
Sources & references
- Khan Academy — Evaluating functions (Algebra 1 unit). Comprehensive free resource covering function notation and evaluation with interactive exercises.
- Wikipedia — Function (mathematics). Formal definition of a function, domain, codomain, and notation.
- MIT OpenCourseWare — Single Variable Calculus (18.01SC). Shows how function evaluation is the foundation for limits and derivatives.
Editorial note: This article was written and fact-checked by Dr. Irfan Mansuri. All worked examples were solved independently and verified. No statistics or external claims were fabricated. Last reviewed August 2026.
