Understanding and Solving ODEs with Inhomogeneous Boundary Conditions

  • Context: Graduate 
  • Thread starter Thread starter StewartHolmes
  • Start date Start date
  • Tags Tags
    Ode
Click For Summary
SUMMARY

The discussion focuses on solving the diffusion equation with inhomogeneous boundary conditions represented by the ordinary differential equation (ODE) \(\frac{d u_n(t)}{dt} = k( -\lambda_n u_n(t) - \frac{2n\pi}{l}[ (-1)^n j(t) - h(t) ] )\). The confusion arises from the presence of terms \(j(t)\) and \(h(t)\), which complicate the ODE structure. The solution provided in the discussion is \(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\). The equation can be simplified to a standard form by recognizing that the inhomogeneous term can be treated as a function of time, allowing the use of an integrating factor for solution.

PREREQUISITES
  • Understanding of ordinary differential equations (ODEs)
  • Familiarity with boundary value problems
  • Knowledge of integrating factors in ODEs
  • Basic concepts of diffusion equations
NEXT STEPS
  • Study the method of integrating factors for solving first-order linear ODEs
  • Explore inhomogeneous boundary conditions in partial differential equations
  • Learn about the diffusion equation and its applications in physics
  • Review the theory behind Laplace transforms for solving ODEs
USEFUL FOR

Mathematicians, physicists, and engineering students who are working with differential equations, particularly those dealing with boundary value problems and diffusion processes.

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:

Similar threads

  • · Replies 1 ·
Replies
1
Views
477
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K