Solving a DE: Forgotten Steps Revealed

  • Thread starter Thread starter cahill8
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around solving a differential equation (DE) of the form u''(r) + (1/r)u'(r) = G/m. The original poster expresses uncertainty in their approach and notes discrepancies between their results and those obtained using Mathematica.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the original poster's attempts to find a homogeneous solution and their subsequent calculations. There is a suggestion to reconsider the treatment of r as a variable rather than a constant. A substitution method is proposed to simplify the DE.

Discussion Status

Some participants have provided guidance on the approach to take, particularly regarding the substitution of variables and the use of integrating factors. The original poster has acknowledged the feedback and is seeking clarification on their earlier assumptions.

Contextual Notes

There is an ongoing discussion about the implications of treating r as a constant versus a variable, which affects the interpretation of the differential equation. The original poster's initial misunderstanding is noted, but no resolution has been reached regarding the overall solution.

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
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
8
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
4
Views
2K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
0
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K