Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Computing Integrals of Absolute Values: A Special Case, Lecture notes of Calculus

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

2021/2022

Uploaded on 09/12/2022

eshal
eshal 🇺🇸

4.3

(37)

258 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
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:
Z3
0
|2x28|dx.
On the interval [0,3], we have 2x280 when x[0,2] and 2x280 when
x[2,3]. Alternatively, we can write
|2x28|=½82x2for x[0,2]
2x28 for x[2,3]
So, the definite integral is computed as
Z3
0
|2x28|dx =Z2
0
82x2dx +Z3
2
2x28dx
= [8x2x3/3]2
0+ [2x3/38x]3
2
= (16 16/3) + ((18 24) (16/316))
= 26 32/3 = 46/3.
Now, if we would like to explicitly compute the antiderivative
Z|2x28|dx
we proceed as follows.
The generic antiderivative on the interval [0,2] is given by 8x2x2/3 + C
while the generic antiderivative on [2,3] is given by 2x3/38x+C0, for constants
Cand C0. On the interval [0,3], the antiderivative is given by
Z|2x28|dx =½8x2x3/3 + Cfor x[0,2]
2x3/38x+C0for x[2,3]
However, the constants Cand C0cannot be chosen arbitrarily: these antideriva-
tives must agree when x= 2. Therefore, we have
8(2) 2(2)3/3 + C= 2(2)3/38(2) + C0
16 16/3 + C= 16/316 + C0
C0= 32 32/3 + C
C0= 64/3 + C
1
pf2

Partial preview of the text

Download Computing Integrals of Absolute Values: A Special Case and more Lecture notes Calculus in PDF only on Docsity!

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.