Forgotten my maths Simple 1D ODE, spherical coordinates

Click For Summary
SUMMARY

The discussion centers on solving a one-dimensional ordinary differential equation (ODE) in spherical coordinates, specifically the equation 0 = 1/r^2 ∂/∂r (D*r^2 ∂C/∂r) + P, where P represents a production rate. The user struggles with the term ∂/∂r (r^2 ∂C/∂r) and attempts to apply the chain rule, leading to complications with integrating the term involving log(r) at r=0. A suggested solution involves rewriting the equation as ∂/∂r (D*r^2 ∂C/∂r) = -Pr^2 and integrating, which provides a clearer path to solving the ODE.

PREREQUISITES
  • Understanding of ordinary differential equations (ODEs)
  • Familiarity with spherical coordinates in mathematical modeling
  • Knowledge of integration techniques, particularly involving logarithmic functions
  • Basic concepts of boundary conditions in differential equations
NEXT STEPS
  • Study the method of integrating factors for solving ODEs
  • Learn about boundary value problems in spherical coordinates
  • Explore the implications of singularities in differential equations
  • Review the application of the chain rule in multivariable calculus
USEFUL FOR

Mathematicians, physicists, and engineers dealing with differential equations, particularly those working with spherical coordinates and boundary value problems.

JHZR2
Messages
2
Reaction score
0
Hi,

I seem to have forgotten some of my math how-to, as I haven't done this in a while. Looking through my notes, Bird, Stewart and Lightfoot, Greenberg, etc. don't really help.

My equation is this, at steady state:

0 = 1/r^2 ∂/∂r (D*r^2 ∂C/∂r) + P

Where P is some production rate.

So the thing that I'm just not remembering is how to deal with the basic function:

∂/∂r (r^2 ∂C/∂r) in terms of how to deal with it to make it solvable.

I was kind of under the impression that I should do a chain rule to make it a real ODE, which gives me:

0 = D*( ∂2C/∂r2 + 2/r ∂C/∂r) + P

Problem is that the 2/r would integrate into log(r). Implementing the BC for the sphere that at r=0, ∂C/∂r=0, I would have an undefined answer since I'd have Log(0).

So something is wrong.

Ive tried searching around, but most places just glaze over the operation to solve this. I don't think it is that hard, but my brain is empty on this at this point - I've forgotten how.

Can anyone advise and/or point me in the right direction?

Thanks very much!
 
Physics news on Phys.org
Hi JHZR2! :smile:
JHZR2 said:
0 = 1/r^2 ∂/∂r (D*r^2 ∂C/∂r) + P

(try using the X2 icon just above the Reply box :wink:)

Rewrite it as ∂/∂r (D*r2 ∂C/∂r) = -Pr2, and integrate. :wink:
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
Replies
4
Views
1K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 10 ·
Replies
10
Views
6K