Square roots add boundary checks
Picture a square tile whose area you know. A square root asks for its nonnegative side length. The number under the root sign is the radicand. A negative area cannot make a real square tile, so a real square root needs a nonnegative radicand, meaning zero or more. Zero is allowed: = 0. For a composition, a square root can appear at the first gate or the second gate, so check its radicand at the stage where it appears. Also notice whether a root sits on the bottom of a fraction. Then zero fails the division even though the root itself exists.
- Square roots. = 3, = 0, and has no real value.
- Inequality reversal. −x ≥ −3 becomes x ≤ 3 after multiplying by −1.
- Squaring a nonnegative inequality. If u ≥ 0, then ≤ 4 is equivalent to u ≤ 16; 4 is nonnegative too.
- Intersection of bounds. x ≥ −1 and x ≤ 15 together give [−1, 15].
- Denominator. is undefined, even when that zero came from .
- Substitution. For f(x) = , replacing x with g(x) gives .
- Solve a root equation. = 5 has nonnegative sides. Square to get x + 9 = 25, hence x = 16; plug back in to obtain = 5. A negative right side would give no solution.
- Squares greater than a bound. > 36 means x < −6 or x > 6. For example, (−10 = 100 > 36, while = 0 fails.
For f(g(x)), apply every root requirement at its own stage and keep both gates.
A square root needs zero or more inside. A root on the bottom needs more than zero.
Every root must exist at the stage where you use it, and every bottom must be nonzero.
- : A ≥ 0
- : A > 0
- = 0
- [a, ∞) includes a; (a, ∞) excludes a
A tile may have zero area, but you cannot divide by its zero side length.
A tile with area 9 has side length 3. Area zero has side length zero. A negative area does not have a real side length, because no real square has negative area.
If g is a square root, every value coming out is at least zero. Then an outer root of g(x) + 2 always has a radicand at least 2, once g exists.
A root can hand the next fraction its zero-bottom input. For g(x) = , start 16 gives 5. The fraction then fails. The first root exists, so you must inspect the second stage too.
.1A root at the first gate
A root in the inner function restricts the starting inputs. An outer operation cannot remove that restriction, even when it squares the inner root and shortens the formula.
- For g(x) = , the first gate requires x ≥ 2.
- Squaring an existing nonnegative root returns its radicand.
Let g(x) = and f(x) = . Find the formula and domain of f(g(x)). You want to square the inner root after checking that it exists. Plan: require the inner radicand x − 2 to be nonnegative, then square the existing root while keeping its original restriction.
- Require x − 2 ≥ 0, so x ≥ 2.The inner square root must have a nonnegative radicand.
- f(g(x)) = ( = x − 2, on x ≥ 2.Squaring undoes an existing square root but does not create values where that root failed.
- f(g(x)) = x − 2.
- Domain: [2, ∞).
- A square can remove a root symbol, but it cannot repair a root that never existed.
.2A root at the second gate
When the outer function is a square root, its input is the inner output. Check that output against the outer radicand condition. Sometimes an inner square root also needs to stay below a bound.
- For f(x) = , the outer function requires its input ≤ 4.
- If g(x) = , both x ≥ −1 and g(x) ≤ 4 are required.
Let f(x) = and g(x) = . Find the domain of f(g(x)). You want starting inputs that produce a real inner root no larger than 4. Plan: keep the inner root’s existence condition, bound its answer by 4 for the outer root, and square only after checking nonnegative sides.
- Gate 1 requires x + 1 ≥ 0, so x ≥ −1.The inner root must exist.
- Gate 2 requires 4 − ≥ 0, so ≤ 4.The outer radicand cannot be negative.
- Square both sides: x + 1 ≤ 16, so x ≤ 15.The inner root is nonnegative and 4 is nonnegative, so squaring preserves order.
- Combine x ≥ −1 and x ≤ 15.Both gates must work for the same starting input.
- Write the inner lower bound before finding the outer upper bound.
.3A root in a denominator
A root on the bottom must exist and must not be zero. Those two requirements combine into a positive radicand. The boundary that an ordinary root accepts is removed by division.
- requires x − 2 > 0, so x > 2.
- A zero numerator over a nonzero denominator is allowed; a zero denominator is not.
Let f(x) = and g(x) = x − 2. Find the domain of f(g(x)). You want the reciprocal of a root, so its denominator must be real and nonzero. Plan: substitute x − 2 into the outer input and require it to be positive, so the root exists and the denominator is nonzero.
- g accepts every real input.Subtracting 2 has no restriction.
- The outer rule requires g(x) > 0.A negative input has no real root, and zero would give denominator zero.
- x − 2 > 0, so x > 2.Adding 2 preserves the inequality direction.
- Look for the fraction bar before choosing an open or closed endpoint.
- 1. Write the inner radicand requirement before using the inner function's output.
- 2. Substitute the inner output into the outer radicand and require it to be nonnegative.
- 3. Use the inner range when possible. A real square root output is always at least zero.
- 4. Before squaring an inequality, check that both compared sides are nonnegative. Then square and solve while preserving the earlier requirements.
- 5. If a root is a denominator, replace its nonnegative condition with a greater than zero one.
- 6. Combine the bounds and test endpoints in the original two-stage formula.
Apply the two gates to roots
- Use the two-gate strategy from the preceding lesson. Write the original inner restrictions first.
- At every root require the whole inside ≥ 0. When that root is a bottom, require the inside > 0.
- An inner root gives only nonnegative answers. Check whether this makes an outer requirement automatic or impossible.
- If a forbidden outer value is nonnegative, solve the root equation by squaring both nonnegative sides, then substitute the candidate back into the original root.
- For an outer upper bound on a root, establish both sides nonnegative before squaring. Retain the inner lower bound.
- Combine every restriction and test included boundaries and excluded points in the original stages.
Let f(x) = and g(x) = . Find (f ∘ g)(x) and its domain. You want a nested-root formula and the starting inputs for which both roots exist. Plan: find where the inner root exists, then use its nonnegative output to check the outer radicand after adding 2.
- (f ∘ g)(x) = f() = .The whole inner root replaces the outer input.
- The inner root requires 3 − x ≥ 0.A real square root cannot have a negative radicand.
- −x ≥ −3, so x ≤ 3.Subtracting 3 gives the first inequality; multiplying by −1 reverses its direction.
- The outer root requires + 2 ≥ 0. This adds no restriction.Where the inner root exists, it is at least zero, so adding 2 makes the outer radicand at least 2.
- (f ∘ g)(x) = .
- Domain: (−∞, 3].
Let g(x) = and f(x) = x + 1. Find the composite domain. You want a real root followed by addition. Plan: require a real inner root, then check that adding 1 accepts every resulting output.
- The inner root requires x ≥ 0.Its radicand is the starting input.
- The outer function adds no restriction.Any real inner output can have 1 added to it.
Let g(x) = 5x − 15 and f(x) = . Find the composite domain. You need the inner output to be nonnegative. Plan: require the line’s output 5x − 15 to be nonnegative before it enters the outer root.
- g accepts every real x; f requires 5x − 15 ≥ 0.The outer root's radicand is the entire g output.
- 5x ≥ 15, so x ≥ 3.Add 15, then divide by the positive number 5 without reversing the sign.
Let g(x) = and f(x) = . Find the domain of f(g(x)). You want both roots to exist. Plan: find where the inner root exists, then use its nonnegative output to check the outer radicand after adding 5.
- 7 − x ≥ 0 gives x ≤ 7.This is the inner root requirement; reversing the sign when multiplying by −1 gives the bound.
- The inner output is at least 0, so g(x) + 5 is at least 5.A square root's output is nonnegative.
- No further restriction is needed.The outer radicand is already positive whenever the inner function exists.
Let g(x) = and f(x) = . Find the domain of f(g(x)). You need the root to exist and its answer to avoid 5. Plan: keep the inner lower bound, solve = 5, then exclude the verified start.
- Gate 1: x + 9 ≥ 0 gives x ≥ −9.This finds the starting inputs where the inner root exists.
- Gate 2: f rejects input 5, since 5 − 5 = 0. Solve = 5 to find the start that hands f that value.The equation locates the failed outer handoff.
- Both sides are nonnegative. Square: x + 9 = 25. Subtract 9: x = 16.Squaring reverses the existing root here; subtraction isolates the failed start.
- Plug back in: g(16) = = 5 and f(5) = . Exclude 16.The candidate truly breaks gate 2 and already lies in the inner domain.
- At the lower boundary −9, g(−9) = 0 and f(0) = = −, so include −9.A zero root is permitted here because the outer bottom is −5, not zero.
Let g(x) = and f(x) = . Find the composite domain. The inner root must exist and its output must be no greater than 3. Plan: keep the inner lower bound, require its root output to be at most 3, then square the nonnegative comparison to find the upper bound.
- x + 2 ≥ 0 gives x ≥ −2.Gate 1 requires a real inner root.
- 3 − ≥ 0 gives ≤ 3.Gate 2 requires a real outer root.
- Square to get x + 2 ≤ 9, so x ≤ 7.Both the existing root and 3 are nonnegative.
- Combine the two bounds.Both stages must exist.
Let g(x) = 3x − 9 and f(x) = . Find the composite domain. You need a real square root that is also a nonzero denominator. Plan: require the line’s output to be positive, because its outer root is also a denominator.
- Require 3x − 9 > 0.The outer input must be positive, not only nonnegative, to avoid a zero denominator.
- 3x > 9, so x > 3.Add 9 and divide by positive 3.
Let m(x) = − 36 and p(x) = . Find both p(m(x)) and m(p(x)), with their domains. You want to compare the two orders and keep any restriction hidden by simplification. Plan: first require − 36 > 0 for p after m; then retain p’s positive-input requirement for the reverse order.
- p(m(x)) = . Require − 36 > 0.The root is a bottom, so its inside must be positive to make it real and nonzero.
- Add 36: > 36. This means distance from zero greater than 6, so x < −6 or x > 6.Both positive and negative numbers can have squares larger than 36. The points 6 and −6 give a zero bottom.
- For the reverse order, p must act first, so require x > 0.An inner root on the bottom rejects negative starts and zero before m can act.
- m(p(x)) = (1 ÷ − 36 = − 36, still for x > 0.An existing root squares to x. The shorter expression retains the inner positive-input restriction.
- p(m(x)) = .
- Domain: (−∞, −6) ∪ (6, ∞).
- m(p(x)) = − 36.
- Domain: (0, ∞).
- Put on the cheat sheet for study: ordinary root means ≥ 0; root denominator means > 0.
- Know cold: zero is allowed under a root but not under a fraction bar. Picture a filled endpoint for the root and an open endpoint for division.
- Test boundary inputs in the original nested formula before choosing brackets.