Composition of Functions - dummies

By Mary Jane Sterling

The composition of functions is an algebraic operation in which you use one function as the input into another and perform the operations on that input function.

You can perform the basic mathematical operations of addition, subtraction, multiplication, and division on the equations used to describe functions. ( You can also perform whatever simplification is possible on the different parts of the expression and write the result as a new function.)

For example, you can take the two functions f (x) = x2 – 3x – 4 and g(x) = x + 1 and perform the four operations on them:

image0.png

You can use any of these functions to perform a composition.

You indicate the composition of functions f and g with a small circle between the function names,

image1.png

and you define the composition as

image2.png

Here’s how you perform an example composition, using the functions f and g, f (x) = x2 – 3x – 4 and g(x) = x + 1:

image3.png

The composition of functions isn’t commutative (addition and multiplication are commutative, because you can switch the order and not change the result). The order in which you perform the composition — which function comes first — matters. The composition

image4.png

isn’t the same as

image5.png

save one exception: when the two functions are inverses of one another.