Midterm 2: Sample solutions Math 118A, Fall 2013

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

G: Uniform Convergence of Fourier Series

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.

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

Partial Differential Equations Summary

17 Source Problems for Heat and Wave IB- VPs

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

Maths 381 The First Midterm Solutions

Wave Equation With Homogeneous Boundary Conditions

Solving the Heat Equation (Sect. 10.5).

The One-Dimensional Heat Equation

Chapter 10: Partial Differential Equations

Final: Solutions Math 118A, Fall 2013

Introduction and preliminaries

6 Non-homogeneous Heat Problems

Method of Separation of Variables

Math Assignment 14

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

1 Wave Equation on Finite Interval

Lecture6. Partial Differential Equations

The General Dirichlet Problem on a Rectangle

Math 201 Assignment #11

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

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01

22. Periodic Functions and Fourier Series

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

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

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

The two-dimensional heat equation

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01

Bessel s Equation. MATH 365 Ordinary Differential Equations. J. Robert Buchanan. Fall Department of Mathematics

Math 260: Solving the heat equation

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

THE METHOD OF SEPARATION OF VARIABLES

Partial Differential Equations

Eigenvalue Problem. 1 The First (Dirichlet) Eigenvalue Problem

14 Separation of Variables Method

# Points Score Total 100

Separation of variables

MATH-UA 263 Partial Differential Equations Recitation Summary

Math 4263 Homework Set 1

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

Vibrating-string problem

Numerical Analysis of Differential Equations Numerical Solution of Parabolic Equations

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

Partial Differential Equations

FOURIER SERIES PART III: APPLICATIONS

Partial Differential Equations for Engineering Math 312, Fall 2012

Math 311, Partial Differential Equations, Winter 2015, Midterm

MA 201: Differentiation and Integration of Fourier Series Applications of Fourier Series Lecture - 10

CHAPTER 4. Introduction to the. Heat Conduction Model

Solutions to Exercises 8.1

Lecture Notes for Math 251: ODE and PDE. Lecture 32: 10.2 Fourier Series

Ma 221 Eigenvalues and Fourier Series

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

d Wave Equation. Rectangular membrane.

Ma 221 Final Exam Solutions 5/14/13

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

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.

CHAPTER 10 NOTES DAVID SEAL

Partial Differential Equations

12.7 Heat Equation: Modeling Very Long Bars.

Section 12.6: Non-homogeneous Problems

1 A complete Fourier series solution

A Guided Tour of the Wave Equation

Homework for Math , Fall 2016

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

Lecture Notes 4: Fourier Series and PDE s

MA 201: Partial Differential Equations Lecture - 10

Introduction to the Wave Equation

MATH 131P: PRACTICE FINAL SOLUTIONS DECEMBER 12, 2012

Math 2930 Worksheet Final Exam Review

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

1. Solve the boundary-value problems or else show that no solutions exist. y (x) = c 1 e 2x + c 2 e 3x. (3)

Partial Differential Equations (PDEs)

Fourier and Partial Differential Equations

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

Mathematical Modeling using Partial Differential Equations (PDE s)

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

Lecture Notes for Math 251: ODE and PDE. Lecture 34: 10.7 Wave Equation and Vibrations of an Elastic String

Homework 6 Math 309 Spring 2016

Diffusion on the half-line. The Dirichlet problem

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

INTRODUCTION TO PDEs

SAMPLE FINAL EXAM SOLUTIONS

Differential Equations

u tt = a 2 u xx u tt = a 2 (u xx + u yy )

3 rd class Mech. Eng. Dept. hamdiahmed.weebly.com Fourier Series

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

Consequences of Orthogonality

Homework 7 Solutions

1. The one-dimensional linear wave equation (WE) on the real line is:

1 Separation of Variables

Ordinary Differential Equations II

Lecture Notes for Ch 10 Fourier Series and Partial Differential Equations

Analysis III (BAUG) Assignment 3 Prof. Dr. Alessandro Sisto Due 13th October 2017

Solving First Order PDEs

Overview of Fourier Series (Sect. 6.2). Origins of the Fourier Series.

Boundary-value Problems in Rectangular Coordinates

Name: Math Homework Set # 5. March 12, 2010

Transcription:

Midterm 2: Sample solutions Math 118A, Fall 213 1. Find all separated solutions u(r,t = F(rG(t of the radially symmetric heat equation u t = k ( r u. r r r Solve for G(t explicitly. Write down an ODE for F(r but don t try to solve it. (What makes the ODE hard to solve explicitly? How many linearly independent solutions for F are there? Using u(r,t = F(rG(t in the equation, we get FĠ = k r (rf G, where dots denote t-derivatives and primes denote r-derivatives. Separation of variables gives Ġ kg = (rf rf = λ where λ is a separation constant. The ODE for G(t is whose solution is where C is an arbitrary constant. The ODE for F(r is or Ġ = kλg, G(t = Ce kλt (rf +λrf =, rf +F +λrf =. This is a second order ODE, so it has two linearly independent solutions. Although it s linear, it has variable coefficients (and it isn t an Euler equation, and it can t be solved in terms of elementary functions. When λ is normalized to 1, this ODE is called Bessel s equation of order, and its solutions are Bessel functions of order.

2. Find all separated solutions of the heat equation u t = ku xx on x that satisfy the mixed Dirichlet-Neumann boundary conditions u(,t =, u x (,t =. ooking for separated solutions u(x,t = F(xG(t, we find that where λ is a separation constant. The ODE for G(t is Ġ kg = F F = λ Ġ = kλg. Up to an arbitrary constant factor, the solution is The eigenvalue problem for F is G(t = e kλt. F +λf =, F( =, F ( =. We consider the following three cases: (i λ = µ 2 < ; (ii λ = ; (iii λ = µ 2 >. We assume that µ > without loss of generality, (i If λ = µ 2, then F µ 2 F = and F(x = Acoshµx+Bsinhµx. The BC F( = implies that A =, and the BC F ( = then implies that µbcoshµ =. Since µcoshµ, we get that B =, so F = and λ is not an eigenvalue. (ii If λ =, then F =, so F(x = A+Bx. The BC F( = implies that A =, and the BC F ( = implies that B =, so F = and λ is not an eigenvalue.

(iii If λ = µ 2 >, then F +µ 2 F = and F(x = Acosµx+Bsinµx. The BC F( = implies that A =, and then the BC F ( = implies that µbcosµ =. We have a solution with B if cosµ = or µ = µ n where ( µ n = n 1 π for n = 1,2,... 2 In that case, λ = µ 2 n is an eigenvalue with eigenfunction sinµ nx. Up to an arbitrary constant factor, the separated solutions are therefore [( u(x,t = sin n 1 ] [ ( πx exp k n 1 ] 2 π 2 t 2 2 2 where n = 1,2,3,...

3. Suppose that the function f(x = x 2 is expanded in: (i a Fourier sine series on < x < 1; (ii a Fourier cosine series on < x < 1; (iii a full Fourier series on < x < 2. (a Write down the corresponding Fourier series. (b Give expressions for the corresponding Fourier coefficients as integrals (you don t need to evaluate them. (c Sketch graphs of the sums of the Fourier series for 2 < x < 4. (a (b The Fourier sine series in < x < 1 is f(x = b n sin(nπx, b n = 2 The Fourier cosine series in < x < 1 is f(x = 1 2 a + a n cos(nπx, a n = 2 The full Fourier series in < x < 2 is f(x = 1 2 a + a n = 2 x 2 sin(nπxdx. {a n cos(nπx+b n sin(nπx} x 2 cos(nπxdx, b n = 2 x 2 cos(nπxdx. x 2 sin(nπxdx. For < x <, the Fourier sine and cosine series converge to the odd and even periodic extensions of x 2 on < x < 1, respectively. The full Fourier series converges to the periodic extension of x 2 on < x < 2. The graphs are shown on the next page.

1.8.6.4.2 y.2.4.6.8 1 2 1 1 2 3 4 x (a Sum of the sine series. y 1.9.8.7.6.5.4.3.2.1 2 1 1 2 3 4 x (b Sum of the cosine series. 4 3.5 3 2.5 y 2 1.5 1.5 2 1 1 2 3 4 x (c Sum of the full Fourier series.

4. Recall theorthogonalityrelations forthefunctions sin(nπx on x 1, where n = 1,2,3,...: { 1 1/2 if m = n, sin(mπx sin(nπx dx = if m n. If a function f(x, defined on x 1, has the Fourier sine series f(x = b n sin(nπx, show that f 2 (xdx = 1 2 We have f 2 (xdx = = = = 1 2 b 2 n. [ ][ ] b m sin(mπx b n sin(nπx dx m=1 [ m=1 m=1 ] b m b n sin(mπxsin(nπx dx [ b m b n b 2 n, ] sin(mπx sin(nπx dx since the only nonzero terms in the series are the ones with m = n, in which case the integrals are 1/2. This result is called Parseval s theorem. It can be interpreted as saying that the energy of f can be computed spatially by integrating f 2 or spectrally by summing the squares b 2 n of its Fourier components.

5. Solve the following IBVP for u(x,t in x, t : u tt = c 2 u xx < x <,t > u x (,t =, u x (,t = t u(x, =, u t (x, = f(x x Give a physical interpretation of this problem. ooking for separated solutions u(x,t = F(xG(t, we get F G = c 2 F G which implies that G c 2 G = F F = λ where λ is a separation constant. The eigenvalue problem for F(x in < x < is F +λf =, F ( =, F ( =. The eigenfunctions and eigenvalues are for n =,1,2,3,... F(x = cos The corresponding ODE for G(t is G+ ( nπ 2, λ = ( nπc 2G =. If n 1, the general solution is ( ( nπct nπct G(t = a n cos +b n sin where a n, b n arearbitrary constants. If n =, then thegeneral solution is G(t = a +b t/2.

Superposing these separated solutions, we get the general solution of the PDE and the BCs u(x,t = a + 1 [ ( ( ] nπct nπct 2 b t+ a n cos +b n sin cos Imposing the initial condition for u(x,, we get = a + a n cos which implies that a n = for every n. Thus u(x,t = 1 ( nπct 2 b t+ b n sin cos (1 It follows that u t (x,t = 1 2 b + nπc b ncos ( nπct cos Imposing the initial condition for u t (x,, we get f(x = 1 2 b nπc + b ncos, and the formula for Fourier cosine coefficients gives b = 2 f(xdx, nπc b n = 2 f(xcos The solution is therefore given by (1 with coefficients b = 2 f(xdx, b n = 2 nπc f(xcos. dx. dx n = 1,2,... This problem describes the vibrations of an elastic string with initial displacement zero and initial velocity f. The ends of the string are free to slide up or down. Note that the average of the solution grows linearly in time with a velocity b /2 that s equal to the average of the initial velocity.

6. Solve the following BVP for u(x,y on the square x 1, y 1: u xx +u yy = < x < 1, < y < 1 u(,y =, u(1,y = y y < 1 u(x, =, u(x,1 =, x 1. Compute the coefficients in your solution explicitly. We look for separated solutions u(x,y = F(xG(y. Then F G + FG =, where primes denote derivatives with respect to x or y as appropriate, which implies that where λ is a separation constant. F F = G G = λ We impose BCs in y, since both are homogeneous, which gives G +λg =, G( =, G(1 =. The eigenfunctions and eigenvalues are G(y = sin(nπy, λ = n 2 π 2 for n = 1,2,3,... The corresponding ODE for F, with homogeneous BC at x =, is F n 2 π 2 F =, F( =. It follows that, up to an arbitrary constant factor, F(x = sinh(nπx, and the separated solutions are therefore u(x, y = sinh(nπx sin(nπy.

The general solution satisfying the homogeneous PDE and BCs is u(x,y = b n sinh(nπxsin(nπy. Imposing the nonhomogeneous BC at x = 1, we get y = b n sinh(nπsin(nπy for < y < 1. Using the formula for Fourier sine coefficients and integrating by parts, we get b n sinh(nπ = 2 y sin(nπy dy = 2 nπ [ ycos(nπy]1 + 2 1 cos(nπydy nπ = 2 nπ cos(nπ+ 2 (nπ 2 [sin(nπy]1 = 2( 1n+1. nπ In summary, the solution is u(x,y = 2( 1 n+1 nπsinh(nπ sinh(nπxsin(nπy.