Mathematical Methods - Lecture 9

Similar documents
Mathematical Methods - Lecture 7

First order wave equations. Transport equation is conservation law with J = cu, u t + cu x = 0, < x <.

Chapter 3 Second Order Linear Equations

Introduction to Partial Differential Equations

CLASSIFICATION AND PRINCIPLE OF SUPERPOSITION FOR SECOND ORDER LINEAR PDE

Final: Solutions Math 118A, Fall 2013

Math 212-Lecture 8. The chain rule with one independent variable

First order Partial Differential equations

Chapter One: Where PDEs come from

MATH 425, FINAL EXAM SOLUTIONS

Introduction of Partial Differential Equations and Boundary Value Problems

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

INTRODUCTION TO PDEs

An Introduction to Partial Differential Equations

Partial Differential Equations, Winter 2015

Partial Differential Equations

Math 342 Partial Differential Equations «Viktor Grigoryan

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

Math 5587 Lecture 2. Jeff Calder. August 31, Initial/boundary conditions and well-posedness

Math 4263 Homework Set 1

The first order quasi-linear PDEs

MATH 220: Problem Set 3 Solutions

Lecture Introduction

Partial Differential Equations

LECTURE NOTES FOR MATH 124A PARTIAL DIFFERENTIAL EQUATIONS

MA 201: Partial Differential Equations D Alembert s Solution Lecture - 7 MA 201 (2016), PDE 1 / 20

Differential equations, comprehensive exam topics and sample questions

Introduction and some preliminaries

Wave Equation With Homogeneous Boundary Conditions

Math 311, Partial Differential Equations, Winter 2015, Midterm

An Introduction to Numerical Methods for Differential Equations. Janet Peterson

PDEs, Homework #3 Solutions. 1. Use Hölder s inequality to show that the solution of the heat equation

HOMEWORK 4 1. P45. # 1.

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

Strauss PDEs 2e: Section Exercise 3 Page 1 of 13. u tt c 2 u xx = cos x. ( 2 t c 2 2 x)u = cos x. v = ( t c x )u

Solving First Order PDEs

MATH 220: MIDTERM OCTOBER 29, 2015

Lecture Notes in Mathematics. A First Course in Quasi-Linear Partial Differential Equations for Physical Sciences and Engineering Solution Manual

MATH 131P: PRACTICE FINAL SOLUTIONS DECEMBER 12, 2012

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

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

Solving First Order PDEs

Homework for Math , Fall 2016

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

AM 205: lecture 14. Last time: Boundary value problems Today: Numerical solution of PDEs

Diffusion on the half-line. The Dirichlet problem

Classification of partial differential equations and their solution characteristics

9 More on the 1D Heat Equation

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

Chapter 2 Boundary and Initial Data

Homework 3 solutions Math 136 Gyu Eun Lee 2016 April 15. R = b a

Diff. Eq. App.( ) Midterm 1 Solutions

DIFFERENTIAL EQUATIONS

DIFFERENTIAL EQUATIONS

Lecture No 1 Introduction to Diffusion equations The heat equat

Chapter 3. Second Order Linear PDEs

Functions of Several Variables

Lecture 19: Heat conduction with distributed sources/sinks

Strauss PDEs 2e: Section Exercise 2 Page 1 of 6. Solve the completely inhomogeneous diffusion problem on the half-line

Tutorial 2. Introduction to numerical schemes

Section 12.6: Non-homogeneous Problems

Boundary-value Problems in Rectangular Coordinates

6 Non-homogeneous Heat Problems

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C.

Lecture Notes on Partial Dierential Equations (PDE)/ MaSc 221+MaSc 225

Applications of the Maximum Principle

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

HOMEWORK 5. Proof. This is the diffusion equation (1) with the function φ(x) = e x. By the solution formula (6), 1. e (x y)2.

Hyperbolic PDEs. Chapter 6

Propagation of discontinuities in solutions of First Order Partial Differential Equations

MATH3203 Lecture 1 Mathematical Modelling and ODEs

Lecture Notes on Numerical Schemes for Flow and Transport Problems

Final Exam May 4, 2016

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.

MATH 425, HOMEWORK 5, SOLUTIONS

Suggested Solution to Assignment 7

Lecture 6: Introduction to Partial Differential Equations

Lecture Notes on Numerical Schemes for Flow and Transport Problems

M.Sc. in Meteorology. Numerical Weather Prediction

Heat Equation, Wave Equation, Properties, External Forcing

Georgia Tech PHYS 6124 Mathematical Methods of Physics I

MATH 173: PRACTICE MIDTERM SOLUTIONS

Diffusion - The Heat Equation

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

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

A First Course of Partial Differential Equations in Physical Sciences and Engineering

1. Differential Equations (ODE and PDE)

MATH20411 PDEs and Vector Calculus B

Partial Differential Equations

Some Aspects of Solutions of Partial Differential Equations

Math 220A - Fall 2002 Homework 5 Solutions

Week 4 Lectures, Math 6451, Tanveer

x ct x + t , and the characteristics for the associated transport equation would be given by the solution of the ode dx dt = 1 4. ξ = x + t 4.

Chain Rule. MATH 311, Calculus III. J. Robert Buchanan. Spring Department of Mathematics

ENGI 4430 PDEs - d Alembert Solutions Page 11.01

MATH-UA 263 Partial Differential Equations Recitation Summary

Summer 2017 MATH Solution to Exercise 5

There are five problems. Solve four of the five problems. Each problem is worth 25 points. A sheet of convenient formulae is provided.

DIFFERENTIAL EQUATIONS

Partial Differential Equations Summary

Transcription:

Mathematical Methods - Lecture 9 Yuliya Tarabalka Inria Sophia-Antipolis Méditerranée, Titane team, http://www-sop.inria.fr/members/yuliya.tarabalka/ Tel.: +33 (0)4 92 38 77 09 email: yuliya.tarabalka@inria.fr Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 1 / 33

Outline 1 Partial Differentiation 2 Partial Differential Equations Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 2 / 33

Partial Differentiation Functions of several variables f (x) is a function of one variable x We may consider functions that depend on more than one variable Example: f (x, y) = x 2 + 3xy depends on 2 variables x and y For any pair of values x, y, f (x, y) has a well-defined value Function f (x 1, x 2,..., x n ) depends on the variables x 1, x 2,..., x n Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 3 / 33

Partial derivatives Partial Differentiation A function f (x, y) will have a gradient in ALL directions in the xy-plane Gradient = rate of change of a function Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 4 / 33

Partial derivatives Partial Differentiation A function f (x, y) will have a gradient in ALL directions in the xy-plane Gradient = rate of change of a function The rates of change of f (x, y) in the positive x- and y- directions are called partial derivatives wrt x and y, respectively Partial derivatives are extremely important in a wide range of applications! Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 4 / 33

Partial Differentiation Partial derivatives Partial derivative of f (x, y) with respect to x is denoted by f / x: to signify that a derivative is wrt x, but to recognize that a derivative wrt y also exists f x = lim x 0 provided that the limit exists f (x + x, y) f (x, y), x Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 5 / 33

Partial Differentiation Partial derivatives Partial derivative of f (x, y) with respect to x is denoted by f / x: to signify that a derivative is wrt x, but to recognize that a derivative wrt y also exists f x = lim x 0 provided that the limit exists f (x + x, y) f (x, y), x The partial derivative of f with respect to y: f y = lim y 0 provided that the limit exists f (x, y + y) f (x, y), y Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 5 / 33

Partial Differentiation Partial derivatives - Notations Partial derivative of f (x, y) with respect to x: f x = ( f x ) = f x y Partial derivative of f with respect to y: f y = ( f y ) = f y x It is important when using partial derivatives to remember which variables are being held constant! Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 6 / 33

Partial derivatives Partial Differentiation The extension to the general n-variable case is straightforward: f (x 1,..., x n ) x i provided that the limit exists f (x 1,..., x i + x i,..., x n ) f (x 1,..., x i,..., x n ) = lim, x i 0 x i Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 7 / 33

Partial derivatives Partial Differentiation Second (and higher) partial derivatives may be defined in a similar way: x ( f x ) = 2 f x 2 = f xx x ( f y ) = 2 f x y = f xy y ( f y ) = 2 f y 2 = f yy Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 8 / 33

Partial Differentiation Properties of partial derivatives Provided that the second partial derivatives are continuous at the point in question: 2 f x y = 2 f y x 2 f x i x j = 2 f x j x i Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 9 / 33

Partial Differentiation Partial derivatives - Example Exercise: Find the first and second partial derivatives of the function f (x, y) = 2x 3 y 2 + y 3 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 10 / 33

Partial Differentiation Partial derivatives - Example Exercise: Find the first and second partial derivatives of the function f (x, y) = 2x 3 y 2 + y 3 The first partial derivatives: f x = 6x 2 y 2, f y = 4x 3 y + 3y 2 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 10 / 33

Partial Differentiation Partial derivatives - Example Exercise: Find the first and second partial derivatives of the function f (x, y) = 2x 3 y 2 + y 3 The first partial derivatives: f x = 6x 2 y 2, f y = 4x 3 y + 3y 2 The second partial derivatives: 2 f x 2 = 12xy 2, 2 f y 2 = 4x 3 + 6y, Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 10 / 33

Partial Differentiation Partial derivatives - Example Exercise: Find the first and second partial derivatives of the function f (x, y) = 2x 3 y 2 + y 3 The first partial derivatives: f x = 6x 2 y 2, f y = 4x 3 y + 3y 2 The second partial derivatives: 2 f x 2 = 12xy 2, 2 f y 2 = 4x 3 + 6y, 2 f x y = 2 f y x = 12x 2 y Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 10 / 33

The chain rule Partial Differentiation The total derivative of f (x, y) with respect to x: df dx = f dx x dx + f dy y dx The total differential of the function f (x, y): The chain rule: df = f f dx + x y dy df du = f dx x du + f dy y du Particularly useful when an equation is expressed in a parametric form Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 11 / 33

The chain rule Partial Differentiation Exercise: Given that x(u) = 1 + au and y(u) = bu 3, find the rate of change of f (x, y) = xe y with respect to u Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 12 / 33

The chain rule Partial Differentiation Exercise: Given that x(u) = 1 + au and y(u) = bu 3, find the rate of change of f (x, y) = xe y with respect to u Using the chain rule: Substituting for x and y: df du = (e y )a + ( xe y )3bu 2 df du = e bu3 (a 3bu 2 3bau 3 ) Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 12 / 33

What is a partial differential equation? Partial differential equation (PDE) is a differential equation that contains unknown multivariable functions and their partial derivatives PDEs are used to describe a wide variety of phenomena: sound, heat, electrodynamics, quantum mechanics... Examples: 1 transport: u x + u y = 0 2 shock wave: u x + uu y = 0 3 vibrating bar: u tt + u xxxx = 0 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 13 / 33

Partial differential equation The most general second-order PDE in two independent variables is: F (x, y, u, u x, u y, u xx, u xy, u yy ) = 0 A solution of a PDE is a function y(x, y,...) that satisfies the equation identically, at least in some region of the x, y,... variables Most of the important PDEs of physics are second-order and linear For linear homogeneous PDEs, the superposition principle applies Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 14 / 33

Partial differential equation - Example Exercise: Find all u(x, y) satisfying the equation u xx = 0 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 15 / 33

Partial differential equation - Example Exercise: Find all u(x, y) satisfying the equation u xx = 0 We could integrate once to get u x = constant? Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 15 / 33

Partial differential equation - Example Exercise: Find all u(x, y) satisfying the equation u xx = 0 We could integrate once to get u x = constant? Since there is another variable y, that s not really right. We get: u x (x, y) = f (y), where f (y) is arbitrary Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 15 / 33

Partial differential equation - Example Exercise: Find all u(x, y) satisfying the equation u xx = 0 We could integrate once to get u x = constant? Since there is another variable y, that s not really right. We get: where f (y) is arbitrary u x (x, y) = f (y), We integrate again to get u(x, y) = f (y)x + g(y). This is the general solution. Note that there are two arbitrary functions in the solution Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 15 / 33

Partial differential equation - Example 2 Exercise: Solve the PDE u xx + u = 0 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 16 / 33

Partial differential equation - Example 2 Exercise: Solve the PDE u xx + u = 0 Again, it s an ODE with an extra variable y Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 16 / 33

Partial differential equation - Example 2 Exercise: Solve the PDE u xx + u = 0 Again, it s an ODE with an extra variable y The solution is u = f (y) cos x + g(y) sin x, where f (y) and g(y) are two arbitrary functions of y Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 16 / 33

Partial differential equation - Example 2 Exercise: Solve the PDE u xx + u = 0 Again, it s an ODE with an extra variable y The solution is u = f (y) cos x + g(y) sin x, where f (y) and g(y) are two arbitrary functions of y Moral: A PDE has arbitrary functions in its solution Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 16 / 33

Important PDEs Partial Differential Equations Transport equation: u t + cu x = 0 Wave equation: u tt = c 2 u xx Diffusion equation: u t = ku xx Laplace equation: u xx + u yy = 0. It is often written as: 2 u = 0 or u = 0, where = 2 is the Laplace operator Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 17 / 33

Numerical methods to solve PDEs The three most widely used numerical methods: 1 Finite difference method The simplest method to learn and use Functions are represented by their values at certain grid points, and derivatives are approximated through differences in these values 2 Finite element method 3 Finite volume method Other methods exist: method of lines, spectral methods, multigrid methods,... Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 18 / 33

Partial Differential Equations Transport equation: intuition and derivation Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 19 / 33

Transport equation: general solution Solve the transport equation u t + cu x = 0 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 20 / 33

Transport equation: general solution Solve the transport equation u t + cu x = 0 You see a wave with speed c: u t + cu x = 0 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 20 / 33

Transport equation: general solution Solve the transport equation u t + cu x = 0 You see a wave with speed c: u t + cu x = 0 I see a stationary wave Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 20 / 33

Transport equation: general solution Solve the transport equation u t + cu x = 0 You see a wave with speed c: u t + cu x = 0 I see a stationary wave moving coordinate ξ = x ct Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 20 / 33

Transport equation: general solution Solve the transport equation u t + cu x = 0 You see a wave with speed c: u t + cu x = 0 I see a stationary wave moving coordinate ξ = x ct u(x, t) = v(ξ, t) Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 20 / 33

Transport equation: general solution Solve the transport equation u t + cu x = 0 You see a wave with speed c: u t + cu x = 0 I see a stationary wave moving coordinate ξ = x ct u(x, t) = v(ξ, t) Derivatives using the chain rule: u t = v ξ ξ t + v t t t v = c ξ + v t Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 20 / 33

Transport equation: general solution Solve the transport equation u t + cu x = 0 You see a wave with speed c: u t + cu x = 0 I see a stationary wave moving coordinate ξ = x ct u(x, t) = v(ξ, t) Derivatives using the chain rule: u t = v ξ ξ t + v t t t v = c ξ + v t u x = v ξ ξ x + v t t x = v ξ Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 20 / 33

Transport equation: general solution Solve the transport equation u t + cu x = 0 You see a wave with speed c: u t + cu x = 0 I see a stationary wave moving coordinate ξ = x ct u(x, t) = v(ξ, t) Derivatives using the chain rule: u t = v ξ ξ t + v t t t v = c ξ + v t u x = v ξ ξ x + v t t x = v ξ u t + cu x = cv ξ + v t + cv ξ = v t = 0 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 20 / 33

Transport equation: general solution Solve the transport equation u t + cu x = 0 You see a wave with speed c: u t + cu x = 0 I see a stationary wave: v t = 0 moving coordinate ξ = x ct u(x, t) = v(ξ, t) Derivatives using the chain rule: u t = v ξ ξ t + v t t t v = c ξ + v t u x = v ξ ξ x + v t t x = v ξ u t + cu x = cv ξ + v t + cv ξ = v t = 0 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 20 / 33

Transport equation: general solution Usual coordinates (x, t): u(x, t) u t + cu x = 0 Moving coordinates (ξ, t) v(ξ, t) v t = 0 ξ = x ct Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 21 / 33

Transport equation: general solution Usual coordinates (x, t): u(x, t) u t + cu x = 0 Moving coordinates (ξ, t) v(ξ, t) v t = 0 ξ = x ct Procedure: solve v t = 0, use to find u(x, t) Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 21 / 33

Transport equation: general solution Usual coordinates (x, t): u(x, t) u t + cu x = 0 Moving coordinates (ξ, t) v(ξ, t) v t = 0 ξ = x ct Procedure: solve v t = 0, use to find u(x, t) v t = 0 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 21 / 33

Transport equation: general solution Usual coordinates (x, t): u(x, t) u t + cu x = 0 Moving coordinates (ξ, t) v(ξ, t) v t = 0 ξ = x ct Procedure: solve v t = 0, use to find u(x, t) v t = 0 v = F (ξ) Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 21 / 33

Transport equation: general solution Usual coordinates (x, t): u(x, t) u t + cu x = 0 Moving coordinates (ξ, t) v(ξ, t) v t = 0 ξ = x ct Procedure: solve v t = 0, use to find u(x, t) v t = 0 v = F (ξ) v(ξ, t) = u(x, t) Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 21 / 33

Transport equation: general solution Usual coordinates (x, t): u(x, t) u t + cu x = 0 Moving coordinates (ξ, t) v(ξ, t) v t = 0 ξ = x ct Procedure: solve v t = 0, use to find u(x, t) v t = 0 v = F (ξ) v(ξ, t) = u(x, t) u(x, t) = F (ξ) = F (x ct) Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 21 / 33

Transport equation: general solution Usual coordinates (x, t): u(x, t) u t + cu x = 0 Moving coordinates (ξ, t) v(ξ, t) v t = 0 ξ = x ct Procedure: solve v t = 0, use to find u(x, t) v t = 0 v = F (ξ) v(ξ, t) = u(x, t) u(x, t) = F (ξ) = F (x ct) Conclusion: General solution of u t + cu x = 0 is F (x ct), where F is a once differentiable function Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 21 / 33

Initial and boundary conditions Because PDEs typically have so many solutions, we single out one solution by imposing auxiliary conditions These conditions are motivated by the considered problem (ex.: physics) They come in two varieties: initial conditions and boundary conditions Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 22 / 33

Initial and boundary conditions An initial condition specifies the physical state at a particular time t 0. We can have one or several initial conditions: u(x, t 0 ) = φ(x) = φ(x, y, z) u u(x, t 0 ) = φ(x) and t (x, t 0) = ψ(x), Examples: φ(x) is the initial position, or the initial temperature,... Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 23 / 33

Initial and boundary conditions In each physical domain there is a domain D in which the PDE is valid. Example: For the vibrating string, D is the interval 0 < x < l, where l is the length of the string. The boundary of D consists only of the two points x = 0 and x = l To determine the solution, it is necessary to specify some boundary conditions Three most important kinds of boundary conditions: 1 Dirichlet condition: u is specified 2 Neumann condition: the normal derivative u/ n is specified Example: u/ n = g(x, t) 3 Robin condition: u/ n + au is specified, a = a(x, y, z, t) Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 24 / 33

Initial and boundary conditions Three most important kinds of boundary conditions: 1 Dirichlet condition: u is specified 2 Neumann condition: the normal derivative u/ n is specified Example: u/ n = g(x, t) 3 Robin condition: u/ n + au is specified, a = a(x, y, z, t) In one-dimensional problems the boundary consists of two endpoints boundary conditions take the simple form (D) u(0, t) = g(t) and u(l, t) = h(t) (N) u x u (0, t) = g(t) and (l, t) = h(t) x Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 25 / 33

Well-posed problems Partial Differential Equations Well-posed problems consist of: a PDE in a domain a set of initial and/or boundary conditions or other auxiliary conditions that enjoy the following fundamental properties 1 Existence: There exists at least one solution u(x, t) satisfying all conditions 2 Uniqueness: There is at most one solution 3 Stability: If the data are changed a little, the solution changes only a little Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 26 / 33

Transport equation: method of characteristics Technique for solving PDE by reducing to ODE Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 27 / 33

Transport equation: method of characteristics Technique for solving PDE by reducing to ODE x(t) = position of the moving observer Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 27 / 33

Transport equation: method of characteristics Technique for solving PDE by reducing to ODE x(t) = position of the moving observer How does u(x, t) change from observer s perspective? Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 27 / 33

Transport equation: method of characteristics Technique for solving PDE by reducing to ODE x(t) = position of the moving observer How does u(x, t) change from observer s perspective? d du u(x(t), t) = dt dt = u dx x dt + u t Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 27 / 33

Transport equation: method of characteristics Technique for solving PDE by reducing to ODE x(t) = position of the moving observer How does u(x, t) change from observer s perspective? d du u(x(t), t) = dt dt = u dx x dt + u t 0 = cu x + u t Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 27 / 33

Transport equation: method of characteristics Technique for solving PDE by reducing to ODE x(t) = position of the moving observer How does u(x, t) change from observer s perspective? d du u(x(t), t) = dt dt = u dx x dt + u t 0 = cu x + u t dx/dt = c - moving with speed c du/dt = 0 - u not changing Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 27 / 33

Transport equation: method of characteristics du dt u t + cu x = 0 = 0 along curves given by dx dt = c dx dt = c x = ct + x 0 Need initial condition u(x, 0) = f (x) Along x ct = x 0, u(x, t) = f (x 0 ) = f (x ct) Solution: u(x, t) = f (x ct) Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 28 / 33

Transport equation: Exercise Solve the initial value problem (PDE + initial condition): u t + cu x = 1 u(x, 0) = sin x Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 29 / 33

Transport equation: Exercise Solve the initial value problem (PDE + initial condition): du dt = u dx x dt + u t u t + cu x = 1 u(x, 0) = sin x Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 29 / 33

Transport equation: Exercise Solve the initial value problem (PDE + initial condition): du dt = u dx x dt + u t u t + cu x = 1 u(x, 0) = sin x 1 = u x c + u t Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 29 / 33

Transport equation: Exercise Solve the initial value problem (PDE + initial condition): du dt = u dx x dt + u t u t + cu x = 1 u(x, 0) = sin x 1 = u x c + u t dx/dt = c du/dt = 1 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 29 / 33

Transport equation: Exercise Solve the initial value problem (PDE + initial condition): du dt = u dx x dt + u t u t + cu x = 1 u(x, 0) = sin x 1 = u x c + u t dx/dt = c du/dt = 1 du dt = 1 u = t + A along characteristic lines Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 29 / 33

Transport equation: Exercise Solve the initial value problem (PDE + initial condition): du dt = u dx x dt + u t u t + cu x = 1 u(x, 0) = sin x 1 = u x c + u t dx/dt = c du/dt = 1 du dt = 1 u = t + A along characteristic lines Using an initial condition: u(x, 0) = 0 + sin x A = sin x Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 29 / 33

Transport equation: Exercise Solve the initial value problem (PDE + initial condition): du dt = u dx x dt + u t u t + cu x = 1 u(x, 0) = sin x 1 = u x c + u t dx/dt = c du/dt = 1 du dt = 1 u = t + A along characteristic lines Using an initial condition: u(x, 0) = 0 + sin x A = sin x Solution: u(x, t) = t + sin(x ct) Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 29 / 33

Solving PDE using Laplace transforms Laplace transforms are well suited to solve linear PDE with constant coefficients If we have a function of two variables w(x, t): L{w(x, t)} = W (x, s) = 0 e st w(x, t)dt Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 30 / 33

Solving PDE using Laplace transforms Laplace transforms are well suited to solve linear PDE with constant coefficients If we have a function of two variables w(x, t): L{w(x, t)} = W (x, s) = Transform of partial derivatives: 0 e st w(x, t)dt L{w t (x, t)} = sl{w(x, t)} w(x, 0) = sw (x, s) w(x, 0) L{w tt (x, t)} = s 2 L{w(x, t)} sw(x, 0) w t (x, 0) L{w x (x, t)} = L{w(x, t)} x L{w xx (x, t)} = 2 L{w(x, t)} x 2 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 30 / 33

Solving PDE using Laplace transforms: Example Exercise: Solve, via Laplace transforms: w x + 2xw t = 0, w(x, 0) = 0, w(0, t) = t, t 0 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 31 / 33

Solving PDE using Laplace transforms: Example Exercise: Solve, via Laplace transforms: w x + 2xw t = 0, w(x, 0) = 0, w(0, t) = t, t 0 We have: L{w x } + 2xL{w t } = 0 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 31 / 33

Solving PDE using Laplace transforms: Example Exercise: Solve, via Laplace transforms: w x + 2xw t = 0, w(x, 0) = 0, w(0, t) = t, t 0 We have: L{w x } + 2xL{w t } = 0 Apply TOD to obtain: W x + 2x[sW (x, s) w(x, 0)] = 0 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 31 / 33

Solving PDE using Laplace transforms: Example Exercise: Solve, via Laplace transforms: w x + 2xw t = 0, w(x, 0) = 0, w(0, t) = t, t 0 We have: L{w x } + 2xL{w t } = 0 Apply TOD to obtain: W x + 2x[sW (x, s) w(x, 0)] = 0 Apply initial conditions: W x + 2xsW = 0 (ODE, 1st-order, linear) Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 31 / 33

Solving PDE using Laplace transforms: Example Exercise: Solve, via Laplace transforms: w x + 2xw t = 0, w(x, 0) = 0, w(0, t) = t, t 0 We have: L{w x } + 2xL{w t } = 0 Apply TOD to obtain: W x + 2x[sW (x, s) w(x, 0)] = 0 Apply initial conditions: W x + 2xsW = 0 (ODE, 1st-order, linear) General solution of the separable equation: W (x, s) = A(s)e sx2 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 31 / 33

Solving PDE using Laplace transforms: Example Exercise: Solve, via Laplace transforms: w x + 2xw t = 0, w(x, 0) = 0, w(0, t) = t, t 0 We have: L{w x } + 2xL{w t } = 0 Apply TOD to obtain: W x + 2x[sW (x, s) w(x, 0)] = 0 Apply initial conditions: W x + 2xsW = 0 (ODE, 1st-order, linear) General solution of the separable equation: W (x, s) = A(s)e sx2 Obtain A(s): W (0, s) = L{w(0, t)} = L{t} = 1/s 2 A(s) = 1/s 2 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 31 / 33

Solving PDE using Laplace transforms: Example Exercise: Solve, via Laplace transforms: w x + 2xw t = 0, w(x, 0) = 0, w(0, t) = t, t 0 We have: L{w x } + 2xL{w t } = 0 Apply TOD to obtain: W x + 2x[sW (x, s) w(x, 0)] = 0 Apply initial conditions: W x + 2xsW = 0 (ODE, 1st-order, linear) General solution of the separable equation: W (x, s) = A(s)e sx2 Obtain A(s): W (0, s) = L{w(0, t)} = L{t} = 1/s 2 A(s) = 1/s 2 W (x, s) = 1 s 2 e sx2 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 31 / 33

Solving PDE using Laplace transforms: Example Exercise: Solve, via Laplace transforms: w x + 2xw t = 0, w(x, 0) = 0, w(0, t) = t, t 0 W (x, s) = 1 s 2 e sx2 Second shifting theorem: L 1 {e cs F (s)} = u c (t)f (t c), where the Heaviside (unit step) function: 0, t < c; u c (t) = 1, t c F (s) = 1 s 2 f (t) = t w(x, t) = L 1 { 1 s 2 e sx2 } = u x 2(t)[t x 2 ] Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 32 / 33

Partial differential equations Other analytical methods exist: Separation of variables Change of variables Fundamental solution You can read more here: W. A. Strauss, Partial Differential Equations: An Introduction, John Wiley & Sons Ltd, 2008 Yuliya Tarabalka (yuliya.tarabalka@inria.fr) Differential Equations 33 / 33