Absolute value functions (HL)

f(x)={xif x0xif x<0f(x) = \begin{cases} x &\text{if } x \geq 0 \\ -x &\text{if } x <0\end{cases}

When evaluated over a value, it returns the (non-negative) distance from zero.

Contents

Properties (over real numbers)

ab=ab\lvert a\rvert \cdot \lvert b\rvert = \lvert ab \rvert
xk    distance to k\lvert x - k \rvert \;\; \text{distance to }k
x+k    distance to k\lvert x + k \rvert \;\; \text{distance to }-k
x2=x2\lvert x\rvert^2 = x^2

Strategy to solve absolute value equations

Get the absolute value(s) on one side, and square both sides, to turn an linear equation into a quadratic. In some cases, you may need to square both sides twice, while doing some simplification in between and afterwards.

Check all solutions at the end to verify it solves the original equation.

Strategy to solve absolute value inequalities

First solve the equality.

For each interval separated by the roots of the equality, test a value and see if it satisfies the original equation.

Refer to solving absolute value inequalities of linear functions.

HL: composition of absolute value and functions

This extends ideas from composite functions to involve the absolute value function.

f(x)f(\lvert x\rvert)

This composition throws away the left half of f(x)f(x) where x<0x < 0, and creates an even function using the x0x \geq 0 portion.

Unless originally f(0)=0f'(0) = 0, this new function is not differentiable at x=0x = 0.

Also the new function has the same range as f(x),x0f(x), x \geq 0.

Conceptually, f(x)f(\lvert x\rvert) converts dependence on position into dependence on distance.

f(x)\lvert f(x)\rvert

This composition reflects every portion of f(x)<0f(x) < 0 across the xx-axis to make the entire range non-negative.

If ff is an odd or even function, then f(x)\lvert f(x)\rvert is an even function.

This typically creates non-differentiable points at each zero or xx-intercept. Be care when doing calculus by hand on f(x)\lvert f(x)\rvert.

The distance traveled while following some one-dimensional velocity function v(t)v(t) from time t1t_1 to t2t_2 is the unsigned area under the absolute value of the velocity function.

distance traveled=t1t2v(t)dt\text{distance traveled} = \int_{t_1}^{t_2} \lvert v(t)\rvert \d t