A composite domain has two gates
Picture a trip with two ticket checks. The first gate checks your starting ticket. The second checks the ticket you receive after the first stage. Passing the first gate does not promise that you can pass the second. A composite domain is the list of starts that pass both checks. First, the inner function must accept your starting number x. Then the outer function must accept the answer g(x). These are the starts for which neither calculation stops. In the heating model, a day outside the calendar fails first; a temperature outside the cost chart fails second. Keep both checks before simplifying, because a shorter formula can hide a failed first stage.
- Domain of a fraction. requires 3x − 2 ≠ 0, so x ≠ .
- Solving a linear equation. 4 = 3x − 2 becomes 6 = 3x, then x = 2.
- Fraction equation. = 1 permits multiplying by 3x − 2 only after requiring it nonzero.
- Interval notation. Removing 2 gives (−∞, 2) ∪ (2, ∞); parentheses exclude the point.
- Dividing fractions. 1 ÷ = 4, because division multiplies by the reciprocal.
- Composition order. f(g(x)) checks g at x first and f at the resulting number second.
Keep original restrictions when simplifying the composite formula.
x must get through g, then g of x must get through f.
The domain of f after g is every starting input that both stages can use in order.
- (f ∘ g)(x) = f(g(x))
- {x | x is in the domain of g and g(x) is in the domain of f}
Two ticket gates check different tickets.
A valid starting ticket gets you through gate 1. Gate 2 checks a new ticket made by gate 1. You must check both, because they examine different things.
Ask: can I calculate g(x)? Then ask: can I calculate f at that answer? If either answer is no, the starting input is outside the composite domain.
At , the inner fraction has bottom zero. At 2, the inner fraction works and returns 1, but the outer fraction has bottom zero. These failures occur at different gates.
If g(x) = and f(x) = , the composite simplifies to x. But the first machine still cannot start at zero, so the composite is x with x ≠ 0.
| start x | g(x) | f(g(x)) | what happens |
|---|---|---|---|
| 0 | −2 | − | both stages work |
| 1 | 4 | both stages work | |
| undefined | undefined | inner bottom is 0 | |
| 2 | 1 | undefined | outer bottom is 0 |
.1Watch each gate before solving
Try a few starting tickets first. Input 0 passes through −2 to −. Input 1 passes through 4 to . Input stops in the first machine. Input 2 produces 1, then stops in the second. Solving finds every start that stops, beyond the ones you happen to try.
- These pictures use f(x) = and g(x) = .
- Undefined means a stage has no permitted answer.
Trace starts 0, 1, , and 2 through the two functions. You want to see which stage succeeds or fails. Plan: calculate g first and calculate f only if g gives an answer.
- g(0) = = −2; f(−2) = = −.Both bottoms are nonzero.
- g(1) = = 4; f(4) = .The in-between input 4 is allowed by f.
- At , g has bottom 3 × − 2 = 0, so stop.A failed first stage gives no answer to hand over.
- g(2) = = 1, then f(1) has bottom 0, so stop.An existing in-between answer can still be forbidden by the outer function.
- 0 works.
- 1 works.
- fails at gate 1.
- 2 fails at gate 2.
- The pictures show the handoff. Solving finds every starting input that creates a failed handoff.
.2Gate 1: the inner function accepts x
Begin with the original inner formula. Its accepted inputs are the starting territory for the composition. A failure here means there is no intermediate answer to hand over.
- Every composite input must be in the inner domain.
- An unrestricted outer function cannot rescue a failed inner stage.
Let g(x) = and f(x) = x + 2. Find the domain of f(g(x)). You want starting inputs that make the inner fraction exist. Plan: inspect the original inside rule, then inspect the outside rule at the inside answer, keeping both restrictions.
- Set x − 5 = 0 to locate the failed inner start. Add 5: x = 5. Plug back in: 5 − 5 = 0. Therefore require x ≠ 5.The equation finds the input that would make the inner bottom zero, so we exclude it.
- There are no further restrictions from f.Adding 2 accepts every real intermediate answer.
- Begin with the original inner formula, even if the outer operation looks unrestricted.
.3Gate 2: the outer function accepts g(x)
The outer function's forbidden numbers are intermediate outputs. Find which starting inputs would produce those numbers. The starting number itself may be allowed by the outer formula or forbidden by it; that alone does not decide the composition.
- For f(x) = , the second gate requires g(x) ≠ 1.
- Do not merely intersect the two original domains as if both received x.
Let f(x) = and g(x) = 2x. Find the domain of f(g(x)). You want to avoid starting inputs whose doubled value is 1. Plan: inspect the original inside rule, then inspect the outside rule at the inside answer, keeping both restrictions.
- g accepts every real starting input.Doubling has no denominator or square root restriction.
- Find starts that hand f the forbidden input 1: solve 2x = 1. Divide by 2: x = . Plug back in: g() = 1 and f(1) = . Exclude .The solve step translates the outer forbidden input into the failed starting input.
- Write g(x) beside the outer input requirement before solving.
.4Record the domain before simplifying
A shorter formula can conceal the first gate. Keep the original restrictions next to the simplified answer. The formula together with its domain describes the function.
- Simplification keeps outputs equal on the original domain.
- It does not add starting inputs that the original composition rejected.
Let f(x) = and g(x) = . Find f(g(x)) and its domain. You want the result of taking the reciprocal twice, while respecting the first division. Plan: inspect the original inside rule, then inspect the outside rule at the inside answer, keeping both restrictions.
- Require x ≠ 0 for g(x).The inner reciprocal cannot divide by zero.
- The outer function requires g(x) ≠ 0; this holds for every x ≠ 0. cannot equal zero when its denominator is nonzero.
- f(g(x)) = 1 ÷ = x, with x ≠ 0.Dividing by a nonzero fraction multiplies by its reciprocal.
- f(g(x)) = x with x ≠ 0.
- Domain: (−∞, 0) ∪ (0, ∞).
- A function answer includes its formula and the original allowed inputs.
.5The inner range can settle the second gate
The range is the list of answers a machine can produce. If every answer on that list is accepted by the next machine, gate 2 needs no extra exclusions. If some answers fail, keep only starts that avoid them.
- For g(x) = , its outputs are [0, ∞). The root f(x) = accepts every one of them.
- If g(x) = x − 5, its outputs include negatives, so an outer root requires x ≥ 5.
Let g(x) = and f(x) = . Find f(g(x)) and its domain. You want to know whether every square answer can enter the root. Plan: compare g’s outputs with f’s accepted inputs.
- Every real x can be squared, and ≥ 0.A square of a real number never gives a negative answer.
- Every such output can enter f, so f(g(x)) = = |x| for every real x.The root returns the nonnegative size of x.
- f(g(x)) = |x|.
- Domain: (−∞, ∞).
- Compare the inner outputs to the outer accepted inputs; the two lists describe different stages.
- 1. Find the inner domain. Record inputs making an inner denominator zero or violating any other inner requirement.
- 2. Find what the outer function cannot accept. For an outer denominator, determine its forbidden input values.
- 3. Set g(x) equal to each forbidden outer input and solve. Exclude the solutions that are in the inner domain.
- 4. Keep only starting inputs passing both gates. For roots, use inequalities rather than only equations, as the next lesson explains.
- 5. Write the result in interval notation and check a permitted input and each excluded input using the original stages.
Find the domain of f(g(x))
- Gate 1: begin with any stated input list or interval for the inner function, then write every requirement in its original formula. A bottom must be nonzero; an even root must have a nonnegative inside; a root in a bottom needs a positive inside.
- Gate 2: keep any stated outer input list or interval, and write the outer formula’s requirements with g(x) in every input slot. These requirements check the in-between answer.
- To locate a zero bottom, set it equal to 0 and solve. This finds starts that break the division. Substitute each candidate into the original stages to confirm which gate fails.
- For a root, solve an inequality for its inside. When removing a root by squaring, first check that both compared quantities are nonnegative.
- Keep only starting inputs that pass both gates. Write intervals with included endpoints closed and excluded endpoints open. Retain every original restriction after simplification.
Let f(x) = and g(x) = . Find the domain of (f ∘ g)(x). You want every starting number that can get through g and then f. Plan: find where the first bottom is zero, then find where g hands f the number 1; exclude both starts.
- Gate 1: set 3x − 2 = 0 to find the starting input that makes g divide by zero.A zero inner bottom prevents any in-between answer.
- Add 2: 3x = 2. Divide by 3: x = . Plug back in: 3 × − 2 = 2 − 2 = 0. Exclude .Balanced operations find the failed start, and substitution confirms the zero bottom.
- Gate 2: f cannot accept 1, since 1 − 1 = 0. Find every start whose g answer is 1.The outer function receives g(x), so the forbidden number is a handoff value.
- Solve = 1. On the inner domain multiply by the nonzero 3x − 2: 4 = 3x − 2.This locates starts that reach the forbidden outer input. The first exclusion makes the multiplication legal.
- Add 2: 6 = 3x. Divide by 3: x = 2.These operations find the start that causes the second failure.
- Plug back in: g(2) = = 1, and f(1) = . Exclude 2.The first stage works at 2, but its answer breaks the second division.
- Keep x ≠ and x ≠ 2. Split the line at these two excluded points.All remaining starts pass both original bottoms.
- Domain: (−∞, ) ∪ (, 2) ∪ (2, ∞).
- Set-builder: {x | x ≠ and x ≠ 2}.
Let g(x) = x + 3 and f(x) = 2x. Find the domain of f(g(x)). You only need to decide which starting inputs can pass both rules. Plan: inspect the original inside rule, then inspect the outside rule at the inside answer, keeping both restrictions.
- g accepts every real x.Adding 3 has no restriction.
- f accepts every real intermediate output.Multiplying by 2 has no restriction.
Let g(x) = x + 2 and f(x) = . Find the domain of f(g(x)). You must prevent the intermediate answer from becoming zero. Plan: inspect the original inside rule, then inspect the outside rule at the inside answer, keeping both restrictions.
- g accepts all real inputs, but f requires g(x) ≠ 0.The reciprocal's denominator is its input.
- Set x + 2 = 0 to locate the forbidden handoff zero. Subtract 2: x = −2. Plug back in: g(−2) = 0, so f(g(−2)) = . Exclude −2.This solves for the starting input that breaks the outer division.
Let g(x) = and f(x) = . Find the composite domain. You want a defined inner fraction followed by a square. Plan: inspect the original inside rule, then inspect the outside rule at the inside answer, keeping both restrictions.
- Set x + 4 = 0 to locate the inner zero bottom. Subtract 4: x = −4. Plug back in: −4 + 4 = 0. Exclude −4.The equation identifies the failed first-stage input.
- No further exclusion is needed.The outer square accepts any real intermediate output.
Let g(x) = and f(x) = . Find the domain of f(g(x)). You must avoid an inner zero denominator and an intermediate value of 3. Plan: inspect the original inside rule, then inspect the outside rule at the inside answer, keeping both restrictions.
- Gate 1: x + 1 = 0 gives x = −1. Plug back in: −1 + 1 = 0. Exclude −1.This finds and confirms the inner zero bottom.
- At gate 2, solve = 3: 2 = 3(x + 1).f rejects input 3, and x + 1 is nonzero on the inner domain.
- 2 = 3x + 3, so −1 = 3x and x = −. Plug back in: x + 1 = ; g(x) = 2 ÷ = 3, so f(3) has bottom 0. Exclude this start.This start makes the outer denominator zero.
Let g(x) = and f(x) = . Find the formula and domain of f(g(x)). Taking the reciprocal twice will shorten the formula, but both stages must first exist. Plan: inspect the original inside rule, then inspect the outside rule at the inside answer, keeping both restrictions.
- Set x − 5 = 0 to find the failed inner bottom. Add 5: x = 5. Substitution gives 5 − 5 = 0. Exclude 5.The shorter final expression must retain this original failed input.
- The inner output is never zero on that domain.A fraction with numerator 1 and a nonzero denominator cannot be zero.
- f(g(x)) = 1 ÷ = x − 5, still with x ≠ 5.The reciprocal undoes the first reciprocal only at allowed inputs.
- f(g(x)) = x − 5, x ≠ 5.
- Domain: (−∞, 5) ∪ (5, ∞).
- Know cold: two gates, both must open. Write gate 1 and gate 2 as separate lines on the exam.
- Put on the cheat sheet for study: x must be accepted by the inner function, and the inner output must be accepted by the outer function.
- The whole inner range must fit the outer domain to compose on every inner input. If only some outputs fit, keep only the starting inputs that produce those outputs.
- Set-builder conditions that remove two points use and: {x | x ≠ a and x ≠ b}. Interval pieces use ∪ because an input may belong to any one piece.
- Gate 1 checks x. Gate 2 checks g(x).