Function Composition - Maple Programming Help

Home : Support : Online Help : Math Apps : Functions and Relations : Composition : MathApps/FunctionComposition

Function Composition

 Main Concept Sometimes it is useful to apply one function, and then apply a second function to the result. For example, suppose $f\left(x\right)=y$ and $g\left(y\right)=z$. First, $f$  takes the input value $x$ and outputs $y$. Then, $y$ is input into $g$ which gives a new output, $z$. This idea can be used to create a new function, called the composition of g and f.   Let $f$ and $g$ be two functions. The composition of the functions $g$ and $f$, written $g\circ f$  ("g composed with f "), is defined by   $\left(g\circ f\right)\left(x\right)=g\left(f\left(x\right)\right)$   The domain of the function $g\circ f$  is the set of all numbers $x$ in the domain of $f$ for which $f\left(x\right)$ is in the domain of $g$.

Input two functions f(x) and g(x) and plot their composition.

 $g\left(x\right)=$ $f\left(g\left(x\right)\right)=$ $g\left(f\left(x\right)\right)=$



 More MathApps