Example: marketing

2 Heat Equation - Stanford University

2 heat Equation Derivation Ref: Strauss, Section Below we provide two derivations of the heat Equation , ut kuxx = 0 k > 0. ( ). This Equation is also known as the diffusion Equation . Diffusion Consider a liquid in which a dye is being diffused through the liquid. The dye will move from higher concentration to lower concentration. Let u(x, t) be the concentration (mass per unit length) of the dye at position x in the pipe at time t. The total mass of dye in the pipe from x0 to x1 at time t is given by Z x1. M (t) = u(x, t) dx. x0. Therefore, Z x1. dM. = ut (x, t) dx. dt x0. By Fick's Law, dM. = flow in flow out = kux (x1 , t) kux (x0 , t), dt where k > 0 is a proportionality constant. That is, the flow rate is proportional to the concentration gradient. Therefore, Z x1. ut (x, t) dx = kux (x1 , t) kux (x0 , t). x0. Now differentiating with respect to x1 , we have ut (x1 , t) = kuxx (x1 , t).

the temperature gradient. The only way heat will leave D is through the boundary. That is, dH dt = Z @D •ru¢ndS: where @D is the boundary of D, n is the outward unit normal vector to @D and dS is the surface measure over @D. Therefore, we have Z D c‰ut(x;t)dx = Z @D •ru¢ndS:

Tags:

  Heat, Temperatures, Equations, Heat equation

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of 2 Heat Equation - Stanford University

1 2 heat Equation Derivation Ref: Strauss, Section Below we provide two derivations of the heat Equation , ut kuxx = 0 k > 0. ( ). This Equation is also known as the diffusion Equation . Diffusion Consider a liquid in which a dye is being diffused through the liquid. The dye will move from higher concentration to lower concentration. Let u(x, t) be the concentration (mass per unit length) of the dye at position x in the pipe at time t. The total mass of dye in the pipe from x0 to x1 at time t is given by Z x1. M (t) = u(x, t) dx. x0. Therefore, Z x1. dM. = ut (x, t) dx. dt x0. By Fick's Law, dM. = flow in flow out = kux (x1 , t) kux (x0 , t), dt where k > 0 is a proportionality constant. That is, the flow rate is proportional to the concentration gradient. Therefore, Z x1. ut (x, t) dx = kux (x1 , t) kux (x0 , t). x0. Now differentiating with respect to x1 , we have ut (x1 , t) = kuxx (x1 , t).

2 Or, ut = kuxx . This is known as the diffusion Equation . heat Flow We now give an alternate derivation of ( ) from the study of heat flow. Let D be a region in Rn . Let x = [x1 , .. , xn ]T be a vector in Rn . Let u(x, t) be the temperature at point x, 1. time t, and let H(t) be the total amount of heat (in calories) contained in D. Let c be the specific heat of the material and its density (mass per unit volume). Then Z. H(t) = c u(x, t) dx. D. Therefore, the change in heat is given by Z. dH. = c ut (x, t) dx. dt D. Fourier's Law says that heat flows from hot to cold regions at a rate > 0 proportional to the temperature gradient. The only way heat will leave D is through the boundary. That is, Z. dH. = u n dS. dt D. where D is the boundary of D, n is the outward unit normal vector to D and dS is the surface measure over D. Therefore, we have Z Z. c ut (x, t) dx = u n dS.

3 D D. Recall that for a vector field F , the Divergence Theorem says Z Z. F n dS = F dx. D D. (Ref: See Strauss, Appendix ) Therefore, we have Z Z. c ut (x, t) dx = ( u) dx. D D. This leads us to the partial differential Equation c ut = ( u). If c, and are constants, we are led to the heat Equation ut = k u, Pn where k = /c > 0 and u = i=1 uxi xi . heat Equation on an Interval in R. Separation of Variables Consider the initial/boundary value problem on an interval I in R, . ut = kuxx x I, t > 0. u(x, 0) = (x) x I ( ).. u satisfies certain BCs. In practice, the most common boundary conditions are the following: 2. 1. Dirichlet (I = (0, l)) : u(0, t) = 0 = u(l, t). 2. Neumann (I = (0, l)) : ux (0, t) = 0 = ux (l, t). 3. Robin (I = (0, l)) : ux (0, t) a0 u(0, t) = 0 and ux (l, t) + al u(l, t) = 0. 4. Periodic (I = ( l, l)): u( l, t) = u(l, t) and ux ( l, t) = ux (l, t).

4 We will give specific examples below where we consider some of these boundary condi- tions. First, however, we present the technique of separation of variables. This technique involves looking for a solution of a particular form. In particular, we look for a solution of the form u(x, t) = X(x)T (t). for functions X, T to be determined. Suppose we can find a solution of ( ) of this form. Plugging a function u = XT into the heat Equation , we arrive at the Equation XT 0 kX 00 T = 0. Dividing this Equation by kXT , we have T0 X 00. = = . kT X. for some constant . Therefore, if there exists a solution u(x, t) = X(x)T (t) of the heat Equation , then T and X must satisfy the equations T0. = . kT. X 00. = . X. for some constant . In addition, in order for u to satisfy our boundary conditions, we need our function X to satisfy our boundary conditions. That is, we need to find functions X.

5 And scalars such that (. X 00 (x) = X(x) x I. ( ). X satisfies our BCs. This problem is known as an eigenvalue problem. In particular, a constant which satisfies ( ) for some function X, not identically zero, is called an eigenvalue of x2 for the given boundary conditions. The function X is called an eigenfunction with associated eigenvalue . Therefore, in order to find a solution of ( ) of the form u(x, t) = X(x)T (t) our first goal is to find all solutions of our eigenvalue problem ( ). Let's look at some examples below. Example 1. (Dirichlet Boundary Conditions) Find all solutions to the eigenvalue problem . X 00 = X 0<x<l ( ). X(0) = 0 = X(l). 3. Any positive eigenvalues? First, we check if we have any positive eigenvalues. That is, we check if there exists any = 2 > 0. Our eigenvalue problem ( ) becomes 00. X + 2X = 0 0<x<l X(0) = 0 = X(l). The solutions of this ODE are given by X(x) = C cos( x) + D sin( x).)

6 The boundary condition X(0) = 0 = C = 0. The boundary condition n . X(l) = 0 = sin( l) = 0 = = n = 1, 2, .. l Therefore, we have a sequence of positive eigenvalues n 2. n =. l with corresponding eigenfunctions n . Xn (x) = Dn sin x . l Is zero an eigenvalue? Next, we look to see if zero is an eigenvalue. If zero is an eigenvalue, our eigenvalue problem ( ) becomes 00. X =0 0<x<l X(0) = 0 = X(l). The general solution of the ODE is given by X(x) = C + Dx. The boundary condition X(0) = 0 = C = 0. The boundary condition X(l) = 0 = D = 0. Therefore, the only solution of the eigenvalue problem for = 0 is X(x) = 0. By definition, the zero function is not an eigenfunction. Therefore, = 0 is not an eigenvalue. Any negative eigenvalues? Last, we check for negative eigenvalues. That is, we look for an eigenvalue = 2 . In this case, our eigenvalue problem ( ) becomes 00.

7 X 2X = 0 0<x<l X(0) = 0 = X(l). 4. The solutions of this ODE are given by X(x) = C cosh( x) + D sinh( x). The boundary condition X(0) = 0 = C = 0. The boundary condition X(l) = 0 = D = 0. Therefore, there are no negative eigenvalues. Consequently, all the solutions of ( ) are given by n 2 n . n = Xn (x) = Dn sin x n = 1, 2, .. l l . Example 2. (Periodic Boundary Conditions) Find all solutions to the eigenvalue problem . X 00 = X l < x < l ( ). X( l) = X(l), X 0 ( l) = X 0 (l). Any positive eigenvalues? First, we check if we have any positive eigenvalues. That is, we check if there exists any = 2 > 0. Our eigenvalue problem ( ) becomes 00. X + 2X = 0 l < x < l 0 0. X( l) = X(l), X ( l) = X (l). The solutions of this ODE are given by X(x) = C cos( x) + D sin( x). The boundary condition n . X( l) = X(l) = D sin( l) = 0 = D = 0 or = . l The boundary condition n.

8 X 0 ( l) = X 0 (l) = C sin( l) = 0 = C = 0 or = . l Therefore, we have a sequence of positive eigenvalues n 2. n =. l with corresponding eigenfunctions n n . Xn (x) = Cn cos x + Dn sin x . l l 5. Is zero an eigenvalue? Next, we look to see if zero is an eigenvalue. If zero is an eigenvalue, our eigenvalue problem ( ) becomes 00. X =0 l < x < l X( l) = X(l), X 0 ( l) = X 0 (l). The general solution of the ODE is given by X(x) = C + Dx. The boundary condition X( l) = X(l) = D = 0. The boundary condition X 0 ( l) = X 0 (l) is automatically satisfied if D = 0. Therefore, = 0 is an eigenvalue with corresponding eigenfunction X0 (x) = C0 . Any negative eigenvalues? Last, we check for negative eigenvalues. That is, we look for an eigenvalue = 2 . In this case, our eigenvalue problem ( ) becomes 00. X 2X = 0 l < x < l X( l) = X(l), X 0 ( l) = X 0 (l). The solutions of this ODE are given by X(x) = C cosh( x) + D sinh( x).

9 The boundary condition X( l) = X(l) = D sinh( l) = 0 = D = 0. The boundary condition X 0 ( l) = X 0 (l) = C sinh( l) = 0 = C = 0. Therefore, there are no negative eigenvalues. Consequently, all the solutions of ( ) are given by n 2 n n . n = Xn (x) = Cn cos x + Dn sin x n = 1, 2, .. l l l 0 = 0 X0 (x) = C0 .. 6. Now that we have done a couple of examples of solving eigenvalue problems, we return to using the method of separation of variables to solve ( ). Recall that in order for a function of the form u(x, t) = X(x)T (t) to be a solution of the heat Equation on an interval I R. which satisfies given boundary conditions, we need X to be a solution of the eigenvalue problem, 00. X = X x I. X satisfies certain BCs for some scalar and T to be a solution of the ODE. T 0 = k T. We have given some examples above of how to solve the eigenvalue problem. Once we have solved the eigenvalue problem, we need to solve our Equation for T.

10 In particular, for any scalar , the solution of the ODE for T is given by T (t) = Ae k t for an arbitrary constant A. Therefore, for each eigenfunction Xn with corresponding eigen- value n , we have a solution Tn such that the function un (x, t) = Tn (t)Xn (x). is a solution of the heat Equation on the interval I which satisfies our boundary conditions. Note that we have not yet accounted for our initial condition u(x, 0) = (x). We will look at that next. First, we remark that if {un } is a sequence of solutions of the heat Equation on I. which satisfy our boundary conditions, than any finite linear combination of these solutions will also give us a solution. That is, N. X. u(x, t) un (x, t). n=1. will be a solution of the heat Equation on I which satisfies our boundary conditions, assuming each un is such a solution. In fact, one can show that an infinite series of the form.


Related search queries