Solution for a second order differential equation

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
5 replies · 2K views
anooja559
Messages
3
Reaction score
0
Member has been advised to use the template and show some effort.
Hi,
Could you please help me to solve a second-order differential equation given below
∂M/r∂r+∂2M/∂r2 = A

[Moderator's note: Moved from a technical forum and thus no template.]
 
Last edited by a moderator:
Physics news on Phys.org
anooja559 said:
Hi,
Could you please help me to solve a second-order differential equation given below
∂M/r∂r+∂2M/∂r2 = A
Hi Anooja, what have you done so far? Where are you stuck?
 
WWGD said:
Hi Anooja, what have you done so far? Where are you stuck?
Hi WWGD,
Thank you so much.
So I integrated the equation
∫(∂M/r∂r+∂2M/∂r2 )= ∫A ----(1)
ie ∫∂M/r∂r+∫∂2M/∂r2 = ∫A
1/r*M-∫-1/r2*M + ∂M/∂r = A*r+C1 (integral by parts)
2*M/r+∂M/∂r = A*r+C1 ----(2)
Integrating eq(2) again

∫2*M/r+∂M/∂r = ∫A*r+C1

Which gives,
2*M*ln(r)+M = A*r2+C1*r+C2

However, the reference shows the solution as M = Ar2+C1*ln(r)+C2
 
anooja559 said:
Integrating eq(2) again

∫2*M/r+∂M/∂r = ∫A*r+C1

Which gives,
2*M*ln(r)+M = A*r2+C1*r+C2
∫2*M/r isn't equal to 2M∫ (1/r).
I can't really see how to do it, except by just guessing [itex]M = a r^b[/itex]

The reference solution isn't completely correct, it should be [tex]M = \frac{ Ar^2}{4} +C_1 ln(r) +C_2[/tex]
 
willem2 said:
∫2*M/r isn't equal to 2M∫ (1/r).
I can't really see how to do it, except by just guessing [itex]M = a r^b[/itex]

The reference solution isn't completely correct, it should be [tex]M = \frac{ Ar^2}{4} +C_1 ln(r) +C_2[/tex]
Dear Willem,
That is great, Thanks a lot, Could you please elaborate on how to get this