Solving 2nd Order Non-Homogeneous DE with Variables: A Comprehensive Guide

  • Thread starter Thread starter Peregrine
  • Start date Start date
  • Tags Tags
    2nd order
Peregrine
Messages
22
Reaction score
0
I am familiar with how to solve a second order, non-homogenous DE with constants, i.e.

\frac {\partial^2X(t)}{\partial t^2} + \frac{\partial X(t)}{\partial t} = C

by first solving the homogenous eqn, then setting the equation equal to a constant, yielding a sol'n of

X(t)= Ae^{0}+ Be^{-t}+ C

But how does one solve a 2nd order equation that also has another t variable in it, such as:

\frac {\partial^2X(t)}{\partial t^2} + \frac{1}{t} \frac{\partial X(t)}{\partial t} = C?
 
Physics news on Phys.org
First of all, you only seem to have one independent variable, so it may suitable to express your equation as

\frac{d^2 X(t)}{dt^2} + \frac{1}{t} \frac{d X(t)}{dt} = C

(note total derivative, not partial). Also, since no X(t) appears outside a derivative, you effectively have a first order equation, namely

\frac{dp}{dt} + \frac{p}{t} = C

where

p(t) = \frac{dX(t)}{dt}

Now, any first order equation of the form

\frac{dy}{dx} + s(x) y + r(x) = 0

has the solution

y(x) = -e^{-\int s(x) dx} \int r(x) e^{\int s(x) dx} dx

(just differentiate this and you'll see it works) Hence you can solve for p(t), and then for X(t).
 
Last edited:
Ah, that's a very nice way of framing the equation, I hadn't thought of that. Thanks!
 
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