Integrate the following equations using U-Substitution

  • Thread starter Thread starter Xetman
  • Start date Start date
  • Tags Tags
    Integrate
Xetman
Messages
8
Reaction score
0

Homework Statement


Integrate √(x2(x+3)) from -3 to 0.

0
∫√(x2(x+3)) dx
-32. The attempt at a solution
Here is what I did:
√(x2(x+3))
= x√(x+3)

Let u=x+3, du=dx, x=u-3
Insert the bounds and change the bounds to: 0 to 3.

x√(x+3)=
(u-3)√(u)
= u3/2-3u1/2

Thus we have:
3
∫(u3/2-3u1/2) du
0

Finally:

(2u5/2)/5-(2u3/2) from 0 to 3.
Thus I get: -4.15.

However the correct answer is positive 4.15.
I know the answer should be positive but what I don't understand is why I'm getting a negative answer. Please help.
Thanks in advance.
 
Physics news on Phys.org
Xetman said:

Homework Statement


Integrate √(x2(x+3)) from -3 to 0.

0
∫√(x2(x+3)) dx
-3

2. The attempt at a solution
Here is what I did:
√(x2(x+3))
= x√(x+3)

Let u=x+3, du=dx, x=u-3
Insert the bounds and change the bounds to: 0 to 3.

x√(x+3)=
(u-3)√(u)
= u3/2-3u1/2

Thus we have:
3
∫(u3/2-3u1/2) du
0

Finally:

(2u5/2)/5-(2u3/2) from 0 to 3.
Thus I get: -4.15.

However the correct answer is positive 4.15.
I know the answer should be positive but what I don't understand is why I'm getting a negative answer. Please help.
Thanks in advance.
Be careful.

\displaystyle \sqrt{x^2} = |x|

In fact, for x<0, \displaystyle\ \sqrt{x^2} = -x\ .
 
Xetman said:

Homework Statement


Integrate √(x2(x+3)) from -3 to 0.

0
∫√(x2(x+3)) dx
-3


2. The attempt at a solution
Here is what I did:
√(x2(x+3))
= x√(x+3)

Let u=x+3, du=dx, x=u-3
Insert the bounds and change the bounds to: 0 to 3.

x√(x+3)=
(u-3)√(u)
= u3/2-3u1/2

Thus we have:
3
∫(u3/2-3u1/2) du
0

Finally:

(2u5/2)/5-(2u3/2) from 0 to 3.
Thus I get: -4.15.

However the correct answer is positive 4.15.
I know the answer should be positive but what I don't understand is why I'm getting a negative answer. Please help.
Thanks in advance.

It's positive because if x is negative then sqrt(x^2)=(-x). Right?
 
Oh yeah. Silly mistake XD thanks.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top