Piecewise Behavior Math Example 4

Follow the full solution, then compare it with the other examples linked below.

Example 4

hard
Express f(x)=x24f(x) = |x^2 - 4| as a piecewise function (without absolute value bars) and identify where f(x)=0f(x) = 0.

Solution

  1. 1
    Find where x24x^2-4 changes sign: x24=0x=±2x^2-4=0 \Rightarrow x=\pm 2. For x>2|x|>2: x2>4x^2>4 so x24>0x^2-4>0. For x<2|x|<2: x2<4x^2<4 so x24<0x^2-4<0.
  2. 2
    f(x)={x24x2(x24)=4x2x<2f(x) = \begin{cases} x^2-4 & |x| \geq 2 \\ -(x^2-4) = 4-x^2 & |x| < 2 \end{cases}
  3. 3
    Zeros: f(x)=0f(x)=0 when x24=0x=±2x^2-4=0 \Rightarrow x = \pm 2.

Answer

f(x)={x24x24x2x<2f(x) = \begin{cases} x^2-4 & |x|\geq2\\ 4-x^2 & |x|<2\end{cases}; zeros at x=±2x=\pm2
To remove absolute value bars algebraically, determine where the expression inside is positive or negative, then write separate rules. The zeros of g(x)|g(x)| occur exactly at the zeros of g(x)g(x).

About Piecewise Behavior

Piecewise behavior refers to a function that exhibits qualitatively different characteristics in different regions of its domain, like having a different slope or curvature in each region.

Learn more about Piecewise Behavior →

More Piecewise Behavior Examples