MHB How Do Absolute Values Affect Integration?

Click For Summary
Absolute values significantly impact integration by requiring careful consideration of the function's behavior across different intervals. The integral of the expression provided, $$\int \sqrt{x^4+2x^3+x^2}$$, must account for cases where the expression inside the absolute value changes sign. For the definite integral from -2 to 0, the correct approach involves splitting the integral into segments based on the sign of the expression, leading to different calculations for each case. Omitting these cases can result in incorrect answers, highlighting the importance of explicitly stating all conditions when performing integration involving absolute values. Properly addressing these cases ensures accurate results in integration problems.
Dethrone
Messages
716
Reaction score
0
I feel like I'm asking the weirdest questions that most people don't ask, but here it is.

Suppose we have this integral (I made it up):

$$\int \sqrt{x^4+2x^3+x^2}$$

Now, I feel most people would say the answer is simply, $\frac{1}{3}x^3+\frac{1}{2}x^2+C$. But technically, that is only true when $x<-1$ or $x>0$. Are we suppose to state all the cases?

Now let's test this on a definite integral:
$$=\int_{-2}^0 \sqrt{x^4+2x^3+x^2}$$
$$=\int_{-2}^0|x^2+x|$$

$$|x^2+x|=\begin{cases}x^2+x, & x<-1, & x>0 \\[3pt] -(x^2+x), & -1<x<0 \\ \end{cases}$$

$$=\int_{-2}^{-1} x^2+x\,dx+\int_{-1}^{0} -(x^2+x)\,dx=1$$

Is this how it is supposed to be computed?
 
Physics news on Phys.org
Rido12 said:
Is this how it is supposed to be computed?

Yep!

If you take the way "most people" would calculate it, you'll just get the wrong answer. :eek:
 
Either my workbook never did that for indefinite integrals, or I haven't encountered any of them.

$$=\int \sqrt{x^4+2x^3+x^2}$$

Case 1: if $x<-1$ or $x>0$
$$=\int x^2+x$$

Case 2: if $-1<x<0$
$$=\int -(x^2+x)$$

Stating all these cases are necessary, right?
 
Rido12 said:
Either my workbook never did that for indefinite integrals, or I haven't encountered any of them.

$$=\int \sqrt{x^4+2x^3+x^2}$$

Case 1: if $x<-1$ or $x>0$
$$=\int x^2+x$$

Case 2: if $-1<x<0$
$$=\int -(x^2+x)$$

Stating all these cases are necessary, right?

Yep.
 
Thread 'Problem with calculating projections of curl using rotation of contour'
Hello! I tried to calculate projections of curl using rotation of coordinate system but I encountered with following problem. Given: ##rot_xA=\frac{\partial A_z}{\partial y}-\frac{\partial A_y}{\partial z}=0## ##rot_yA=\frac{\partial A_x}{\partial z}-\frac{\partial A_z}{\partial x}=1## ##rot_zA=\frac{\partial A_y}{\partial x}-\frac{\partial A_x}{\partial y}=0## I rotated ##yz##-plane of this coordinate system by an angle ##45## degrees about ##x##-axis and used rotation matrix to...

Similar threads

Replies
4
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
3K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K