Decompose by naming the inside and outside jobs
Quick review (2 minutes)
Imagine receiving a finished sandwich and describing its preparation in two jobs: assemble it, then wrap it.
To write h(x) = f(g(x)), choose g as the inside job and f as the job applied to its output.
Check by substitution and preserve h's original domain.
1. Work out h at a permitted small input. The final job you perform suggests the outer function; everything before it suggests the inner function.
2. Define g(x) as that package, which will be calculated first.
3. Define f(x) as the operation applied to one input package.
4. Substitute g(x) into f and show that f(g(x)) recreates h(x).
5. Check the composite domain against the original domain. A formula match alone can hide a lost input.
6. If another split is requested, choose a different package and repeat the same checks.
Write each as f(g(x)): (a) h(x) = ; (b) h(x) = (5x − 4; (c) h(x) = . You want an inside calculation followed by the finishing operation. Plan: name everything before the last operation as g, name the last operation as f, then recompose and compare domains.
(a) g(x) = 5 −
f(u) = .
Domain: [−, ].
(b) g(x) = 5x − 4
f(u) = .
Domain: (−∞, ∞).
(c) g(x) = x + 8
f(u) = .
Domain: (−∞, −8) ∪ (−8, ∞).
Giving the two correct component formulas in the wrong order. Recompose f(g(x)) on paper before accepting your decomposition.
Work out the given function at a permitted small input. Notice the final operation you perform.
Choose g(x) to do the work before that final operation. Choose f(u) to perform the remaining job on one completed input u.
Substitute g(x) into every u in f(u). The resulting expression must be exactly h(x).
Compare the original domain with the two-stage domain. Test a permitted number as an arithmetic check.
If you need a second split, move the dividing point between operations and repeat the same checks.
Function
A rule that gives exactly one output for each input it accepts.
Input
The starting value you give a function. It goes inside the parentheses in function notation.
Output
The answer a function produces from an accepted input.
Domain
All inputs for which a function is defined.
Undefined
Having no permitted output under the rule being used, as with division by zero or a negative real square-root radicand.
Inner function
The function evaluated first in a composition. Its output becomes the next function's input.
Outer function
The function evaluated second in a two-function composition. It receives the inner function's output.
Unit
The named measure attached to a quantity, such as hours, miles, gallons, or dollars.
Substitution
Replacing a variable with a number or expression everywhere that variable appears. Parentheses hold a multi-term replacement together.
Radicand
The number or expression inside a root symbol. A real square root requires its radicand to be nonnegative.
Square root
The nonnegative number whose square is the given nonnegative number. Here the √ symbol names that one nonnegative value.
Reciprocal
One divided by a nonzero number. A fraction's reciprocal swaps its top and bottom, and their product is 1.
Decomposition
Writing a function as a composition of simpler functions by naming an inside job and an outside job.
Component functions
The individual functions that make up a composite function.
Absolute value
A number's distance from zero, written with vertical bars. Distance is never negative.
Formula
A written rule using numbers, symbols, and operations to describe how a quantity is calculated.
Denominator
The bottom of a fraction. It names the divisor and cannot be zero.
Nonnegative
Greater than or equal to zero. Zero is included, while positive means greater than zero and excludes zero.
Fraction
One number divided by another nonzero number. The top is divided by the bottom; equal pieces give a picture of its size.
Linear
A formula built from a constant times the input plus a constant. Its graph is a straight line.
Quadratic
A formula built from a nonzero number times , a number times x, and a constant, added together. Its graph is a U shape opening upward or downward.
Solve
Find every input that makes a stated equality or inequality true. This differs from evaluating at a given input.
Equation
A statement that two expressions have equal values.
Power
The result of repeatedly multiplying a number or expression by itself. A positive whole-number exponent counts the copies.
1 In plain words
Imagine receiving a finished sandwich and describing its preparation in two jobs: assemble it, then wrap it. You can split a long calculation the same way. For h(1) = , you square 1, subtract that from 5 to get 4, then take the root to get 2. The last job, taking the root, becomes the outer function f. Everything before it becomes the inner function g. Naming these jobs is decomposition. The two named rules are component functions. This helps you calculate in two passes and see where a root or division limits the allowed starts. More than one split may rebuild the same function.
2 Picture it
Reminder
Reminder: Composition, Substitution, Squares and bounds, Reciprocal, Absolute value, Domain, Input-slot names
- Composition. f(g(x)) means calculate g first, then apply f to its whole output.
- Substitution. Putting the whole input 5x − 4 into gives (5x − 4.
- Squares and bounds. ≤ 5 means − ≤ x ≤ , because both signs can have that distance from zero.
- Reciprocal. The reciprocal of 5 is ; the reciprocal of 0 is undefined.
- Absolute value. |−2| = 2, because distance from zero is nonnegative.
- Domain. A decomposition must preserve accepted inputs; accepts [−, ].
- Input-slot names. f(u) = and f(x) = describe the same rule. u helps separate the outer slot from the x inside g.
3 Why
Composition substitutes the inside rule into the outside input slot. Decomposition reverses that substitution by choosing an expression to treat as one complete input. The outside rule describes the remaining work. Different choices can work, so there need not be one unique split. Naming the stages makes a long calculation easier to follow and exposes which stage causes a restriction. Recomposition proves that your rules rebuild the original formula. Comparing domains checks that no newly introduced division has removed a start the original function accepted. These jobs also prepare you for calculus, which studies how an output changes when its input changes.
4 The rule
To write , choose g as the inside job and f as the job applied to its output.
Check by substitution and preserve h's original domain.
The same idea, five ways
Split h into an inside job g and an outside job f.
Doing g first and then f must give back the original function h, with its original allowed starts.
- h(x) = f(g(x))
- h = f ∘ g
- g makes the inside; f performs the remaining outside work
Assemble the sandwich, then wrap it.
The same idea, other ways
One job prepares the completed input. The next finishes it. For (5x − 4 at input 2, first build 10 − 4 = 6, then cube 6 to get 216. The finishing operation is the outer function.
Cover the expression 5 − inside the root with the word input. The outside rule becomes . The covered expression is g, and the remaining rule is f.
Start:
Inside package: 5 −
Outside rule:
For , your calculator first builds 4 and then takes its root. The last calculator step is f. The steps making 4 are g. This gives g(x) = 5 − and f(u) = .
Part 1: Square-root outside
If the last job is taking a square root, let the inner function build its radicand. The outer function can be the basic root rule .
- For h(x) = , one choice is g(x) = x + 9 and f(x) = .
- The original radicand condition remains part of the function.
Worked example
Split a shifted root
Decompose h(x) = . You want an inside expression and the root operation applied to it. Plan: identify the last operation, name the earlier work as g, then recompose and check the allowed starts.
Show the steps and the answer
- Choose and .Addition builds the radicand before the root is taken.
- , with .Recomposition restores the original root and its nonnegative-radicand requirement.
- g(x) = x + 9
- Domain: [−9, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Test a permitted small input after symbolically recomposing f(g(x)). At a start the original excludes, test a different number.
Part 2: Cube outside
A cube is the product of three copies of the complete input. The inner function makes the expression that will be cubed; the outer function does the cubing.
- means x × x × x.
- For h(x) = (3x + 2, take g(x) = 3x + 2 and f(x) = .
Worked example
Split a cube without expanding it
Decompose h(x) = (3x + 2. You want two functions that produce this cube in sequence. Plan: identify the last operation, name the earlier work as g, then recompose and check the allowed starts.
Show the steps and the answer
- Choose and .The parentheses show which whole expression is cubed.
- .Substitution places the inner expression into the cube's input slot.
- g(x) = 3x + 2
- Domain: (−∞, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Test a permitted small input after symbolically recomposing f(g(x)). At a start the original excludes, test a different number.
Part 3: Reciprocal outside
A reciprocal is 1 divided by the input. Build the denominator first, then take its reciprocal. Check which starting input would build a zero denominator.
- For h(x) = , take g(x) = x − 6 and f(x) = .
Worked example
Split a shifted reciprocal
Decompose h(x) = . You want to identify the denominator-building job and the division job. Plan: identify the last operation, name the earlier work as g, then recompose and check the allowed starts.
Show the steps and the answer
- Choose and .Subtraction builds the denominator before the reciprocal is taken.
- , with .The outer reciprocal must not receive zero.
- Set to find the failed reciprocal input. Add 6: . Plug back in: . Exclude 6.This solve step identifies the start whose inside job makes the outside bottom zero.
- Domain: (−∞, 6) ∪ (6, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Test a permitted small input after symbolically recomposing f(g(x)). At a start the original excludes, test a different number.
Part 4: Absolute-value outside
Absolute value gives the distance of a number from zero. Make the signed inside expression first, then find its distance. Negative intermediate numbers are allowed; their distances are nonnegative.
- For h(x) = |3x + 1|, take g(x) = 3x + 1 and f(x) = |x|.
- |−2| = 2 because −2 is two units from zero.
Worked example
Split an absolute value
Decompose h(x) = |3x + 1|. You want a linear inside job followed by an absolute-value outside job. Plan: identify the last operation, name the earlier work as g, then recompose and check the allowed starts.
Show the steps and the answer
- Choose and .The expression between the bars is the input to the distance rule.
- .The whole inner output replaces f's input.
- g(x) = 3x + 1
- f(x) = |x|.
- Domain: (−∞, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Test a permitted small input after symbolically recomposing f(g(x)). At a start the original excludes, test a different number.
5 How
- Work out h at a permitted small input. The final job you perform suggests the outer function; everything before it suggests the inner function.
- Define g(x) as that package, which will be calculated first.
- Define f(x) as the operation applied to one input package.
- Substitute g(x) into f and show that f(g(x)) recreates h(x).
- Check the composite domain against the original domain. A formula match alone can hide a lost input.
- If another split is requested, choose a different package and repeat the same checks.
Find a useful inside and outside split
- Work out the given function at a permitted small input. Notice the final operation you perform.
- Choose g(x) to do the work before that final operation. Choose f(u) to perform the remaining job on one completed input u.
- Substitute g(x) into every u in f(u). The resulting expression must be exactly h(x).
- Compare the original domain with the two-stage domain. Test a permitted number as an arithmetic check.
- If you need a second split, move the dividing point between operations and repeat the same checks.
6 Worked example
Worked example
Three decompositions
Write each as f(g(x)): (a) h(x) = ; (b) h(x) = (5x − 4; (c) h(x) = . You want an inside calculation followed by the finishing operation. Plan: name everything before the last operation as g, name the last operation as f, then recompose and compare domains.
Show the steps and the answer
- (a) Choose and . Recompose: .The inside builds the radicand; the outside takes its root. u is another name for f’s input slot.
- Require . Rearrange to , so .This finds the starts whose radicand is nonnegative. Their distance from zero is at most ≈ 2.24.
- Test and : both give radicand . Start 3 gives and fails.These tests show why both a lower and an upper boundary are needed.
- (b) Choose g(x) = 5x − 4 and f(u) = . Recompose: .Build the whole parenthesized expression first, then cube it. Neither stage restricts real starts.
- (c) Choose and . Recompose: .Addition builds the bottom before taking the reciprocal.
- Locate the failed bottom by solving : subtract 8, giving . Plug back in: . Exclude .This equation finds the one start whose inside answer cannot enter the reciprocal.
- Domain: [−, ].
- Domain: (−∞, ∞).
- (c) g(x) = x + 8
- Domain: (−∞, −8) ∪ (−8, ∞).
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 7
A shifted square
Decompose h(x) = (x + 3. You want addition followed by squaring. Plan: identify the last operation, name the earlier work as g, then recompose and check the allowed starts.
Show the steps and the answer
- Take and .The whole sum is squared.
- .Replacing the outer input restores the formula.
- g(x) = x + 3
- f(x) = , with all real inputs.
Rung 2 of 7
A denominator package
Decompose h(x) = . You want to build the denominator before division. Plan: identify the last operation, name the earlier work as g, then recompose and check the allowed starts.
Show the steps and the answer
- Take and .The reciprocal acts on the entire denominator.
- , with .The outer function must not receive zero.
- To locate the zero bottom, solve : . Plug back in: .This identifies and confirms the one start the reciprocal must exclude.
- g(x) = x + 7
- Exclude x = −7.
Rung 3 of 7
A linear package under a cube
Decompose h(x) = (4x − 3. You want a linear inside function and a cube outside function. Plan: identify the last operation, name the earlier work as g, then recompose and check the allowed starts.
Show the steps and the answer
- Take and .The parentheses mark the expression cubed as one unit.
- .The cube receives the complete inner output.
- f(x) = , with all real inputs.
Rung 4 of 7
A quadratic package under a root
Decompose h(x) = and give its domain. The expression 10 − is quadratic: its highest input power is . You want the radicand-building job, the root job, and the permitted starts. Plan: identify the last operation, name the earlier work as g, then recompose and check the allowed starts.
Show the steps and the answer
- Take and .The quadratic expression is the package inside the root.
- .The entire radicand fills the outer input slot.
- Require , so and .The distance of x from zero must be no more than .
- Starts 3 and give inside and work. Starts 4 and give and fail. Since , both boundaries lie between those pairs.This makes the two-sided distance bound concrete.
- Domain: [−, ].
Rung 5 of 7
A different valid split
Find another decomposition of h(x) = . This time make squaring the whole first job. Plan: identify the last operation, name the earlier work as g, then recompose and check the allowed starts.
Show the steps and the answer
- Take and .After squaring, the remaining operations are subtracting from 10 and taking a root.
- .Replacing the input of f with restores the original function.
- The inner square accepts all x, and the outer function requires .The outer radicand is 10 minus the intermediate square.
- Domain: [−, ], the same as the original.
Rung 6 of 7
A root inside a fraction bottom, two splits
Decompose h(x) = in two ways and give its domain. You want different pairs of jobs that both rebuild the root in the bottom. Plan: first split after the root; then split after the whole bottom; verify both formulas and find where the root or division fails.
Show the steps and the answer
- First split: and . Read as g sub 1, the name of the first choice.The inside job takes the root; the outside subtracts its answer from 6 and divides 3 by that result.
- .Substitution rebuilds the entire original bottom, including its root.
- Second split: and . Here sub 2 labels the second choice.The inside builds the whole bottom and the outside divides 3 by it.
- .The second pair rebuilds the same original expression.
- The root requires , hence . Locate a zero bottom: gives .This finds starts where the root exists, then starts where division fails.
- Both sides are nonnegative, so square: . Subtract 1: . Plug back in: and the bottom is . Exclude 35.Squaring locates the candidate, and substitution confirms the original failure.
- At the bottom is , so the root boundary is included. Both splits have the same restrictions.The root exists at zero and the resulting fraction bottom is nonzero.
- First: g₁(x) =
- Second: g₂(x) = 6 −
- Domain: [−1, 35) ∪ (35, ∞).
Rung 7 of 7
The top also depends on the starting input
Decompose h(x) = using g(x) = x − 6. You want an outside rule written only in its own input u. Plan: call the inside output u, express x in terms of u, rewrite both top and bottom in u, then recompose.
Show the steps and the answer
- Write u = x − 6. Add 6 to both sides: .This solve step recovers the original start from the chosen inside answer, so the outside rule can use u alone.
- The top becomes . The bottom becomes u.Both parts of the original fraction must be expressed through the same completed inside output.
- Choose . Then .The recomposition proves the outside rule rebuilds the whole original fraction.
- The original and recomposed bottoms both fail when . Add 6 to find . Plug back in: . Exclude 6.This locates and confirms the failed division, and shows the split preserves the original domain.
- Domain: (−∞, 6) ∪ (6, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Understand, then rebuild: cover the inside package and read what the outside operation does to one input.
- Always write f(g(x)) as the check. Do not rely on recognizing the two pieces by sight.
- More than one answer may be correct; formula and domain checks decide.
- The last calculator step is the outer function. Use this memory cue to choose the finishing job.
7 The trap
Giving the two correct component formulas in the wrong order. Recompose f(g(x)) on paper before accepting your decomposition.