Menu

Composing Rules

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

A composition can be written as one new rule. Take p(x) = x + 1 and q(x) = x^2 + 4. In q(p(x)), the output of p is the expression x + 1, and it goes into q in place of x, whole and in brackets: q(p(x)) = (x + 1)^2 + 4.

Then multiply out and collect: (x + 1)^2 is x^2 + 2x + 1, so the rule is x^2 + 2x + 5.

Check with one number. At x = 2, p(2) is 3 and q(3) is 13. The new rule gives 4 + 4 + 5, which is 13 too. One rule now does the work of two.

challenge icon

Challenge

For f(x) = x + 3 and g(x) = x^2 - 2, find g(f(x)) as one rule, multiplied out and collected.

Try it yourself

g(f(x))

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