Integrating a Partial Differential Equation

Integrating a Partial Differential Equation
$\begingroup$

The boundary conditions are $P(r=r_e)=P_e$ and $P(r=r_w)=P_w$

$$\frac{1}{r} \frac{d}{dr}\left(r \frac{dP}{dr}\right)=0.$$

I know I have to integrate it twice but how?

The answer comes out to $$P=P_w+\frac{P_e-P_w}{\ln(r_e/r_w)}\ln(r/r_w).$$

$\endgroup$
2

2 Answers

$\begingroup$

$\frac{d}{dr}(r\frac{dP}{dr}) = rP^{\prime\prime}+P^\prime$. Let $Q = P^\prime$, so you have $Q^\prime +\frac{1}{r}Q = 0$. Solve the first order ODE for $Q$ then solve back for $P$. Plug in BC's and you should get your solution.

$\endgroup$
$\begingroup$

Since $$\frac{d}{dr}\left(r\frac{dP}{dr}\right)=0$$

Then $$r\frac{dP}{dr}=c$$ where $c$ is a constant. Now separate the variables and integrate, getting $$P=c\ln r+k$$ where $k$ is also a constant.

Now apply the given conditions to obtain the two constants, and the result follows.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Robert Thorne
Author

Robert Thorne

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.