Menu

Shifting the Input

Part of the Functions & Transformations section of Coddy's Algebra 2 journey. Lesson 8 of 58.

The input can even contain x itself. f(x - 1) asks for the rule applied to x - 1. It looks strange at first, but the method is the same: every x in the rule becomes the whole input.

Take f(x) = x^2 + 4. Then f(x - 1) = (x - 1)^2 + 4. Expanding gives x^2 - 2x + 1 + 4, and collecting gives x^2 - 2x + 5. The new rule is a different function: it outputs at x what f outputs at x - 1.

You will meet this again in the graph chapters, where replacing x with x - 1 slides the whole graph one unit to the right. For now the job is algebra: substitute, expand, collect.

challenge icon

Challenge

For g(x) = x^2 - x, find g(x + 2), expanded and collected.

Try it yourself

g(x + 2)

Multiply everything out

quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Functions & Transformations