What kind of ODE is this?

  • #1
I'm trying to follow a proof for the solution of the diffusion equation in 0 < x < l with inhomogeneous boundary conditions.

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

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
[tex] 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 [/tex]
 

Answers and Replies

  • #2
1,796
53
Try and learn to encapsulate everything. You have:

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

Now, isn't the term:

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

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

[tex]\frac{dy}{dt}+k\lambda y=v(t)[/tex]

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:

Related Threads on What kind of ODE is this?

  • Last Post
Replies
3
Views
844
Replies
4
Views
3K
Replies
2
Views
1K
  • Last Post
Replies
6
Views
4K
  • Last Post
Replies
8
Views
3K
Replies
0
Views
1K
  • Last Post
Replies
3
Views
3K
Top