Understanding and Solving ODEs with Inhomogeneous Boundary Conditions

  • Thread starter Thread starter StewartHolmes
  • Start date Start date
  • Tags Tags
    Ode
StewartHolmes
Messages
2
Reaction score
0
I'm trying to follow a proof for the solution of the diffusion equation in 0 < x < l with inhomogeneous boundary conditions.

\frac{d u_n(t)}{dt} = k( -\lambda_n u_n(t) - \frac{2n\pi}{l}[ (-1)^n j(t) - h(t) ] )
u_n(0) = 0

Now I just plain don't understand what kind of an ODE I have here. If the term in j(t) and h(t) wasn't there, it'd be a simple ODE, but I'm confused as to what can be done now. I know ODEs of the form

y' + p(x)y + q(x) = 0

But I have something like, y' + p(x)y + q(t) where I have a term in the dependent variable.

The book I have gives the solution as
u_n(t) = Ce^{-\lambda_n kt} - \frac{2n\pi k}{l}\int\limits_0^t e^{-\lambda_n k(t-s)} \left( (-1)^n j(s) - h(s) \right) \, ds
 
Physics news on Phys.org
Try and learn to encapsulate everything. You have:

<br /> \frac{d u_n(t)}{dt} = k( -\lambda_n u_n(t) - \frac{2n\pi}{l}[ (-1)^n j(t) - h(t) ] )<br />

Now, isn't the term:

-\frac{2n\pi}{l}k[(-1)^n j(t)-h(t)]

just some function of t? Say it's v(t). So you have essentially the equation:

\frac{dy}{dt}+k\lambda y=v(t)

And you know how to integrate that right by finding the integration factor. Change it to u_n if you want, but it's the same equation essentially.
 
Last edited:
There is the following linear Volterra equation of the second kind $$ y(x)+\int_{0}^{x} K(x-s) y(s)\,{\rm d}s = 1 $$ with kernel $$ K(x-s) = 1 - 4 \sum_{n=1}^{\infty} \dfrac{1}{\lambda_n^2} e^{-\beta \lambda_n^2 (x-s)} $$ where $y(0)=1$, $\beta>0$ and $\lambda_n$ is the $n$-th positive root of the equation $J_0(x)=0$ (here $n$ is a natural number that numbers these positive roots in the order of increasing their values), $J_0(x)$ is the Bessel function of the first kind of zero order. I...
Are there any good visualization tutorials, written or video, that show graphically how separation of variables works? I particularly have the time-independent Schrodinger Equation in mind. There are hundreds of demonstrations out there which essentially distill to copies of one another. However I am trying to visualize in my mind how this process looks graphically - for example plotting t on one axis and x on the other for f(x,t). I have seen other good visual representations of...
Back
Top