Week 5 5. Partial derivatives

Slides:



Advertisements
Similar presentations
Week 10 Generalised functions, or distributions
Advertisements

1 Example 1: quantum particle in an infinitely narrow/deep well The 1D non-dimensional Schrödinger equation is where ψ is the “wave function” (such that.
MULTIPLE INTEGRALS MULTIPLE INTEGRALS Recall that it is usually difficult to evaluate single integrals directly from the definition of an integral.
Ch 2.6: Exact Equations & Integrating Factors
19. Series Representation of Stochastic Processes
Math 3120 Differential Equations with Boundary Value Problems
Ch 2.6: Exact Equations & Integrating Factors Consider a first order ODE of the form Suppose there is a function  such that and such that  (x,y) = c.
Taking a Square Root to Solve an Equation. Solve: In order to solve for x, you have to UNDO the squared first (i.e. square root) What are the number(s)
1 Part 1: Ordinary Differential Equations Ch1: First-Order Differential Equations Ch2: Second-Order Differential Equations Ch3: The Laplace Transform Ch4:
1 Week 4 1. Fourier series: the definition and basics (continued) Fourier series can be written in a complex form. For 2π -periodic function, for example,
First Order Linear Equations Integrating Factors.
EXAMPLE 3 Write an equation of a line given two points
Write an equation given two points
3.5 Solving systems of equations in 3 variables
3 DIFFERENTIATION RULES.
CHAPTER III LAPLACE TRANSFORM
1 Review of Fourier series Let S P be the space of all continuous periodic functions of a period P. We’ll also define an inner (scalar) product by where.
1 Week 7 where R(x) is a given complex function. It turns out that (1) doesn’t necessarily have a solution. Consider a problem of the form 4. Non-homogeneous.
First-Order Differential Equations
First-order linear equations
Chapter 21 Exact Differential Equation Chapter 2 Exact Differential Equation.
MULTIPLE INTEGRALS 2.2 Iterated Integrals In this section, we will learn how to: Express double integrals as iterated integrals.
Integration Copyright © Cengage Learning. All rights reserved.
Differential Equations Separation of variables Exact factors of Differential Equations Integrating factors Before you begin you should be confident with:
Solving Linear Systems by Substitution
9.1 Solving Differential Equations Mon Jan 04 Do Now Find the original function if F’(x) = 3x + 1 and f(0) = 2.
Clicker Question 1 Suppose a population of gerbils starts with 20 individuals and grows at an initial rate of 6% per month. If the maximum capacity is.
Solving a System of Equations in Two Variables By Substitution Chapter 8.2.
Section 2.4 Exact Equations.
Chapter 21 Exact Differential Equation Chapter 2 Exact Differential Equation.
Differential Equations
7.2* Natural Logarithmic Function In this section, we will learn about: The natural logarithmic function and its derivatives. INVERSE FUNCTIONS.
First-order Differential Equations Chapter 2. Overview II. Linear equations Chapter 1 : Introduction to Differential Equations I. Separable variables.
Math for CS Fourier Transforms
1 Week 3 First-order ordinary differential equations (ODE) 1.Basic definitions 2.Separable ODEs 3.ODEs reducible to separable form 4.Linear first-order.
1 Week 11 Numerical methods for ODEs 1.The basics: finite differences, meshes 2.The Euler method.
Chapter 14 Partial Derivatives
Week 9 4. Method of variation of parameters
1.3 Separable ODEs. Modeling
First-Order Differential Equations
MAT Classical Mechanics
Copyright © Cengage Learning. All rights reserved.
CHAPTER III LAPLACE TRANSFORM
Differential Equations
Week 5 The Fourier series and transformation
Week 8 Second-order ODEs Second-order linear homogeneous ODEs
Ch 2.6: Exact Equations & Integrating Factors
PARTIAL DERIVATIVES.
Week 7 2. The dynamics of games Consider the following questions:
Linear Differential Equations
Week 4 4. Linear first-order ODEs
Functions of Several Variables
FIRST ORDER DIFFERENTIAL EQUATIONS
Chapter 17 Multivariable Calculus.
The derivative and the tangent line problem (2.1)
Solve a system of linear equation in two variables
3.5 Solving systems of equations in 3 variables
Find f x and f y. f ( x, y ) = x 5 + y 5 + x 5y
Clicker Question 1 Suppose a population of gerbils starts with 20 individuals and grows at an initial rate of 6% per month. If the maximum capacity is.
Sec 2.4: Exact Differential Equations
Copyright © Cengage Learning. All rights reserved.
Chapter 4 THE LAPLACE TRANSFORM.
Differentials; Exact Equations
Copyright © Cengage Learning. All rights reserved.
Antiderivatives and Indefinite Integration
Differential Equations
Week 8 Second-order ODEs Second-order linear homogeneous ODEs
Recall what is an 1st-order ODE
Differential Equations
Presentation transcript:

Week 5 5. Partial derivatives ۞ Consider a function of two variables f(x, y). To calculate the partial derivative of f with respect to x, one should differentiate f with respect to x, while treating y as a constant. Notation:

Example 1: Given find fx at (4, –5). Answer: fx = 2x + 3y2 = 2 × 4 + 3 × 52 = 83.

Second-order derivatives: “d squared f d x squared” “d squared f d x d y” The method of calculation:

Example 2: Given find fxx, fyy, fxy, fyx. Solution: Observe that fxy = fyx.

Theorem 1: The Mixed Derivatives Theorem If f(x, y) and its partial derivatives fxx, fyy, fxy and fxy exist and are continuous at a point (x0, y0), then ۞ A linear approximation of a function of a single variable is ۞ A linear approximation of a function of two variables is

۞ An expression of the form is called the differential of the function f(x, y).

6. Exact ODEs Any 1st-order ODE, can be rewritten in the form (1) In some cases, (1) can be further rewritten as (2) where the function f(x, y) is such that

Eq. (2) can be immediately solved in an implicit form: Example 3: The ODE (3) Can be rewritten in the form df = 0, where Hence the solution of (3) is

۞ An ODE of the form (1) is called exact if a function f(x, y) exists such that Q: What happens if we are not given f(x, y)? Can we still test an ODE for exactness?

Theorem 2: If M(x, y) and N(x, y) are smooth (i.e. have continuous derivatives) everywhere in R2, then (1) is exact if and only if Proof consist of two parts: 1. If ODE (1) is exact, then My = Nx. 2. If My = Nx, then ODE (1) exact. We’ll prove only part 1 (part 2 is harder to prove).

If ODE (1) is exact – hence, Then, calculate (4) Due to the Mixed Derivatives Theorem (Theorem 1), fxy = fyx – hence, (4) implies that My = Nx, as required. 

Example 4: (a) isn’t exact because

Example 4 (continued): (b) is exact because

Q: We’ve tested an ODE, and it’s turned out to be exact Q: We’ve tested an ODE, and it’s turned out to be exact. How can we solve it? Example 5: Solve Solution: This ODE has been tested in Example 5b and has turned out to be exact. Hence, there exists f(x, y) such that (5) (6)

Solving (5) (7) where k(y) is a ‘constant’ of integration with respect to x. Substitute (7) into (6): hence, hence,

(8) where the constant of integration was omitted. Substitute (8) into (7): Finally, the solution to the original ODE is Q: What would happen if we kept the constant of integration in (8)?

۞ Consider a non-exact ODE and multiply it by a function I(x, y) ۞ Consider a non-exact ODE and multiply it by a function I(x, y). If after that the ODE becomes exact, I(x, y) is called an integrating factor for this ODE (“an” because can be more than one). Example 6: Show that I = y–2 is an integrating factor for (9) and solve it. Solution: Step 1: Multiply (9) by I, (10) hence,

Testing (10) for exactness: Since (Mnew)y = (Nnew)x , the test’s passed. Step 2: Solving (10): This is NOT the answer The answer is:

Exact ODEs (summary): (11) 1. Eq. (11) is exact if 2. If it indeed is, f(x, y) exists such that (12) 3. Solve (12) for f(x, y) and write down the answer in the form 4. If (11) is not exact...

4. If (11) is not exact (i.e. My ≠ Nx), then it can be made exact by multiplying by a suitable integrating factor I(x, y): Mnew Nnew If I(x, y) is chosen well, then and the ODE has indeed become exact (hence, can be solved through the standard procedure).