Square Root Functions
Theory
Square root functions \(y=\sqrt{f(x)}\) are sketched from the graph of \(y=f(x)\). This Year 11 Mathematics Extension 1 page shows how to find the domain by solving \(f(x)\ge 0\), why the graph is never below the \(x\)-axis, which points stay fixed, and how to sketch \(y=\sqrt{f(x)}\) when \(f(x)\) is linear, quadratic or cubic.
A square root function has the form \(y=\sqrt{f(x)}\). Its graph is built from the graph of \(y=f(x)\) by taking the square root of every \(y\)-value.
Domain. The square root of a negative number is not real, so \(y=\sqrt{f(x)}\) exists only where \(f(x)\ge 0\), that is, where the graph of \(y=f(x)\) is on or above the \(x\)-axis. Find the domain by solving the inequality \(f(x)\ge 0\). Any part of \(y=f(x)\) below the \(x\)-axis has nothing on the new graph.
Range. \(\sqrt{\phantom{x}}\) always means the positive square root, so \(\sqrt{f(x)}\ge 0\). The whole graph lies on or above the \(x\)-axis.
Fixed points. \(\sqrt0=0\) and \(\sqrt1=1\), so wherever \(f(x)=0\) or \(f(x)=1\) the two graphs meet. In particular the \(x\)-intercepts stay the same.
Above or below. Where \(0<f(x)<1\) the square root is bigger (\(\sqrt{0.25}=0.5\)), so the new graph is above \(y=f(x)\). Where \(f(x)>1\) the square root is smaller (\(\sqrt4=2\)), so the new graph is below \(y=f(x)\) and flatter.
Turning points. A turning point of \(y=f(x)\) above the \(x\)-axis stays at the same \(x\)-value and its \(y\)-value is square-rooted: a maximum at \((2,9)\) becomes a maximum at \((2,3)\).
Shape at the \(x\)-axis. Where \(y=f(x)\) cuts straight through the \(x\)-axis (a single factor such as \((x-a)\)), the graph of \(y=\sqrt{f(x)}\) leaves the axis vertically. Where \(y=f(x)\) only touches the axis (a squared factor \((x-a)^2\)), \(\sqrt{(x-a)^2}=|x-a|\) gives a sharp V-shaped corner.
Domain and range of a square root function:
The square root of a perfect square is an absolute value:
What happens to each \(y\)-value:
| \(f(x)\) | \(0\) | \(0.25\) | \(1\) | \(4\) | \(9\) |
|---|---|---|---|---|---|
| \(\sqrt{f(x)}\) | \(0\) | \(0.5\) | \(1\) | \(2\) | \(3\) |
| Compared with \(f(x)\) | same | above | same | below | below |
How to sketch \(y=\sqrt{f(x)}\)
- Sketch \(y=f(x)\) lightly: its intercepts and turning points.
- Find the domain: write \(f(x)\ge 0\), factorise and solve. Ignore every part of \(y=f(x)\) below the \(x\)-axis.
- Mark the fixed points: the \(x\)-intercepts (\(f(x)=0\)) and any points where \(f(x)=1\).
- Square-root the key \(y\)-values: the \(y\)-intercept, turning points and any other points you know.
- Draw the curve on or above the \(x\)-axis: above \(y=f(x)\) where \(0<f(x)<1\), below it where \(f(x)>1\), vertical where \(y=f(x)\) cuts the axis, a corner where it only touches. State the domain and the range.
Describing the curve
Describe each branch in words, as you move away from the \(x\)-intercept. For example, for \(y=\sqrt{x-4}\): for \(x>4\), \(y\) is increasing at a decreasing rate.
The square root needs \(f(x)\ge 0\):
| \(6-2x\) | \(\ge\) | \(0\) |
| \(-2x\) | \(\ge\) | \(-6\) |
| \(\therefore\ x\) | \(\le\) | \(3\) |
Domain: \(x\le 3\). Range: \(y\ge 0\).
Key points:
| \(f(3)=0\) | \(\rightarrow\) | \((3,0)\) |
| \(f(2.5)=1\) | \(\rightarrow\) | \((2.5,1)\) |
| \(f(0)=6\) | \(\rightarrow\) | \((0,\sqrt6)\approx(0,2.45)\) |
The line cuts the \(x\)-axis at \(x=3\), so the curve leaves \((3,0)\) vertically. For \(x<3\), as \(x\) decreases, \(y\) is increasing at a decreasing rate. Between \(x=2.5\) and \(x=3\) the curve is above the line; for \(x<2.5\) it is below.
Factorise first: the quadratic is a perfect square.
| \(y\) | \(=\) | \(\sqrt{x^2-6x+9}\) |
| \(\) | \(=\) | \(\sqrt{(x-3)^2}\) |
| \(\therefore\ y\) | \(=\) | \(|x-3|\) |
\((x-3)^2\ge 0\) for every \(x\), so the domain is all real \(x\). Range: \(y\ge 0\).
The parabola \(y=(x-3)^2\) only touches the \(x\)-axis at \(x=3\), so the root graph has a corner at \((3,0)\). The \(y\)-intercept is \(\sqrt9=3\). The graphs meet where \((x-3)^2=1\), at \((2,1)\) and \((4,1)\).
The square root needs \(f(x)\ge 0\):
| \(x^2-2x-3\) | \(\ge\) | \(0\) |
| \((x-3)(x+1)\) | \(\ge\) | \(0\) |
| \(\therefore\ x\le -1\) | \(\text{or}\) | \(x\ge 3\) |
Domain: \(x\le -1\) or \(x\ge 3\). Range: \(y\ge 0\).
The vertex \((1,-4)\) is below the \(x\)-axis, so there is no graph for \(-1<x<3\). The parabola cuts the axis at \(x=-1\) and \(x=3\), so each branch starts vertically there.
The graphs meet where \(f(x)=1\):
| \(x^2-2x-3\) | \(=\) | \(1\) |
| \(x^2-2x-4\) | \(=\) | \(0\) |
| \(x\) | \(=\) | \(1\pm\sqrt5\) |
\(f(4)=f(-2)=5\), giving the points \((4,\sqrt5)\) and \((-2,\sqrt5)\). For \(x<-1\) and for \(x>3\), as \(x\) moves away from the intercept, \(y\) is increasing at a decreasing rate.
The square root needs \(f(x)\ge 0\):
| \(x(x-3)^2\) | \(\ge\) | \(0\) |
\((x-3)^2\ge 0\) for every \(x\), so the sign of \(f(x)\) is the sign of \(x\):
| \(\therefore\ x\) | \(\ge\) | \(0\) |
Domain: \(x\ge 0\). Range: \(y\ge 0\).
Square-root the key \(y\)-values:
| \((0,0)\) | \(\rightarrow\) | \((0,0)\) |
| \((1,4)\) | \(\rightarrow\) | \((1,2)\) |
| \((3,0)\) | \(\rightarrow\) | \((3,0)\) |
| \((4,4)\) | \(\rightarrow\) | \((4,2)\) |
At \(x=0\) the cubic cuts the axis, so the root graph leaves the origin vertically. It rises to a maximum at \((1,2)\), the square root of the maximum \((1,4)\). At \(x=3\) the cubic only touches the axis: \(\sqrt{x(x-3)^2}=\sqrt x\,|x-3|\), so there is a sharp corner at \((3,0)\). For \(x>3\), \(y\) increases again and stays below \(y=f(x)\) once \(f(x)>1\).
Common pitfalls
Frequently asked questions
How do you find the domain of y = √f(x)?
Solve the inequality \(f(x)\ge 0\). Factorise \(f(x)\), find its zeros, and take the \(x\)-values where the graph of \(y=f(x)\) is on or above the \(x\)-axis. For \(y=\sqrt{x^2-9}\) the domain is \(x\le -3\) or \(x\ge 3\).
What is the range of a square root function?
It is never negative: \(y\ge 0\). If \(f(x)\) has a maximum value \(b\), the range is \(0\le y\le\sqrt b\) (when \(y=0\) is reached). For example \(y=\sqrt{4-x^2}\) has range \(0\le y\le 2\).
Why is y = √f(x) above y = f(x) between 0 and 1?
The square root of a number between \(0\) and \(1\) is bigger than the number: \(\sqrt{0.25}=0.5\). For numbers bigger than \(1\) it is smaller: \(\sqrt9=3\). The two graphs cross where \(f(x)=1\).
What does y = √f(x) look like at an x-intercept?
If \(y=f(x)\) cuts straight through the \(x\)-axis, the root graph meets the axis vertically. If \(y=f(x)\) only touches the axis because of a squared factor, the root graph has a sharp V-shaped corner there.
Is √(x²) equal to x?
Only when \(x\ge 0\). In general \(\sqrt{x^2}=|x|\), because the square root is never negative. So \(y=\sqrt{(x+2)^2}\) is the V-shaped graph \(y=|x+2|\).