Menu

Subtracting Functions

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

Subtracting functions subtracts their outputs. Take p(x)=x2+4xp\left(x\right) = {x}^{2}+4x and q(x)=3x−5q\left(x\right) = 3x-5. Using both rules turns p(x)−q(x)p\left(x\right)-q\left(x\right) into x2+4x−(3x−5){x}^{2}+4x-\left(3x-5\right), with q's whole rule in brackets.

The minus belongs to all of q, not only its first term. Taking away 3x−53x-5 means taking away 3x and taking away -5, which adds 5. So the line becomes x2+4x−3x+5{x}^{2}+4x-3x+5, and collecting gives x2+x+5{x}^{2}+x+5.

The usual slip is dropping the brackets and writing x2+4x−3x−5{x}^{2}+4x-3x-5. Check with x = 1: p(1) is 5 and q(1) is -2, so the difference is 7. The right rule gives 7; the slip gives -3.

challenge icon

Challenge

For f(x)=x2+5f\left(x\right) = {x}^{2}+5 and g(x)=2x−3g\left(x\right) = 2x-3, find f(x)−g(x)f\left(x\right)-g\left(x\right), multiplied out and collected. The minus takes away all of g.

Try it yourself

f(x)−g(x)f\left(x\right)-g\left(x\right)

Expand: multiply everything out

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

quiz iconTest yourself

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

All lessons in Functions & Transformations