Solving a DE: Forgotten Steps Revealed

  • Thread starter Thread starter cahill8
  • Start date Start date
cahill8
Messages
29
Reaction score
0

Homework Statement


I'm looking to solve a DE for a problem I have but I haven't done so in a while and must be forgetting something. I've checked the answer in Mathematica and what I'm getting is wrong.

u''(r)+1/r u'=G/m

The Attempt at a Solution



homogeneous solution:

a^2+1/r a = 0 -> a = 0, -1/r

u1 = Ae^(-1)+B

try u2 = c r (as a constant B already exists as part of the solution, multiply by r)

u' = c u'' = 0

c/r = G/m
c = Gr/m

u2 = Gr^2/m

u = Ae^(-1)+B+Gr^2/m

Whereas the actual solution is

u = A Ln(r)+B+Gr^2/4m

Thanks for any help
 
Physics news on Phys.org
cahill8 said:

Homework Statement


I'm looking to solve a DE for a problem I have but I haven't done so in a while and must be forgetting something. I've checked the answer in Mathematica and what I'm getting is wrong.

u''(r)+1/r u'=G/m

The Attempt at a Solution



homogeneous solution:

a^2+1/r a = 0 -> a = 0, -1/r

u1 = Ae^(-1)+B
You are tacitly assuming that r is a constant, but it's not. It's the independent variable.

Your DE is u''(r) + (1/r)u'(r) = G/m
Since there's no u(r) term, I would make this substitution.
Let w(r) = u'(r) ==> w'(r) = u''(r)
With this substitution you can rewrite the DE as
w'(r) + (1/r)w(r) = G/m
Now you can use the standard technique of finding an integrating factor, v(r) = e^{integral(1/r).
That's what I would do.
cahill8 said:
try u2 = c r (as a constant B already exists as part of the solution, multiply by r)

u' = c u'' = 0

c/r = G/m
c = Gr/m

u2 = Gr^2/m

u = Ae^(-1)+B+Gr^2/m

Whereas the actual solution is

u = A Ln(r)+B+Gr^2/4m

Thanks for any help
 
Thanks, that worked out good.

Could you point out in my initial work where I implied r was constant? because I didn't mean to.
 
You treated the equation u'' + (1/r)u' = G/m as if it were a constant coefficient differential equation.

From the homogeneous equation, u'' + (1/r)u' = 0, you got a characteristic equation of a^2 + (1/r)a = 0, and then factored the left side. This would have worked if r were a constant, but r is the independent variable, or so I gather by your use of u''(r).

It's the difference between, say y' + 2y = 0 (with general solution y = Ae-2x) and y' + xy = 0 (with general solution y = Ce-(1/2)x2).
 
Cheers, I understand now
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top