Study Guide

Composition of Functions

AP PrecalculusΒ· AP Precalculus CED β€” Exponential and Logarithmic FunctionsΒ· 14 min read

1. Introduction to Composition of Functionsβ˜…β˜…β˜†β˜†β˜†β± 3 min

Composition of functions is the process of using the output of one function as the input of a second function, combining multiple functions into a single new function. Per AP Precalculus CED, this is a core skill in Unit 2, appearing in 8-12% of Unit 2 exam questions on both multiple-choice and free-response sections.

πŸ“˜ Definition

Composite Function

A new function formed by chaining two functions: the output of the inner function becomes the input of the outer function , so . Composition is not commutative, meaning is almost never equal to .

Example:

For exponential and logarithmic pairs, composition is used to simplify expressions using inverse properties.

In AP Precalculus Unit 2, composition most frequently pairs exponentials or logarithms with polynomials, or pairs exponential and logarithmic functions with each other, especially when working with inverse functions.

2. Evaluating Composite Functionsβ˜…β˜…β˜†β˜†β˜†β± 3 min

Evaluating a composite function for a given input follows one core rule: always work from the inside out. First evaluate the inner function (the function closest to in notation), then substitute that output into the outer function as the new input.

πŸ“ Worked Example

Given and , find .

  1. 1

    Recognize that , so evaluate the inner function first, per the order of composition.

  2. 2

    Calculate the inner function output:

    g(3)=ln⁑3g(3) = \ln 3
  3. 3

    Substitute this output into the outer function :

    f(g(3))=f(ln⁑3)=e2(ln⁑3)+1f(g(3)) = f(\ln 3) = e^{2(\ln 3)} + 1
  4. 4

    Simplify using logarithm rules and the inverse identity :

    2ln⁑3=ln⁑32=ln⁑9β€…β€ŠβŸΉβ€…β€Šeln⁑9=92 \ln 3 = \ln 3^2 = \ln 9 \implies e^{\ln 9} = 9
  5. 5

    Add 1 to get the final result:

    9+1=109 + 1 = 10

Exam tip:

Always explicitly confirm the order of composition before starting calculations to avoid falling for common distractors.

3. Finding Composite Rules and Domainsβ˜…β˜…β˜…β˜†β˜†β± 4 min

To find the general algebraic rule for , substitute the entire expression for into the outer function in place of . A frequently tested skill is finding the domain of the new composite function, which must satisfy two conditions: 1) is in the domain of the inner function , and 2) the output is in the domain of the outer function .

πŸ“ Worked Example

Given and , find and state its domain.

  1. 1

    Write the composition by substituting into :

    (f∘g)(x)=f(g(x))=ln⁑((x2βˆ’5)+2)=ln⁑(x2βˆ’3)(f \circ g)(x) = f(g(x)) = \ln\left((x^2 - 5) + 2\right) = \ln(x^2 - 3)
  2. 2

    Check the domain of the inner function : is a polynomial, so its domain is all real numbers with no restrictions here.

  3. 3

    Apply the domain restriction of the outer function : the argument of a logarithm must be positive, so solve:

    x2βˆ’3>0x^2 - 3 > 0
  4. 4

    Factor and solve the inequality:

    (xβˆ’3)(x+3)>0β€…β€ŠβŸΉβ€…β€Šx<βˆ’3 or x>3(x - \sqrt{3})(x + \sqrt{3}) > 0 \implies x < -\sqrt{3} \text{ or } x > \sqrt{3}
  5. 5

    Rule: , domain:

4. Composition of a Function and Its Inverseβ˜…β˜…β˜…β˜†β˜†β± 4 min

A key property of inverse functions is that composing a function with its inverse gives the identity function, which outputs the original input. For any one-to-one function with inverse , two core identities hold:

(f∘fβˆ’1)(x)=f(fβˆ’1(x))=x(f \circ f^{-1})(x) = f(f^{-1}(x)) = x
(fβˆ’1∘f)(x)=fβˆ’1(f(x))=x(f^{-1} \circ f)(x) = f^{-1}(f(x)) = x

For Unit 2, this property is most commonly applied to inverse pairs of exponential and logarithmic functions: for , and . This gives the identities (for ) and (for all real ), which are used constantly to simplify expressions and solve equations.

πŸ“ Worked Example

Simplify the composite expression where , and state any domain restrictions.

  1. 1

    Write the composition explicitly:

    (ln⁑∘f)(x)=ln⁑(f(x))=ln⁑(5e3xβˆ’2)(\ln \circ f)(x) = \ln\left(f(x)\right) = \ln\left(5e^{3x-2}\right)
  2. 2

    Split the product using the logarithm product rule:

    ln⁑5+ln⁑(e3xβˆ’2)\ln 5 + \ln\left(e^{3x-2}\right)
  3. 3

    Apply the inverse composition identity for all real :

    ln⁑(e3xβˆ’2)=3xβˆ’2\ln\left(e^{3x-2}\right) = 3x - 2
  4. 4

    Check domain restrictions: The input to is , which is always positive for all real . The inner function is also defined for all real , so there are no additional restrictions.

  5. 5

    Final result:

    (ln⁑∘f)(x)=3xβˆ’2+ln⁑5, domain: all real numbers(\ln \circ f)(x) = 3x - 2 + \ln 5, \text{ domain: all real numbers}

5. AP-Style Concept Checkβ˜…β˜…β˜…β˜…β˜†β± 4 min

βœ“ Quick check

Test your understanding with these AP-style practice questions:

  1. If and , what is the value of ?

    • A) 3

    • B) 8

    • C) 11

    • D) 16

    Reveal answer
    B) 8 β€”

    Correct: You worked inside out: , so . Swapping the order of composition gives ~11, a common distractor.

πŸ“ Worked Example

In a microbiology experiment, the number of bacteria is , where is growing days. Time is measured in hours, so . Write the composite function for number of bacteria as a function of timer hours , then find the number of bacteria after 72 hours, rounded to the nearest whole number.

  1. 1

    We need as a function of , so we compose with to get .

  2. 2

    Substitute into :

    (N∘d)(t)=1000e0.2(t24)=1000et120(N \circ d)(t) = 1000e^{0.2\left(\frac{t}{24}\right)} = 1000e^{\frac{t}{120}}
  3. 3

    Substitute and calculate:

    (N∘d)(72)=1000e72120=1000e0.6β‰ˆ1822(N \circ d)(72) = 1000e^{\frac{72}{120}} = 1000e^{0.6} \approx 1822
  4. 4

    Final result: After 72 hours, the culture has approximately 1822 bacteria.

6. Common Pitfalls

Wrong move:

Swapping the order of composition to compute instead of when asked for .

Why:

Students confuse the order of notation, forgetting the function closest to is the inner function evaluated first.

Correct move:

Always translate explicitly to before starting any calculation, and mark as the inner function.

Wrong move:

Simplifying the composite function first, then finding the domain from the simplified expression, ignoring restrictions from the inner function.

Why:

Simplification can cancel terms that introduced domain restrictions, leading to incorrectly including disallowed inputs.

Correct move:

Find the domain step-by-step: first find all allowed in the inner function, then filter that set to only where the inner output is allowed in the outer function.

Wrong move:

Applying the inverse composition identity to negative inputs of .

Why:

Students memorize the identity without remembering the domain restriction on the logarithm.

Correct move:

Before applying , confirm the input to the logarithm is positive, and exclude any negative inputs from your result.

Wrong move:

Claiming composition is commutative, so for all functions .

Why:

Students confuse composition with multiplication of functions, which is commutative.

Correct move:

Always assume unless you prove it for the specific functions given.

Wrong move:

When simplifying , writing the result as instead of .

Why:

Students reverse the power rule , misapplying the coefficient as a multiplicative factor instead of an exponent.

Correct move:

Move the coefficient inside the logarithm as an exponent first: , then apply the inverse identity, so .

Wrong move:

For a composite where is a logarithm, forgetting that the argument of the inner logarithm must be positive in addition to any restrictions on the output of for the outer function.

Why:

Students only check the outer function's restrictions, forgetting the inner function already has a domain restriction.

Correct move:

Always check the domain of the inner function first before checking outer function restrictions.

7. Quick Reference Cheatsheet

Category

Formula/Rule

Notes

Composition Notation

is inner (evaluate first); is outer. Usually

Evaluating Composite

Work inside out

Evaluate inner first, substitute result into outer

Domain of Composite

Domain =

Check inner domain first, then outer; do not simplify before finding domain

Inverse Composition 1

Only valid for in the domain of

Inverse Composition 2

Only valid for in the domain of

Exponential-Log Inverse 1

Only for ,

Exponential-Log Inverse 2

Valid for all real

Simplifying Composites

Coefficient becomes an exponent, not a multiplicative factor

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2024 Β· AP Precalculus

    MCQ evaluate composite exponential-log

  • 2023 Β· AP Precalculus

    FRQ find domain of composite

What's Next

Mastering composition of functions is a critical prerequisite for all remaining topics in AP Precalculus Unit 2, and for the entire course. You will apply the composition skills and inverse identities covered here to solve exponential and logarithmic equations, where simplifying composite expressions is required to isolate the target variable. You will also use composition regularly when building real-world models that involve multiple chained transformations, such as unit conversions or multi-step growth problems. Beyond AP Precalculus, composition is the foundational concept for the chain rule in differential calculus, a core topic in AP Calculus AB and BC. Without mastering the order of composition and domain rules here, you will struggle with these more advanced topics.