Decompose by naming the inside and outside jobs
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.
- 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.
Check by substitution and preserve h's original domain.
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.
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.
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) = .
.1Square-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.
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.
- Choose g(x) = x + 9 and f(x) = .Addition builds the radicand before the root is taken.
- f(g(x)) = , with x ≥ −9.Recomposition restores the original root and its nonnegative-radicand requirement.
- g(x) = x + 9
- f(x) = .
- Domain: [−9, ∞).
- Test a permitted small input after symbolically recomposing f(g(x)). At a start the original excludes, test a different number.
.2Cube 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) = .
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.
- Choose g(x) = 3x + 2 and f(x) = .The parentheses show which whole expression is cubed.
- f(g(x)) = (3x + 2.Substitution places the inner expression into the cube's input slot.
- g(x) = 3x + 2
- f(x) = .
- Domain: (−∞, ∞).
- Test a permitted small input after symbolically recomposing f(g(x)). At a start the original excludes, test a different number.
.3Reciprocal 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) = .
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.
- Choose g(x) = x − 6 and f(x) = .Subtraction builds the denominator before the reciprocal is taken.
- f(g(x)) = , with x ≠ 6.The outer reciprocal must not receive zero.
- Set x − 6 = 0 to find the failed reciprocal input. Add 6: x = 6. Plug back in: 6 − 6 = 0. Exclude 6.This solve step identifies the start whose inside job makes the outside bottom zero.
- g(x) = x − 6
- f(x) = .
- Domain: (−∞, 6) ∪ (6, ∞).
- Test a permitted small input after symbolically recomposing f(g(x)). At a start the original excludes, test a different number.
.4Absolute-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.
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.
- Choose g(x) = 3x + 1 and f(x) = |x|.The expression between the bars is the input to the distance rule.
- f(g(x)) = |3x + 1|.The whole inner output replaces f's input.
- g(x) = 3x + 1
- f(x) = |x|.
- Domain: (−∞, ∞).
- Test a permitted small input after symbolically recomposing f(g(x)). At a start the original excludes, test a different number.
- 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.
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.
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) Choose g(x) = 5 − and f(u) = . Recompose: f(g(x)) = .The inside builds the radicand; the outside takes its root. u is another name for f’s input slot.
- Require 5 − ≥ 0. Rearrange to ≤ 5, so − ≤ x ≤ .This finds the starts whose radicand is nonnegative. Their distance from zero is at most ≈ 2.24.
- Test x = 2 and x = −2: both give radicand 5 − 4 = 1. Start 3 gives 5 − 9 = −4 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: f(g(x)) = (5x − 4.Build the whole parenthesized expression first, then cube it. Neither stage restricts real starts.
- (c) Choose g(x) = x + 8 and f(u) = . Recompose: f(g(x)) = .Addition builds the bottom before taking the reciprocal.
- Locate the failed bottom by solving x + 8 = 0: subtract 8, giving x = −8. Plug back in: −8 + 8 = 0. Exclude −8.This equation finds the one start whose inside answer cannot enter the reciprocal.
- (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, ∞).
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.
- Take g(x) = x + 3 and f(x) = .The whole sum is squared.
- f(g(x)) = (x + 3.Replacing the outer input restores the formula.
- g(x) = x + 3
- f(x) = , with all real inputs.
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.
- Take g(x) = x + 7 and f(x) = .The reciprocal acts on the entire denominator.
- f(g(x)) = , with x ≠ −7.The outer function must not receive zero.
- To locate the zero bottom, solve x + 7 = 0: x = −7. Plug back in: −7 + 7 = 0.This identifies and confirms the one start the reciprocal must exclude.
- g(x) = x + 7
- f(x) = .
- Exclude x = −7.
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.
- Take g(x) = 4x − 3 and f(x) = .The parentheses mark the expression cubed as one unit.
- f(g(x)) = (4x − 3.The cube receives the complete inner output.
- g(x) = 4x − 3
- f(x) = , with all real inputs.
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.
- Take g(x) = 10 − and f(x) = .The quadratic expression is the package inside the root.
- f(g(x)) = .The entire radicand fills the outer input slot.
- Require 10 − ≥ 0, so ≤ 10 and − ≤ x ≤ .The distance of x from zero must be no more than .
- Starts 3 and −3 give inside 10 − 9 = 1 and work. Starts 4 and −4 give 10 − 16 = −6 and fail. Since ≈ 3.16, both boundaries lie between those pairs.This makes the two-sided distance bound concrete.
- g(x) = 10 −
- f(x) = .
- Domain: [−, ].
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.
- Take g(x) = and f(x) = .After squaring, the remaining operations are subtracting from 10 and taking a root.
- f(g(x)) = .Replacing the input of f with restores the original function.
- The inner square accepts all x, and the outer function requires ≤ 10.The outer radicand is 10 minus the intermediate square.
- g(x) =
- f(x) = .
- Domain: [−, ], the same as the original.
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.
- First split: g₁(x) = and f₁(u) = . Read g₁ 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.
- f₁(g₁(x)) = .Substitution rebuilds the entire original bottom, including its root.
- Second split: g₂(x) = 6 − and f₂(u) = . Here sub 2 labels the second choice.The inside builds the whole bottom and the outside divides 3 by it.
- f₂(g₂(x)) = .The second pair rebuilds the same original expression.
- The root requires x + 1 ≥ 0, hence x ≥ −1. Locate a zero bottom: 6 − = 0 gives = 6.This finds starts where the root exists, then starts where division fails.
- Both sides are nonnegative, so square: x + 1 = 36. Subtract 1: x = 35. Plug back in: = 6 and the bottom is 6 − 6 = 0. Exclude 35.Squaring locates the candidate, and substitution confirms the original failure.
- At −1 the bottom is 6 − = 6, 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) =
- f₁(u) = .
- Second: g₂(x) = 6 −
- f₂(u) = .
- Domain: [−1, 35) ∪ (35, ∞).
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.
- Write u = x − 6. Add 6 to both sides: x = u + 6.This solve step recovers the original start from the chosen inside answer, so the outside rule can use u alone.
- The top 3x + 7 becomes 3(u + 6) + 7 = 3u + 18 + 7 = 3u + 25. The bottom x − 6 becomes u.Both parts of the original fraction must be expressed through the same completed inside output.
- Choose f(u) = . Then f(g(x)) = = = .The recomposition proves the outside rule rebuilds the whole original fraction.
- The original and recomposed bottoms both fail when x − 6 = 0. Add 6 to find x = 6. Plug back in: 6 − 6 = 0. Exclude 6.This locates and confirms the failed division, and shows the split preserves the original domain.
- g(x) = x − 6.
- f(u) = .
- Domain: (−∞, 6) ∪ (6, ∞).
- 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.