Math Error Lab

Check 18 · Functions

Function notation: why f(x + 4) is not f(x) + 4

The question gives f(x) = 5x − 3 and asks for f(x + 4). It looks like the 4 can just ride along at the end, so you write 5x − 3 + 4. That answer is in the choices, and it is wrong.

In this guide

The short answer

How do you find f(x + 4) when you know f(x)?

To find f(x + 4), replace every x in the rule with the whole input, x + 4, inside parentheses, then simplify. For f(x) = 5x − 3, f(x + 4) = 5(x + 4) − 3 = 5x + 17. That is not f(x) + 4, which is 5x + 1. Adding 4 to the input adds 5 × 4 = 20 to the output.

Prefer video? Watch the 1-minute lesson

The 4 goes inside, with the x. Then the 5 multiplies it.

The rule f(x) = 5x − 3

Add 4 to the output: f(x) + 45x − 3 + 4 = 5x + 1At x = 0: 1✗ Trap
Add 4 to the input: f(x + 4)5(x + 4) − 3 = 5x + 17At x = 0: 17 = f(4)✓ Right

Moving the input up by 4 moves the output up by 5 × 4 = 20. That is why 5x + 17 is 20 more than 5x − 3, not 4 more.

What you’ll practice

  • Replace every x with the whole input, inside parentheses.
  • Tell f(x + 4), a change to the input, from f(x) + 4, a change to the output.
  • Build a linear function from two of its values.

Before you start: You can distribute a number over parentheses, as in 5(x + 4) = 5x + 20.

An original worked example

f(x) = 5x − 3: put all of x + 4 inside

The function f is defined by f(x) = 5x − 3. Which expression is equal to f(x + 4)?

The tempting wrong path
  1. The rule is f(x) = 5x − 3.
  2. The input has a + 4, so add 4: 5x − 3 + 4.
  3. Simplify: 5x + 1.

Tempting answer5x + 1

Where it goes wrong

5x + 1 is f(x) + 4. It adds 4 to the output. The question adds 4 to the input, and the rule multiplies the input by 5 before it does anything else. Test x = 0. The question wants f(0 + 4) = f(4) = 5(4) − 3 = 17, but 5(0) + 1 = 1.

The correct method

  1. Write the rule with empty parentheses where x was.

    f( ) = 5( ) − 3
  2. Put the whole input, x + 4, inside the parentheses.

    f(x + 4) = 5(x + 4) − 3
  3. Distribute the 5 to both terms.

    5x + 20 − 3
  4. Combine the constants.

    f(x + 4) = 5x + 17
  5. Test x = 0. Your answer must equal f(4). The trap answer gives 1.

    f(4) = 5(4) − 3 = 17
    5(0) + 17 = 17
    5(0) + 1 = 1, too small
The answer: 5x + 17

Watch it worked out

The same slip in a short video lesson

Lesson 6 of the SAT Math Study System shows this trap on an SAT-style question, then works a harder one. It runs under a minute.

The check to keep

Check 18

The whole input goes in parentheses.

Every time you substitute, write the parentheses first and fill them second. So 5x − 3 becomes 5( ) − 3, then 5(x + 4) − 3. Then test x = 0. Your expression at x = 0 should equal f(4), the original rule with 4 put in.

Input shifts, solving f(x) = c and building a function from two values

A linear function f(x) = mx + b changes by m each time the input goes up by 1. So when the input goes up by 4, the output goes up by 4m. For f(x) = 5x − 3, the slope is 5, so f(x + 4) is 20 more than f(x). You can see it in the answers. 5x + 17 is 20 more than 5x − 3.

Writing 5x + 4 − 3 without parentheses gives 5x + 1, the same wrong answer as f(x) + 4. The parentheses are what make the 5 reach the 4. The same rule handles any input. For f(x) = 5x − 3, f(2a) = 5(2a) − 3 = 10a − 3, and f(−x) = 5(−x) − 3 = −5x − 3.

Two questions look alike but run in opposite directions. “Find f(3)” gives you the input, so you substitute: f(3) = 5(3) − 3 = 12. “Solve f(x) = 3” gives you the output, so you set the rule equal to 3 and solve: 5x − 3 = 3, so 5x = 6 and x = 6/5.

You can rebuild a linear function from two of its values. Say g(1) = 9 and g(5) = 1. The slope is the change in output over the change in input, (1 − 9)/(5 − 1) = −8/4 = −2. Then use one value to find b. From g(1) = 9, −2(1) + b = 9, so b = 11 and g(x) = −2x + 11. Check the other value: g(5) = −10 + 11 = 1.

For a function that is not linear, the substitution rule is the same. If h(x) = x², then h(x + 4) = (x + 4)² = x² + 8x + 16. On a graph, f(x + 4) slides the graph of f 4 units to the left, and f(x) + 4 lifts it 4 units up. Those are different moves, which is one more way to see that the two expressions are not equal.

Your turn. Keep the answer closed.

Three questions to try

Work each one on paper first. Then type your answer and check it. If it is off, you get a hint about the likely slip, not the answer.

Practice 1

The function g is defined by g(x) = 3x + 7. Which expression is equal to g(x − 2)?

See the worked answer to practice 1

3x + 1

  1. Put the whole input, x − 2, inside the parentheses.

    g(x − 2) = 3(x − 2) + 7
  2. Distribute the 3, then combine the constants.

    3x − 6 + 7
    3x + 1
  3. Test x = 0. Your answer must equal g(−2).

    g(−2) = 3(−2) + 7 = 1
    3(0) + 1 = 1

Practice 2

A linear function h has h(3) = 10 and h(7) = 30. What is the value of h(10)?

See the worked answer to practice 2

45

  1. Slope: (30 − 10)/(7 − 3) = 20/4 = 5.
  2. Use h(3) = 10: 5(3) + b = 10, so b = −5.
  3. The rule is h(x) = 5x − 5. Check: h(7) = 35 − 5 = 30.
  4. h(10) = 5(10) − 5 = 45.

Practice 3

The function f is defined by f(x) = 4x − 9. For what value of x is f(x) = 11?

See the worked answer to practice 3

5

  1. Here 11 is the output, so set the rule equal to it: 4x − 9 = 11.
  2. Add 9 to both sides: 4x = 20.
  3. Divide by 4: x = 5.
  4. Check: f(5) = 4(5) − 9 = 11.

Common questions about function notation

What does f(x) mean?

f(x) is the output of the function f when the input is x. It does not mean f times x. If f(x) = 2x + 1, then f(3) = 2(3) + 1 = 7. The input 3 gives the output 7, so the graph of f passes through (3, 7).

How do you find f(2x)?

Replace every x with 2x, inside parentheses. For f(x) = 3x + 1, f(2x) = 3(2x) + 1 = 6x + 1. That is not 2f(x), which is 2(3x + 1) = 6x + 2. Test x = 1 to see the difference. f(2) = 7, while 2f(1) = 8.

How do you solve f(x) = a number?

Set the rule equal to the number and solve for x. If f(x) = 2x + 1 and f(x) = 9, then 2x + 1 = 9, so 2x = 8 and x = 4. Check by putting 4 back in: f(4) = 2(4) + 1 = 9.

How do you find a linear function from two values?

Find the slope from the change in output over the change in input, then use one value to find b. If f(1) = 5 and f(3) = 11, the slope is (11 − 5)/(3 − 1) = 3. Then 3(1) + b = 5, so b = 2 and f(x) = 3x + 2.

What does f(x + 4) do to a graph?

It shifts the graph of f 4 units to the left. By contrast, f(x) + 4 shifts it 4 units up. For a line like f(x) = 5x − 3, both moves give a parallel line, but not the same one. f(x + 4) = 5x + 17, while f(x) + 4 = 5x + 1.

Put the checks to work

Can you catch it on a new question?

Try five original questions. See every worked answer and keep the checks you want to practice.

Try the free check

About 3 minutes. No email needed.