*Notes to a video lecture on http://www.unizor.com*

__Partial Differential Equations__

Solution to Heat Equation

Solution to Heat Equation

Our purpose is to solve the

*heat equation*that describes the dynamics of temperature distribution within a thin rod and looks like this:

*∂*

**T(t,x)/**∂**t = a²·**∂²**T(t,x)/**∂**x²**where

*- time,*

**t***- distance of a point on a thin rod from its edge,*

**x***- temperature at time*

**T(t,x)***of a point on a rod at distance*

**t***from its edge,*

**x***- constant that depends on physical characteristics of a rod.*

**a**This is a partial differential equation for function

*describing the distribution of temperature*

**T(t,x)***within a thin rod at time*

**T***at location with X-coordinate*

**t***, assuming it's positioned along the X-axis with the left edge at*

**x***.*

**x=0**First of all, let's state that this distribution of temperature depends not only on the equation itself, which reflects dynamics of heat movement within a rod, but also depends on the

*initial conditions*- what was the temperature at different locations of a rod at time

*, described by function*

**t=0***.*

**T(x,0)**Another type of condition that might be necessary to take into account is so-called

*boundary condition*. It plays an important role in cases when edges of a rod are maintained at certain (not necessarily fixed) temperature all the time, which can be described by functions

*and*

**T(0,t)***(here*

**T(L,t)***is the length of a rod).*

**L**Now we are ready to solve the equation.

Let's find a solution to our partial differential equation in a form

**T(t,x) = f(t)·g(x)**We don't know if we will succeed on this way, but it's worth to try, since this relatively simple approach might bring us to solution. If it does, great. If it does not, at least, we tried.

Then

*∂*

**T(t,x)/**∂**t = f'(t)·g(x)***∂²*

**T(t,x)/**∂**x² = f(t)·g''(x)**Now our heat equation looks like

**f'(t)·g(x) = a²·f(t)·g''(x)**or

**f'(t)/f(t) = a²·g''(x)/g(x)**Now we have a peculiar situation, when a function of

*is equal to a function of*

**t***. The only possibility of this might be if both functions are constants that are equal to each other.*

**x**Therefore,

*and*

**f'(t)/f(t) = A**

**a²·g''(x)/g(x) = A**where

*- some unknown constant that might be determined using initial conditions.*

**A**These are two ordinary differential equations, both types were addressed in the previous lectures. Let's get to their solutions.

The equation for

*is solved as follows:*

**f(t)***d*

**f/f = A·**d**t**Integrating both sides results in

**ln|f| = A·t + C**(where

*- any constant)*

**C**

**|f(t)| = e**^{A·t+C}or, considering

*is any constant,*

**C**

**f(t) = C·e**^{A·t}It's easy to check that this is a solution since

*and*

**f'(t) = C·A·e**^{A·t}

**f'(t)/f(t) = A**The equation for

*is a linear equation of the second order, considered in a prior lecture about oscillation of a spring.*

**g(x)**We can represent it as

**g''(x) − (A/a²)·g(x) = 0**We will look for its solution in a form

**g(x) = e**^{λ·x}where

*- any complex number.*

**λ**Since

**g''(x) = λ²·e**^{λ·x}we come to a simple quadratic equation for

*:*

**λ**

**λ² − A/a² = 0**with solutions

**λ = ±(1/a)·√A**This results in solutions for

*:*

**g(x)**

**g(x) = C**_{1}·e^{(1/a)·√A·x}+ C_{2}·e^{−(1/a)·√A·x}General solution to a heat equation can now be represented as

**T(t,x) = f(t)·g(x) =**

= C·e= C·e

^{A·t}·(C_{1}·e^{(1/a)·√A·x}+ C_{2}·e^{−(1/a)·√A·x})where

*,*

**C***and*

**C**_{1}*are unknown constants, that can be defined only if additional conditions (initial conditions or boundary conditions) are given.*

**C**_{2}What remains is analysis of our solution for a purpose to get only real component of it, ignoring imaginary part, and apply initial condition on distribution of temperatures at time

*, like*

**t=0***, and boundary conditions (if applicable)*

**T(0,x)=u(x)***and*

**T(t,0)=T**_{0}*in order to determine unknown constants. These are purely technical issues and lie outside the scope of this course.*

**T(t,L)=T**_{L}
## No comments:

Post a Comment