Note: This is a preliminary working draft. Please do not make references to this paper. All work is copyrighted by the author. COPYRIGHT POLICY: All printed materials disseminated in class or on the web are protected by Copyright laws. One xerox copy (or download from the web) is allowed for personal use. Multiple copies

or sale of any of these materials is strictly prohibited. ©2007 by Armando I. Perez

Approximate Solutions to the Inverse Heat Problem

Armando I. Perez

Texas A&M University

Abstract. A simple one-dimensional heat equation is reviewed. This paper will discuss its derivation along with some techniques for analysis. The techniques to be discussed include familiar ones used in the analysis of differential equations. These initial attempts to solve the heat equation will later be applied to the task of finding possible solutions to the inverse heat problem. We will show that a solution to this problems exists if certain conditions are met.

Introduction

In mathematical physics, one of the classical equations that arises is that of the one-dimensional heat equation. This equation occurs in the theory of heat flow, i.e., heat is transferred by conduction in a rod or thin wire. We are concerned with finding solutions to the heat equation using methods such as separation of variables, boundary value problems, and Fourier series. This will lead us to the task of trying to solve the inverse heat problem. In other words, given some temperature distribution in a wire at time $T>0$ we want to solve the heat equation backward in time for $t\leq T$ and find the initial values which produce the given temperature distribution at time $T.$ This problem is ``ill-posed'' because, as it will be shown, the solution does not always exist.

Derivation of Heat Equation

We begin by deriving the one-dimensional heat equation. Consider the wire along the interval MATH

 

$\qquad $ Mando-Thesis2__6.pngNeed to label graph.

 

Let $u(x,t)$ be the temperature at a point $x$ at a time $t,$ where $0\leq x\leq L$ and $t\geq 0.$ The principle of heat conduction states that heat flow is proportional to and in the opposite direction of the temperature gradient MATH

 

Heat flow MATH

 

where $k$ is a positive constant.

 

Let MATH be a small segment of the wire

 

in MATHout $\Rightarrow $

MATH

 

If we assume the wire is insulated then the rate of change of the total amount of heat in the segment is the amount of heat entering at $x_{1}$ minus the amount of heat leaving at $x_{2}:$

 

Rate of change of heat in a segment MATH

 

By the Fundamental Theorem of Calculus, we have

 

MATH(1) insert label $\qquad $

$\vspace{1pt}$

Also, the total amount of heat in the segment is given by

$\vspace{1pt}$

MATH

$\vspace{1pt}$

where $c$ is a constant related to the density and heat capacity of the wire.

$\vspace{1pt}$

Thus, the rate of change of heat in the segment is

$\vspace{1pt}$

MATH(2) insert label $\qquad $

 

Equating $\left( 1\right) $ and $\left( 2\right) $ gives

 

MATH

 

Moving the derivative in $\left( 2\right) $ through the integral sign and dividing through by $k$ yields

 

MATH

 

and since MATH is an arbitrary segment, we have

 

MATH(3) insert label

 

This is the one-dimensional heat equation. For simplicity we will assume $\frac{c}{k}=1.$

 

Fourier Series

To aid in solving $\left( 3\right) ,$ we review some facts about Fourier series. We make the definitions for the Fourier coefficients as follows:

 

MATH

 

MATH

 

MATH

 

where $f\left( x\right) $ represents an integrable function.

 

A series of the form

 

MATH

 

is called a Fourier series.

 

We can evaluate the Fourier coefficients more easily by observing whether the function under the integral is even or odd.

 

We will make use of the following:

 

Definition

A function $f(x)$ is said to be even if $f(x)=f(-x)$ and $f(x)$ is said to be odd if $f(-x)=-f(x)$ for all $x$ in the domain of $f.$

 

Observe that the cosines in a Fourier expansion are even functions and the sine terms are odd functions. Then, if $f$ is an even function $f(x)\sin (kx)$ is an odd function. Thus, the Fourier sine coefficient $b_{k}=0.$ Similarly, if $f$ is an odd function $f(x)\cos (kx)$ is also an odd function and $a_{k}=0.$ It follows that an even function has only cosine terms in its Fourier series and an odd function has only sine terms in its Fourier series. It is not difficult to prove that

 

MATHif $f$ is odd

 

MATHif $f$ is even

 

For example, consider the function $f(x)=x,$ $-\pi <x<\pi .$ Then, using the fact that $x$ is an odd function and $x\cos (x)$ is an odd function

 

MATH

 

MATH

 

Also, since $x\sin (kx)$ is an even function

 

MATH

 

Integration by parts gives us

 

MATH

MATH

 

MATH

MATH

 

MATH

 

Notice we used the observation MATH in the last step.

 

Thus, the Fourier series isMATH

 

Now, consider the function MATH

 

Then,

 

MATH

 

MATH

 

MATH

 

MATH

 

MATH

 

Then, the Fourier series is

 

MATH

 

A question to consider is whether the Fourier series has anything to do with the function. We have the following:

 

Definition

Let $f(x)$ be defined on the interval MATH Then the Fourier series for $f(x)$ converges to $f(x)$ if MATH the sequence MATH converges to $f(x).$ That is, MATH we have MATH We use MATH to represent the limit MATH

 

Theorem

Let $f$ be bounded and piecewise-monotone on MATH Then, the $2\pi $ periodic Fourier series of $f$ converges at every point $x$ to a periodic extension of $f.$ In particular, if $f$ is continuous at $x,$ then the series converges to $f(x).$ If $f$ is discontinuous at $x_{0,}$ the series converges to the average value MATH

 

In the examples above, you can see how partial sums of a Fourier series converge. In each of the examples, the function satisfies the conditions of boundedness and piecewise-monotonicity; thus the series converges to the values claimed in the theorem. The above theorem is useful provided we know the function will converge.

 

Since the partial sums of a Fourier series are periodic functions, a function to which they converge must also be periodic. This is called a periodic extension of $f$.

 

For example, consider the function $f(x)=x.$ We have shown that the Fourier series is:

 

MATH

 

Since $f$ is continuous on MATH we expect the partial sums to converge to $f(x)=x$ on the interval MATH

 

MATH

 

MATH

 

MATH

 

MATH

 

$\vdots $

 

This is depicted by the following

 

Insert picture of partial sums.

 

Notice that at the endpoints, i.e., $x=-\pi ,x=\pi ,$ the series converges to the average value MATH

 

Solving the Heat Equation

To solve the heat equation with boundary conditions

 

MATH(4) insert label

 

and initial condition

 

MATH(5) insert label

 

we use separation of variables. We guess the solution can be written

 

$u(x,t)=X(x)T(t).$

 

Substitution in the equation yields:

 

MATH $^{\prime }(t)$

 

MATH $^{\prime }(x)T(t)$

 

MATH MATH

 

We then have

 

$X(x)T$ $^{\prime }(x)=X$ MATH

 

dividing through by $T(t)X(x)$ gives

 

MATH

 

In order for this to be true, there must be a constant $-\lambda ^{2}$ such that

 

MATH

 

This gives the equations

 

$T$ MATH(6) need to label

$X$ MATH(7) need to label

 

The solution to $\left( 4\right) $ and $\left( 5\right) ,$ respectively, are

 

MATH(8) need to label

 

MATH(9) need to label

 

Since $u(0,t)=0$ we need $X(0)=0$ thus, $c_{1}=0.$ Similarly, $u(\pi ,t)=0$ requiring $X(\pi )=0$ and MATH

 

This can be achieved by letting $\lambda =k=int.$ Then, we have

 

MATH

 

$T(t)=ce^{-k^{2}t}$

 

We will solve $(4)$ and $(5)$ using a series of the form

 

MATH(10) need to label

 

To satisfy the initial condition $u(x,0)=h(x),$ we let $t=0$ in $(10)$ and get

 

MATH

 

We then find a Fourier sine series for $h(x).$

 

Let us now turn to the problem of explicitly solving the heat equation, i.e., MATH subject to the following boundary and initial conditions:

 

$u(0,t)=u(\pi ,t)=0$

 

MATH

 

$0<x<\pi $

 

Insert graph of $h(x)$

 

We can extend $h$ on the interval MATH in such a way that the cosine terms in the expansion of $h$ will all be zero, leaving only the sine terms to be computed. We do this by extending the graph of $h$ asymmetrically, about the vertical axis so as to represent an odd function. Then, $a_{k}=0$ because $h(x)\cos (kx)$ is an odd function on MATH

This follows from the theorem known as the superposition principle.

Theorem

If MATH are solutions of a homogeneous linear partial differential equation, then the linear combination MATH where $c_{i},$ $i=1,2,...,k$ are constants, is also a solution.

 

We then need only to find the Fourier series for $b_{k}$ thus,

 

MATH

 

then,

 

MATH if $k\neq 1$.

 

Thus,

 

MATH

 

MATH

 

Let

 

$cc_{2}=1$

$k=1$

 

then,

 

MATH

 

and

 

MATH

 

which satisfies the conditions.

 

Let us solve the heat equation, i.e.,

 

MATH

 

subject to the following boundary and initial conditions:

 

$u(0,t)=u(\pi ,t)=0$

 

$u(x,0)=x$

 

$0<x<\pi $

 

Insert Graph

 

By extending $h$ as before, we obtain $a_{k}=0.$

 

$h(x)=x,$ $-\pi <x<\pi $

 

Solving for $b_{k}$ we use the fact that the Fourier coefficient is

 

MATH

 

Thus,

 

MATH

 

Letting $cc_{2}=b_{k}$ we have

 

MATH

 

Thus,

 

MATH

 

and

 

MATH

 

Since $b_{k}$ are the Fourier coefficients of $x,$ we have

 

MATH

 

Thus, the conditions are satisfied.

 

The Inverse Heat Equation

Insert picture for inverse heat equation.

 

Let $f(x)$ be the temperature distribution in a wire at a time $t=0.$ Then, if we hold the temperature at the endpoints fixed, the temperature distribution in the wire at time $t>0$ is given by $u(x,t)$ and it satisfies the following condition:

 

MATH(11) need to label

 

Notice we have assumed the temperature at the endpoints is zero. Now suppose $h(x)$ is the temperature distribution in a wire at a fixed time $T>0.$ Our goal is to find an initial value $f(x)$ such that if we solve $(11)$ with $f(x)$ as the initial heat distribution then $u(x,T)=h(x).$ This is called the inverse heat problem.

 

Let us solve the heat equation subject to the following initial and boundary conditions:

 

$u(x,T)=c\sin (kx)$

 

$u(0,t)=u(\pi ,t)=0$

 

$t\geq T$

 

The Fourier series of $u(x,T)=c\sin (kx).$ From separation of variables we obtain

 

MATH

 

Then,

 

MATH

 

is a solution to the inverse heat problem.

 

The inverse heat problem does not always have a solution.

 

Consider solving the heat equation subject to the following conditions:

 

$u(x,T)=c\sin (kx)$ for some fixed $T>0$

 

MATH for $t>T$

 

We guess:

 

$u(x,t)=w(x,t)+v(x)$

 

where

 

MATH

 

since

 

$u(x,T)=w(x,T)+v(x)$

 

we need

 

MATH

 

thus

 

MATH

 

This will satisfy

 

MATH with MATH and MATH

 

Then, the Fourier series for each is

 

MATH

 

MATH

 

MATH

 

thus,

 

MATH

 

From separation of variables we obtain

 

MATH

 

We want:

 

MATH

 

If we let $c_{0}=-\alpha ,$ notice

 

MATH

 

where

 

MATH

 

Then,

 

MATH

 

So, we want

 

MATH

 

We need

 

MATH

 

MATH

 

$c_{0}=-\alpha $

 

Thus,

 

MATH

 

So,

 

MATH

 

MATH

 

But,

 

MATH

 

and this will not converge as $e^{Tj^{2}}$grows without bound!

 

This leads us to the task of making further assumptions and eventually arriving at a possible solution to the inverse heat problem. Remember, we want $u(x,t)$ to converge. In this manner we can find a solution. Let's find $u(x,0)$ where $u(x,t)$ satisfies the following

 

MATH

 

$u(x,T)=h(x)$

 

$u(0,t)=u(\pi ,t)=0$

 

The following new theorem (will call Mando's Theorem or Perez Theorem) is proposed and proved.

 

Theorem

Suppose MATH Then, there exists a solution to the inverse heat problem.

 

Proof:

 

From separation of variables we guess

 

MATH

 

Then, the Fourier series for $u(x,T)$ is

 

MATH

 

We want

 

MATH

 

Let's define

 

MATH

 

MATH

 

Then

 

MATH

 

So,

 

MATH

 

and this is our solution to the inverse heat problem.

 

Conclusion (under construction)

In conclusion, we have shown that starting with a simple one-dimensional heat equation we can further investigate its properties and arrive at a "backward" heat equation. This is called the Inverse Heat Problem. Solutions to this problem do not always exist, but we have shown that under certain assumptions we can indeed find a solution. The methods and results used in this paper can be readily applied to other more complex problems. These include, but are not limited to, the wave equation, Laplace's equation in two dimensions, and the telegraph equation. Further study leads to useful insights on electron beam lithography, an area of particular concern in industrial mathematics. Need to expand paragraphs, etc...Include electron beam lit...

This document created by Scientific Notebook 4.1.