• Practice
  • About 14 min
  • 5 practice questions

Finding the domain: combined conditions

Find the domain of formulas that combine fractions, square roots, modulus and the greatest integer function by writing every condition and intersecting them.

If something looks wrong, please tell us.

Domain questions become hard only when several conditions appear together: a square root inside a fraction, two square roots added, or a greatest integer function in a denominator. The method never changes. Write down every condition the formula imposes, solve each one, and take the values that satisfy all of them. This lesson shows the method on the shapes that appear most often.

The conditions to collect

Conditions for the domain
Part of the formulaCondition
Denominator g(x)g(x) ≠ 0
√g(x) in a numerator or aloneg(x) ≥ 0
√g(x) in a denominatorg(x) > 0 (strict)
1/(x − [x])x − [x] ≠ 0, so x is not an integer

When the formula is a sum, difference or product of parts, its domain is the intersection of the domains of the parts. A square root in the denominator needs a strict inequality because the root itself must be non-zero as well as defined.

Solving quadratic conditions by sign

For (x − a)(x − b) ≥ 0 with a < b, the product is positive outside the roots and negative between them, so the solution is x ≤ a or x ≥ b. For (x − a)(x − b) ≤ 0 the solution is a ≤ x ≤ b. The same pattern works for x² − k² ≥ 0, which gives x ≤ −k or x ≥ k, and for k² − x² > 0, which gives −k < x < k. Always factorise first, then mark the roots and read off the signs.

Worked example 1: two square roots

Find the domain of f(x) = √(x − 1) + √(5 − x). The first root needs x ≥ 1 and the second needs x ≤ 5. Both must hold, so the domain is [1, 5]. Both end points are included, because each root is defined and equal to zero there.

Worked example 2: a root in the denominator

Find the domain of f(x) = 1/√(x² − 4). The root is in the denominator, so x² − 4 > 0. This gives x < −2 or x > 2, so the domain is (−∞, −2) ∪ (2, ∞). A common error is to include ±2; at those points the denominator is √0 = 0.

Worked example 3: a fraction plus a root

Find the domain of f(x) = x/(x² − 9) + √(x + 4). The fraction needs x² − 9 ≠ 0, so x ≠ 3 and x ≠ −3. The root needs x + 4 ≥ 0, so x ≥ −4. Intersecting: x ≥ −4 with 3 and −3 removed. The domain is [−4, ∞) − {−3, 3}. Check that each removed point actually lies in [−4, ∞); a point outside it would not need removing.

Worked example 4: the greatest integer trap

Find the domain of f(x) = 1/(x − [x]). Since [x] ≤ x, the quantity x − [x] is always at least 0, and it is 0 exactly when x is an integer. So the denominator is zero at every integer, and the domain is R − Z. The function is defined at 2.5, for example, where x − [x] = 0.5.

Worked example 5: a quotient under a root

Find the domain of f(x) = √((x − 2)/(x + 3)). We need (x − 2)/(x + 3) ≥ 0 with x ≠ −3. The quotient has the same sign as the product (x − 2)(x + 3), which is non-negative for x ≤ −3 or x ≥ 2. Removing x = −3, where the denominator vanishes, gives (−∞, −3) ∪ [2, ∞). The open bracket at −3 and closed bracket at 2 are exactly what options try to swap.

List every condition, solve each, intersect. A root in a denominator needs > 0, not ≥ 0. A zero of the denominator is excluded even when it makes a root equal to zero.

— Rule to remember

Key takeaways

Treat each fraction and each root as a separate condition, then intersect. Factorise quadratic conditions and read the signs: outside the roots for ≥ 0, between them for ≤ 0. Watch the brackets at the ends: included for √ in a numerator, excluded for √ in a denominator and for zeros of a denominator. x − [x] vanishes at every integer.

Check your understanding

  1. 1. What is the domain of f(x) = √(x − 2) + √(6 − x)?

    1. (2, 6)
    2. [2, ∞)
    3. [2, 6]
    4. (−∞, 6]
    Show answer

    Answer: C. x − 2 ≥ 0 gives x ≥ 2 and 6 − x ≥ 0 gives x ≤ 6. Both hold on [2, 6], end points included.

  2. 2. What is the domain of f(x) = 1/√(9 − x²)?

    1. [−3, 3]
    2. (−3, 3)
    3. (−∞, −3) ∪ (3, ∞)
    4. R − {−3, 3}
    Show answer

    Answer: B. The root is in the denominator, so 9 − x² > 0, which gives −3 < x < 3.

  3. 3. What is the domain of f(x) = √(x² − 5x + 4)?

    1. [1, 4]
    2. (1, 4)
    3. (−∞, 1) ∪ (4, ∞)
    4. (−∞, 1] ∪ [4, ∞)
    Show answer

    Answer: D. x² − 5x + 4 = (x − 1)(x − 4) ≥ 0 outside the roots, with the roots included: x ≤ 1 or x ≥ 4.

  4. 4. What is the domain of f(x) = √(x + 1)/(x − 2)?

    1. [−1, ∞) − {2}
    2. [−1, ∞)
    3. (−1, ∞) − {2}
    4. R − {2}
    Show answer

    Answer: A. The root needs x ≥ −1 and the denominator needs x ≠ 2. x = −1 is allowed: the value there is 0/(−3) = 0.

  5. 5. What is the domain of f(x) = 1/(|x| − 2)?

    1. R − {2}
    2. (−2, 2)
    3. R − {−2, 2}
    4. (−∞, −2) ∪ (2, ∞)
    Show answer

    Answer: C. |x| − 2 = 0 when x = 2 or x = −2. Every other real number is allowed, including values between −2 and 2.

Sign in to keep track of the lessons you finish.

Next lesson → Finding the range: methods that work

Privacy · Terms · Refunds · Delivery