Nonhomog heat equation that's piecewise

Click For Summary

Homework Help Overview

The discussion revolves around a non-homogeneous heat equation defined on a piecewise domain with specific boundary and initial conditions. The problem involves understanding the implications of a piecewise function for the source term and the initial condition.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore the principle of superposition to separate the problem into two parts, questioning how to handle the piecewise nature of the function during transformations. There is discussion about the implications of the heat equation's smoothing property on the final solution.

Discussion Status

Participants are actively engaging with the problem, raising questions about the transformation process and the nature of the solution. Some guidance has been offered regarding the smoothing property of the heat equation, but there is no explicit consensus on the final form of the solution.

Contextual Notes

The problem involves piecewise functions for both the source term and the initial condition, which raises questions about continuity and the behavior of the solution over time.

Panphobia
Messages
435
Reaction score
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
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
 
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?
 
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.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
8K
Replies
3
Views
2K