How Do Absolute Values Affect Integration?

In summary, the conversation discusses the proper way to compute a definite integral involving a square root expression. It explains that the commonly used formula for indefinite integrals may not be accurate in all cases, and provides an example of using different cases to solve the integral. The conversation concludes by confirming that it is necessary to state all the cases in order to compute the integral correctly.
  • #1
Dethrone
717
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
  • #2
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:
 
  • #3
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?
 
  • #4
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.
 

FAQ: How Do Absolute Values Affect Integration?

What is an absolute value in integration?

An absolute value in integration is a mathematical concept used to find the distance of a number from zero. It is represented by two vertical bars surrounding the number, and it always results in a positive value.

How is an absolute value used in integration?

In integration, an absolute value is used to solve for the area under a curve, regardless of whether the curve is above or below the x-axis. This is because the absolute value function removes any negative values, allowing for a more accurate calculation of the area.

Can an absolute value be integrated?

Yes, an absolute value can be integrated, as long as the function inside the absolute value is continuous and differentiable. In this case, the absolute value can be rewritten as a piecewise function and integrated accordingly.

How does the absolute value affect the limits of integration?

The absolute value does not affect the limits of integration. The limits remain the same, but the function inside the absolute value may change, depending on the orientation of the curve.

Are there any special rules for integrating absolute values?

There are no special rules for integrating absolute values, but it is important to correctly identify the function inside the absolute value and integrate it based on its orientation. It may also be helpful to rewrite the absolute value as a piecewise function to make the integration process easier.

Similar threads

Replies
6
Views
542
Replies
20
Views
3K
Replies
12
Views
2K
Replies
29
Views
2K
Replies
6
Views
2K
Back
Top