How Do You Solve a PDE with Boundary Conditions Using Separation of Variables?

In summary: L}A_n(t)cos(\frac{n\pi}{L}x)In summary, the solution for u(x,t) can be found using separation of variables and solving an eigenvalue problem. This leads to the use of Fourier series to write the solution as a sum of eigenfunctions.
  • #1
useruseruser
5
0
[tex]u_t=u_{xx}+2u_x[/tex]
0<=x<=L, t>=0, u(x,0)=f(x), u_x(0,t)=u_x(L,t)=0

How to do this?
 
Physics news on Phys.org
  • #2
Just a standard "separation of variables" will work.

Assume u is of the form u(x,t)= A(x)B(t). Then ux= A'B, ut= AB', and uxx= A"B. Putting those into the equation, AB'= A"B+ 2A'B.

Divide both sides by AB:
[tex]\frac{B'}{B}= \frac{A"+2A'}{A}[/tex]

Since the left side depends upon t only while the right side depends upon x only, in oder to be equal they must both be equal to the same constant. Call that constant "[itex]\lambda[/itex]".

Then we have [itex]B'/B= \lambda[/itex] or [itex]B'= \lambda B[/itex] and [itex](A"+ 2A')/A= \lambda[/itex] or [itex]A"+ 2A'= \lambda A[/itex].

Now look at the boundary conditions: [itex]u_x(0,t)= A(0)B'(t)= 0[/itex] for all t so we must have A(0)= 0. Also, [itex]u_x(L,t)= A(0)B'(t)= 0[/itex] for all t so A(L)= 0.

Solve the boundary problem [itex]A"+ 2A'- \lamba A= 0[/itex], A(0)= 0, A'(0)= 0 to determine what [itex]\lambda[/itex] can be. You should see that this is an eigenvalue problem. [itex]A"+ 2A'= \lambda A[/itex] is trivially satisfied for A(x) identically equal to 0 but then we can't satisfy "u(x,0)= f(x)". The values of [itex]\lambda[/itex] for which there are not trivial solutions are the "eigenvalues" for this problem and the non-trivial solutions are the "eigenvectors" or, in this case, "eigenfunctions". Once you have determined what the eigenvalues are, you can put them into B"= \lamba B to solve that.

As you may have learned in Linear Algebra (which should be a prerequisite for both differential equations and partial differential equations) the set of all vectors satisfying [itex]Lv= \lambda v[/itex] for a subspace so there will be an infinite number of eigenfunctions. Generally you will need to write the entire solution as a sum of eigenfunctions.

Once you have all of that theory, you can start talking about Fourier series. Solutions to linear differential equations with constant coefficients can be written as Fourier series
[tex]\sum P_n(t)sin(\frac{n\pi}{L}x)+ Q_n(t)cos(\frac{n\pi}{L}x)[/tex]

And since the derivative of sin is never 0 at multiples of [itex]\pi[/itex], you could see immediately that the coefficients of [itex]sin((n\pi/L)x) must be 0. The simplest way to do this problem, jumping over a lot of preliminary theory, is to start by assuming a function of the form
[tex]u(x,t)= \sum_{n=0}^\infty A_n(t)sin(\frac{n\pi}{L}x)[/tex]
 

FAQ: How Do You Solve a PDE with Boundary Conditions Using Separation of Variables?

What is a PDE with boundary conditions?

A PDE (partial differential equation) with boundary conditions is a mathematical equation that describes the relationship between a multivariable function and its partial derivatives. The boundary conditions represent constraints on the function at the boundary of the domain.

Why are boundary conditions important in solving PDEs?

Boundary conditions are important because they provide additional information that is necessary to uniquely determine a solution to a PDE. Without boundary conditions, there would be an infinite number of solutions to the equation.

What types of boundary conditions are commonly used in PDEs?

The most commonly used boundary conditions in PDEs are Dirichlet, Neumann, and Robin boundary conditions. Dirichlet boundary conditions specify the value of the function at the boundary, Neumann boundary conditions specify the normal derivative of the function at the boundary, and Robin boundary conditions specify a combination of the function value and its derivative at the boundary.

How are boundary conditions applied in numerical methods for solving PDEs?

In numerical methods, boundary conditions are typically applied by discretizing the domain into a grid and then imposing the boundary conditions at the boundary points of the grid. This allows for the construction of a system of equations that can be solved to approximate the solution to the PDE.

Can boundary conditions change the nature of the solution to a PDE?

Yes, boundary conditions can significantly affect the nature of the solution to a PDE. For example, different types of boundary conditions can result in different types of solutions, such as steady-state or transient solutions. Additionally, certain boundary conditions may lead to the existence of multiple solutions or no solution at all.

Similar threads

Replies
4
Views
1K
Replies
1
Views
928
Replies
5
Views
2K
Replies
3
Views
2K
Replies
11
Views
2K
Back
Top