Can't Get Integral To Come Out Right

  • Thread starter Thread starter Meadman23
  • Start date Start date
  • Tags Tags
    Integral
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
10 replies · 2K views
Meadman23
Messages
43
Reaction score
0

Homework Statement



What is ∫r^3/(r^2 + h^2) ^ (3/2)

Homework Equations



uv - ∫v du

The Attempt at a Solution



Using Maxima gives me (r^2 + 2h^2) / sqrt(r^2 + h^2), but when I solve it using integration by parts, I get (3r^2 + 4h^2) / sqrt (r^2 + h^2).

I do:

dv = r(r^2 + h^2) ^ (-3/2)
v = -1/sqrt(r^2 + h^2)

u = r^2
du = 2r dr

Then I plug it into the int. by parts formula.

uv - ∫v du = -r^2/ sqrt (r^2 + h^2) - ∫ - 2r dr / (r^2 + h^2)

And then I integrate once more and I'm left with:

-r^2 / sqrt (r^2 + h^2) + 4*sqrt (r^2 + h^2)

I know that this should work out almost exactly like example 7 from this page, but it just won't. What's going on??
 
Physics news on Phys.org
Doesn't seem to work.

Letting u = r ^2 + h^2 takes care of r dr but not r^2.

I even tried setting r^2 = u - h^2 , but that doesn't get me anywhere either.
 
Okay, thanks guys. I split the fraction up into two.

∫u/(2*u^(3/2)) - ∫h^2/(2*u^(3/2)

I wasn't able to get it to come out right until I considered the h^2 as a constant and factored it out along with the 1/2.

1/2∫u/(u^(3/2)) - h^2/2 ∫1/(2*u^(3/2)

Why can I consider h^2 as a constant here? Also, why did integration by parts provide the wrong answer for me??
 
Meadman23 said:
Okay, thanks guys. I split the fraction up into two.

∫u/(2*u^(3/2)) - ∫h^2/(2*u^(3/2)

I wasn't able to get it to come out right until I considered the h^2 as a constant and factored it out along with the 1/2.

1/2∫u/(u^(3/2)) - h^2/2 ∫1/(2*u^(3/2)

Why can I consider h^2 as a constant here? Also, why did integration by parts provide the wrong answer for me??

Well, h is not a function of r, is it ?
 
I mean, h^2 = u - r^2 which means to me that the value of h^2 is dependent on the value of r. How could it not be?
 
Meadman23 said:
I mean, h^2 = u - r^2 which means to me that the value of h^2 is dependent on the value of r. How could it not be?

No you're confusing yourself. u and r^2 are both functions of r, but their difference is not.

Consider this trivial example. Let [itex]y= 1 - x^2[/itex]. Now y is a function of x, obviously. But x^2 is also a function of x.

So if we rearrange this to get [itex]1 = y - x^2[/itex], does this mean that "1" is a function of x? No, certainly not.
 
Last edited:
I might be reaching here but let's see.

I have:

u = h^2 + r^2

and

r^2

u - r^2 = (h^2 + r^2) - r^2 = h^2

Thus, r^2 vanishes and h^2 is no longer of a function of r. Thus, I can factor it out of my integral.

Am I seeing this right?