What you'll learn
In this lesson you will learn to read function notation, like f(x) = 3x + 4, and to evaluate a function — find its output for a given input. You will work with linear functions (f(x) = mx + b) and quadratic functions (f(x) = ax^2 + bx + c), including tricky inputs such as negative numbers and decimals, and you will learn to work backwards from an output to the input.
Why it matters on the GED. Function notation appears all over the math test:
- "If f(x) = x^2 - 3x + 2, what is f(-2)?"
- "A plumber charges C(h) = 65h + 45 dollars for h hours. What is the charge for 3.5 hours?"
- "The height of a ball is h(t) = -16t^2 + 48t + 6. What is the height after 2 seconds?"
- "Based on the graph of f, what is f(4)?"
Why it matters in real life. Phone bills, taxi fares, and paycheck calculators are all functions: you put in a number (minutes, miles, hours) and a rule gives you exactly one number back (the cost). Evaluating a function is just "plugging in" carefully.
Words to know
- Function — a rule that gives exactly one output for each input.
- Function notation f(x) — read "f of x." It means "the output of function f when the input is x." It does not mean f times x.
- Input — the number inside the parentheses. In f(5), the input is 5.
- Output — the value of f(x). If f(5) = 19, the output is 19, and the point (5, 19) is on the graph.
- Evaluate — replace x with a number and simplify. Evaluate f(x) = 2x + 1 at x = 3: f(3) = 2(3) + 1 = 7.
- Substitute — put a number in place of a variable, inside parentheses: x = -2 becomes (-2).
- Linear function — f(x) = mx + b; its graph is a straight line. Example: f(x) = 4x - 9.
- Quadratic function — f(x) = ax^2 + bx + c with a \ne 0; its graph is a parabola. Example: g(x) = x^2 - 5x + 6.
- Order of operations — Parentheses, Exponents, Multiplication/Division, Addition/Subtraction (PEMDAS).
1. Reading function notation
A function is like a machine: an input goes in, the rule acts on it, and an output comes out.
\underbrace{f}_{\text{name}}(\underbrace{x}_{\text{input}}) = \underbrace{3x + 4}_{\text{rule}}- f(5) means "put 5 into f." So f(5) = 3(5) + 4 = 19.
- The letter does not matter: g(x), h(t), C(n), P(x) all work the same way. Often the letter hints at the meaning — C for cost, h for height, t for time.
- f(5) = 19 is a point on the graph: (5, 19). The input is the x-coordinate and the output is the y-coordinate. So y = f(x).
Important: f(x) is not multiplication. f(5) is not "f \times 5."
Two or more functions. If f(x) = x^2 + 1 and g(x) = 2x - 3, then
f(2) - g(-1) = \big(2^2 + 1\big) - \big(2(-1) - 3\big) = 5 - (-5) = 10.Evaluate each piece separately, then combine.
f(0) is special: it is the y-intercept of the graph. For f(x) = 3x + 4, f(0) = 4, so the graph crosses the y-axis at (0, 4).
2. Evaluating safely: parentheses, exponents, negatives
Step-by-step method
- Rewrite the rule with empty parentheses wherever x appears: f(\ ) = (\ )^2 - 3(\ ) + 2.
- Put the input inside every pair of parentheses.
- Simplify using the order of operations: exponents first, then multiplication, then addition and subtraction from left to right.
Example — linear: f(x) = 10 - 2x, find f(-3).
f(-3) = 10 - 2(-3) = 10 + 6 = 16Example — quadratic: f(x) = x^2 - 3x + 2, find f(-2).
f(-2) = (-2)^2 - 3(-2) + 2 = 4 + 6 + 2 = 12The negative-square trap. These are different:
| Expression | Meaning | Value |
|---|---|---|
| (-3)^2 | (-3)(-3) | 9 |
| -3^2 | -(3 \cdot 3) | -9 |
| -x^2 when x = -3 | -\big((-3)^2\big) | -9 |
| 2x^2 when x = 3 | 2 \cdot 3^2 = 2 \cdot 9 | 18 (not 6^2 = 36) |
A squared number is never negative, so (-2)^2 = 4. But a minus sign in front of the squared term stays: in h(t) = -16t^2 + \dots, the term -16t^2 is always zero or negative.
Decimals and fractions work the same way: C(h) = 65h + 45 at h = 3.5 gives 65(3.5) + 45 = 227.5 + 45 = 272.5. At x = \tfrac{1}{2}: f(x) = 4x^2 gives 4\left(\tfrac{1}{2}\right)^2 = 4 \cdot \tfrac{1}{4} = 1.
3. Values from graphs and tables — and working backwards
From a graph: f(a) is the y-value of the point on the graph directly above or below x = a.
On this graph: f(4) = 5 (go to x = 4, up to the curve, read y = 5); f(0) = -3; f(1) = -4 (the lowest point); and f(-1) = 0. (Its rule is f(x) = x^2 - 2x - 3; for example f(4) = 16 - 8 - 3 = 5 ✓.)
Do not confuse f(3) — the output when x = 3, here 0 — with "where does f(x) = 3?", which asks for an input.
From a table: find the input in the x row; the output is directly below it.
| x | -1 | 0 | 2 | 5 |
|---|---|---|---|---|
| g(x) | 7 | 4 | -2 | -11 |
So g(2) = -2 and g(-1) = 7.
Working backwards (solving). "For what x is f(x) = 25?" gives you the output; you find the input by solving an equation.
- Linear: f(x) = 4x - 7 and f(x) = 25 → 4x - 7 = 25 → 4x = 32 → x = 8.
- Quadratic: p(x) = x^2 - 6 and p(x) = 30 → x^2 = 36 → x = 6 or x = -6. A quadratic can have two inputs with the same output — remember the negative root.
What the answer means in a word problem
On the GED, a function value often comes with a story, and some questions ask what a statement means rather than asking you to compute it.
- C(3.5) = 272.5 for a plumber's bill means "a job that takes 3.5 hours costs $272.50." The number in the parentheses is the input (hours); the number after the equals sign is the output (dollars).
- h(2) = 38 for a ball means "after 2 seconds, the ball is 38 feet high." It does not mean the ball travels 2 feet in 38 seconds.
- C(0) = 45 means "a zero-hour visit still costs $45" — the flat fee, which is also the y-intercept.
Making a table of values. To see how a function behaves, evaluate it at several inputs and list the results. For C(h) = 65h + 45:
| h (hours) | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| C(h) (dollars) | 45 | 110 | 175 | 240 |
The same table drawn as a graph:
Each extra hour adds $65, the rate of change. A table like this is also a handy way to check an answer choice quickly.
Forms to recognize
f(x) = mx + b \qquad\qquad f(x) = ax^2 + bx + c- x — the input; f(x) — the output (the same as y)
- m — slope (rate of change) of a linear function; b — its y-intercept, which equals f(0)
- a, b, c — the coefficients of a quadratic; c = f(0), the y-intercept
Formula sheet: the slope-intercept form y = mx + b, the standard form of a quadratic y = ax^2 + bx + c, and the quadratic formula are on the GED formula sheet. The meaning of function notation f(x) and the rule "substitute, then follow the order of operations" are not on the sheet — you must know them.
Example 1 (easy): a linear function
Let f(x) = 4x - 9. Find f(5) and f(-2).
- f(5) = 4(5) - 9 = 20 - 9 = 11.
- f(-2) = 4(-2) - 9 = -8 - 9 = -17.
Answer: f(5) = \mathbf{11} and f(-2) = \mathbf{-17}.
Check: The slope is 4, so going from x = -2 to x = 5 (7 steps) should raise the output by 4 \times 7 = 28: -17 + 28 = 11 ✓
Example 2: a quadratic with a negative input
Let g(x) = x^2 - 5x + 6. Find g(-3).
- Substitute with parentheses: g(-3) = (-3)^2 - 5(-3) + 6.
- Exponent first: (-3)^2 = 9.
- Multiply: -5(-3) = +15.
- Add: 9 + 15 + 6 = 30.
Answer: g(-3) = \mathbf{30}.
Check: Factor g(x) = (x - 2)(x - 3). Then g(-3) = (-3 - 2)(-3 - 3) = (-5)(-6) = 30 ✓
Example 3: real-world linear function (taxi fare)
A taxi company charges C(m) = 3.25 + 2.40m dollars for a ride of m miles. How much does a 12.5-mile ride cost?
- Substitute m = 12.5: C(12.5) = 3.25 + 2.40(12.5).
- Multiply first: 2.40 \times 12.5 = 30.
- Add: 3.25 + 30 = 33.25.
Answer: $33.25
Check: Estimate: about $2.40 per mile × 12 miles ≈ $29, plus about $3 → about $32–$33 ✓
Example 4: real-world quadratic (height of a ball)
A ball is thrown upward. Its height in feet after t seconds is h(t) = -16t^2 + 64t + 5. How high is the ball after 1.5 seconds?
- Substitute: h(1.5) = -16(1.5)^2 + 64(1.5) + 5.
- Exponent: (1.5)^2 = 2.25.
- Multiply: -16(2.25) = -36 and 64(1.5) = 96.
- Add: -36 + 96 + 5 = 65.
Answer: 65 feet
Check: h(1) = -16 + 64 + 5 = 53 and h(2) = -64 + 128 + 5 = 69. A value of 65 between them makes sense as the ball rises ✓
Example 5 (GED-hard): work backwards
(a) f(x) = 3x + 7. For what value a is f(a) = 31? (b) p(x) = 2x^2 - 8. For which values of x is p(x) = 42?
(a)
- Set the rule equal to the output: 3a + 7 = 31.
- Subtract 7: 3a = 24.
- Divide by 3: a = 8.
(b)
- Set up: 2x^2 - 8 = 42.
- Add 8: 2x^2 = 50. Divide by 2: x^2 = 25.
- Take the square root — both signs: x = 5 or x = -5.
Answer: (a) a = \mathbf{8}; (b) x = \mathbf{5} or x = \mathbf{-5}.
Check: f(8) = 24 + 7 = 31 ✓; p(5) = 2(25) - 8 = 42 ✓ and p(-5) = 2(25) - 8 = 42 ✓
TI-30XS MultiView tips
- Always type negative inputs with the
(−)key, inside parentheses, then square:((−)3)x²gives 9. Typing(−)3x²without parentheses gives −9, because the calculator squares 3 first. - Powers: use
x²for squares and^for other powers. - Whole expressions at once: for h(1.5) = -16(1.5)^2 + 64(1.5) + 5, type
(−)16(1.5)x²+64(1.5)+5enter→ 65. - Fractions: use
n/dfor inputs like \tfrac{1}{2}, andtoggleto switch the answer between fraction and decimal. - When NOT to use it: for small whole numbers like f(5) = 3(5) + 4, mental math is faster and avoids typing errors. Many simple evaluations can appear in the calculator-free part of the test.
Common mistakes
- Squaring a negative without parentheses. ✗ (-2)^2 - 3(-2) + 2 evaluated as -4 + 6 + 2 = 4. ✓ (-2)^2 = 4, so the answer is 4 + 6 + 2 = 12.
- Losing the sign in -bx. ✗ -3(-2) = -6. ✓ Negative × negative = positive: -3(-2) = +6.
- Squaring the coefficient too. ✗ 2x^2 at x = 3 as (2 \cdot 3)^2 = 36. ✓ Only x is squared: 2 \cdot 3^2 = 2 \cdot 9 = 18.
- Forgetting the square. ✗ -16t^2 at t = 2 as -16 \cdot 2 = -32. ✓ -16 \cdot 2^2 = -16 \cdot 4 = -64.
- Treating f(x) as multiplication, or answering the input instead of the output. f(3) asks for a y-value, not "f \times 3."
- Forgetting the negative solution when working backwards with a quadratic. ✗ x^2 = 36 \Rightarrow x = 6 only. ✓ x = 6 or x = -6.
GED test strategy
- Write the rule with parentheses on your erasable note board first, then fill in the number. This one habit prevents most sign errors.
- Read the question twice: "find f(4)" (plug in 4) is different from "find x when f(x) = 4" (solve).
- Eliminate answer choices that come from the classic slips: a choice that equals your answer with a sign flipped, or one that equals (\text{coefficient} \times x)^2.
- Plug answers back in for "work backwards" questions: if the choices are 6 and -6, test them in the function.
- Estimate real-world answers: a taxi ride shouldn't cost $330 for 12 miles; a ball thrown by hand shouldn't be 1,000 feet high.
- Units: in word problems, attach the unit (dollars, feet, seconds) to your answer and make sure it matches the question.
Check yourself
If f(x) = 3x + 4, what is the value of f(5)?
Hint
Replace x with 5. Remember that 3x means 3 times x.
Step-by-step solution
- Function notation f(5) means "the output when the input is 5."
- Substitute 5 for x, using parentheses: f(5) = 3(5) + 4.
- Multiply first: 3(5) = 15.
- Then add: 15 + 4 = 19.
Answer: f(5) = 19
Check: The point (5, 19) should satisfy y = 3x + 4: 3 \cdot 5 + 4 = 19 ✓ Also, f(4) = 16 and f(6) = 22, and 19 sits exactly halfway between them, as it should for a line with slope 3.
Tip: 3x means "3 times x." Write 3(5) — never "35" — and multiply before you add. The parentheses habit pays off later, when the input is negative.
Check yourself
If g(x) = x^2 + 1, what is g(4)?
g(4) =
Type your answer in the box. Fractions like 3/4 are fine.
Hint
Replace x with 4. Square first, then add.
Step-by-step solution
- g(4) means "the output of g when the input is 4."
- Substitute: g(4) = (4)^2 + 1.
- Exponent first: 4^2 = 4 \times 4 = 16.
- Add: 16 + 1 = 17.
Answer: g(4) = 17
Check: Squaring is repeated multiplication, not doubling: 4^2 = 16, not 8. So 16 + 1 = 17 ✓
Tip: A common slip is 4^2 = 8 (multiplying by 2 instead of squaring), which would give 9. Squaring means multiplying the number by itself.
Summary
- f(x) means "the output of f for input x" — it is not multiplication; f(a) = b means the point (a, b) is on the graph.
- To evaluate, substitute inside parentheses, then use the order of operations: exponents → multiply → add/subtract.
- (-3)^2 = 9, but -3^2 = -9; in ax^2 only x is squared.
- From a graph or table, f(a) is the y-value that goes with x = a; f(0) is the y-intercept.
- Working backwards: set f(x) equal to the given output and solve — a quadratic can give two answers.