PDE: The Method of Characteristics Page 1

Similar documents
Department of Mathematics, University of Wisconsin-Madison Math 114 Worksheet Sections 3.1, 3.3, and 3.5

Name: ID: Math 233 Exam 1. Page 1

Lecture 10. (2) Functions of two variables. Partial derivatives. Dan Nichols February 27, 2018

AP Calculus 2004 AB FRQ Solutions

PRACTICE PROBLEMS FOR MIDTERM I

1.2. Direction Fields: Graphical Representation of the ODE and its Solution Let us consider a first order differential equation of the form dy

Name: ID: Math 233 Exam 1. Page 1

Power Series. Part 1. J. Gonzalez-Zugasti, University of Massachusetts - Lowell

MATH 19520/51 Class 5

DIFFERENTIAL EQUATIONS

DIFFERENTIAL EQUATIONS

. For each initial condition y(0) = y 0, there exists a. unique solution. In fact, given any point (x, y), there is a unique curve through this point,

Math 261 Calculus I. Test 1 Study Guide. Name. Decide whether the limit exists. If it exists, find its value. 1) lim x 1. f(x) 2) lim x -1/2 f(x)

Solutions Definition 2: a solution

DIFFERENTIAL EQUATIONS

Lecture 5 - Logarithms, Slope of a Function, Derivatives

z x = f x (x, y, a, b), z y = f y (x, y, a, b). F(x, y, z, z x, z y ) = 0. This is a PDE for the unknown function of two independent variables.

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

LECTURE 11 - PARTIAL DIFFERENTIATION

Power series solutions for 2nd order linear ODE s (not necessarily with constant coefficients) a n z n. n=0

Chapter 4 Notes, Calculus I with Precalculus 3e Larson/Edwards

Announcements. Topics: Homework: - sections , 6.1 (extreme values) * Read these sections and study solved examples in your textbook!

Limits and Continuity/Partial Derivatives

Ordinary Differential Equations

Lecture two. January 17, 2019

2.20 Fall 2018 Math Review

MTH Calculus with Analytic Geom I TEST 1

Lecture 1, August 21, 2017

Picard s Existence and Uniqueness Theorem

Announcements. Topics: Homework:

Geometric Series and the Ratio and Root Test

Math Practice Exam 2 - solutions

STEP Support Programme. Pure STEP 1 Questions

The integral test and estimates of sums

Lecture 4 : General Logarithms and Exponentials. a x = e x ln a, a > 0.

Polynomial Approximations and Power Series

Math 320: Real Analysis MWF 1pm, Campion Hall 302 Homework 8 Solutions Please write neatly, and in complete sentences when possible.

18.02 Multivariable Calculus Fall 2007

Math 1310 Lab 10. (Sections )

The real voyage of discovery consists not in seeking new landscapes, but in having new eyes. Marcel Proust

Series Solution of Linear Ordinary Differential Equations

Partial Derivatives October 2013

MATH 425, FINAL EXAM SOLUTIONS

An Introduction to Numerical Methods for Differential Equations. Janet Peterson

Curve Fitting. Objectives

MA22S3 Summary Sheet: Ordinary Differential Equations

Finding local extrema and intervals of increase/decrease

Ordinary Differential Equations

Rolle s Theorem, the Mean Value Theorem, and L Hôpital s Rule

worked out from first principles by parameterizing the path, etc. If however C is a A path C is a simple closed path if and only if the starting point

Example: Limit definition. Geometric meaning. Geometric meaning, y. Notes. Notes. Notes. f (x, y) = x 2 y 3 :

Bonus Section II: Solving Trigonometric Equations

Main topics for the First Midterm Exam

Solved problems: (Power) series 1. Sum up the series (if it converges) 3 k+1 a) 2 2k+5 ; b) 1. k(k + 1).

Solving First Order PDEs

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

An Introduction to Partial Differential Equations

JUST THE MATHS UNIT NUMBER ORDINARY DIFFERENTIAL EQUATIONS 1 (First order equations (A)) A.J.Hobson

APPLICATIONS OF DIFFERENTIATION

ENGI Partial Differentiation Page y f x

MATH 124. Midterm 2 Topics

Graphs of Antiderivatives, Substitution Integrals

Chapter 3 Second Order Linear Equations

1.1 GRAPHS AND LINEAR FUNCTIONS

Section 3.5: Implicit Differentiation

Module 2: Reflecting on One s Problems

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES

The Relation between the Integral and the Derivative Graphs. Unit #10 : Graphs of Antiderivatives, Substitution Integrals

A Brief Review of Elementary Ordinary Differential Equations

function independent dependent domain range graph of the function The Vertical Line Test

Separation of variables

Note: Final Exam is at 10:45 on Tuesday, 5/3/11 (This is the Final Exam time reserved for our labs). From Practice Test I

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

TAYLOR SERIES [SST 8.8]

McGill University April 20, Advanced Calculus for Engineers

Polynomial Form. Factored Form. Perfect Squares

21-256: Partial differentiation

Relevant sections from AMATH 351 Course Notes (Wainwright): Relevant sections from AMATH 351 Course Notes (Poulin and Ingalls):

MATH The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input,

MATH 173: PRACTICE MIDTERM SOLUTIONS

e x3 dx dy. 0 y x 2, 0 x 1.

Geometric Series and the Ratio and Root Test

Partial Differential Equations

Introduction of Partial Differential Equations and Boundary Value Problems

Lecture 32: Taylor Series and McLaurin series We saw last day that some functions are equal to a power series on part of their domain.

Math Practice Exam 3 - solutions

4 Partial Differentiation

8 + 6) x 2 ) y = h(x)

Preliminary algebra. Polynomial equations. and three real roots altogether. Continue an investigation of its properties as follows.

CHAPTER 2 POLYNOMIALS KEY POINTS

Problem Solving 1: Line Integrals and Surface Integrals

MATH20411 PDEs and Vector Calculus B

Math 180 Written Homework Solutions Assignment #4 Due Tuesday, September 23rd at the beginning of your discussion class.

Math 2a Prac Lectures on Differential Equations

BOUNDARY-VALUE PROBLEMS IN RECTANGULAR COORDINATES

Calculus (Math 1A) Lecture 4

Calculus II Practice Test 1 Problems: , 6.5, Page 1 of 10

Calculus (Math 1A) Lecture 4

TABLE OF CONTENTS 2 CHAPTER 1

Plane hyperbolic geometry

Transcription:

PDE: The Method of Characteristics Page y u x (x, y) + x u y (x, y) =, () u(, y) = cos y 2. Solution The partial differential equation given can be rewritten as follows: u(x, y) y, x =, (2) where = / x, / y and y, x is a vector in the direction yi + xj at the point (x, y). I have chosen my coordinate system to be the right handed cartesian xyz-coordinates, where vector i is a unit vector in the x direction, j is a unit vector in the y direction, k is a unit vector in the z direction. Geometrically, the solution to Eq. (2) z = u(x, y) will be a surface in the xyz-coordinate system. Equation (2) is a directional derivative, D v u(x, y) = u(x, y) v, and so Equation (2) tells us that the rate of change of the function u(x, y) in the direction y, x at the point (x, y) is zero. This means the function must be constant, u(x, y) = c, in this direction. This is just a level curve of the function u(x, y). All solutions must have this form to be constant in this direction. Functions without this form will not satisfy the partial differential equation. The vector y, x is a direction field (see Figure ). equation It is the direction field associated with the ordinary differential dx = x y. (3) Figure : Along any solution curve to this direction field, the solution to the pde will be constant, u(x, y) = c. We must solve the ordinary differential equation given in Eq. (3), since we know our solution to the partial differential

PDE: The Method of Characteristics Page 2 equation u(x, y) must be constant along curves which satisfy the ode. dx = x y y = x dx y = x dx y 2 = x2 2 2 + c 3 c 2 = y 2 + x 2 (4) Equation (4) give the solution curves that are represented in the direction field. They are shown against the direction field in Fig. 2. Figure 2: The solution curves c 2 = y 2 + x 2 against the direction field. Getting to this point is the hard part. The constant c can be expressed in terms of the constant c 2 using some function f: z = u(x, y) = c = f(c 2 ) = f(y 2 + x 2 ) (5) This embeds the fact that the solution u(x, y) is constant in the direction, x/y into our solution. You should check that regardless of what f is, the pde in Eq. (6) is satisfied. We have shown that u(x, y) = f(y 2 + x 2 ). At this point, we don t know what the function f is it could be almost anything. In Fig. 3, I ve plotted some different solutions u(x, t) for different functions f. Notice in Fig. 3 that the contour plots of the surface all look the same, and all look like the direction field we found in Fig. This is not a coincidence, this is the geometric concept behind the method of characteristics. What remains is to determine which function f satisfies the initial condition we were given, u(, y) = cos y 2. We can do this by inspection, u(, y) = f((y 2 + 2 ) = f(y 2 ) = cos y 2

PDE: The Method of Characteristics Page 3 f(s) = s f(s) = s f(s) = cos(sin s) f(s) = e s2 cos s s sin s + s Figure 3: The function u(x, y) = f(y 2 + x 2 ) which satisfies the given pde for different functions f.

PDE: The Method of Characteristics Page 4 So we see that we want f(x) = cos x to satisfy the condition given. Therefore, the solution to the given pde subject to the given condition is u(x, t) = cos(y 2 + x 2 ). Geometrically, this means we are picking the surface that when intersected with the plane x = gives the space curve z = cos y 2. This is illustrated in Fig. 4. Figure 4: The function u(x, y) = cos(y 2 + x 2 ) which is the solution to the given boundary value problem, and the solution intersected with the plane x = to show that it satisfies the initial condition z = cos y 2 (shown on the right). The previous example was nice in that we could explicitly solve for the solution to the direction field. We can still use the method of characteristics when the direction field involves our unknown solution u(x, y), as the following example shows. u x + A(u) u y =, u(x, ) = g(x). Solution The partial differential equation given can be rewritten as follows: u(x, y), A(u) =, where = / x, / y and, A(u) is a vector in the direction i+a(u)j at the point (x, y). I have chosen my coordinate system to be the right handed cartesian xyz-coordinates, where vector i is a unit vector in the x direction, j is a unit vector in the y direction, k is a unit vector in the z direction. Geometrically, the solution to Eq. (7) z = u(x, y) will be a surface in the xyz-coordinate system. Equation (7) is a directional derivative, D v u(x, y) = u(x, y) v, and so Equation (7) tells us that the rate of change of the function u(x, y) in the direction, A(u) at the point (x, y) is zero. This means the function must be constant, u(x, y) = c, in this direction. This is just a level curve of the function u(x, y). All solutions must have this form to be constant in this direction. Functions without this form will not satisfy the partial differential equation. The vector, A(u) is a direction field. It is the direction field associated with the ordinary differential equation dx = A(u). Before we solve Eq. (8), we need to make some simplifications. Since the solution to the pde we seek is a constant on curves which satisfy the ode, we have (6) (7) (8) u(x, y) = c = u(x, ) = g(x ) (9)

PDE: The Method of Characteristics Page 5 where the point (x, ) is a constant. We chose to work with the point (x, ) since that allowed us to relate the solution u(x, y) to the initial condition, g. We now must solve the ordinary differential equation given in Eq. (8). Equation (9) allows us to integrate the differential equation without knowing the form of u(x, y). We will do the integration as a definite integral between the points (x, ) and (x, y). This is like integrating from the initial point to the final point. y dx = A( u(x, y) ) = A ( g(x ) ) y = A ( g(x ) ) dx y = A ( g(x ) ) x dx x y = A ( g(x ) ) (x x ) () These are the characteristic curves of the pde. They are straight lines with slope given by A(g(x )). This is as far as we can go without knowing the specific form of g or A, so we will start to look at some specific examples. The solution to the boundary value problem is given by u(x, y) = g(x ) where x is found by solving Eq. (). u x + [ln u] u y =, u(x, ) = e x. Solution First, we should identify the functions as they relate to our previous analysis. g(x) = e x, A(u) = [ln u]. Solving Eq. () for x we find y = A ( g(x ) ) (x x ) = ln e (x x ) x = x (x x ) x y = x x x = x y + The solution to the boundary value problem we were given is u(x, y) = g(x ) = e x = e x/(y+) u x + + u u y =, () u(x, ) = x 2.

PDE: The Method of Characteristics Page 6 Solution In this example we will work through the method from first principles. The partial differential equation given can be rewritten as follows: u(x, y), ( + u) =, where = / x, / y and, ( + u) is a vector in the direction i + ( + u) j at the point (x, y). I have chosen my coordinate system to be the right handed cartesian xyz-coordinates, where vector i is a unit vector in the x direction, j is a unit vector in the y direction, k is a unit vector in the z direction. Geometrically, the solution to Eq. (2), z = u(x, y), will be a surface in the xyz-coordinate system. Equation (2) is a directional derivative, D v u(x, y) = u(x, y) v, and so Equation (2) tells us that the rate of change of the function u(x, y) in the direction, ( + u) at the point (x, y) is zero. This means the function must be constant, u(x, y) = c, in this direction. This is just a level curve of the function u(x, y). All solutions must have this form to be constant in this direction. Functions without this form will not satisfy the partial differential equation. The vector, ( + u) is a direction field. It is the direction field associated with the ordinary differential equation dx = + u. Before we solve Eq. (3), we need to make some simplifications. Since the solution to the pde we seek is a constant on curves which satisfy the ode, we have (2) (3) u(x, y) = c = u(x, ) = x 2 (4) where the point (x, ) is a constant. We chose to work with the point (x, ) since that allowed us to relate the solution u(x, y) to the initial condition, u(x, ). We now must solve the ordinary differential equation given in Eq. (3). Equation (4) allows us to integrate the differential equation without knowing the form of u(x, y). We will do the integration as a definite integral between the points (x, ) and (x, y). y dx = + u(x, y) = + x 2 y = + x 2 dx x y = + x 2 dx x y = + x 2 (x x ) (5) Now we solve Eq. (5) for x. It is a simple matter to rearrange the equation so you can use the quadratic formula, and we find: x = ± + 4xy 4y 2. 2y Which x should we choose? Let s get the two solutions and then pick the correct one. Using u(x, y) = x 2, we find u (x, y) = u 2 (x, y) = ( + + 4xy 4y 2 2y ( + 4xy 4y 2 2y ) 2 ) 2

PDE: The Method of Characteristics Page 7 Only one of these will satisfy lim y u(x, y) = x 2. Notice that ( + 4xy 4y 2 ) 2 lim u 2(x, y) = lim y y So we choose as our solution 4y 2 ( + + 4xy 4y 2 ) 2 u(x, y) = 4y 2 You can check that this function has lim y u(x, y) = x 2.