What is the solution to the heat equation with a constant added?

In summary, the conversation discusses solving the heat equation with boundary conditions using separation of variables. The question of how to solve the equation with a constant is raised, and the suggestion to write the solution as the sum of two functions, U and V, is given. V is then shown to satisfy a new equation with boundary conditions, while U can be solved using this information.
  • #1
morenopo2012
8
0
I have seen how to solve the heat equation:

$$ \frac{ \partial^2 u(x,t) }{\partial x^2} = k^2 \frac{ \partial u(x,t) }{\partial t} $$

With boundary conditions.

I use separation variables to find the result, but i don't know how to solve the equation plus a constant:

$$ \frac{ \partial^2 u(x,t) }{\partial x^2} = k^2 \frac{ \partial u(x,t) }{\partial t} + 2 $$How can i solve the second PDE?
 
Physics news on Phys.org
  • #2
morenopo2012 said:
I have seen how to solve the heat equation:

$$ \frac{ \partial^2 u(x,t) }{\partial x^2} = k^2 \frac{ \partial u(x,t) }{\partial t} $$

With boundary conditions.

I use separation variables to find the result, but i don't know how to solve the equation plus a constant:

$$ \frac{ \partial^2 u(x,t) }{\partial x^2} = k^2 \frac{ \partial u(x,t) }{\partial t} + 2 $$How can i solve the second PDE?
Write $$u=U+V$$ where V satisfies the equation:
$$\frac{d^2V}{dx^2}=2$$
subject to the boundary conditions on u. See what that gives you for U.
 

Similar threads

Replies
3
Views
2K
Replies
3
Views
2K
Replies
3
Views
3K
Replies
5
Views
1K
Replies
7
Views
3K
Replies
36
Views
2K
Replies
2
Views
1K
Back
Top