1.Composition and inverses
A function is a rule that assigns each input exactly one output, and composition chains two rules: . The first thing to notice is that order matters. Applying first and then is almost never the same as applying them in the other order. With and , we get but , and these already disagree at .
To evaluate a composition, work from the inside out. Evaluate the innermost function at the given input, then feed that number into the next function. Many contest errors come from computing when the problem asks for . A clean habit is to write the intermediate value on scratch paper, such as , before applying to it.
A function has an inverse exactly when it is one-to-one on its domain, meaning distinct inputs always give distinct outputs (the horizontal line test). The defining property is and . In practice you rarely need a formula for . To compute , solve for ; the solution is . This turns an inverse question into an ordinary equation, which is the most useful fact in the lesson.
Why does this work? If is one-to-one and , then is the only input with output , so sending back to is a well-defined rule, and that rule is . Two consequences follow. First, : the order reverses, like taking off socks after shoes. Second, if with , then , which you can confirm by composing: .
Injectivity is the hidden hypothesis. The map has no inverse on all of because and both map to . A composition can therefore fail to be invertible even when both pieces are nice, and you must check one-to-one-ness on the domain you are actually using before writing or .
- : evaluate the inner function first
- exactly when , provided is one-to-one
- If , then
Spot it: The problem nests one function inside another, or asks for where has no convenient closed-form inverse.
- Evaluating the outer function first, so is treated as
- Reporting as instead of the input that produces
Let and . Find the sum of all real satisfying .