CHAPTER 4. Introduction to the. Heat Conduction Model

Similar documents
MATH 261 MATH 261: Elementary Differential Equations MATH 261 FALL 2005 FINAL EXAM FALL 2005 FINAL EXAM EXAMINATION COVER PAGE Professor Moseley

Method of Separation of Variables

Math Assignment 14

Partial Differential Equations Summary

13 PDEs on spatially bounded domains: initial boundary value problems (IBVPs)

CHAPTER 1. Theory of Second Order. Linear ODE s

CHAPTER 5. Higher Order Linear ODE'S

Solving the Heat Equation (Sect. 10.5).

THE METHOD OF SEPARATION OF VARIABLES

Partial Differential Equations Separation of Variables. 1 Partial Differential Equations and Operators

Math 251 December 14, 2005 Answer Key to Final Exam. 1 18pt 2 16pt 3 12pt 4 14pt 5 12pt 6 14pt 7 14pt 8 16pt 9 20pt 10 14pt Total 150pt

Chapter 12 Partial Differential Equations

Chapter 10: Partial Differential Equations

MATH 251 Final Examination May 3, 2017 FORM A. Name: Student Number: Section:

Boundary-value Problems in Rectangular Coordinates

MATH 251 Final Examination August 14, 2015 FORM A. Name: Student Number: Section:

Partial Differential Equations

CHAPTER 2. Techniques for Solving. Second Order Linear. Homogeneous ODE s

Mathematical Modeling using Partial Differential Equations (PDE s)

Introduction to Partial Differential Equations

MATH 251 Final Examination December 16, 2015 FORM A. Name: Student Number: Section:

Strauss PDEs 2e: Section Exercise 4 Page 1 of 6

CLASSIFICATION AND PRINCIPLE OF SUPERPOSITION FOR SECOND ORDER LINEAR PDE

Final: Solutions Math 118A, Fall 2013

Midterm 2: Sample solutions Math 118A, Fall 2013

17 Source Problems for Heat and Wave IB- VPs

Partial Differential Equations

Separation of Variables. A. Three Famous PDE s

Linear Differential Equations. Problems

Homework 7 Solutions

CHAPTER 3. Matrix Eigenvalue Problems

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01

Math 201 Assignment #11

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01

Homework for Math , Fall 2016

MATH 251 Final Examination December 19, 2012 FORM A. Name: Student Number: Section:

BOUNDARY-VALUE PROBLEMS IN RECTANGULAR COORDINATES

MATH 251 Final Examination December 16, 2014 FORM A. Name: Student Number: Section:

Partial differential equation for temperature u(x, t) in a heat conducting insulated rod along the x-axis is given by the Heat equation:

MA 201: Method of Separation of Variables Finite Vibrating String Problem Lecture - 11 MA201(2016): PDE

PDE and Boundary-Value Problems Winter Term 2014/2015

THE WAVE EQUATION. F = T (x, t) j + T (x + x, t) j = T (sin(θ(x, t)) + sin(θ(x + x, t)))

Math 251 December 14, 2005 Final Exam. 1 18pt 2 16pt 3 12pt 4 14pt 5 12pt 6 14pt 7 14pt 8 16pt 9 20pt 10 14pt Total 150pt

Classification of partial differential equations and their solution characteristics

Vibrating Strings and Heat Flow

2.4 Eigenvalue problems

DUHAMEL S PRINCIPLE FOR THE WAVE EQUATION HEAT EQUATION WITH EXPONENTIAL GROWTH or DECAY COOLING OF A SPHERE DIFFUSION IN A DISK SUMMARY of PDEs

Ma 221 Final Exam Solutions 5/14/13

Last Update: April 7, 201 0

Problem set 3: Solutions Math 207B, Winter Suppose that u(x) is a non-zero solution of the eigenvalue problem. (u ) 2 dx, u 2 dx.

MB4018 Differential equations

Math 5587 Midterm II Solutions

Introduction to Sturm-Liouville Theory and the Theory of Generalized Fourier Series

6 Non-homogeneous Heat Problems

Subject: Mathematics III Subject Code: Branch: B. Tech. all branches Semester: (3rd SEM) i) Dr. G. Pradhan (Coordinator) ii) Ms.

Take Home Exam I Key

Separation of Variables

INTRODUCTION TO PDEs

MATH 251 Final Examination August 10, 2011 FORM A. Name: Student Number: Section:

v(x, 0) = g(x) where g(x) = f(x) U(x). The solution is where b n = 2 g(x) sin(nπx) dx. (c) As t, we have v(x, t) 0 and u(x, t) U(x).

MATH3203 Lecture 1 Mathematical Modelling and ODEs

Boundary value problems for partial differential equations

Chapter 3 Second Order Linear Equations

MA 201, Mathematics III, July-November 2016, Partial Differential Equations: 1D wave equation (contd.) and 1D heat conduction equation

Problem (p.613) Determine all solutions, if any, to the boundary value problem. y + 9y = 0; 0 < x < π, y(0) = 0, y (π) = 6,

The One-Dimensional Heat Equation

c2 2 x2. (1) t = c2 2 u, (2) 2 = 2 x x 2, (3)

Class Meeting # 2: The Diffusion (aka Heat) Equation

Partial differential equations (ACM30220)

LECTURE 33: NONHOMOGENEOUS HEAT CONDUCTION PROBLEM

Lecture6. Partial Differential Equations

Lucio Demeio Dipartimento di Ingegneria Industriale e delle Scienze Matematiche

MATH-UA 263 Partial Differential Equations Recitation Summary

The 1-D Heat Equation

Physics 6303 Lecture 8 September 25, 2017

Separation of variables

Chapter 18. Remarks on partial differential equations

Midterm Solution

Review For the Final: Problem 1 Find the general solutions of the following DEs. a) x 2 y xy y 2 = 0 solution: = 0 : homogeneous equation.

Diffusion - The Heat Equation

M.Sc. in Meteorology. Numerical Weather Prediction

McGill University April 20, Advanced Calculus for Engineers

10 Motivation for Fourier series

Math 2930 Worksheet Final Exam Review

Transforming Nonhomogeneous BCs Into Homogeneous Ones

Section 12.6: Non-homogeneous Problems

Lecture Introduction

Physics 250 Green s functions for ordinary differential equations

More Techniques. for Solving First Order ODE'S. and. a Classification Scheme for Techniques

Mathématiques appliquées (MATH0504-1) B. Dewals, Ch. Geuzaine

[Engineering Mathematics]

Before we look at numerical methods, it is important to understand the types of equations we will be dealing with.

CHAPTER 7. An Introduction to Numerical Methods for. Linear and Nonlinear ODE s

Math 311, Partial Differential Equations, Winter 2015, Midterm

Differential Equations

Chapter 2 Boundary and Initial Data

Q ( q(m, t 0 ) n) S t.

LECTURE 19: SEPARATION OF VARIABLES, HEAT CONDUCTION IN A ROD

FOURIER SERIES, TRANSFORMS, AND BOUNDARY VALUE PROBLEMS

PDE and Boundary-Value Problems Winter Term 2014/2015

Transcription:

A SERIES OF CLASS NOTES FOR 005-006 TO INTRODUCE LINEAR AND NONLINEAR PROBLEMS TO ENGINEERS, SCIENTISTS, AND APPLIED MATHEMATICIANS DE CLASS NOTES 4 A COLLECTION OF HANDOUTS ON PARTIAL DIFFERENTIAL EQUATIONS (PDE's) CHAPTER 4 Introduction to the Heat Conduction Model 1. Introduction to Partial Differential Equations (PDE s). Derivation of the Heat Conduction Equation Using Conservation of Energy 3. The Boundary Value Problem for the Heat Conduction Model 4. Method of Separation of Variables 5. Derivation and Solution of the ODE Eigenvalue Problem 6. General Solution of the PDE and Boundary Conditions 7. Introduction to the Solution of the Heat Conduction Model Ch. 4 Pg. 1

Handout #1 INTRODUCTION TO PARTIAL DIFFERENTIAL Prof. Moseley EQUATIONS (PDES) We begin by giving several examples of partial differential equations. For each equation, be able to identify its common name and the physical situation that it is used to model. To obtain a complete model of the dynamic behavior of a physical situation, boundary and initial conditions must be specified for the partial differential equation. For steady-state (equilibrium) behavior, only boundary conditions are needed. PDE COMMON NAME USED TO MODEL 1. u tt = c uxx 1-(space) dimensional Dynamic behavior of the vibrations ( u tt ) c u xx = 0) wave equation in a taut elastic string with no (homogeneous) external force applied to the string.. u t = c uxx 1-(space) dimensional Dynamic behavior of heat conduction (u t ) c u xx = 0) heat (diffusion) equation in a rod (bar) with no external heat (homogeneous) source applied to the rod. 3. u xx + u yy = 0 -(space) dimensional 1. Steady state deformation of a (homogeneous) Laplace's equation drum head with boundary deformation and no external force applied to the drum head.. Steady state heat conduction in a plate with an external nontime- varying heat source applied to the plate. 4. u xx + u yy = f(x,y) -(space) dimensional 1. Steady state deformation of an (nonhomogeneous) Poisson's equation elastic drum head with fixed boundary deformation and an external non-time-varying force (e.g. gravity or a mechanical force) on the drum head... Steady state heat conduction in a plate with an external non-timevarying heat source applied to the plate. 5. u tt = c (u xx + u yy) -(space) dimensional Dynamic behavior of the vibrations (u tt ) c (u xx + u yy) = 0 ) wave equation of an elastic drum head with no (homogeneous) external force applied to the drum head. Ch. 4 Pg.

6. u t = c (u xx + u yy) -(space) dimensional Dynamic behavior of heat conduction (u t ) c (u xx + u yy) = 0) heat (diffusion) equation in a plate with no external heat (homogeneous) source applied to the plate. 7. u xx + u yy + u zz = 0 3-(space) dimensional 1. Steady state deformation of an (homogeneous) Laplace's equation elastic body in space with boundary (Using the notation deformations but no external force u = u = 0) applied internally to the body.. Steady state heat flow in a body with no external heat source applied internally to the body. 8. u xx + u yy + u zz = f(x,y) 3-(space) dimensional 1. Steady state deformation of an (nonhomogeneous) Poisson's equation elastic body in space with an external (Using the notation non-time-varying force (e.g. gravity) u = u = 0) applied internally to the body.. Steady state heat flow in a body with no external non-time-varying heat source applied internally to the body. 9. u tt = c (u xx + u yy + u zz) 3-(space) dimensional Dynamic behavior of the vibrations ( u tt ) c (u xx + u yy + u zz)= 0 ) wave equation of an elastic body with no external (homogeneous) force applied internally to the (Using the notation body. u = u = u) tt 10. u t = c (u xx + u yy + u zz) 3-(space) dimensional Dynamic behavior of heat conduction (u t ) c (u xx + u yy + u zz) = 0 ) heat (diffusion) equation in a body in space with no external (homogeneous) heat source applied internally to the (Using the notation body. u = u = u) t Ch. 4 Pg. 3

PDE's DERIVATION OF THE HEAT CONDUCTION EQUATION Handout # USING CONSERVATION OF ENERGY Prof. Moseley To develop a mathematical model for heat conduction in a rod, we first use conservation of energy to determine how heat flows in within the rod. This results in the heat (or diffusion) equation. We begin this process by noting some facts about heat conduction. These are a result of experimentation, observation, and measurement to validate theoretical physics. 1. Conservation of energy. Heat energy is neither created or destroyed in the rod or bar.. Fourier's Law (Newton's "Microscopic or Continuous" Law of Cooling) The rate at which heat energy H is transferred through an area A is proportional to A and to the directional derivative of the temperature field normal to the area 3. Heat flows in the direction of decreasing temperature T (i.e. hot to cold). This is a result of the convention of using a scale that assumes that hotter bodies (i.e. those with more internal energy) have a higher temperature than cooler bodies (those with less internal heat energy). Thus, in general = k A ( ) T ) = ) k A( + + ) ( n x + n y + n z) = ) k A( n x + n y + n z) where T is the gradient of the scalar field of temperatures T = T(x, y, z, t) = T(, t), = n + n + n is the unit normal to the area A which points in the positive direction x y z and has unit length, and k is the proportionality constant. For a long rod (or bar) of length that is insulated on its sides, we assume that T = T(x,t) (i.e. that the temperature does not vary over the cross section and hence heat flows only in the direction of ) T/x. //////////////////////////////////////////////////////////////////////////////////////////////////////// )))))))))))))))))))))))))))))))))))))))))))))))))) /)))))))))))))))))))))))))))))))))))))))))))))))))) * * * * )))))))))))))))))))))))))))))))))))))))))))))))))) ///////////////////////////////////////////////////////////////////////////////////////////////////////// )))))))))))))))))))))))))))))))))))))))))))))))))))))))) * * X 0 Before proceeding, we review Newton's Law of Cooling as developed for first order ODEs: When two bodies are in contact with one kept at a constant temperature T 0, then the rate at which the temperature of the other body changes is proportional to the difference in temperature between the two bodies. That is, Ch. 4 Pg. 4

= -k ( T ) T 0 ). (1) The minus sign insists that heat flow from hot to cold. The difference in temperatures (T ) T ) corresponds to the directional derivative in the microscopic (continuous) model. 0 ))))))))))))))))))) * /)))))))))) A*))))))) * T * T 0 * * * * )))))))))))))))))))) Body 1 Body )))))))))))))))))) Direction of heat flow if T > T 0 We might refer to Eq. (1) as the macroscopic (or discrete) form of Newton's Law of Cooling since it gives only macroscopic effects. Realistically, we cannot sustain a jump discontinuity between two bodies in contact. ÄV )))))))))))))))))))))))))))))))))))))))))))))))) * * /)))))))))))))))))))) A*) *)))))))))))))))))))))) )* * * * * * * ))))))))))))))))))))))))))))))))))))))))))))))))) x x+äx ))))))))))))))))))))))))))))))))))))))))))))))))))))))) * * X 0 We apply the Law of Conservation of energy to the volume ÄV by calculating the rate at which the heat is flowing out of the volume ÄV in two ways. We first compute the heat flowing across the boundary. To do this we apply Fourier's Law (Newton's "Microscopic or Continuous" Law of Cooling) to the two cross sectional boundaries, the one at x and the one at x+äx. Let T(x,t) = the temperature distribution over the rod at time t and H = Quantity of heat energy in the volume ÄV. ÄV Then Fourier's Law implies Rate at which Heat energy crosses any cross section A (to the right) = ) K A where T/x is evaluated at that cross section and K = thermal conductivity ( ) = proportionality constant. For any volume in space, the rate at which heat energy crosses the boundary of the volume is given by the surface integral (i.e. we sum up the heat flow through all of the boundaries): Ch. 4 Pg. 5

Rate at which heat energy crosses the boundary =. Since the sides are insulated, there is no heat flow out of the sides. Since the heat flow into ÄV is, the heat flow out of ÄV is given by ) = ( Heat flow out at x+äx) ) ( Heat flow in at x ) = ( ) K A T x(x+äx,t) ) ) ( ) K A T x(x,t) ) ( T x(x,t) = T/x ) = ) K A ( T (x+äx,t) ) T (x,t) ) () x x On the other hand, we can also calculate the heat flow out of the volume V as follows: H ÄV = Quantity of heat energy in ÄV = Sum of the energy in each dv in ÄV = = s ñ A s ñ A T(x,t) Äx where s = specific heat ( ) ñ = mass density ( ) Units check (dimensional analysis) s ñ A T Äx ( ) ( ) ( cm ) ( deg ) ( cm) = ( calories) Since the heat flow into ÄV is, the heat flow out of ÄV is ) ) s ñ A T t Äx (3) where T t = T/t. Equating our two expressions for ) H/t, Equations () and (3), we obtain Solving for T t we obtain ) K A (T x(x,t) ) T x(x,t) ) ) s ñ A T t Äx. (4) Ch. 4 Pg. 6

T t = Letting Äx 0 we obtain T = á T where á = K/(sñ) > 0. (6). t xx Note that á depends only on the properties of the material. This derivation can be done more generally in three space dimensions by using Gauss's divergence theorem. Since we will use T for a different function in the process of separation of variables, we rewrite (6) using the standard notation with temperature being u as u = á u. (7) t xx Ch. 4 Pg. 7

PDE's THE BOUNDARY VALUE PROBLEM FOR Handout #3 THE HEAT CONDUCTION MODEL Prof. Moseley The heat equation can be written in the standard form L[u] = 0, where L[u] = u t á u xx. The null space of the linear operator L is infinite dimensional. To obtain a model for heat conduction in a rod of length which is insulated on the sides (i.e. whose solution uniquely determines the value of the temperature at each point in the rod for all nonnegative time), we must add boundary conditions at the ends of the rod and an initial temperature distribution at t = 0 over the length of the rod to the PDE u t = á u xx. Recall that the PDE forces conservation of energy internally in the rod. The assumption that the sides are insulated implies that the problem is one dimensional and forces conservation of energy on the sides. To assure conservation of energy, we must also specify conditions at both ends of the rod. Several possibilities arise. However, for mathematical convenience we begin with homogeneous Direchet boundary conditions. That is, we require the temperature at both ends to be zero. Later, we will see how to handle arbitrary temperatures (nonhomogeneous conditions) and insulated ends (Neuman conditions). PDE u t = á uxx 0 < x <, t > 0 BVP BC u(0, t) = 0, u(,t) = 0 t > 0 (homogeneous Dirichet boundary conditions) IC u(x,0) = u 0(x) 0 < x < (initial temperature distribution) We can represent this BVP schematically as follows: * u(x,o) =f(x) )))))))))))))))))))))) / \ * */ )))))))))))))) ))))))))))))))))))))))))))))))))))))))))))))))))))))))))) * * X 0 ))) u(0,t) = 0 * //////////////////////////////////////////////////////////////////////////////////////////////////////// )))))))))))))))))))))))))))))))))))))))))))))))))) * /))))))))))))))))))))))))))))))))))))))))))))))))) * * )) u(,t)=0 * * )))))))))))))))))))))))))))))))))))))))))))))))))) ///////////////////////////////////////////////////////////////////////////////////////////////////////// )))))))))))))))))))))))))))))))))))))))))))))))))))))))) * * X 0 Ch. 4 Pg. 8

To formulate the heat conduction in a rod problem as a linear mapping problem we let D = (,) (0,), = [,] [0,), A HC(,R;) = {u(x,t)f(,r): ua (D,R)C(,R)} and L HC(á,):A HC(,R;) A (D,R) be defined by L HC(á,)[u] = u t á u xx. Now let A HC,0(,R;) = {u(x,t)a HC(,R)): u(0,t) = 0 and u(,t) = 0 for t > 0}, L HC,0(á,):A HC,0(,R) A (D,R) be defined by L HC,0(á,)[u] = u t á u xx, Thus we incorporate the boundary conditions into the domain of the operator. Often, instead of specifying a notation for these cases, we let L[u] = u t á u xx and describe the domain we intend. However, it is important to recall that the domain is part of the definition of an operator. Hence you should have a clear understanding of the domain of interest in any particular discussion. Now let be the null space of L (á,) and A (,R;á,) = {u(x,t) : u(x,0) } and A (,R;á,) HC,0,o,fs HC,0,o,fs {u(x,t) : u(x,0) }. Hence A (,R;á,) A (,R) HC,0 HC HC,0,o,ffs A (,R) A (,R;). We would like a "basis" for. We will obtain a linearly independent set that is a Hamel basis for A HC,0,o,ffs(,R;á,) and a Schauder basis for A (,R). HC,o,fs HC,0 HC,o,fs Ch. 4 Pg. 9

PDE Handout #4 METHOD OF SEPARATION OF VARIABLES Prof. Moseley Recall that to solve the homogeneous linear system with constant coefficients given by = 0 (1) r t we assumed (i.e. guessed) that there was a solution of the form = e where r is a constant and is a constant (i.e. independent of t, but the components can be different) vector to be determined later. This yielded an eigenvalue problem whose solution yielded a basis for the null space of the operator L[] = A. To solve the linear PDE ("with constant linear coefficients") given by u = á u () t xx and the BCs u(0, t) = 0, u(,t) = 0 t > 0 (homogeneous Dirichet boundary conditions) we r t could assume (i.e. guess and hope that there is ) a solution of the form u(x,t) = X(x) e. Our hopes would be fulfilled. However, we need not assume the form of the time function. This need not be guessed, but can be determined by the process. Since this makes our method more general, we assume (i.e. need only guess and hope that there is) a solution of the form u(x,t) = X(x) T(t). (3) and substitute into the Equation () using u t = = X(x) Tw'(th)ere T(t) = u xx = = X(x) T(t) where X(x) = Omitting the function notation we obtain X T = á X T. (4) r t r t If we had assumed that u(x,t) = X(x) e, then since e would have appeared on both sides, we would have obtained r X = á X, a second order linear homogeneous ODE with constant coefficients. Instead, we use separation of the variables. Dividing both sides by á X T, we obtain Ch. 4 Pg. 10

= or = = ë = constant (5) Note that we have some choices. Since á is a constant, we could put it on either side of the equation. It is not a priori evident that this choice will make the notation slightly easier later. r t r t If we had assumed u(x,t) = X(x) e, then the e factor would "cancel" and we would have obtained r/á = X/X = constant. The standard argument for the more general technique is as follows: Since the left side of Equation (5) ( T/(á T) ) is a function of t only and the other side (X/X ) is a function of x only, the only way that they can be equal (i.e. the only way to obtain solutions of the form u = XT) is for both sides to be constant. Whether you believe the argument justifies setting both sides equal to the same constant is in some sense unimportant, if we can come up with a solution of any form by any method, we can check that it is a solution by substituting it back into the equation. We make no uniqueness claim, either that all solutions are of the form obtained, or that we have obtained all solutions of this form. The choice of ) ë (instead of +ë) will make the notation easier later, but again this is not a priori apparent. The various choices are not substantively different, and any is "correct". Equation (5) yields the two ODEs X'' + ëx = 0 (space equation) (6) T' + ëá T = 0 (time equation) (7) The lack of minus signs in these two equations explains our choice of ë. The next step is to derive an ODE eigenvalue problem using the homogeneous boundary conditions and the space equation. Not having to deal with á in this process explains why we put it with the time equation. The EVP results from addressing the linear operator consisting of L[u] = u t á uxx and the BCs u(0, t) = 0, u(,t) = 0, t > 0 (homogeneous Dirichet boundary conditions). The dimension of the null space of the linear operator (even with the restrictions imposed by the boundary conditions) is infinite. Ch. 4 Pg. 11

Handout #5 DERIVATION AND SOLUTION OF Prof. Moseley THE ODE EIGENVALUE PROBLEM Recall that by assuming a solution of the form u(x,t) = X(x) T(t) and applying the process of separation of variables to the heat conduction equation (PDE) we obtained the two ODEs X'' + ëx = 0 (space equation) (1) T' + ëá T = 0 (time equation) () Also recall that the BCs for the BVP for the model of heat conduction in a rod with homogeneous Dirichet BCs (both ends of the rod are at zero degrees) are given by BC u(0, t) = 0, u(,t) = 0 t > 0 (homogeneous Dirichet boundary conditions) Applying these two conditions to u(x,t) = X(x) T(t), we obtain u(0,t) = X(0) T(t) = 0, u(,t) = X() T(t) = 0 for all t > 0 (3) For Equation (3) to hold for all t > 0, we must have either T(t) = 0 for all t>0, which means u(x,t) = X(x) T(t) = 0 for all t > 0 (u=0 is the trivial solution which satisfies the BC and the initial condition u(x,0) = 0) or X(0) = 0 and X( ) = 0 for all t > 0 (a more likely prospect to obtain a collection of solutions. Putting the space ODE with these BCs, we obtain the ODE BVP X'' + ëx = 0 (4) X(0) = 0, X() = 0 t > 0 (5) We solve this ODE EVP using the standard procedure. As previously indicated, this will yield a basis of the null space of the linear operator defined by L[u] = u t ) á u xx and the BCs u(0, t) = 0, u(,t) = 0, for all t > 0 (homogeneous Dirichet boundary conditions). Recall that the dimension of this null space is infinite even with the restrictions imposed by the BCs. SOLUTION TO THE ODE EVP. Although it is not readily apparent, it is well known that the operator consisting of L[X] = X'' + ëx and the BCs X(0) = 0, X() = 0 for all t > 0 is selfadjoint. (This is analogous to an operator defined by matrix multiplication being Hermitian.) Thus we know that the eigen values are real. (We also refer to the problem as self-adjoint.) rt Substituting X = e into the ODE we obtain the auxiliary equation: r + ë = 0. Auxiliary Equation Hence r 1, = ±. We consider three cases: Case 1. ë < 0. We have ë < 0 implies ë > 0 so that the roots r 1 = and Ch. 4 Pg. 1

r = are real and distinct. Hence the general solution of the ODE is given by Applying the BCs we obtain X(x) = c 1 + c or or X(0) = 0 = c 1 + c X() = 0 = c 1 + c 0 = c 1 + c which implies c = c1 0 = c 1 + c so that 0 = c 1 c 1 c 1 ( = 0. Hence either c 1 = 0 or = 0. There is something wrong with both of these cases. c = 0 implies c = ) c = 0 as well and hence X(x) = 0 x [0, ]. This is the 1 1 trivial solution and never part of any basis. We can handle = 0 two x ways: (1) Directly using the properties of the exponential function e, or () dividing the equation by and recalling that ( )/ = sinh( ). We use method () a leave (1) as an exercise. Using method () we obtain sinh ( ) = 0. But the only zero of sinh(x) is zero ( recall the graph of sinh(x) ). Hence we obtain = 0. Hence (since 0 ), = 0, so that ë = 0. But we assumed in this case that ë 0. Hence it can not be the case that = 0 since this implies that ë = 0 and this is not allowed in this case. The result is that there are no eigenvalues for ë < 0 (i.e. no negative eigenvalues) Case. ë = 0 so that the roots r 1, = 0, 0. are real and repeated. Hence the general solution of the ODE is given by Applying the BCs we obtain so that X(x) = c 1 + c x X(0) = 0 = c 1 + c (0) which implies c 1 = 0 X() = 0 = c 1 + c () so that c = c 1/ = 0 X(x) = 0. for all x [0, ] Hence ë = 0 is not an eigenvalue. Ch. 4 Pg. 13

Case 3. ë > 0 so that the roots r 1, = ± = ± = ± i are not real (rec that ë is assumed to be real since the problem is self-adjoint) and distinct. Hence the general solution of the ODE is given by Applying the BCs we obtain X(x) = c 1 cos( x ) + c sin ( x ) X(0) = 0 = c 1 cos( 0 ) + c sin ( 0 ) or or X() = 0 = c 1 cos( ) + c sin ( ) 0 = c 1 cos(0 ) + c sin ( 0 ) 0 = c 1 cos( ) + c sin ( ) 0 = c 1 (1) + c ( 0 ) which implies c 1 = 0 0 = c 1 cos( ) + c sin ( ) so that c sin( ) = 0 Hence either c = 0 or sin ( ) = 0. c 1 = 0 and c = 0 implies X(x) = 0 for all x [0,]. This is the trivial solution and never part of any basis. Thus to obtain any eigenvalues, we must look for solutions of the "auxiliary equation" sin( ) = 0 (6) The zeros of sin(x) are n ð where n Z. Hence Hence, let = n ð Z (7) ë n = n Z (8) However, there is a problem with n = 0. If n = 0, then ë = 0. But we assumed ë > 0 for this case. Hence we must exclude n = 0. ë n = n = ± 1,, 3,.... (9) Note that ë n is the same whether n is positive or negative. Before excluding negative n, we need to see what the eigenfunctions ("vectors") are associated with n positive and n negative. The dimension of the null space of the linear operator L[X] = X'' + ë X is two independent of the value of ë. Hence the dimension of this operator L with the boundary conditions X(0) = 0 and X() = 0 must be either zero, one or two. Referring back to the solution of the ODE and the application of the BCs we see that X(x) = c cos( x ) + c sin ( x ) with c = 0. Thus 1 1 Ch. 4 Pg. 14

the eigenfunctions ("vectors") which are associated with these eigenvalues are X(x) = c sin ( x ) = c sin( nð/) n = ± 1,, 3,.... The eigen spaces are clearly one dimensional. Each eigen space is just the scalar multiples of a given function. Hence a basis for each is just X n(x) = sin( x ). n = ± 1,, 3,.... However there is a problem. Since sin(x ) = sin( x ) we see that the family of scalar multiplies of sin ( nð/) for n = 1,, 3,... and that of the scalar multiples of sin( nð/) for n = 1,, 3,... are exactly the same. Hence n negative generates no additional eigen functions. Summarizing, Eigenvalues TABLE Eigenfunctions ë 1 = X 1 = sin( x ) ë = 4ð / X = sin( )) x ) ë 3 = 9ð / X 3 = sin( x ) n ë = X = sin( x ) n When solving an eigen value problem for an ODE always summarize in a table as illustrated above giving several specific values and then the general case. Ch. 4 Pg. 15

Handout #5 GENERAL SOLUTION OF Prof. Moseley THE PDE AND BOUNDARY CONDITIONS We review the results of the process thus far. Applying the method of separation of variables to the PDE PDE u = á u (1) yielded the two ODEs t xx X'' + ëx = 0 (space equation) () T' + ëá T = 0 (time equation) (3) Application of the BCs u(0, t) = 0, u(,t) = 0 conditions) yielded the ODE EVP t > 0 (homogeneous Dirichet boundary X'' + ëx = 0 (4) X(0) = 0, X() =0 (5) Solution of this ODE EVP yielded the eigenvalues and eigenfunctions: Eigenvalues TABLE Eigenfunctions ë 1 = X 1 = sin( x ) ë = 4ð / X = sin( x ) ë 3 = 9ð / X 3 = sin( x ) ë = X = sin( x ) n n Solving Equation (3) we obtain the auxiliary equation r + ëá = 0 so that using Ch. 4 Pg. 16

ë = ë n = (nð/) we obtain T(t) = = Letting T (t) = n as solutions to the PDE and BCs PDE u = á u (6) t xx BC u(0, t) = 0, u(,t) = 0 t > 0 (homogeneous Dirichet boundary conditions) (7) we obtain u n(x,t) = T n(t) X n(x) = sin( x ) (8) By superposition (for the homogeneous PDE with homogeneous BC), a (finite) linear combination of (linearly independent) solutions is a solution. Hence we obtain that the family of solutions given by u(x,t) = where the c n's are arbitrary constants. It is interesting to note that as t, the temperature approaches the trivial, u(x,t) 0. Thus u (x,t) = 0 is the steady-state or equilibrium solution. ss Recall that a Hamel basis of an. Also recall that is the null space of L (á,) and A ( {u(x,t) : u(x,0) } and A HC,0,o,ffs(,R;á,) = {u(x,t) HC,0 HC,0,o,fs } so that A HC,0,o,ffs(,R;á,) A HC,o,ffs(,R). A HC,0(,R). that is a Hamel basis for A HC,0,o,ffs(,R;á,) an basis for A HC,o,fs(,R). Hence we can solve the initial value problem (IVP) if the initial condition (IC) u (x) is in. If u (x) the IVP is particular 0 0 Ch. 4 Pg. 17

EXAMPLE. Solve PDE u = u 0 < x < ð, t > 0 t xx BVP BC u(0, t) = 0, u(ð,t) = 0 t > 0 IC u(x,0) = 5 sin(x) + 3sin(3x) + sin(6x) 0 < x < ð Solution. First note that á = 1 and = ð. Hence the family of solutions given by (9) is u(x,t) = Thus at t = 0 we obtain u(x,0) = = c 1 sin(x) + c sin(x) + c 3 s i+n (s3inx()n+x) (11) Matching coefficients, we can satisfy the initial condition IC u(x,0) = 5 sin(x) + 3 sin(3x) + sin(6x) 0 < x < ð if we let c 1 = 5, c = 0, c 3 = 3, c 3 = c 4 = c 5 = 0, c 6 =, and c n = 0 for n = 7, 8, 9,.... Hence the solution is ) t ) 9 t ) 36 t u(x,t) = 5 e sin( x ) + 3 e sin( 3 x ) + e sin( 6 x ) (1) Note that since the exponent has n as a factor, the higher order terms decay much faster than the lower order terms. The IC for the above problem was nice. To handle more complicated IC, we consider letting N go to infinity. If there are no convergence problems, we obtain u(x,t) = as a family of solutions. That is, a "linear combination" of an infinite number of linearly independent solutions is in the null space of the linear operator defined by the PDE and the BCs and in some sense gives the "general" solution to the problem defined by the PDE and the BCs. Clearly the dimension of this null space is infinite.. We assume no convergence problems and blindly try to use (13) to satisfy the IC in the BVP Ch. 4 Pg. 18

PDE u = á u 0 < x <, t > 0 t xx BVP BC u(0, t) = 0, u(,t) = 0 t > 0 Letting t= 0 in (13) we obtain IC u(x,0) = f(x) 0 < x < u(x,0) = = Hence we require f(x) = x [0,] (14) Expressing an arbitrary function as the infinite sum of sine (and cosine) functions requires Fourier series. Ch. 4 Pg. 19