Nonhomog heat equation that's piecewise

In summary, the problem can be split into two separate problems using the principle of superposition. The first problem can be easily solved, but the second one involves a change of variables and dealing with the piecewise function. However, due to the smoothing property of the heat equation, the solution should not be piecewise after t=0.
  • #1
Panphobia
435
13

Homework Statement



$$u_{t}=u_{xx}+f(x) \\ u(0,t)=50 \\ u(\pi , t)=0 \\ u(x,0)=g(x)$$
$$0<x<\pi \\ t>0$$
$$f(x)=\begin{cases}
50 & 0<x<\frac{\pi}{2} \\
0 & \frac{\pi}{2}\leq x< \pi
\end{cases}$$
$$g(x)=\begin{cases}
0 & 0<x<\frac{\pi}{2} \\
50 & \frac{\pi}{2}\leq x< \pi
\end{cases}$$

So what I tried to do here is use the principle of superposition to split this problem up into two different problems ##m(x,t),n(x,t)##.

$$m_t=m_{xx} \\ m(0,t)=50 \\ m(\pi,t)=0 \\ m(x,0) = g(x)$$
and
$$n_t=n_{xx}+f(x) \\ n(0,t)=0 \\ n(\pi,t)=0 \\ n(x,0) =0$$I know how solve the first PDE easily, but the second one is giving me some trouble. I know that you are supposed to do a change of variables and then solve it that way, but how do you take care of the piecewise function ##f(x)## when you are transforming back from the change of variables? Will you just have a piecewise solution in the end?
 
Physics news on Phys.org
  • #2
The heat equation has the smoothing property which smooths out any discontinuities in the data, so no the solution after t=0 should not be piece wise
 
  • #3
So when you transform the second with a change of variables you get something like $$v_t=v_{xx} \\ v(0,t)=0 \\ v(\pi, t)=0 \\ v(x,0)=\int \int f(x) dx - Ax - B$$. Solving for this problem $v$ isn't too difficult, but when you transform back, by doing $$u(x,t) = v(x,t)-\int \int f(x) dx + Ax + B$$. Then we see that ##f(x)## is piecewise, so wouldn't that make the whole solution piecewise too?
 
  • #4
As Brian T said, any discontinuities get smoothed out, but, yes, you are correct that the function would still be expressed as a piecewise formula.
 

Related to Nonhomog heat equation that's piecewise

1. What is the Nonhomogeneous Heat Equation?

The Nonhomogeneous Heat Equation is a partial differential equation used to model the diffusion of heat in a nonhomogeneous medium, meaning a medium with varying properties such as temperature or composition. It takes into account both the time and spatial changes in temperature.

2. What is the difference between Homogeneous and Nonhomogeneous Heat Equations?

A Homogeneous Heat Equation describes the diffusion of heat in a medium with constant properties, while a Nonhomogeneous Heat Equation takes into account the variations in properties within the medium. This makes the Nonhomogeneous Heat Equation more complex and often requires numerical methods to solve.

3. How is the Nonhomogeneous Heat Equation represented mathematically?

The Nonhomogeneous Heat Equation is represented as: ∂u/∂t = k∂²u/∂x² + f(x,t), where u is the temperature function, t is time, x is position, k is the thermal diffusivity coefficient, and f(x,t) represents any external heat sources or sinks.

4. What is the significance of the piecewise function in the Nonhomogeneous Heat Equation?

The piecewise function in the Nonhomogeneous Heat Equation represents the varying properties within the medium. It allows for different thermal diffusivity coefficients and external heat sources or sinks in different regions of the medium, making the equation more accurate for real-world applications.

5. What are some applications of the Nonhomogeneous Heat Equation?

The Nonhomogeneous Heat Equation has many applications in fields such as engineering, physics, and biology. It is commonly used to model heat transfer in materials with varying properties, such as composite materials. It can also be used to study temperature changes in biological systems, such as the human body, and to predict the behavior of heat in complex systems, such as in climate modeling.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
280
  • Calculus and Beyond Homework Help
Replies
1
Views
461
  • Calculus and Beyond Homework Help
Replies
11
Views
755
  • Calculus and Beyond Homework Help
Replies
3
Views
434
  • Calculus and Beyond Homework Help
Replies
2
Views
931
  • Calculus and Beyond Homework Help
Replies
3
Views
922
  • Calculus and Beyond Homework Help
Replies
6
Views
335
  • Calculus and Beyond Homework Help
Replies
6
Views
421
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
845
Back
Top