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.
f(x) notation still used today and established the habit of substituting values into formulas — the algebraic evaluation we practice in this lesson.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.
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).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.
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.
Let's see this in action with several function types you'll encounter in Algebra 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.
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.
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.
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).
Worked Example
Let's walk through a complete, multi-part problem that combines both algebraic and graphical evaluation.
f(−1) = −(−1)² + 4(−1) + 5
First, 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.f(3) = −(3)² + 4(3) + 5 = −9 + 12 + 5 = 8 — So the point (3, 8) lies on the graph.−x² + 4x + 5 = 0. Multiply both sides by −1 to get x² − 4x − 5 = 0. Factor: (x − 5)(x + 1) = 0.x = −1 and x = 5, and reaches a height of 8 when x = 3. The vertex (maximum point) of this parabola is at x = 2 (midpoint of the zeros), where f(2) = −4 + 8 + 5 = 9.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 |
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.
Practice Problems
Work through these five problems, which progress from conceptual understanding to synthesis-level thinking. Try each one yourself before revealing the answer.
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?f(x) = 3x² − 2x + 7, evaluate f(−4).g(0) and g(3). For what value(s) of x does g(x) = 5?p(−2), p(1), p(3), and p(10). Is p continuous at x = 1?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?Lesson 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.