Square roots bring a new restriction into functions: in real numbers you cannot take the square root of a negative number. This single fact is behind a whole class of questions that ask for the domain of a function. In this lesson you will meet the square root function and its graph, and then learn to find the domain of expressions such as x 2 − 5 x + 6 \sqrt{x^2 - 5x + 6} x 2 − 5 x + 6 or 1 x − 2 \displaystyle \frac{1}{\sqrt{x - 2}} x − 2 1 by turning the condition into an inequality you already know how to solve.
Square roots of real numbers#
If a 2 = b a^2 = b a 2 = b with a ≥ 0 a \geq 0 a ≥ 0 , then b = a \sqrt{b} = a b = a . For example,
2 2 = 4 ⟹ 4 = 2 , 3 2 = 9 ⟹ 9 = 3 2^2 = 4 \implies \sqrt{4} = 2, \qquad 3^2 = 9 \implies \sqrt{9} = 3 2 2 = 4 ⟹ 4 = 2 , 3 2 = 9 ⟹ 9 = 3
The symbol x \sqrt{\phantom{x}} x always means the non-negative square root. Although ( − 2 ) 2 = 4 (-2)^2 = 4 ( − 2 ) 2 = 4 too, 4 \sqrt{4} 4 is 2 2 2 , not − 2 -2 − 2 .
The square root function#
The function y = f ( x ) = x y = f(x) = \sqrt{x} y = f ( x ) = x is called the square root function .
Since only non-negative numbers have real square roots, and a square root is never negative,
Domain = [ 0 , ∞ ) , Range = [ 0 , ∞ ) \text{Domain} = [0, \infty), \qquad \text{Range} = [0, \infty) Domain = [ 0 , ∞ ) , Range = [ 0 , ∞ )
The graph of y = x y = \sqrt{x} y = x #
The graph starts at the origin and rises to the right, passing through ( 1 , 1 ) (1, 1) ( 1 , 1 ) , ( 4 , 2 ) (4, 2) ( 4 , 2 ) and ( 9 , 3 ) (9, 3) ( 9 , 3 ) . It rises steeply at first and then more and more slowly. There is no graph at all to the left of the y y y -axis.
Domains of square root expressions#
Rule 1. T \sqrt{T} T is defined (as a real number) exactly when T ≥ 0 T \geq 0 T ≥ 0 .
Rule 2. 1 T \displaystyle \frac{1}{\sqrt{T}} T 1 is defined exactly when T > 0 T > 0 T > 0 . The square root needs T ≥ 0 T \geq 0 T ≥ 0 , and the denominator cannot be 0 0 0 , so T = 0 T = 0 T = 0 is also excluded.
To find a domain, write the condition from the rule and solve it.
Example 1#
Find the domain of x − 2 \sqrt{x - 2} x − 2 .
x − 2 \sqrt{x - 2} x − 2 is defined when
x − 2 ≥ 0 ⟹ x ≥ 2 ⟹ x ∈ [ 2 , ∞ ) x - 2 \geq 0 \implies x \geq 2 \implies x \in [2, \infty) x − 2 ≥ 0 ⟹ x ≥ 2 ⟹ x ∈ [ 2 , ∞ )
So the domain of x − 2 \sqrt{x - 2} x − 2 is [ 2 , ∞ ) [2, \infty) [ 2 , ∞ ) .
Example 2#
Find the domain of 2 x − 3 \sqrt{2x - 3} 2 x − 3 .
2 x − 3 ≥ 0 ⟹ x ≥ 3 2 ⟹ x ∈ [ 3 2 , ∞ ) \displaystyle 2x - 3 \geq 0 \implies x \geq \frac{3}{2} \implies x \in \left[\frac{3}{2}, \infty\right) 2 x − 3 ≥ 0 ⟹ x ≥ 2 3 ⟹ x ∈ [ 2 3 , ∞ )
Example 3#
Find the domain of x 2 − 5 x + 6 \sqrt{x^2 - 5x + 6} x 2 − 5 x + 6 .
We need x 2 − 5 x + 6 ≥ 0 x^2 - 5x + 6 \geq 0 x 2 − 5 x + 6 ≥ 0 , that is, ( x − 2 ) ( x − 3 ) ≥ 0 (x - 2)(x - 3) \geq 0 ( x − 2 ) ( x − 3 ) ≥ 0 . This is an upward parabola with roots 2 2 2 and 3 3 3 ; it is non-negative outside and at the roots:
x ∈ ( − ∞ , 2 ] ∪ [ 3 , ∞ ) x \in (-\infty, 2] \cup [3, \infty) x ∈ ( − ∞ , 2 ] ∪ [ 3 , ∞ )
Example 4#
Find the domain of x − ∣ x ∣ \sqrt{x - |x|} x − ∣ x ∣ .
We need x − ∣ x ∣ ≥ 0 x - |x| \geq 0 x − ∣ x ∣ ≥ 0 , that is, ∣ x ∣ ≤ x |x| \leq x ∣ x ∣ ≤ x . But ∣ x ∣ < x |x| < x ∣ x ∣ < x never happens, so this means ∣ x ∣ = x |x| = x ∣ x ∣ = x , which is true exactly when x ≥ 0 x \geq 0 x ≥ 0 .
So the domain is [ 0 , ∞ ) [0, \infty) [ 0 , ∞ ) . (For negative x x x , x − ∣ x ∣ = 2 x x - |x| = 2x x − ∣ x ∣ = 2 x is negative.)
Example 5#
Find the domain of 1 x − 2 \displaystyle \frac{1}{\sqrt{x - 2}} x − 2 1 .
By Rule 2,
x − 2 > 0 ⟹ x > 2 ⟹ x ∈ ( 2 , ∞ ) x - 2 > 0 \implies x > 2 \implies x \in (2, \infty) x − 2 > 0 ⟹ x > 2 ⟹ x ∈ ( 2 , ∞ )
Compare with Example 1: the only difference is the point x = 2 x = 2 x = 2 , which is allowed for x − 2 \sqrt{x - 2} x − 2 but not for 1 x − 2 \displaystyle \frac{1}{\sqrt{x - 2}} x − 2 1 .
Example 6#
Find the domain of 4 − x 2 \sqrt{4 - x^2} 4 − x 2 .
We need 4 − x 2 ≥ 0 4 - x^2 \geq 0 4 − x 2 ≥ 0 , that is, x 2 − 4 ≤ 0 x^2 - 4 \leq 0 x 2 − 4 ≤ 0 , or ( x + 2 ) ( x − 2 ) ≤ 0 (x + 2)(x - 2) \leq 0 ( x + 2 ) ( x − 2 ) ≤ 0 . Less than zero, between the roots:
x ∈ [ − 2 , 2 ] x \in [-2, 2] x ∈ [ − 2 , 2 ]
Example 7#
Find the domain of x − 1 + 5 − x \sqrt{x - 1} + \sqrt{5 - x} x − 1 + 5 − x .
Both square roots must be defined at the same time:
x − 1 ≥ 0 gives x ≥ 1 , 5 − x ≥ 0 gives x ≤ 5 x - 1 \geq 0 \text{ gives } x \geq 1, \qquad 5 - x \geq 0 \text{ gives } x \leq 5 x − 1 ≥ 0 gives x ≥ 1 , 5 − x ≥ 0 gives x ≤ 5
The common values are x ∈ [ 1 , 5 ] x \in [1, 5] x ∈ [ 1 , 5 ] . When a function is a sum of several parts, its domain is the intersection of the domains of the parts.
Example 8#
Find the domain of 1 x 2 − 9 \displaystyle \frac{1}{\sqrt{x^2 - 9}} x 2 − 9 1 .
We need x 2 − 9 > 0 x^2 - 9 > 0 x 2 − 9 > 0 , that is, ( x + 3 ) ( x − 3 ) > 0 (x + 3)(x - 3) > 0 ( x + 3 ) ( x − 3 ) > 0 . Greater than zero, outside the roots:
x ∈ ( − ∞ , − 3 ) ∪ ( 3 , ∞ ) x \in (-\infty, -3) \cup (3, \infty) x ∈ ( − ∞ , − 3 ) ∪ ( 3 , ∞ )
Practice#
Find the domain of each function.
x + 5 \sqrt{x + 5} x + 5
6 − 2 x \sqrt{6 - 2x} 6 − 2 x
1 3 x − 4 \displaystyle \frac{1}{\sqrt{3x - 4}} 3 x − 4 1
x 2 − 7 x + 10 \sqrt{x^2 - 7x + 10} x 2 − 7 x + 10
9 − x 2 \sqrt{9 - x^2} 9 − x 2
1 x 2 − 4 x + 3 \displaystyle \frac{1}{\sqrt{x^2 - 4x + 3}} x 2 − 4 x + 3 1
x − 2 + 8 − x \sqrt{x - 2} + \sqrt{8 - x} x − 2 + 8 − x
∣ x ∣ − x \sqrt{|x| - x} ∣ x ∣ − x
x 2 + 1 \sqrt{x^2 + 1} x 2 + 1
1 x − ∣ x ∣ \displaystyle \frac{1}{\sqrt{x - |x|}} x − ∣ x ∣ 1
∣ x ∣ − 3 \sqrt{|x| - 3} ∣ x ∣ − 3
Answers#
Show answers
x + 5 ≥ 0 x + 5 \geq 0 x + 5 ≥ 0 , so [ − 5 , ∞ ) [-5, \infty) [ − 5 , ∞ ) .
6 − 2 x ≥ 0 6 - 2x \geq 0 6 − 2 x ≥ 0 , so x ≤ 3 x \leq 3 x ≤ 3 : ( − ∞ , 3 ] (-\infty, 3] ( − ∞ , 3 ] .
3 x − 4 > 0 3x - 4 > 0 3 x − 4 > 0 , so ( 4 3 , ∞ ) \displaystyle \left(\frac{4}{3}, \infty\right) ( 3 4 , ∞ ) .
( x − 2 ) ( x − 5 ) ≥ 0 (x - 2)(x - 5) \geq 0 ( x − 2 ) ( x − 5 ) ≥ 0 , so ( − ∞ , 2 ] ∪ [ 5 , ∞ ) (-\infty, 2] \cup [5, \infty) ( − ∞ , 2 ] ∪ [ 5 , ∞ ) .
( x + 3 ) ( x − 3 ) ≤ 0 (x + 3)(x - 3) \leq 0 ( x + 3 ) ( x − 3 ) ≤ 0 , so [ − 3 , 3 ] [-3, 3] [ − 3 , 3 ] .
( x − 1 ) ( x − 3 ) > 0 (x - 1)(x - 3) > 0 ( x − 1 ) ( x − 3 ) > 0 , so ( − ∞ , 1 ) ∪ ( 3 , ∞ ) (-\infty, 1) \cup (3, \infty) ( − ∞ , 1 ) ∪ ( 3 , ∞ ) .
x ≥ 2 x \geq 2 x ≥ 2 and x ≤ 8 x \leq 8 x ≤ 8 , so [ 2 , 8 ] [2, 8] [ 2 , 8 ] .
∣ x ∣ − x ≥ 0 |x| - x \geq 0 ∣ x ∣ − x ≥ 0 means ∣ x ∣ ≥ x |x| \geq x ∣ x ∣ ≥ x , which is true for every real x x x : the domain is R \mathbb{R} R .
x 2 + 1 x^2 + 1 x 2 + 1 is always positive, so the domain is R \mathbb{R} R .
We need x − ∣ x ∣ > 0 x - |x| > 0 x − ∣ x ∣ > 0 , that is, ∣ x ∣ < x |x| < x ∣ x ∣ < x , which no real number satisfies: the domain is ϕ \phi ϕ .
∣ x ∣ ≥ 3 |x| \geq 3 ∣ x ∣ ≥ 3 , so x ≤ − 3 x \leq -3 x ≤ − 3 or x ≥ 3 x \geq 3 x ≥ 3 : ( − ∞ , − 3 ] ∪ [ 3 , ∞ ) (-\infty, -3] \cup [3, \infty) ( − ∞ , − 3 ] ∪ [ 3 , ∞ ) .