Lably
Skip to content

Function composition

Operation on mathematical functions

  • 10 min read
  • 10 chapters

Learn it on Lably

The composition of functions is a special case of the composition of relations, sometimes also denoted by ∘. As a result, all properties of composition of relations are true of composition of functions, such as associativity.

Examples

  • Composition of functions on a finite set: If f = {(1, 1), (2, 3), (3, 1), (4, 2)}, and g = {(1, 2), (2, 3), (3, 1), (4, 2)}, then g ∘ f = {(1, 2), (2, 1), (3, 2), (4, 3)}, as shown in the figure.
  • Composition of functions on an infinite set: If f: R → R (where R is the set of all real numbers) is given by f(x) = 2x + 4 and g: R → R is given by g(x) = x3, then: (f ∘ g)(x) = f(g(x)) = f(x3) = 2x3 + 4, and (g ∘ f)(x) = g(f(x)) = g(2x + 4) = (2x + 4)3.
  • If an airplane's altitude at time t is a(t), and the air pressure at altitude x is p(x), then (p ∘ a)(t) is the pressure around the plane at time t.
  • Function defined on finite sets which change the order of their elements such as permutations can be composed on the same set, this being composition of permutations.

Sign in to keep reading

9 more chapters are free with a Lably account.

More in Basics