- #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?
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?