# Thread: Find my error :/

1. ## Find my error :/

Can anyone help me figure out what I'm doing wrong:

$\displaystyle \int x^3\sqrt{9-x^2} dx$

---
> Substitute:
> $\displaystyle x=3sin\theta$
> $\displaystyle dx=3cos\theta d\theta$
> $\displaystyle \theta = arcsin(x/3)$
> $\displaystyle cos(\theta)=cos(arcsin(x/3))= \frac{\sqrt{9-x^2}}3$
---

=$\displaystyle \int (3sin\theta)^3\sqrt{9-(3sin\theta)^2}(3cos\theta) d\theta$

=$\displaystyle 3^4\int sin^3\theta\cos\theta\sqrt{3^2-3^2sin^2\theta} d\theta$

=$\displaystyle 3^4\int sin^3\theta\cos\theta\sqrt{3^2(1-sin^2\theta)} d\theta$

=$\displaystyle 3^4\int sin^3\theta\cos\theta\sqrt{3^2cos^2\theta} d\theta$

=$\displaystyle 3^5\int sin^3\theta\cos^2\theta d\theta$

=$\displaystyle 3^5\int sin\theta (1-cos^2\theta)\cos^2\theta d\theta$

---
> Substitute:
> $\displaystyle u = cos\theta$
> $\displaystyle -du = sin\theta d\theta$
---

=$\displaystyle -3^5\int (1-u^2)u^2 du$

=$\displaystyle -3^5\int (u^2-u^4) du$

=$\displaystyle -3^5(\frac13 u^3 - \frac15 u^5)+C$

=$\displaystyle -3^5(\frac13 cos^3\theta - \frac15 cos^5\theta)+C$

=$\displaystyle -3^5\left(\frac13 \left(\frac{\sqrt{9-x^2}}{3}\right)^3 - \frac15 \left(\frac{\sqrt{9-x^2}}{3}\right)^5\right)+C$

=$\displaystyle -3^5\left(\frac1{3^4} (9-x^2)^{3/2} - \frac1{5*3^5} (9-x^2)^{5/2}\right)+C$

=$\displaystyle -3 (9-x^2)^{3/2} + \frac15 (9-x^2)^{5/2}+C$

---------------------
I've done it several times and gotten the same answer, unfortunately it's an even problem so I can't check my book, but Function calculator says the answer should be:
$\displaystyle -\frac15 x^2(9-x^2)^{3/2}-\frac65(9-x^2)^{3/2}+C$

2. I'm too lazy to check your solution, but you can get another faster one by setting $\displaystyle u^2=9-x^2.$

3. Originally Posted by Krizalid
I'm too lazy to check your solution, but you can get another faster one by setting $\displaystyle u^2=9-x^2.$
Wow, that was so elegant! (I was so focused on using the method just taught to us that I didn't even consider alternatives)

I used your method, and it came out the same as mine, I'll assume the function calculator's answer was the same as mine, and when I checked it that I checked it incorrectly. (if not that, then I did your way wrong in the same manner I did my way wrong, and if not that, then the function calculator is wrong, and if not that, then math is broken)

4. Originally Posted by angel.white
Wow, that was so elegant!
It's not elegant, it's just a faster way to avoid boring trig. calculations and the square root.

Originally Posted by angel.white
I used your method, and it came out the same as mine, I'll assume the function calculator's answer was the same as mine, and when I checked it that I checked it incorrectly.
I suggest when you want to verify if your answer is correct or not, see solving derivatives step-by-step. If your result does not match with the software, then you're messing with some calculation. (Of course, software may fail.)

Originally Posted by angel.white
(if not that, then I did your way wrong in the same manner I did my way wrong, and if not that, then the function calculator is wrong, and if not that, then math is broken)
Math can't be broken

5. Originally Posted by Krizalid
I'm too lazy to check your solution, but you can get another faster one by setting $\displaystyle u^2=9-x^2.$
That is what I did, and I got an answer similar to Angel.White's.

$\displaystyle u=9-x^2$

$\displaystyle du-2xdx$

$\displaystyle \int x^3 \sqrt{9-x^2}dx = \int \frac{u-9}{2}\sqrt{u}du$

$\displaystyle =\int -4.5u^{0.5}+0.5u^{1.5}du$

$\displaystyle = -3u^{1.5}+0.2u^{2.5}+C$

$\displaystyle = -3(9-x^2)^{1.5}+0.2(9-x^2)^{2.5}+C$

6. Originally Posted by Krizalid
I suggest when you want to verify if your answer is correct or not, see solving derivatives step-by-step. If your result does not match with the software, then you're messing with some calculation. (Of course, software may fail.)
Oh wow! That would have saved me hours and hours last semester. I remember when I was first learning derivatives, and I got confused about the power rule, and hadn't found all the resources that I have now. And I spent this weekend doing the same problems over and over and over, like each problem 40 times, and comparing my answers from each time to see which ones I came up with the most to decide which ones I thought were most likely to be correct.
Originally Posted by Krizalid
Math can't be broken
Maybe "broken" isn't an appropriate term, just expressing the idea of an unknown variable which causes math to be different than we understand it to be. (Note that I understand the unlikelihood of this possibility, which is why I placed it at the end of the list of possibilities.)
Originally Posted by colby2152
That is what I did, and I got an answer similar to Angel.White's.
Thank you, I've been doing these problems all day each day all week, my head is swimming, so nice to have objective verification.

7. Originally Posted by colby2152
That is what I did, and I got an answer similar to Angel.White's.

$\displaystyle u=9-x^2$

$\displaystyle du$= $\displaystyle -2xdx$

$\displaystyle \int x^3 \sqrt{9-x^2}dx =$ -$\displaystyle \int \frac{9-u}{2}\sqrt{u}du$

$\displaystyle =\int 4.5u^{0.5}-0.5u^{1.5}du$

$\displaystyle = 3u^{1.5}-0.2u^{2.5}+C$

$\displaystyle = 3(9-x^2)^{1.5}-0.2(9-x^2)^{2.5}+C$
I'll just put my 2 cents worth in here (1 cent for each point):

1. Colby, you dropped a minus - it's in the edit and needs to be carried through to the end.

2. The answer of $\displaystyle -3(9-x^2)^{1.5}+0.2(9-x^2)^{2.5}+C$ can be simplified by taking out a common factor of $\displaystyle (9 - x^2)^{1.5}$:

$\displaystyle (9-x^2)^{1.5} \left( -3 + 0.2 [9-x^2] \right) + C$

$\displaystyle = (9-x^2)^{1.5} (-3 + 1.8 - 0.2 x^2) + C$

$\displaystyle = (9-x^2)^{1.5} (-1.2 - 0.2 x^2) + C$

$\displaystyle = -(9-x^2)^{1.5} \left (\frac{6}{5} + \frac{1}{5} x^2 \right) + C$

$\displaystyle = -\frac{1}{5} (9-x^2)^{1.5} (6 + x^2) + C$.

Some obvious variant of this final answer is what a CAS is likely to spit out. And indeed what I'd expect to see as the correct option if it was a multiple choice question ..... And indeed, the answer in the back of the book (if the book gave answers to even numbered questions as well)

8. Thanks Mr Fantastic... so it looks like the Function Calculator that Angel was using is wrong. All of us agree on the answer, but disagree with the calculator he used.

9. Originally Posted by colby2152
Thanks Mr Fantastic... so it looks like the Function Calculator that Angel was using is wrong. All of us agree on the answer, but disagree with the calculator he used.
To seal the deal: