THE INDEfinite INTEGRAL AN INTRODUCTION TO THE INDEFINITE INTEGRAL (PART II)
EXAMPLE 25 Evaluate the integral
∫
2
(x
2
0
– | x – 1|) dx
Solution 2
The integrand is f(x) = x
– | x – 1|, whose graph is displayed on the following page
From the figure, we see that the area we are looking for is entirely on the positive side of the x-axis, unlike the functions in examples 22, 23, and 24. Also, from the definition of the absolute function,
f(x)
=
x – |x – 1| 2
=
x2 – (x – 1) x2 – [–(x – 1)]
if x ≥ 0 if x < 0
which equals
f(x)
=
x – |x – 1| 2
=
x2 – x + 1
if x ≥ 0
x2 + x – 1
if x < 0
Thus, the graph of the integrand equals the graph of x2 – x + 1 2
x
+ x–1
as illustrated below:
drawn on the interval [1, ∞] drawn on the interval [–∞, 1]