A composite function, written f ∘ g or f(g(x)), is a function built by using the outputs of g as the inputs of f; its domain is limited to inputs of g whose outputs land in the domain of f (AP Precalculus Topic 2.7).
A composite function is what you get when you chain two functions together. You start with an input x, run it through g, then take whatever g spits out and run that through f. The result is written (f ∘ g)(x) or f(g(x)), and you read it inside-out: g acts first, f acts second.
The part the AP exam loves is the domain rule (EK 2.7.A.1). The domain of f ∘ g isn't just the domain of g. It's restricted to inputs of g whose outputs are legal inputs for f. So if f(x) = √(x − 2) and g(x) = x² − 4, you need g(x) ≥ 2, not just x to be a real number. You can build composites analytically by substituting g(x) for every x in f (EK 2.7.B.2), but the CED also expects you to evaluate compositions from tables, graphs, and verbal descriptions, where you trace an output of g into an input of f by hand.
Composite functions are the entire point of Topic 2.7 in Unit 2 (Exponential and Logarithmic Functions), backing three learning objectives. AP Pre Calc 2.7.A has you evaluate compositions from any representation, AP Pre Calc 2.7.B has you construct them (often to link two quantities with no direct formula, like drug concentration as a function of time and effectiveness as a function of concentration), and AP Pre Calc 2.7.C runs the machine in reverse with decomposition. Composition is also the official test for inverses in Topic 2.8, since f and f⁻¹ are inverses exactly when f(f⁻¹(x)) = f⁻¹(f(x)) = x (EK 2.8.B.1). And it's why exponentials and logs live in the same unit; they undo each other through composition. Beyond this course, composition is the setup for the chain rule in AP Calculus, so the decomposition skill pays off twice.
Keep studying AP® Precalculus Unit 2
Function decomposition (Unit 2)
Decomposition is composition run backward. Instead of building f(g(x)), you take a complicated function like √(x² + 1) and split it into an inner function g(x) = x² + 1 and an outer function f(x) = √x. LO 2.7.C tests this directly, and it's the exact skill the chain rule demands in calculus.
Inverse functions (Unit 2)
Composition is how you verify an inverse. If composing f with a candidate function gives you back plain x in both orders, you've found f⁻¹ (EK 2.8.B.1). Think of f and f⁻¹ as a do button and an undo button; composing them is pressing both, which leaves the input untouched.
Multiplicative and additive transformations (Units 1-2)
The CED reframes the transformations from Unit 1 as compositions. A horizontal translation of f is really f composed with g(x) = x + k, and a horizontal dilation is f composed with g(x) = kx (EK 2.7.C.2 and 2.7.C.3). That's why horizontal shifts feel "backwards": the inner function changes the input before f ever sees it.
Exponential and logarithmic functions (Unit 2)
Logs and exponentials are inverse functions, so composing them collapses to x. Lines like ln(e^x) = x and 2^(log₂x) = x are composition facts, and they're the engine behind solving exponential and log equations later in Unit 2.
Composition shows up in multiple-choice in a few predictable shapes. You'll evaluate f(g(c)) for a specific value, sometimes from a table or graph where you have to chain outputs to inputs by hand. You'll find the domain of f ∘ g, where the trap answer is the domain of g alone. For example, with f(x) = 1/(x+2) and g(x) = 3x − 6, you have to exclude the x-value that makes g(x) = −2, not just check g itself. You'll also build composites in context, like plugging a concentration function C(t) into an effectiveness function E(C) to get effectiveness as a function of time. That's exactly the "relating two quantities not directly related by a formula" idea in EK 2.7.B.1. Expect decomposition questions too, where you identify the inner and outer functions of something like 2(x² − 3) + 1. No released FRQ has used the phrase "composite function" verbatim, but composition is a standard move in FRQ work whenever you verify an inverse or model a chained relationship.
f(g(x)) is not f(x) times g(x). Composition chains the functions, so g's output becomes f's input, while a product just multiplies two separate outputs of the same input. If f(x) = 2x + 1 and g(x) = x² − 3, then f(g(x)) = 2(x² − 3) + 1 = 2x² − 5, but f(x)·g(x) = (2x + 1)(x² − 3). Totally different functions. A related order trap is f ∘ g versus g ∘ f, which are usually not equal either.
A composite function (f ∘ g)(x) = f(g(x)) uses the outputs of g as the inputs of f, and you always evaluate it inside-out with g going first.
The domain of f ∘ g includes only those inputs of g whose outputs are in the domain of f, so check both functions before answering a domain MCQ.
To build f(g(x)) analytically, substitute g(x) for every instance of x in the formula for f.
Two functions are inverses exactly when composing them in both orders returns x, which is the identity function (EK 2.8.B.1).
Composition lets you connect two quantities that have no direct formula, like turning concentration-as-a-function-of-time and effectiveness-as-a-function-of-concentration into effectiveness over time.
Decomposing a function into inner and outer pieces is the reverse skill (LO 2.7.C), and it explains transformations: composing f with x + k shifts, and composing with kx dilates.
It's a function built by chaining two functions, written f ∘ g or f(g(x)), where the output of g becomes the input of f. It's the core of Topic 2.7 in Unit 2, and the exam tests evaluating, constructing, and decomposing compositions.
No. f(g(x)) means you plug the entire function g(x) into f wherever x appears, while f(x)·g(x) multiplies two outputs together. With f(x) = 2x + 1 and g(x) = x² − 3, the composite is 2x² − 5, which is nothing like the product (2x + 1)(x² − 3).
Usually not, because order matters in composition. The big exception is inverse functions, where f(f⁻¹(x)) = f⁻¹(f(x)) = x in both orders. That's actually the CED's official test for whether two functions are inverses.
Start with the domain of g, then throw out any x-values whose output g(x) is not in the domain of f. For f(x) = √(x − 2) and g(x) = x² − 4, you need x² − 4 ≥ 2, so the domain is x ≤ −√6 or x ≥ √6, not all real numbers.
A composite is any chaining of two functions, while an inverse is one specific partner function that reverses f's input-output pairs. Composition is the tool you use to check an inverse: if f(g(x)) = x and g(f(x)) = x, then g is f⁻¹ (Topic 2.8).
Connect this key term to the AP exam workflow: review the course, practice questions, and check related study tools.
Review units, study guides, and course resources.
Check this vocabulary in multiple-choice context.
Apply key concepts in written AP responses.
Estimate the exam score you are working toward.
Review the highest-yield facts before practice.
Put the full course together before test day.