Section 1
Historical Context & Motivation
The idea of a function — a rule that assigns exactly one output to each input — is so woven into modern mathematics that it can be hard to imagine a time without it. Yet the concept evolved over centuries, driven by practical problems in astronomy, physics, and commerce. Understanding that history reveals why we evaluate functions the way we do today and why both graphical and algebraic representations matter.
~2000 BCE
1637 CE
1748 CE
f(x) notation still used today and established the habit of substituting values into formulas — the algebraic evaluation we practice in this lesson.1837 CE
20th–21st Century
At its heart, the question this lesson addresses is deceptively simple: given a function, how do we find the output for a particular input? Whether the function is presented as an equation like f(x) = 2x² − 3x + 1 or as a curve drawn on a coordinate plane, the goal is the same — and mastering both methods is essential for success in Algebra 2 and beyond.
Section 2
Core Principles & Definitions
Before we evaluate any function, we need a rock-solid understanding of four foundational ideas. These principles apply regardless of whether you're working with a graph, a formula, a table, or a verbal description.
Function Notation
f(x) is read "f of x." Here, f is the name of the function and x is the input variable. Writing f(3) means "find the output when the input is 3." The parentheses do not indicate multiplication.Input → Output
Algebraic Evaluation
f(a) from an equation, replace every x with a and simplify. Respect order of operations (PEMDAS): parentheses first, then exponents, then multiplication/division, then addition/subtraction.Graphical Evaluation
f(a) from a graph, find x = a on the horizontal axis, move vertically to the curve, and read the y-coordinate of that point. That y-value is f(a).Key Takeaway
Section 3
Visual Explanation — Reading a Graph
The diagram below shows the graph of a function f(x). To evaluate f(2), we locate x = 2 on the horizontal axis, draw a vertical line up to the curve, then read the corresponding y-value. In this case, the curve passes through the point (2, 5), so f(2) = 5. Likewise, to find f(−1), we go to x = −1 and read y = 2, giving us f(−1) = 2.
Notice the two complementary motions: a vertical line from the x-axis to the curve tells you "which point on the curve corresponds to this input," and a horizontal line from that point to the y-axis tells you "what is the output." This technique works for any function whose graph you can see — polynomial, exponential, piecewise, or even functions without tidy formulas. The ability to read a graph is especially powerful when you encounter data-driven functions in science or economics where no equation may exist.
Section 4
Mathematical Framework — Evaluating from Equations
When a function is given as an algebraic equation, evaluation is a matter of substitution and simplification. The process is systematic and always follows the same pattern: replace the variable with the given input, then apply the order of operations until you reach a single numerical answer.
Substitution Principle
The letter "a" represents any real number (or expression) you substitute for x.
Let's see this in action with several function types you'll encounter in Algebra 2.
Polynomial Function
To find f(−2): replace x with (−2) → 2(−2)³ − 5(−2) + 4 = 2(−8) + 10 + 4 = −16 + 14 = −2
Notice the critical detail: when substituting a negative number, always enclose it in parentheses. Writing 2(−2)³ is correct; writing 2 × −2³ invites sign errors because you might forget that the exponent applies only to the 2 inside the parentheses.
Rational Function
To find g(7): → (3(7) + 1) / (7 − 4) = 22 / 3 ≈ 7.33. Note: g(4) is undefined because the denominator equals zero.
Piecewise Function
To find h(−3): since −3 < 0, use the first piece → (−3)² + 1 = 10. To find h(5): since 5 ≥ 0, use the second piece → 3(5) − 2 = 13.
Piecewise functions add one extra step: before substituting, determine which piece of the rule applies based on the value of the input. This is also a graphical skill — on a piecewise graph, different segments of the curve cover different intervals of x.
Evaluating with Expressions
You can substitute entire expressions, not just numbers. Expand and simplify: a² + 2a + 1 − 3a − 3 = a² − a − 2.
This last case — substituting an expression rather than a number — is a hallmark of Algebra 2. It requires careful expansion and is crucial for understanding function composition and transformations later in the course.
Section 5
Detailed Breakdown — Methods Side by Side
There are three common representations of a function: equation, graph, and table. Each tells you the same information in a different format, and evaluating the function looks slightly different depending on which format you're using. The following diagram and table summarize the process for each.
| Method | When to Use | Key Skill | Common Pitfall |
|---|---|---|---|
| Equation | When an explicit formula is given | Substitution & simplification | Forgetting parentheses around negative inputs |
| Graph | When a curve or plot is provided | Precise reading of coordinates | Confusing x-values with y-values |
| Table | When data is listed in rows/columns | Matching input to output row | Assuming linearity between listed values |
| Piecewise | When different rules apply on different intervals | Identifying the correct piece first | Using the wrong piece for a boundary value |
Regardless of method, the fundamental principle remains the same: a function pairs every input with exactly one output. If you ever get two different y-values for the same x-value, something has gone wrong — either in your arithmetic or in confirming the relation is actually a function (recall the vertical line test).
Section 6
Worked Example
Let's walk through a complete, multi-part problem that combines both algebraic and graphical evaluation.
Given f(x) = −x² + 4x + 5, find f(−1), f(3), and determine the x-value where f(x) = 0.
- 1
Step 1 — Evaluate f(−1)
Substitute x = −1 into the equation. Be sure to wrap −1 in parentheses:f(−1) = −(−1)² + 4(−1) + 5First, compute the exponent: (−1)² = 1. Then multiply: −(1) = −1, and 4(−1) = −4.f(−1) = −1 − 4 + 5 =0 — So the point (−1, 0) lies on the graph — this is an x-intercept. - 2
Step 2 — Evaluate f(3)
Substitute x = 3:f(3) = −(3)² + 4(3) + 5 = −9 + 12 + 5 =8 — So the point (3, 8) lies on the graph. - 3
Step 3 — Find x where f(x) = 0
We need to solve−x² + 4x + 5 = 0. Multiply both sides by −1 to getx² − 4x − 5 = 0. Factor:(x − 5)(x + 1) = 0.x = 5 or x = −1. Both are x-intercepts. We already confirmed f(−1) = 0 in Step 1. We can verify: f(5) = −25 + 20 + 5 = 0 ✓. - 4
Step 4 — Interpret the Results
We have evaluated the function at two inputs and found two zeros. In the context of a graph, this means the parabola (opening downward because the leading coefficient is negative) crosses the x-axis atx = −1andx = 5, and reaches a height of 8 whenx = 3. The vertex (maximum point) of this parabola is atx = 2(midpoint of the zeros), wheref(2) = −4 + 8 + 5 = 9.
Section 7
Strengths, Limitations & Comparisons
Each method of evaluating a function has distinct advantages and drawbacks. Knowing when each method shines — and when it falls short — will make you a more versatile problem-solver.
| Aspect | Equation-Based | Graph-Based |
|---|---|---|
| Precision | Exact values every time | Limited by graph resolution; may require estimation |
| Speed | Can be slow for complex expressions | Fast — just read the coordinate |
| Domain awareness | Must check algebraically (e.g., division by zero) | Gaps and discontinuities are visible |
| Big-picture behavior | Hard to see trends without calculation | Overall shape, maxima, minima are immediately clear |
| Non-integer inputs | Handles any input precisely | Interpolation needed for values between grid lines |
| Expression inputs | Can substitute expressions like (a + h) | Not possible — graphs only accept numerical inputs |
Key Takeaway
Section 8
Connection to Advanced Theory
Evaluating functions is the foundation upon which many advanced algebraic topics are built. In the next chapters of Algebra 2 and into Precalculus, you will encounter several concepts that directly extend the skills in this lesson.
Function composition, written f(g(x)), requires you to evaluate the inner function first, then feed that result as the input to the outer function — substitution within substitution. Inverse functions reverse the process: given an output, you work backward to find the input. On a graph, this is equivalent to swapping the x- and y-axes. Transformations (shifts, stretches, reflections) modify the equation in systematic ways, and understanding how substitution works is key to predicting how the graph will change.
| This Lesson | Advanced Extension | Connection |
|---|---|---|
| f(a) — substituting a number | f(g(x)) — substituting a function | Same substitution principle, applied recursively |
| Finding y given x | Finding x given y (inverse functions) | Evaluation in reverse; graphically, reflect over y = x |
| Reading points from a graph | Analyzing transformations of graphs | Shifts/stretches change which point you read for a given x |
| Evaluating piecewise functions | Limits and continuity (Calculus) | Checking function values at boundaries leads to limit analysis |
| f(a + h) — substituting expressions | Difference quotient: [f(a+h) − f(a)] / h | The core definition of the derivative (Calculus) |
In particular, the difference quotient — the expression [f(x + h) − f(x)] / h — is the gateway to calculus. It requires you to evaluate f at the expression (x + h), subtract f(x), and simplify. Every step relies on the substitution skills you are building right now. So when you practice evaluating f(x + h), you are literally rehearsing the first step of calculus months before you need it.
Section 9
Practice Problems
Work through these five problems, which progress from conceptual understanding to synthesis-level thinking. Try each one yourself before revealing the answer.
Question 1: Problem 1 — Conceptual
f(7) = 12 tells you. What is the input? What is the output? If you were looking at the graph of f, what point would correspond to this statement?Show answer
f(7) = 12 tells us that when the input is 7, the function f produces an output of 12. Here, 7 is the input (the value of x) and 12 is the output (the value of y, also written as f(x)). On the graph of f, this corresponds to the point (7, 12). You would find x = 7 on the horizontal axis, move vertically to the curve, and the curve would pass through the height y = 12 at that location.Question 2: Problem 2 — Basic Calculation
f(x) = 3x² − 2x + 7, evaluate f(−4).Show answer
f(−4) = 3(−4)² − 2(−4) + 7
First, (−4)² = 16. Then 3 × 16 = 48. Next, −2 × (−4) = +8. Finally, 48 + 8 + 7 = 63. A common error is computing (−4)² as −16 instead of +16 — remember, the square of a negative number is always positive.Question 3: Problem 3 — Intermediate
g(0) and g(3). For what value(s) of x does g(x) = 5?Show answer
g(0) = 1 (the point (0, 1)) and g(3) = 3 (the point (3, 3)). To find where g(x) = 5, we look for points with y-coordinate 5. The point (−2, 5) has y = 5, so x = −2. Note that there could be additional solutions between the listed points, but based on the given data, x = −2 is the only confirmed answer. When working from a graph or table with discrete data, always acknowledge that your answer is limited to the information provided.Question 4: Problem 4 — Applied / Multi-Step
p(−2), p(1), p(3), and p(10). Is p continuous at x = 1?Show answer
Question 5: Problem 5 — Critical Thinking / Synthesis
f(x) = x² − 3x, compute the difference quotient: [f(x + h) − f(x)] / h. Simplify your answer completely (the h in the denominator should cancel). What does this expression represent geometrically?Show answer
f(x + h) = (x + h)² − 3(x + h) = x² + 2xh + h² − 3x − 3h
Step 2 — Compute f(x + h) − f(x):
(x² + 2xh + h² − 3x − 3h) − (x² − 3x) = 2xh + h² − 3h
Step 3 — Divide by h:
(2xh + h² − 3h) / h = 2x + h − 3
The h cancels, leaving a clean expression. Geometrically, this difference quotient represents the slope of the secant line connecting the points (x, f(x)) and (x + h, f(x + h)) on the graph of f. As h → 0, this approaches the slope of the tangent line — the derivative — which is 2x − 3. This is the bridge from Algebra 2 to Calculus, and it all begins with evaluating a function at (x + h).Summary
Lesson Summary
Summary
Evaluating a function means finding the output that corresponds to a given input. When working from an equation, you substitute the input value for the variable and simplify using the order of operations — always wrapping negative numbers or expressions in parentheses to avoid sign errors. When working from a graph, you locate the input on the horizontal axis, trace vertically to the curve, and read the y-coordinate. For piecewise functions, the essential first step is identifying which rule applies to your input before substituting.
These techniques — developed from Babylonian lookup tables through Euler's f(x) notation to modern graphing technology — form the backbone of higher mathematics. Substituting expressions instead of numbers unlocks function composition, transformations, and the difference quotient — the very concept that launches Calculus. Master evaluation, and you hold the key to nearly every topic that follows.