Solving a PDE w/ given boundary and initial conditions

In summary: This is because the initial condition is only valid at t=0, and the boundary conditions are only valid at the boundaries, not in the interior of the region. In summary, the initial and boundary conditions are not inconsistent in this case because they are only valid at different points (t=0 and the boundaries, respectively). This is a mathematical abstraction of a physically realistic situation where there is a thin boundary layer that we are not interested in modelling.
  • #1
TheCanadian
367
13
Firstly, my main question boils down to speaking about the initial conditions and boundary conditions.

I was given:

$$ u(0,y,t) = u(\pi,y,t) = u(x,0,t) = u(x,\pi,t) = 0 $$

but then the initial condition was:

$$ u(x,y,0) = 1 $$

Aren't the initial and boundary conditions inconsistent in such a case? For example, what is the value of ##u(0,0,0)##? Based on the boundary conditions, it should be 0, but based on the initial conditions, it should be 1, no? Why exactly is this okay, if it is okay?
 
Physics news on Phys.org
  • #2
(a) A discontinuous initial condition of that sort poses no mathematical difficulty. The values of points on the boundary are given by the boundary condition, not the initial condition.

(b) This is a mathematical abstraction of the physically realistic situation where there is a very thin boundary layer in which [itex]u[/itex] reduces smoothly from 1 to 0 and which we aren't interested in modelling.
 
  • #3
pasmith said:
(a) A discontinuous initial condition of that sort poses no mathematical difficulty. The values of points on the boundary are given by the boundary condition, not the initial condition.

(b) This is a mathematical abstraction of the physically realistic situation where there is a very thin boundary layer in which [itex]u[/itex] reduces smoothly from 1 to 0 and which we aren't interested in modelling.

Thank you for the response.I still do not quite understand how it poses no mathematics difficulty. Based on the boundary conditions, if ## u(0,y,t) = 0 ## then ##u(0,0,0) = 0##, too, right? But based on the initial condition ## u(x,y,0) = 1 ##, then ## u(0,0,0) = 1 ##, no? Don't these boundary conditions hold for all time, and the initial conditions for all space? If so, then how can both the initial conditions and boundary conditions be satisfied by a function? In such a case, u would have to have two values for the coordinate (0,0,0) and therefore no longer a function?

The answer derived for u is:

$$ u(x,y,t) = \frac {16}{\pi ^2} \sum _{j=0}^\infty \sum _{k=0}^\infty \frac {1}{(2j+1)(2k+1)} e^{-[(2j+1)^2 + (2k+1)^2]t} \sin[(2j+1)x] \sin[(2k+1)y] $$

And in such a case, ## u(0,0,0) = 0 ## which violates the initial condition?

It seems like I am definitely missing something here, since although I agree that the solutions may converge to different values at different points, they should not be equal to two separate values at the same point.

Are you saying the initial conditions are valid everywhere except the boundary? In which case, why isn't this usually explicitly stated?
 
  • #4
You have a square region in which the value of u is u=1 throughout. At time t = 0, you suddenly drop the value of u at the boundary to zero. Does that make physical sense to you?
 
  • #5
Chestermiller said:
You have a square region in which the value of u is u=1 throughout. At time t = 0, you suddenly drop the value of u at the boundary to zero. Does that make physical sense to you?

Yes, I can visualize that happening. But to reflect this situation, it would only be equal to 1 at t = 0, no? Although my concern still remains in how that's accurately represented by these boundary/initial conditions above and the solution I put forth.
 
  • #6
TheCanadian said:
Yes, I can visualize that happening. But to reflect this situation, it would only be equal to 1 at t = 0, no? Although my concern still remains in how that's accurately represented by these boundary/initial conditions above and the solution I put forth.
The solution you put down matches the initial conditions everywhere, except at the boundaries where it is zero.
 

FAQ: Solving a PDE w/ given boundary and initial conditions

What is a PDE and why is it important?

A PDE, or partial differential equation, is an equation that involves partial derivatives of a multivariable function. It is important because it is used to model many physical phenomena, such as heat transfer, fluid dynamics, and quantum mechanics. It allows us to understand and predict the behavior of these systems.

How do I solve a PDE with given boundary and initial conditions?

The process of solving a PDE with given boundary and initial conditions involves several steps. First, you must classify the PDE as either elliptic, parabolic, or hyperbolic. Then, you can use various techniques such as separation of variables, Fourier series, or numerical methods to solve the equation. Finally, you must apply the given boundary and initial conditions to determine the specific solution to the PDE.

What is the difference between boundary conditions and initial conditions?

Boundary conditions are conditions that are specified at the boundaries of the domain in which the PDE is being solved. They help determine the behavior of the solution at the boundaries. Initial conditions, on the other hand, are conditions that are specified at a specific initial time or position. They provide the starting point for the solution of the PDE and help determine its behavior over time or space.

Can a PDE have more than one solution to a given set of boundary and initial conditions?

Yes, a PDE can have multiple solutions to a given set of boundary and initial conditions. This is known as the existence of multiple solutions or the non-uniqueness of solutions. It can occur when the PDE is not well-posed, meaning that the solution does not depend continuously on the initial and boundary conditions. In these cases, additional constraints or assumptions may be needed to determine a unique solution.

Are there any software or tools available to solve PDEs with given boundary and initial conditions?

Yes, there are various software and tools available to solve PDEs with given boundary and initial conditions. These include numerical methods such as finite difference, finite element, and spectral methods, as well as specialized software packages like MATLAB, Mathematica, and COMSOL. It is important to choose the appropriate method and tool depending on the specific PDE and its boundary and initial conditions.

Back
Top