Course contentsShow
← Mathematics
Lesson 594 of 3,12114. Functions in DepthFree lesson

The Absolute Value Function

Study the absolute value function as a piecewise function and understand its V-shaped graph and properties.

The Absolute Value Function

What You'll Learn

You'll discover how the absolute value function works as a piecewise function and why its graph forms that distinctive V-shape.

The Core Idea

The absolute value function, written as f(x) = |x|, measures the distance of any number from zero—and distance is always positive (or zero). This simple idea creates one of the most recognizable graphs in mathematics.

Absolute Value as a Piecewise Function

Remember that absolute value strips away negative signs. We can write this precisely as a piecewise function:

f(x) = |x| = { x   if x ≥ 0
             {-x   if x < 0

Notice what this says: when x is already positive (or zero), we leave it alone. When x is negative, we flip its sign by multiplying by -1, making it positive.

The V-Shaped Graph

When you plot f(x) = |x|, you get a distinctive V-shape:

  • The point (0, 0) is the vertex (the sharp corner)
  • For x ≥ 0, the graph follows the line y = x (slope of 1, going up to the right)
  • For x < 0, the graph follows the line y = -x (slope of -1, going up to the left)

Key Properties

  • Domain: All real numbers
  • Range: y ≥ 0 (only non-negative outputs)
  • Even function: f(-x) = f(x) (symmetric across the y-axis)
  • Minimum value: 0, occurring at x = 0
  • Not differentiable at x = 0 (the sharp corner creates a discontinuity in slope)

Think of it like folding a piece of paper along the y-axis—the negative side flips up to mirror the positive side.

Key Takeaway: The absolute value function f(x) = |x| is a piecewise function that creates a V-shaped graph, always returning non-negative values representing distance from zero.