Functions · demo

Reflecting with absolute value

Pick a function — quadratic, cubic, trig, or a wonky piecewise one. Toggle |f(x)| vs f(|x|) and compare what each does.

f(x) |f(x)| f(|x|)

Scroll to zoom · drag background to pan

Variants

Show y = |f(x)|
any part below the x-axis flips up
Show y = f(|x|)
the x > 0 half is mirrored onto x < 0

Working