Express as a piecewise function. y = |x^2 + 2x – 8|

y = |x^2 + 2x – 8|

This can be expressed as a piecewise function as follows:

For x^2 + 2x – 8 < 0:
y = -(x^2 + 2x – 8)

For x^2 + 2x – 8 ≥ 0:
y = x^2 + 2x – 8