Property
The composition of functions f and g is written f∘g and is defined by
(f∘g)(x)=f(g(x)) We read f(g(x)) as f of g of x. In composition, the output of one function is the input of a second function.
Examples
- For f(x)=5x+1 and g(x)=x−3, find (f∘g)(x). We compute f(g(x))=f(x−3)=5(x−3)+1=5x−15+1=5x−14.
- For f(x)=5x+1 and g(x)=x−3, find (g∘f)(x). We compute g(f(x))=g(5x+1)=(5x+1)−3=5x−2. Note that (f∘g)(x)=(g∘f)(x).