

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Why computing integrals of absolute values of functions requires special care, using the example of integrating |2x² − 8|. The definite integral and the antiderivative of the function on different intervals, and explains how the constants must agree when the intervals overlap.
Typology: Lecture notes
1 / 2
This page cannot be seen from the preview
Don't miss anything!
Here I’ll try to explain why computing integrals of absolute values of func- tions requires special care. Before doing that, let’s recall one way to compute definite integrals of absolute values of functions, that is when the integrand has the form |f (x)|. We do this by dividing the domain up into intervals on which f (x) ≥ 0 and intervals on which f (x) ≤ 0. Then adding up the results. The example discussed in class today is: ∫ (^3)
0
| 2 x^2 − 8 |dx.
On the interval [0, 3], we have 2x^2 − 8 ≤ 0 when x ∈ [0, 2] and 2x^2 − 8 ≥ 0 when x ∈ [2, 3]. Alternatively, we can write
| 2 x^2 − 8 | =
8 − 2 x^2 for x ∈ [0, 2] 2 x^2 − 8 for x ∈ [2, 3]
So, the definite integral is computed as
∫ (^3)
0
| 2 x^2 − 8 |dx =
0
8 − 2 x^2 dx +
2
2 x^2 − 8 dx
= [8x − 2 x^3 /3]^20 + [2x^3 / 3 − 8 x]^32
= (16 − 16 /3) + ((18 − 24) − (16/ 3 − 16))
= 26 − 32 /3 = 46/ 3.
Now, if we would like to explicitly compute the antiderivative ∫ | 2 x^2 − 8 |dx
we proceed as follows. The generic antiderivative on the interval [0, 2] is given by 8x − 2 x^2 /3 + C while the generic antiderivative on [2, 3] is given by 2x^3 / 3 − 8 x+C′, for constants C and C′. On the interval [0, 3], the antiderivative is given by
∫ | 2 x^2 − 8 |dx =
8 x − 2 x^3 /3 + C for x ∈ [0, 2] 2 x^3 / 3 − 8 x + C′^ for x ∈ [2, 3]
However, the constants C and C′^ cannot be chosen arbitrarily: these antideriva- tives must agree when x = 2. Therefore, we have
8(2) − 2(2)^3 /3 + C = 2(2)^3 / 3 − 8(2) + C′ 16 − 16 /3 + C = 16 / 3 − 16 + C′ C′^ = 32 − 32 /3 + C C′^ = 64 /3 + C
So, we can write the general antiderivative as ∫ | 2 x^2 − 8 |dx =
8 x − 2 x^3 /3 + C for x ∈ [0, 2] 2 x^3 / 3 − 8 x + 64/3 + C for x ∈ [2, 3]
This illustrates the reason for doing the computation on the pieces, as we described above. I hope this is helpful.