Square roots bring a new restric­tion into func­tions: in real num­bers you can­not take the square root of a neg­a­tive num­ber. This sin­gle fact is behind a whole class of ques­tions that ask for the domain of a func­tion. In this les­son you will meet the square root func­tion and its graph, and then learn to find the domain of expres­sions such as x2−5x+6\sqrt{x^2 - 5x + 6} or 1x−2\displaystyle \frac{1}{\sqrt{x - 2}} by turn­ing the con­di­tion into an inequal­ity you already know how to solve.

Square roots of real num­bers

If a2=ba^2 = b with a≥0a \geq 0, then b=a\sqrt{b} = a. For exam­ple,

22=4  ⟹  4=2,32=9  ⟹  9=32^2 = 4 \implies \sqrt{4} = 2, \qquad 3^2 = 9 \implies \sqrt{9} = 3

The sym­bol x\sqrt{\phantom{x}} always means the non-neg­a­tive square root. Although (−2)2=4(-2)^2 = 4 too, 4\sqrt{4} is 22, not −2-2.

The square root func­tion

The func­tion y=f(x)=xy = f(x) = \sqrt{x} is called the square root func­tion.

Since only non-neg­a­tive num­bers have real square roots, and a square root is never neg­a­tive,

Domain=[0,∞),Range=[0,∞)\text{Domain} = [0, \infty), \qquad \text{Range} = [0, \infty)

The graph of y=xy = \sqrt{x}

xx 00 11 22 44 99
y=xy = \sqrt{x} 00 11 2≈1.414\sqrt{2} \approx 1.414 22 33

The graph starts at the ori­gin and rises to the right, pass­ing through (1,1)(1, 1), (4,2)(4, 2) and (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 yy-axis.

Domains of square root expres­sions

Rule 1. T\sqrt{T} is defined (as a real num­ber) exactly when T≥0T \geq 0.

Rule 2. 1T\displaystyle \frac{1}{\sqrt{T}} is defined exactly when T>0T > 0. The square root needs T≥0T \geq 0, and the denom­i­na­tor can­not be 00, so T=0T = 0 is also excluded.

To find a domain, write the con­di­tion from the rule and solve it.

Exam­ple 1

Find the domain of x−2\sqrt{x - 2}.

x−2\sqrt{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)

So the domain of x−2\sqrt{x - 2} is [2,∞)[2, \infty).

Exam­ple 2

Find the domain of 2x−3\sqrt{2x - 3}.

2x−3≥0  ⟹  x≥32  ⟹  x∈[32,∞)\displaystyle 2x - 3 \geq 0 \implies x \geq \frac{3}{2} \implies x \in \left[\frac{3}{2}, \infty\right)

Exam­ple 3

Find the domain of x2−5x+6\sqrt{x^2 - 5x + 6}.

We need x2−5x+6≥0x^2 - 5x + 6 \geq 0, that is, (x−2)(x−3)≥0(x - 2)(x - 3) \geq 0. This is an upward parabola with roots 22 and 33; it is non-neg­a­tive out­side and at the roots:

x∈(−∞,2]∪[3,∞)x \in (-\infty, 2] \cup [3, \infty)

Exam­ple 4

Find the domain of x−∣x∣\sqrt{x - |x|}.

We need x−∣x∣≥0x - |x| \geq 0, that is, ∣x∣≤x|x| \leq x. But ∣x∣<x|x| < x never hap­pens, so this means ∣x∣=x|x| = x, which is true exactly when x≥0x \geq 0.

So the domain is [0,∞)[0, \infty). (For neg­a­tive xx, x−∣x∣=2xx - |x| = 2x is neg­a­tive.)

Exam­ple 5

Find the domain of 1x−2\displaystyle \frac{1}{\sqrt{x - 2}}.

By Rule 2,

x−2>0  ⟹  x>2  ⟹  x∈(2,∞)x - 2 > 0 \implies x > 2 \implies x \in (2, \infty)

Com­pare with Exam­ple 1: the only dif­fer­ence is the point x=2x = 2, which is allowed for x−2\sqrt{x - 2} but not for 1x−2\displaystyle \frac{1}{\sqrt{x - 2}}.

Exam­ple 6

Find the domain of 4−x2\sqrt{4 - x^2}.

We need 4−x2≥04 - x^2 \geq 0, that is, x2−4≤0x^2 - 4 \leq 0, or (x+2)(x−2)≤0(x + 2)(x - 2) \leq 0. Less than zero, between the roots:

x∈[−2,2]x \in [-2, 2]

Exam­ple 7

Find the domain of x−1+5−x\sqrt{x - 1} + \sqrt{5 - x}.

Both square roots must be defined at the same time:

x−1≥0 gives x≥1,5−x≥0 gives x≤5x - 1 \geq 0 \text{ gives } x \geq 1, \qquad 5 - x \geq 0 \text{ gives } x \leq 5

The com­mon val­ues are x∈[1,5]x \in [1, 5]. When a func­tion is a sum of sev­eral parts, its domain is the inter­sec­tion of the domains of the parts.

Exam­ple 8

Find the domain of 1x2−9\displaystyle \frac{1}{\sqrt{x^2 - 9}}.

We need x2−9>0x^2 - 9 > 0, that is, (x+3)(x−3)>0(x + 3)(x - 3) > 0. Greater than zero, out­side the roots:

x∈(−∞,−3)∪(3,∞)x \in (-\infty, -3) \cup (3, \infty)

Prac­tice

Find the domain of each func­tion.

  1. x+5\sqrt{x + 5}
  2. 6−2x\sqrt{6 - 2x}
  3. 13x−4\displaystyle \frac{1}{\sqrt{3x - 4}}
  4. x2−7x+10\sqrt{x^2 - 7x + 10}
  5. 9−x2\sqrt{9 - x^2}
  6. 1x2−4x+3\displaystyle \frac{1}{\sqrt{x^2 - 4x + 3}}
  7. x−2+8−x\sqrt{x - 2} + \sqrt{8 - x}
  8. ∣x∣−x\sqrt{|x| - x}
  9. x2+1\sqrt{x^2 + 1}
  10. 1x−∣x∣\displaystyle \frac{1}{\sqrt{x - |x|}}
  11. ∣x∣−3\sqrt{|x| - 3}

Answers

Show answers
  1. x+5≥0x + 5 \geq 0, so [−5,∞)[-5, \infty).
  2. 6−2x≥06 - 2x \geq 0, so x≤3x \leq 3: (−∞,3](-\infty, 3].
  3. 3x−4>03x - 4 > 0, so (43,∞)\displaystyle \left(\frac{4}{3}, \infty\right).
  4. (x−2)(x−5)≥0(x - 2)(x - 5) \geq 0, so (−∞,2]∪[5,∞)(-\infty, 2] \cup [5, \infty).
  5. (x+3)(x−3)≤0(x + 3)(x - 3) \leq 0, so [−3,3][-3, 3].
  6. (x−1)(x−3)>0(x - 1)(x - 3) > 0, so (−∞,1)∪(3,∞)(-\infty, 1) \cup (3, \infty).
  7. x≥2x \geq 2 and x≤8x \leq 8, so [2,8][2, 8].
  8. ∣x∣−x≥0|x| - x \geq 0 means ∣x∣≥x|x| \geq x, which is true for every real xx: the domain is R\mathbb{R}.
  9. x2+1x^2 + 1 is always pos­i­tive, so the domain is R\mathbb{R}.
  10. We need x−∣x∣>0x - |x| > 0, that is, ∣x∣<x|x| < x, which no real num­ber sat­is­fies: the domain is ϕ\phi.
  11. ∣x∣≥3|x| \geq 3, so x≤−3x \leq -3 or x≥3x \geq 3: (−∞,−3]∪[3,∞)(-\infty, -3] \cup [3, \infty).