Mark M. answered 03/21/16
Tutor
New to Wyzant
Recall that lAl = A if A≥0, but lAl = -A, if A<0.
So, lx-1l = -(x-1) when x≤1, and lx-1l = x-1 when x≥1.
∫(from 0 to 2)lx-1ldx = ∫(from 0 to 1)lx-1ldx + ∫(from 1 to 2)lx-1ldx
=∫(from 0 to 1) (1-x)dx + ∫(from 1 to 2)(x-1)dx
= (x-(1/2)x2)(from 0 to 1) + ((1/2)x2 - x)(from 1 to 2)
= [1/2 - 0] + [(0 - (-1/2)] = 1