Graph \(\sqrt{x}\) and
Piecewise Functions
Master graphing square root functions and piecewise-defined functions, including step functions and absolute value.
What Is a Square Root Function?
A square root function has the parent form \( f(x) = \sqrt{x} \). It returns the principal (non-negative) square root. The general form is \( f(x) = a\sqrt{x - h} + k \).
Parent Graph: \( f(x) = \sqrt{x} \)
Transformations: \( a\sqrt{x-h}+k \)
Every square root function can be written as \( f(x) = a\sqrt{x - h} + k \). Each parameter shifts or stretches the parent graph.
What Is a Piecewise Function?
A piecewise-defined function uses different formulas for different intervals of the domain. You pick the rule that matches the input value of \( x \).
Absolute Value as Piecewise
Step Functions: Flat Pieces
A step function is a piecewise function whose pieces are all horizontal segments. The most famous is the greatest integer (floor) function \( f(x) = \lfloor x \rfloor \).
Continuous vs. Discontinuous
Some piecewise functions connect smoothly; others have jumps. This distinction affects how you graph boundary points.
How to Graph Step by Step
Example 1: \( f(x) = \sqrt{x - 1} + 2 \)
Example 2: Piecewise Linear
Example 3: Three-Piece Function
Example 4: Reflected Square Root
Common Mistakes to Avoid
Summary Comparison
| Property | \( \sqrt{x} \) | \( |x| \) | \( \lfloor x \rfloor \) |
|---|---|---|---|
| Shape | Curve (half parabola) | V-shape | Staircase |
| Domain | \( x \ge 0 \) | All reals | All reals |
| Range | \( y \ge 0 \) | \( y \ge 0 \) | All integers |
| Continuous? | Yes | Yes | No (jumps) |
| Key Feature | Starts at vertex, slows | Symmetric V at vertex | Flat steps, open/closed dots |
Question 1 of 5
What is the domain of \( f(x) = \sqrt{x - 4} \)?
Question 2 of 5
The graph of \( f(x) = \sqrt{x + 2} - 3 \) starts at which point?
Question 3 of 5
For the piecewise function \( g(x) = \begin{cases} 2x, & x < 3 \\ 10 - x, & x \ge 3 \end{cases} \), what type of dot goes at \( x = 3 \) for each piece?
Question 4 of 5
Which function produces a V-shaped graph with vertex at \( (1, -2) \)?
Question 5 of 5
What is the range of \( f(x) = -2\sqrt{x} + 6 \)?