Solution to a PDE (heat equation) with one initial condition

Click For Summary
SUMMARY

The discussion focuses on solving the diffusion equation du/dt = d²u/dx² with the initial condition u(x, 0) = x². The method of separation of variables is employed, leading to a general solution of the form u(x, t) = φ(x)ψ(t). The solution involves determining the steady state and applying Fourier series to handle non-homogeneous boundary conditions. The user is advised to clarify their boundary conditions to proceed effectively.

PREREQUISITES
  • Understanding of partial differential equations (PDEs)
  • Familiarity with the method of separation of variables
  • Knowledge of Fourier series and orthogonality
  • Basic concepts of boundary conditions in PDEs
NEXT STEPS
  • Study the method of separation of variables in detail
  • Learn how to apply Fourier series to solve PDEs
  • Research non-homogeneous boundary conditions and their implications
  • Explore advanced techniques for solving the heat equation
USEFUL FOR

Mathematicians, physics students, and engineers interested in solving partial differential equations, particularly those working with heat transfer and diffusion problems.

frenchkiki
Messages
25
Reaction score
0

Homework Statement



By trial and error, find a solution of the diffusion equation du/dt = d^2u / dx^2 with
the initial condition u(x, 0) = x^2.

Homework Equations





The Attempt at a Solution



Given the initial condition, I tried finding a solution at the steady state (du/dt=0) which gives me d^2u / dx^2 = 0, from I found u(x,0)=c_1 + c_2 x = x^2 and now I am stuck. Thanks in advance!
 
Physics news on Phys.org
u_t = u_{xx} with u(x,0) = x^2.

The basic solution is of the form u(x,t) = \varphi(x)\psi(t).
You would use the method of separation of variables.
$$
\begin{cases}
\varphi = A\cos\lambda x + B\frac{\sin\lambda x}{\lambda}\\
\psi = C\exp(-\lambda^2t)
\end{cases}
$$
The above is basic and nothing ground breaking.
Right now your solution is of the form
$$
a_0 + \sum_{n = 1}^{\infty}\left[\left(A_n\cos\lambda_n x + B_n\frac{\sin\lambda_n x}{\lambda}\right)\exp(-\lambda^2t)\right]
$$
When you have non-homogeneous boundary conditions, you would solve the steady state solution. What are your BC?
I would then use the orthogonality and Fourier series to finish the problem solving for the Fourier coefficients.
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
3K
Replies
7
Views
1K
Replies
5
Views
2K
Replies
0
Views
1K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K