Opening subject page...
Loading your content
Learn Graph Square Root and Piecewise Functions.
Long before graphing calculators existed, mathematicians wrestled with curves that could not be drawn using straight lines and parabolas alone. The functions you will study in this lesson — square root , cube root , absolute value , and piecewise-defined functions — each arose because real-world problems demanded them. Here is a brief look at how these ideas developed.
The common thread across all these milestones is a single question: How do we describe and visualize relationships that don't follow a straight line or a simple parabola? Each function type you'll learn in this lesson answers that question in its own elegant way.
Before you graph anything, you need a clear picture of what each function type actually means . Think of each definition below as a building block — once you understand what a function does to its input, sketching its graph becomes much easier.
Below is a coordinate-plane diagram showing the parent graphs of the square root , cube root , and absolute value functions plotted together. Study how each curve behaves differently — its starting point, its direction, and how steeply it rises or falls.
There are a few things worth noticing in the graph above. The square root curve lives entirely in the first quadrant (x ≥ 0, y ≥ 0) because you cannot take the square root of a negative number, and a square root is never negative. The cube root curve passes through all four quadrants — it accepts negative inputs and can produce negative outputs. Meanwhile, the absolute value graph forms a "V" that opens upward because the output is always non-negative, yet the input can be anything on the number line.
Each of these shapes is a parent function . That means it is the simplest version of its family. Later, when you add shifts, stretches, or reflections, the shape moves or changes size, but its basic character stays the same.
Let's pin down the exact equations and the key features — domain, range, and important points — for each function type. When you understand these features, you can sketch a quick, accurate graph even without a calculator.
The square root function increases as x increases, but it slows down . Going from x = 0 to x = 1 raises y by 1, but going from x = 1 to x = 4 only raises y by 1 more (from 1 to 2). This "diminishing returns" shape is typical of root functions.
The cube root function is symmetric about the origin , meaning if you rotate the graph 180° around (0, 0), it looks exactly the same. This is called odd symmetry . Near x = 0, the curve is steep; farther out, it flattens — similar behavior to the square root, but mirrored into the negative side as well.
The absolute value function is made of two linear pieces: for x ≥ 0, it behaves like f(x) = x (slope of 1); for x < 0, it behaves like f(x) = −x (slope of −1). The sharp corner at the origin is called the vertex of the "V."
When you graph a piecewise function, the most important steps are: (1) identify each interval, (2) graph each rule only within its interval, and (3) check the boundary points carefully. Use a solid dot (●) when the endpoint is included (≤ or ≥) and an open dot (○) when it is not (< or >). This prevents the graph from having two different y-values at the same x-value.
Step functions deserve special attention because they behave unlike any function you have graphed in earlier courses. Their outputs don't smoothly transition — they jump . The most common step function is the greatest integer function (also called the floor function), written f(x) = ⌊x⌋. It returns the greatest integer that is less than or equal to x. For instance, ⌊2.7⌋ = 2, ⌊−1.3⌋ = −2, and ⌊5⌋ = 5.
Notice the pattern in Figure 2: on every interval from one integer to the next, the output stays constant. At each integer, the graph "jumps" up by 1. The solid dot (●) sits on the left end of each step because the floor function includes the lower integer. The open dot (○) sits on the right because the next integer belongs to the step above.
Real-world step functions pop up more often than you might expect. Postage rates are a classic example: mailing a letter that weighs up to 1 oz costs one price, anything over 1 oz up to 2 oz costs a higher price, and so on. Each weight range corresponds to a flat "step" in the cost function.
Suppose you need to graph the piecewise function:
You would handle each piece separately. For x < −1, graph the line y = x + 3 but stop at x = −1 with an open dot (since the condition is strict <). At x = −1 the second piece kicks in: y = 2, a horizontal line from x = −1 to x = 2, both endpoints included (solid dots). Finally, for x > 2, graph the parabola y = (x − 2)² starting just to the right of x = 2 with an open dot and continuing to the right.
Let's walk through a complete, step-by-step example of graphing a transformed square root function and a piecewise-defined function .
| x | x − 1 | √(x − 1) | −√(x − 1) + 3 | Point (x, y) |
|---|---|---|---|---|
| 1 | 0 | 0 | 3 | (1, 3) |
| 2 | 1 | 1 | 2 | (2, 2) |
| 5 | 4 | 2 | 1 | (5, 1) |
| 10 | 9 | 3 | 0 | (10, 0) |
With so many function types, it helps to line them up side by side. The table below summarizes the key features that distinguish each family. Use this as a quick reference when you're deciding which function type fits a given situation.
| Feature | Square Root | Cube Root | Absolute Value | Step (Floor) |
|---|---|---|---|---|
| Parent Function | f(x) = √x | f(x) = ∛x | f(x) = |x| | f(x) = ⌊x⌋ |
| Domain | x ≥ 0 | All reals | All reals | All reals |
| Range | y ≥ 0 | All reals | y ≥ 0 | All integers |
| Shape | Half-curve, Q1 only | S-curve, all quadrants | V-shape | Staircase |
| Symmetry | None | Odd (origin) | Even (y-axis) | None |
| Key Point | (0, 0) | (0, 0) | Vertex at (0, 0) | Jumps at integers |
One common source of confusion is mixing up square root and cube root domains. Remember: squaring any real number always gives a non-negative result, so the square root is only defined for non-negative inputs. Cubing, on the other hand, can produce negative numbers (−2 × −2 × −2 = −8), so the cube root happily accepts negatives.
The functions you've learned in this lesson form the foundation for several ideas you will encounter in Algebra 2, Pre-Calculus, and beyond. Understanding where each function type leads can motivate why it's worth mastering them now.
| What You Learned Now | Where It Leads |
|---|---|
| Square root function f(x) = √x | Inverse functions (√x is the inverse of x²); radical equations in Algebra 2 |
| Cube root function f(x) = ∛x | Rational exponents (∛x = x^(1/3)); solving cubic equations |
| Absolute value function f(x) = |x| | Absolute value inequalities; distance in the coordinate plane; complex number magnitude |
| Piecewise functions | Limits and continuity in Calculus; real-world modeling in economics and engineering |
| Step functions | Ceiling/floor functions in computer science; discrete mathematics |
One especially exciting connection is how piecewise functions relate to real-world modeling . Engineers, economists, and data scientists routinely build piecewise models because real systems often behave differently under different conditions — just as your cell phone uses Wi-Fi at home and cellular data on the road. The ability to read and write piecewise definitions is a skill you'll use well beyond math class.
Try these five problems on your own before revealing the answers. They start with a conceptual warm-up and build toward full graphing tasks.