How to solve this integral of an absolute function?

Click For Summary
SUMMARY

The integral of the absolute function defined as f(x) = |x² - k²| over the interval [-1, 1] can be simplified using the property of even functions. For any k, the integral can be expressed as 2 * ∫₀¹ f(x) dx. The discussion reveals specific calculations for cases where k < 1 and k > 1, highlighting errors in the initial attempts at solving the integral. The correct approach involves recognizing the symmetry of the function and properly evaluating the integrals for both negative and positive sides.

PREREQUISITES
  • Understanding of definite integrals
  • Knowledge of absolute functions
  • Familiarity with properties of even functions
  • Basic calculus skills, including integration techniques
NEXT STEPS
  • Study the properties of even and odd functions in calculus
  • Learn techniques for evaluating definite integrals involving absolute values
  • Explore the concept of symmetry in integrals
  • Practice solving integrals of piecewise functions
USEFUL FOR

Students studying calculus, particularly those focusing on integration techniques, as well as educators looking for examples of solving integrals involving absolute functions.

Helly123
Messages
581
Reaction score
20

Homework Statement


692wkm.jpg


Homework Equations

The Attempt at a Solution


I think the answer for number 1 , graph somewhat like this
w1pk7b.png


I get trouble for 2, 3, etc
I (k) = ##\int_{-1}^{1} f(x) dx ##
f(x) = ## \mid x^2 - k^2 \mid##

2) k < 1
for negative side
##\int_{-1}^{-k} (x^2 - k^2) dx + \int_{-k}^{0} (k^2 - x^2) dx ##
## \frac{x^3}{3} - k^2 {\mid} _{-1}^{-k} + (k^2 - \frac{x^3}{3} {\mid} )_{-k}^{0} ##
## \frac{-k^3}{3} - k^2 - (\frac{-1}{3} - k^2) + k^2 - (k^2 - \frac{-k^3}{3} ) ##
## \frac{1}{3} - \frac{2k^3}{3} ##

for positive side
##\int_{0}^{k} (k^2 - x^2) dx + \int_{k}^{1} ( x^2 - k^2 ) dx ##
## k^2 - \frac{k^3}{3} - k^2 + \frac{1}{3} - k^2 - (\frac{k^3}{3} - k^2) ##
## \frac{1}{3} - \frac{2k^2}{3} ##

total = ## - \frac{4k^3}{3} + \frac{2}{3} ##​
but it is wrong.. why?

3) k > 1
for negative side
##\int_{-1}^{0} (k^2 - x^2) dx + \int_{0}^{1} (k^2 - x^2) dx ##
but I get zero.
 

Attachments

  • 692wkm.jpg
    692wkm.jpg
    10.2 KB · Views: 902
  • w1pk7b.png
    w1pk7b.png
    1.1 KB · Views: 882
Physics news on Phys.org
$$
\int_a^b (x^2-k^2) dx \neq \left[\frac{x^3}{3} - k^2 \right]_a^b
$$
The ##k^2## term is incorrect.
 
  • Like
Likes   Reactions: Helly123
Helly123 said:

Homework Statement


View attachment 221277

Homework Equations

The Attempt at a Solution


I think the answer for number 1 , graph somewhat like this
View attachment 221278

I get trouble for 2, 3, etc
I (k) = ##\int_{-1}^{1} f(x) dx ##
f(x) = ## \mid x^2 - k^2 \mid##

2) k < 1
for negative side
##\int_{-1}^{-k} (x^2 - k^2) dx + \int_{-k}^{0} (k^2 - x^2) dx ##
## \frac{x^3}{3} - k^2 {\mid} _{-1}^{-k} + (k^2 - \frac{x^3}{3} {\mid} )_{-k}^{0} ##
## \frac{-k^3}{3} - k^2 - (\frac{-1}{3} - k^2) + k^2 - (k^2 - \frac{-k^3}{3} ) ##
## \frac{1}{3} - \frac{2k^3}{3} ##

for positive side
##\int_{0}^{k} (k^2 - x^2) dx + \int_{k}^{1} ( x^2 - k^2 ) dx ##
## k^2 - \frac{k^3}{3} - k^2 + \frac{1}{3} - k^2 - (\frac{k^3}{3} - k^2) ##
## \frac{1}{3} - \frac{2k^2}{3} ##

total = ## - \frac{4k^3}{3} + \frac{2}{3} ##​
but it is wrong.. why?

3) k > 1
for negative side
##\int_{-1}^{0} (k^2 - x^2) dx + \int_{0}^{1} (k^2 - x^2) dx ##
but I get zero.

You can simplify the analysis by noting that for any ##k## the function ##f(x) = |x^2 - k^2|## even (that is, ##f(-x) = f(x)##), so ##\int_{-1}^1 f(x) \, dx = 2 \int_0^1 f(x) \, dx##. You can see this from your graph, because you are trying to find the area under the graph from x = -1 to x = +1.

BTW: you are to be commended for now typing out your work---problem statements and solutions---instead of just posting images as you used to do. Why not go all the way and just dispense with the photos of the problem altogether? In this case they are so fuzzy as to be unreadable, and serve no purpose now anyway!
 
  • Like
Likes   Reactions: Helly123

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K