### Function composition

#### Video introduction

The composition $f \circ g$ of two functions $f$ and $g$ is the function formed by first applying the function $g$ and then the function $f$. The following video gives a introduction into the concept of function composition.

*Function composition.*

#### Summary

To apply the composition $f \circ g$ to an input $x$, you perform the following two steps. You first apply the function $g$ to the input $x$ and obtain the result $g(x)$ as the output. Next, you apply the function $f$ using $g(x)$ as the input and obtain the result $f(g(x))$ as the output. We can write the composition as $(f \circ g)(x) = f(g(x))$.

One can illustrate function composition using the function machine metaphor by connecting function machines together.

You can see some examples of composing functions.

#### Thread navigation

##### Math 201, Spring 2017

- Previous: Inverse function examples
- Next: Function machine composition

##### Math 1241, Fall 2017

- Previous: Inverse function examples
- Next: Function machine composition

#### Similar pages

- Function machine composition
- Function composition examples
- Function notation
- Introduction to the multivariable chain rule
- Multivariable chain rule examples
- Surfaces as graphs of functions
- Special cases of the multivariable chain rule
- Domain of functions
- A refresher on the chain rule
- The function machine
- More similar pages