Lecture 9: Partial Derivatives

Lecture 9: Partial Derivatives

Math S21a: Multivariable calculus Oliver Knill, Summer 2016 Lecture 9: Partial derivatives ∂ If f(x,y) is a function of two variables, then ∂x f(x,y) is defined as the derivative of the function g(x) = f(x,y) with respect to x, where y is considered a constant. It is called the partial derivative of f with respect to x. The partial derivative with respect to y is defined in the same way. ∂ We use the short hand notation fx(x,y) = ∂x f(x,y). For iterated derivatives, the notation is ∂ ∂ similar: for example fxy = ∂x ∂y f. The meaning of fx(x0,y0) is the slope of the graph sliced at (x0,y0) in the x direction. The second derivative fxx is a measure of concavity in that direction. The meaning of fxy is the rate of change of the slope if you change the slicing. The notation for partial derivatives ∂xf,∂yf was introduced by Carl Gustav Jacobi. Before, Josef Lagrange had used the term ”partial differences”. Partial derivatives fx and fy measure the rate of change of the function in the x or y directions. For functions of more variables, the partial derivatives are defined in a similar way. 4 2 2 4 3 2 2 2 1 For f(x,y)= x 6x y + y , we have fx(x,y)=4x 12xy ,fxx = 12x 12y ,fy(x,y)= − − − 12x2y +4y3,f = 12x2 +12y2 and see that f + f = 0. A function which satisfies this − yy − xx yy equation is also called harmonic. The equation fxx + fyy = 0 is an example of a partial differential equation: it is an equation for an unknown function f(x,y) which involves partial derivatives with respect to more than one variables. Clairaut’s theorem If fxy and fyx are both continuous, then fxy = fyx. Proof: we look at the equations without taking limits first. We extend the definition and say that a background “Planck constant” h is positive, then f (x,y)=[f(x + h,y) f(x,y)]/h. For h =0 x − we define fx as before. Comparing the two sides for fixed h> 0 shows hfx(x, y) = f(x + h, y) − f(x, y) hfy (x, y) = f(x, y + h) − f(x, y). 2 2 h fxy (x, y) = f(x + h, y + h) − f(x, y + h) − (f(x + h, y) − f(x, y)) h fyx(x, y) = f(x + h, y + h) − f(x + h, y) − (f(x, y + h) − f(x, y)) We have not taken any limits and established an identity which holds for all h > 0: the discrete derivatives fx,fy satisfy the relation fxy = fyx for any h> 0. We could fancy the identity obtained in the proof as a ”quantum Clairaut” theorem. If the classical derivatives fxy,fyx are both continuous, it is possible to take the limit h 0. The classical Clairaut’s theorem as a ”classical limit”. Note that the quantum Clairaut theorem→ shown in this proof holds for all functions f(x,y) of two variables. We do not even need continuity. 6 10 2 Find fxxxxxyxxxxx for f(x) = sin(x)+ x y cos(y). Answer: you do not need to compute. Once you see it, its obvious. 3 The continuity assumption for fxy is necessary. The example x3y xy3 f(x,y)= − x2 + y2 contradicts the Clairaut theorem: 1 f (x,y) = (3x2y y3)/(x2 + y2) 2x(x3y f (x,y)=(x3 3xy2)/(x2 + y2) 2y(x3y x − − − y − − − xy3)/(x2 +y2)2, f (0,y)= y, f (0, 0) = 1, xy3)/(x2 + y2)2, f (x, 0) = x, f (0, 0) = 1. x − xy − y y,x An equation for an unknown function f(x,y) which involves partial derivatives with respect to at least two different variables is called a partial differential equation (PDE) If only the derivative with respect to one variable appears, it is an ordinary differential equation (ODE). Here are examples of partial differential equations. You have to know the first four in the same way than a chemist has to know what H2O,CO2,CH4, NaCl is. 4 The wave equation ftt(t,x)= fxx(t,x) governs the motion of light or sound. The function f(t,x) = sin(x t) + sin(x + t) satisfies the wave equation. − 5 The heat equation ft(t,x)= fxx(t,x) describes diffusion of heat or spread of an epi- 1 x2/(4t) demic. The function f(t,x)= √t e− satisfies the heat equation. 6 The Laplace equation fxx + fyy =0 determines the shape of a membrane. The function f(x,y)= x3 3xy2 is an example satisfying the Laplace equation. − 7 The advection equation ft = fx is used to model transport in a wire. The function (x+t)2 f(t,x)= e− satisfies the advection equation. 2 2 8 The eiconal equation fx + fy =1 is used to see the evolution of wave fronts in optics. The function f(x,y) = cos(x) + sin(y) satisfies the eiconal equation. 9 The Burgers equation ft + ffx = fxx describes waves at the beach which break. The 1 −x2/(4t) x √ t e function f(t,x)= t 1 −x2/(4t) satisfies the Burgers equation. 1+√ t e 10 The KdV equation ft +6ffx + fxxx =0 models water waves in a narrow channel. a2 2 a 2 The function f(t,x)= cosh− ( (x a t)) satisfies the KdV equation. 2 2 − i~ 11 The Schr¨odinger equation ft = 2m fxx is used to describe a quantum particle of mass ~ i(kx k2t) 2 m. The function f(t,x)= e − 2m solves the Schr¨odinger equation. [Here i = 1 is 34 − the imaginary i and ~ is the Planck constant ~ 10− Js.] ∼ Here are the graphs of the solutions of the equations. Can you match them with the PDE’s? 2 Notice that in all these examples, we have just given one possible solution to the partial differen- tial equation. There are in general many solutions and only additional conditions like initial or boundary conditions determine the solution uniquely. If we know f(0,x) for the Burgers equation, then the solution f(t,x) is determined. A course on partial differential equations would show you how to get the solution. Paul Dirac once said: ”A great deal of my work is just playing with equations and seeing what they give. I don’t suppose that applies so much to other physicists; I think it’s a peculiarity of myself that I like to play about with equations, just looking for beautiful mathematical relations which maybe don’t have any physical meaning at all. Sometimes they do.” Dirac discovered a PDE describing the electron which is consistent both with quantum theory and special relativity. This won him the Nobel Prize in 1933. Dirac’s equation could have two solutions, one for an electron with positive energy, and one for an electron with negative energy. Dirac interpreted the later as an antiparticle: the existence of antiparticles was later confirmed. We will not learn here to find solutions to partial differential equations. But you should be able to verify that a given function is a solution of the equation. Homework 1 Verify that f(t,x) = exp(sin(t+x))) is a solution of the transport equation ft(t,x)= fx(t,x). 2 Verify that f(x,y) = sin(x)(cos(3y)+sin(3y)) satisfies the Klein Gordon equation u u =8u. This PDE is useful in quan- xx − yy tum mechanics. (x t/2)2/√3 Challenge (no need to turn in): Verify that 4 arctan(e − ) 3 satisfies the Sine Gordon equation u u = sin(u). If tt − xx − you can do that problem without technology, put it on a sepa- rate page and give it to Oliver. Its not for credit. I just wonder whether somebody can do it. bt 3 Verify that for any constants b,c, the function f(x,t)= e− cos(x+ ct) satisfies the driven transport equation f (x,t) = cf (x,t) t x − bf(x,t) It is sometimes also called the advection equation. 4 The differential equation f = f xf x2f t − x − xx is a variant of the infamous Black-Scholes equation. Here f(x,t) is the prize of a call option and x the stock prize ad t is time. This is a bit a creative problem. Find a function f(x,t) which solves this equation. 5 The partial differential equation ft + ffx = fxx is called Burg- ers equation and describes waves at the beach. In higher di- mensions, it leads to the Navier-Stokes equation which are used to describe the weather. Verify that 2 1 3/2 x xe− 4t f(t,x) t x2 1 4t q t e− +1 solves the Burgers equation. Remark. You better use technology. Here is an example on how to check that a function is a solution of the heat equation in Mathematica: f[t_,x_]:=(1/Sqrt[t])*Exp[-x^2/(4t)]; Simplify[D[f[t,x],t] == D[f[t,x],{x,2}]] And here is the function (1/t)^(3/2)*x*Exp[-x^2/(4t)]/((1/t)^(1/2)*Exp[-x^2/(4t)]+1); 4 Math S21a: Multivariable calculus Oliver Knill, Summer 2016 Lecture 10: Linearization In single variable calculus, you have seen the following definition: The linear approximation of f(x) at a point a is the linear function L(x)= f(a)+ f ′(a)(x a) . − ∞ (k) If you should have seen Taylor series, this is a truncation of the series f(x) = Pk=0 f (a)(x a)k/k! taking only the k = 0 and k = 1 term.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    16 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us