Menu

Adding Functions

Part of the Functions & Transformations section of Coddy's Algebra 2 journey. Lesson 13 of 55.

Two functions can be added to make a new one. The sum p(x)+q(x)p\left(x\right)+q\left(x\right) means: give both functions the same input and add their outputs. Take p(x)=2x+5p\left(x\right) = 2x+5 and q(x)=x2+3xq\left(x\right) = {x}^{2}+3x.

Using both rules gives 2x+5+x2+3x2x+5+{x}^{2}+3x. Then collect like terms: 2x and 3x make 5x, so p(x)+q(x)=x2+5x+5p\left(x\right)+q\left(x\right) = {x}^{2}+5x+5.

Collecting matters because the new rule should do in one step what the two rules did in two. Check with x = 1: p(1) is 7 and q(1) is 4, so the sum is 11, and the new rule gives 1+5+51+5+5, which is 11 too.

challenge icon

Challenge

For f(x)=3x+2f\left(x\right) = 3x+2 and g(x)=x2−4xg\left(x\right) = {x}^{2}-4x, find f(x)+g(x)f\left(x\right)+g\left(x\right) as one expression. Tap the two moves that use the rules, then type the sum with its like terms collected.

Try it yourself

f(x)+g(x)f\left(x\right)+g\left(x\right)

Expand: multiply everything out

Givenf(x)=3x+2f\left(x\right) = 3x+2g(x)=x2−4xg\left(x\right) = x^{2}-4x

All lessons in Functions & Transformations