Property
When the output of one function is used as the input of another, we call the entire operation a composition of functions. For any input x and functions f and g, this action defines a composite function, which we write as f∘g such that
(f∘g)(x)=f(g(x)) The domain of the composite function f∘g is all x such that x is in the domain of g and g(x) is in the domain of f.
Examples
- If f(x)=x+5 and g(x)=x2, then f(g(x)) means we plug g(x) into f. So, f(g(x))=f(x2)=x2+5.
- If f(x)=x+5 and g(x)=x2, then g(f(x)) means we plug f(x) into g. So, g(f(x))=g(x+5)=(x+5)2=x2+10x+25.
- If r(t) is the radius of a balloon after t seconds and V(r) is the volume for a given radius r, then V(r(t)) represents the volume of the balloon as a function of time.
Explanation
Function composition is like a chain reaction. The input x goes into function g, and its output, g(x), becomes the input for function f. The order matters, as f(g(x)) is usually different from g(f(x)).