Back
GED Math — Basic Algebra
🔁 Function Evaluation by Substitution
Replace x with a value, follow order of operations, simplify
Progress
0%
What Is f(x)?
Understanding function notation and what it means
📐
The 4-Step Method
Identify → Substitute → Operate → Simplify
🔵
Problem 1 — f(2)
f(x) = 2x² + 3x − 4 → answer: 10
🟢
Problem 2 — g(−1)
g(x) = x² − 4x + 7 → answer: 12
🟠
Problem 3 — h(4)
h(x) = (1/2)x² − 3x + 8 → answer: 4
🔧
Interactive Evaluator
Type a function and a value — see every step!

💡 What You Will Learn

Function evaluation means plugging a number into a function and calculating the result. When you see f(3), it means "replace every x with 3 in the function, then simplify." This topic appears on every GED Math exam — and once you learn the 4-step method, it becomes straightforward!

Lesson 1 — What Is f(x)?
Function notation is just a way to name a rule and say "plug x in here."
📌 Function Notation

f(x) is read as "f of x" — it means the function named f, applied to the input x.

f(3) means: take the function f and replace every x with 3.
g(−1) means: take the function g and replace every x with −1.

Visual — see the substitution happen
Function: f(x) = x² − 5x + 12
f(x) = x² − 5·x + 12
f
f, g, h are just names for functions

The name could be f, g, h, or any letter. They all work the same way — plug in the value and calculate.

x
x is a placeholder — it gets replaced

Every time you see x in the formula, you swap it with the given number. If x = 3, replace every x with 3.

( )
Always use parentheses with negative values

If x = −2, write (−2) — not just −2. This is critical for squaring: (−2)² = 4, not −4!

🧠 Think About It

If f(x) = 3x + 1, what does f(4) mean? (Replace x with 4: 3·4 + 1 = ?)

Lesson 2 — The 4-Step Method
Follow these 4 steps for every function evaluation problem.
1
Identify the function and the value

Read the problem carefully. Find the function formula and the value you need to substitute.
Example: "Find f(2) for f(x) = 2x² + 3x − 4" → function: 2x² + 3x − 4, value: x = 2

2
Substitute — replace every x with the value

Write out the full expression with the number substituted in.
f(2) = 2(2)² + 3(2) − 4
Use parentheses, especially for negative values!

3
Apply order of operations (PEMDAS)

Exponents first → then multiply/divide → then add/subtract.
(2)² = 4 → 2·4 = 8 → 3·2 = 6

4
Simplify — add and subtract to get the final answer

8 + 6 − 4 = 10
The result is the value of the function for that input. ✅

Quick Summary Table
StepActionExample
1 — IdentifyFind the function & valuef(x)=2x²+3x−4, x=2
2 — SubstituteReplace every x with ( value )2(2)²+3(2)−4
3 — OperatePowers → × ÷ → + −8 + 6 − 4
4 — SimplifyFinal answer= 10 ✅
Problem 1 — Find f(2) for f(x) = 2x² + 3x − 4
A positive substitution value — straightforward!
Given
f(x) = 2x² + 3x − 4    Find: f(2)
Step 1
Substitute x = 2 into every position:
f(2) = 2(2)² + 3(2) − 4
Step 2
Evaluate the exponent first (PEMDAS — E before M):
(2)² = 4
Step 3
Now multiply:
2 × 4 = 8    and    3 × 2 = 6
Step 4
Add and subtract left to right:
8 + 6 − 4 = 10
Answer
f(2) = 10
🧠 Try a Variation

Using the same function f(x) = 2x² + 3x − 4, what is f(3)? (Substitute 3 for every x)

Problem 2 — Find g(−1) for g(x) = x² − 4x + 7
A negative substitution value — use parentheses!
⚠️ Key Reminder

When substituting a negative value, always write it in parentheses: (−1) not just −1.
This prevents sign errors: (−1)² = +1 but −1² = −1. Big difference on the GED!

Given
g(x) = x² − 4x + 7    Find: g(−1)
Step 1
Substitute x = (−1) with parentheses:
g(−1) = (−1)² − 4(−1) + 7
Step 2
Evaluate the exponent:
(−1)² = (−1)×(−1) = 1
Step 3
Now multiply (note: negative × negative = positive!):
−4 × (−1) = +4
Step 4
Add all terms:
1 + 4 + 7 = 12
Answer
g(−1) = 12
🧠 Try a Variation

Using the same function g(x) = x² − 4x + 7, what is g(−2)? (Remember: use parentheses for (−2)!)

Problem 3 — Find h(4) for h(x) = (1/2)x² − 3x + 8
A fraction coefficient — multiply carefully!
Given
h(x) = (1/2)x² − 3x + 8    Find: h(4)
Step 1
Substitute x = 4:
h(4) = (1/2)(4)² − 3(4) + 8
Step 2
Evaluate the exponent first:
(4)² = 16
Step 3
Multiply each term:
(1/2) × 16 = 8    and    3 × 4 = 12
Step 4
Add and subtract:
8 − 12 + 8 = 4
Answer
h(4) = 4
🧠 Try a Variation

Using the same function h(x) = (1/2)x² − 3x + 8, what is h(2)? (Step 1: (2)²=4, Step 2: (1/2)×4=2...)

Interactive Function Evaluator
Choose a function and enter a value — see every step!
Select a function and enter a value for x
Function:
Value of x:
🧠 Challenges

Try f(x)=2x²+3x−4 with x=2 → should get 10  |  Try g(x)=x²−4x+7 with x=−1 → should get 12  |  Try h(x)=(1/2)x²−3x+8 with x=4 → should get 4

Practice Exercises
Evaluate each function — then reveal the answer!
Question 1 of 8
Score: 0 / 8
Insert math as
Block
Inline
Additional settings
Formula color
Text color
#333333
Type math using LaTeX
Preview
\({}\)
Nothing to preview
Insert