Separation of variables

Similar documents
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.

17 Source Problems for Heat and Wave IB- VPs

G: Uniform Convergence of Fourier Series

Wave Equation With Homogeneous Boundary Conditions

Chapter 10: Partial Differential Equations

Partial Differential Equations Summary

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

Method of Separation of Variables

Differential Equations

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

Midterm 2: Sample solutions Math 118A, Fall 2013

Solving First Order PDEs

Math 201 Assignment #11

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.

SAMPLE FINAL EXAM SOLUTIONS

Partial Differential Equations

Solving First Order PDEs

Ordinary Differential Equations II

# Points Score Total 100

MAE/MSE502 Partial Differential Equations in Engineering. Spring 2019 Mon/Wed 6:00-7:15 PM Classroom: CAVC 101

0 3 x < x < 5. By continuing in this fashion, and drawing a graph, it can be seen that T = 2.

CHAPTER 10 NOTES DAVID SEAL

Solving the Heat Equation (Sect. 10.5).

Introduction to Partial Differential Equation - I. Quick overview

Ma 221 Final Exam Solutions 5/14/13

MATH 412 Fourier Series and PDE- Spring 2010 SOLUTIONS to HOMEWORK 5

1 Separation of Variables

Math 4381 / 6378 Symmetry Analysis

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

Math 2930 Worksheet Final Exam Review

MATH-UA 263 Partial Differential Equations Recitation Summary

MAE502/MSE502 Partial Differential Equations in Engineering. Spring 2012 Mon/Wed 5:00-6:15 PM

Diffusion on the half-line. The Dirichlet problem

ECONOMICS 207 SPRING 2006 LABORATORY EXERCISE 5 KEY. 8 = 10(5x 2) = 9(3x + 8), x 50x 20 = 27x x = 92 x = 4. 8x 2 22x + 15 = 0 (2x 3)(4x 5) = 0

CHAPTER 4. Introduction to the. Heat Conduction Model

Higher-order ordinary differential equations

Find the Fourier series of the odd-periodic extension of the function f (x) = 1 for x ( 1, 0). Solution: The Fourier series is.

MA Chapter 10 practice

Lecture 19: Heat conduction with distributed sources/sinks

Vibrating-string problem

Definition of differential equations and their classification. Methods of solution of first-order differential equations

Physics 250 Green s functions for ordinary differential equations

Mathematical Methods and its Applications (Solution of assignment-12) Solution 1 From the definition of Fourier transforms, we have.

PDE: The Method of Characteristics Page 1

Separation of variables in two dimensions. Overview of method: Consider linear, homogeneous equation for u(v 1, v 2 )

Physics 6303 Lecture 8 September 25, 2017

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

Eigenvalue Problem. 1 The First (Dirichlet) Eigenvalue Problem

AMS 212A Applied Mathematical Methods I Lecture 14 Copyright by Hongyun Wang, UCSC. with initial condition

Math 5440 Problem Set 7 Solutions

Differential Equations DIRECT INTEGRATION. Graham S McDonald

f xx g dx, (5) The point (i) is straightforward. Let us check the point (ii). Doing the integral by parts, we get 1 f g xx dx = f g x 1 0 f xg x dx =

3. Identify and find the general solution of each of the following first order differential equations.

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01

2.4 Eigenvalue problems

DIFFERENTIAL EQUATIONS

DIFFERENTIAL EQUATIONS

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).

1. The accumulated net change function or area-so-far function

Math 311, Partial Differential Equations, Winter 2015, Midterm

1. Partial differential equations. Chapter 12: Partial Differential Equations. Examples. 2. The one-dimensional wave equation

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

DIFFERENTIAL EQUATIONS

A proof for the full Fourier series on [ π, π] is given here.

Separation of Variables in Linear PDE: One-Dimensional Problems

1 A complete Fourier series solution

Last Update: April 7, 201 0

Boundary-value Problems in Rectangular Coordinates

THE METHOD OF SEPARATION OF VARIABLES

Existence Theory: Green s Functions

PH2130. Week 1. Week 2. Week 3. Questions for contemplation. Why differential equations? Why usually linear diff eq n s? Why usually 2 nd order?

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

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01

MATH20411 PDEs and Vector Calculus B

In this chapter we study elliptical PDEs. That is, PDEs of the form. 2 u = lots,

Physics 6303 Lecture 9 September 17, ct' 2. ct' ct'

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

UNIVERSITY OF SOUTHAMPTON. A foreign language dictionary (paper version) is permitted provided it contains no notes, additions or annotations.

Final: Solutions Math 118A, Fall 2013

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

1D Wave PDE. Introduction to Partial Differential Equations part of EM, Scalar and Vector Fields module (PHY2064) Richard Sear.

SECTION (See Exercise 1 for verification when both boundary conditions are Robin.) The formal solution of problem 6.53 is

Lecture6. Partial Differential Equations

Introduction and preliminaries

An operator is a transformation that takes a function as an input and produces another function (usually).

MATH 220: Problem Set 3 Solutions

In this worksheet we will use the eigenfunction expansion to solve nonhomogeneous equation.

16. Working with the Langevin and Fokker-Planck equations

3. Identify and find the general solution of each of the following first order differential equations.

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

Mathematical Methods - Lecture 9

1 Wave Equation on Finite Interval

Math Ordinary Differential Equations

1.1. BASIC ANTI-DIFFERENTIATION 21 + C.

ENGI 4430 PDEs - d Alembert Solutions Page 11.01

Midterm Solution

Chapter 2: First Order DE 2.6 Exact DE and Integrating Fa

Solutions to Homework 11

Differential Equations Revision Notes

In what follows, we examine the two-dimensional wave equation, since it leads to some interesting and quite visualizable solutions.

Transcription:

Separation of variables Idea: Transform a PDE of 2 variables into a pair of ODEs Example : Find the general solution of u x u y = 0 Step. Assume that u(x,y) = G(x)H(y), i.e., u can be written as the product of two functions, one depends only on x, the other depends only on y. This leads to H d x G d y = 0. () Step 2. Rearrange the equation to collect all that depend only on x in one side, and all that depend only on y in the other. This can be done by multiplying Eq. () by /(GH), G d x = H d y. (2) Step 3. Since the l.h.s. of Eq. (2) depends only on x and r.h.s depends only on y, the only way for the equation to hold is to have l.h.s = r.h.s = a common constant. ("common" is the key word here.) Thus, Eq. (2) implies G where c is a constant. (continue to next slide) d x = H d y = c,

The original PDE is now split into two ODEs, G d x = c, (3) H d y = c. (4) The general solutions for (3) and (4) are G(x) = k exp(cx) an(y) = k 2 exp( cy), where k and k 2 are just two arbitrary constants that can be combined later. Step 4. Multiply G to H to reconstruct u : u(x, y) = k exp(cx cy), where k is an arbitrary constant. It can be readily verified that this solution satisfies the original PDE. (Although the procedure here looks simple, more complicated situations will emerge once boundary conditions are introduced. This will be discussed shortly.)

Example 2: Find the general solution of y u x x u y = 0 Again, assume u(x, y) = G(x)H(y) so the PDE is transformed into y H d x x G d y = 0. Following the argument in Ex., the above equation implies xg d x = y H d y = c. The PDE is transformed into 2 ODEs, x G d x = c, (5) y H d y = c. (6) From (5) and (6) we obtain G(x) = k exp(c x 2 /2) an(y) = k 2 exp(c y 2 /2). Recombine them, we have u(x, y) = k exp[(c/2) (x 2 + y 2 )].

Quick note: In the preceding example, how do we solve the ODE, xg d x = c? () x dx = (/2) d (x 2 ) ; change of variable z x 2 ==> x dx = (dz)/2 (2) dg/g = d(lng) ; change of variable Y ln G ==> dg/g = dy From () and (2), the ODE becomes constant. So, the solution is d Y d z = c/2 ==> Y = c z/2 + k, where k is a ln G = c x 2 /2 + k ==> G(x) = k exp(c x 2 /2) Exercise: Find the general solutions of the following ODEs (i) x 2 d x = c (ii) x d x = c (iv) x 2 d 2 G d x 2 2 x d x 2G = 0 (iii) x 2 d x = c (v) d 2 G d x 2 5 d x 4G = 0

Heat equation - An example of end-to-end solution When boundary conditions are considered, the method of separation of variables usually leads to an eigenvalue problem Example 3: For u(x, t) defined on x [0, ] and t [0, ), solve u t = 2 u, x 2 with boundary conditions ( (III) describes the "initial state" of u ) : (I) u(0, t) = 0, (II) u(, t) = 0, (III) u(x, 0) = 4sin(3πx) + 7sin(8πx) This is the example given in pp. 38-48 in textbook. In this case, the heat equation is defined on the semi-open domain in t-x plane bounded by t = 0, x = 0, and x =. See Slides #. The relevant diagram from Slides # is repeated here, with F(x) = 4sin(3πx)+7sin(8πx), P(t) = 0, and Q(t) = 0.

Step : Separation of variables. Let u(x, t) = G(x)H(t), the usual procedure leads to G d 2 G d x 2 = H d y = c. So, the PDE is converted to two ODEs, G d 2 G d x 2 = c, (7) H d y = c. (8) Since boundary conditions (I) and (II) have to be satisfied for all t, they are reduced to for Eq. (7). (IV) G(0) = 0, (V) G() = 0, We will see that in order for the solution of Eq. (7) to satisfy (IV) and (V) and be nontrivial (i.e., G(x) is not identically zero), the "constant" c must be a certain specific values. Equation (7) plus the boundary conditions (IV) and (V) form an eigenvalue problem.

Step 2: Solve the eigenvalue problem, Eq. (7) + b.c. (IV) and (V), to obtain the eigenvalue c and eigenfunction G(x). It can be readily shown that the case with c > 0 leads to trivial solution, G(x) 0. See Slides #6A for detail. (Repeat from Slides #6A:) When c < 0, write c = k 2 ; The general solution of Eq. (7) is G(x) = C sin(k x) + D cos(k x). From boundary condition (IV), D = 0. From b. c. (V), and demanding that G(x) be nontrivial, we have sin(k) = 0. The only values of k that satisfy this condition are k = π, k 2 = 2π,..., k N = Nπ,.... Thus, our eigenvalues are c = π 2, c 2 = 4 π 2, c 3 = 9 π 2,... c N = N 2 π 2,... (9) and the corresponding eigenfunctions are G (x) = sin(πx), G 2 (x) = sin(2πx), G 3 (x) = sin(3πx),... G N (x) = sin(nπx),... (0)

Step 3: For a given eigenvalue c = c N, solve the other ODE for H(t). This leads to H N (t) = exp(c N t) = exp( N 2 π 2 t) () (Again, remember that the "c" in Eqs. (7) and (8) is a common constant for both equations.) Step 4: Combine G N (x) an N (t) to form the full eigenfunction, u N (x, t) = G N (x) H N (t) = sin(n π x) exp( N 2 π 2 t). (2) Here, the subscript "N" indicates the N-th eigenfunction. Step 5: Represent the full solution as the linear combination of all eigenfunctions. Since each of the eigenfunctions satisfies the PDE+b.c. (IV) & (V), and since the PDE is linear, any linear combination of the eigenfunctions is also a solution to the PDE+ b.c.'s. Then, the most general form of the solution is u(x, t) = a u (x, t) + a 2 u 2 (x, t) + a 3 u 3 (x, t) +... = n= a n u n x,t (3) Here, the coefficients, a n, are yet to be determined.

Step 6: Use the boundary condition (III) at t = 0 to determine the coefficients, a n, in Eq. (2). From Eqs. (2) and (3) we have, at t = 0, u x, 0 = n= a n u n x, 0 = n= a n sin n x. (4) In order for this to satisfy b.c. (III), u(x, 0) = 4sin(3πx) + 7sin(8πx), we must have (see Slides #6B for a formal argument using the orthogonality relation of sin(nπx)): a 3 = 4, a 8 = 7, and a n = 0 for all other n. Using this last piece of information and Eqs. (2) and (3), we obtain the complete solution as u(x, t) = 4 sin(3 π x) exp( 9 π 2 t) + 7 sin(8 π x) exp( 64 π 2 t). It satisfies the PDE and all three boundary conditions. The figure in next page is a plot for the solution u(x, t) at t = 0, t = 0.00, and t = 0.005. Note that the temperature distribution, u, becomes more smooth over time. This is an important property of the solution of the heat (or "diffusion") equation.

The solution, u(x,t) at t = 0 (black), 0.00 (red), and 0.005 (green)