Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

A composite function is formed when the output of one function becomes the input of another function. It is written as f(g(x)) and read as f of g of x. Composite functions matter because many real situations happen in stages, such as converting units and then calculating cost, or finding a radius and then calculating area.

Thinking of composition as a function machine pipeline helps make the order clear.

Understanding Math: Composite Functions

Composition is easiest to understand as a sequence of rules, not as a new type of arithmetic. Suppose one rule squares a number, and a second rule subtracts four. Starting with three, the first rule gives nine.

The second rule then gives five. If the rules are combined into one expression, every input must still travel through those same steps. This is why brackets are important in algebra.

They show that the whole result from the first calculation is being fed into the next calculation. Missing brackets can change the meaning of an expression and lead to a completely different answer.

When finding a formula for a composite function, replace the input letter in the outer rule with the entire inner rule. For example, imagine the outer rule doubles its input and adds one, while the inner rule subtracts three. Replace the input of the outer rule with the words input minus three.

The result is two times the quantity input minus three, plus one. Simplifying gives two times the input minus five.

Students often make an error by applying the outer rule to only part of the inner expression. Parentheses prevent this error, especially when the inner rule contains addition or subtraction.

Domains become more important in compositions because a value must survive both stages. Consider an inner rule that finds the square root of the input. It cannot accept negative real numbers.

Now suppose the outer rule divides ten by its input. That rule cannot accept zero. Together, these restrictions mean that the original input must be positive.

Zero passes through the square root step, but then produces zero, which the division step rejects. A graphing calculator may show an error or leave a gap where a composite rule is undefined. It is useful to check restrictions before calculating, rather than trusting every value displayed on a graph.

Composite functions describe processes that are built from dependent steps. A temperature conversion can be followed by a formula for energy use. A shop may apply a percentage discount before adding tax.

In computing, one program can clean data before another program analyzes it. The order reflects the real process. Tax applied before a discount generally gives a different total from tax applied after a discount.

When studying these problems, write each stage in words first, identify what quantity comes out of that stage, then use it as the next input. This habit makes long formulas less mysterious and helps students decide which operation belongs first.

Key Facts

  • A composite function puts one function inside another: (f o g)(x) = f(g(x)).
  • The inner function is evaluated first: in f(g(x)), calculate g(x) before applying f.
  • Order usually matters: f(g(x)) is not always equal to g(f(x)).
  • To evaluate numerically, substitute the input into g first, then substitute that result into f.
  • The domain of f(g(x)) includes values of x that are in the domain of g and make g(x) fall in the domain of f.
  • Example: if f(x) = 2x + 1 and g(x) = x^2, then f(g(x)) = 2x^2 + 1.

Vocabulary

Composite function
A function made by using the output of one function as the input of another function.
Inner function
The function evaluated first in a composite expression such as g in f(g(x)).
Outer function
The function applied after the inner function, such as f in f(g(x)).
Domain
The set of input values for which a function or composite function is defined.
Function notation
A way to name and evaluate functions using symbols such as f(x), g(x), and f(g(x)).

Common Mistakes to Avoid

  • Evaluating the outer function first is wrong because f(g(x)) means g(x) must be found before f is applied.
  • Assuming f(g(x)) = g(f(x)) is wrong because changing the order often changes the final expression or value.
  • Forgetting parentheses during substitution is wrong because expressions like f(x) = x^2 and g(x) = x + 3 require f(g(x)) = (x + 3)^2, not x + 3^2.
  • Ignoring domain restrictions is wrong because even if g(x) is defined, the value g(x) must also be allowed as an input to f.

Practice Questions

  1. 1 Let f(x) = 3x - 4 and g(x) = x^2 + 1. Find f(g(2)) and g(f(2)).
  2. 2 Let f(x) = sqrt(x) and g(x) = x - 5. Find the domain of f(g(x)).
  3. 3 Explain why the order of composition matters by comparing f(g(x)) and g(f(x)) for f(x) = x + 2 and g(x) = 4x.