Ordinary differential equations and BVP

In summary, to solve the BVP with a non-homogeneous PDE, we can use the eigenfunction expansion method. This involves looking for a separable solution and making a trial solution to remove one part of the problem. We can then solve for the remaining part using the initial and boundary conditions.
  • #1
akanksha331
5
0
Solve BVP by separating variables and using eigenfunction expansion method




PDE:Ut-Uxx=e-2tsin(pi x/L) U=U(x,t),x(0,L)
BC1:U(0,t)=0
BC2:U(L,t)=0
IC:U(x,0)=sin(pi x/L)
U(x,t)=X(x)T(t),X''=(lambda) X ,lambda is the separation of parameter.

I have calculated the basis functions as Xn=root(2/L)sin((n pi x) /L) for n=1,2 and labdan=-((n pi)/L)2

Please help to solve the problem
 
Physics news on Phys.org
  • #2
akanksha331 said:
Solve BVP by separating variables and using eigenfunction expansion method




PDE:Ut-Uxx=e-2tsin(pi x/L) U=U(x,t),x(0,L)
BC1:U(0,t)=0
BC2:U(L,t)=0
IC:U(x,0)=sin(pi x/L)
U(x,t)=X(x)T(t),X''=(lambda) X ,lambda is the separation of parameter.

I have calculated the basis functions as Xn=root(2/L)sin((n pi x) /L) for n=1,2 and labdan=-((n pi)/L)2

Please help to solve the problem

Your PDE is not homogeneous. You have:
[tex]
u_{t} - u_{xx} = e^{-2t} \sin\frac{\pi x}L
[/tex]

Let's try looking for a separable solution [itex]u(x,t) = X(x)T(t)[/itex]. Substituting that into the PDE, we get
[tex]
T' X - T X'' = e^{-2t} \sin\frac{\pi x}L
[/tex]
Oh dear. Dividing by [itex]XT[/itex] isn't necessarily going to give us terms which are functions of a single variable and whose sum is a constant, so the standard method doesn't work (or rather, we are forced to make particular choices for X and T in order to do that, and those choices don't lead to a solution of the PDE).

But if we look at the initial and boundary conditions, we see that the initial condition is a constant multiple of [itex]\sin \frac{\pi x}L[/itex] and the boundary conditions require that [itex]u[/itex] vanish at points where [itex]\sin \frac{\pi x}L[/itex] vanishes. This suggests that we should try [itex]X(x) = \sin \frac{\pi x}L[/itex].
 
  • #3
Make a trial solution e^(-2t)*F(t)*G(x)

That will remove one part of your problem.
 
  • #4
I am a little unsure if I have the correct approach but here goes

U(x,0) = X(x)T(0) = sin(pi*x/L) (the initial condition)

Let a=pi/L then X(x) = sin(ax)/T(0), Here, X(0)T(t) = X(L)T(0) = 0 (the boundary conditions)

Substituting this back in the original equation gives:

d/dt[T(t)]*sin(ax) + T(t)*sin(ax)*a^2 = exp(-2t)*sin(ax)*T(0)

Solving this gives:

T(t) = c0*exp(-a^2*t) + T(0)*exp(-2t)/(a^2-4)

U(x,t) = X(x)*T(t) = [ c1*sin(ax)*exp(-a^2*t) + sin(ax)*exp(-2t)/(a^2-4) ]

Is the answer correct? How to use eigen function expansion method ?
 

1. What are ordinary differential equations (ODEs)?

Ordinary differential equations are mathematical equations that involve a single independent variable and one or more dependent variables. They describe how a system changes over time, and are commonly used in areas such as physics, engineering, and economics.

2. What is the difference between an ODE and a partial differential equation (PDE)?

The main difference between an ODE and a PDE is that ODEs involve a single independent variable, while PDEs involve multiple independent variables. Additionally, ODEs describe the behavior of a system over time, while PDEs describe the behavior of a system in space and time.

3. What is a boundary value problem (BVP)?

A boundary value problem is a type of problem where the solution of an ODE or PDE is sought within a given domain, subject to specified values at the boundaries of that domain. These boundary conditions are used to uniquely determine the solution to the equation.

4. How are ODEs and BVPs used in real-world applications?

ODEs and BVPs are used in a variety of real-world applications, including modeling physical systems such as the motion of objects, chemical reactions, and population dynamics. They are also commonly used in engineering to design and optimize systems, and in economics to understand and predict market behavior.

5. What methods are used to solve ODEs and BVPs?

There are various methods used to solve ODEs and BVPs, including analytical methods (such as separation of variables and series solutions) and numerical methods (such as Euler's method and Runge-Kutta methods). The choice of method depends on the specific equation and the desired level of accuracy.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
704
  • Calculus and Beyond Homework Help
Replies
5
Views
534
  • Calculus and Beyond Homework Help
Replies
2
Views
915
  • Calculus and Beyond Homework Help
Replies
0
Views
163
  • Calculus and Beyond Homework Help
Replies
7
Views
280
  • Calculus and Beyond Homework Help
Replies
7
Views
554
  • Calculus and Beyond Homework Help
Replies
1
Views
833
  • Calculus and Beyond Homework Help
Replies
5
Views
266
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
298
Back
Top