Function Composition Math Example 3

Follow the full solution, then compare it with the other examples linked below.

Example 3

easy
Given f(x)=xโˆ’4f(x) = x - 4 and g(x)=3xg(x) = 3x, find (fโˆ˜g)(5)(f \circ g)(5).

Solution

  1. 1
    Compute g(5)=3(5)=15g(5) = 3(5) = 15.
  2. 2
    Then f(15)=15โˆ’4=11f(15) = 15 - 4 = 11.

Answer

1111
Always evaluate the inner function first and use its result as the input for the outer function.

About Function Composition

Function composition applies one function to the output of another: (fโˆ˜g)(x)=f(g(x))(f \circ g)(x) = f(g(x)), meaning evaluate gg first, then apply ff to the result.

Learn more about Function Composition โ†’

More Function Composition Examples