Review of first 1/3 of course

Slides:



Advertisements
Similar presentations
Chapter 11-Functions of Several Variables
Advertisements

Chapter 9: Vector Differential Calculus Vector Functions of One Variable -- a vector, each component of which is a function of the same variable.
The gradient as a normal vector. Consider z=f(x,y) and let F(x,y,z) = f(x,y)-z Let P=(x 0,y 0,z 0 ) be a point on the surface of F(x,y,z) Let C be any.
ESSENTIAL CALCULUS CH11 Partial derivatives
F(x,y) = x 2 y + y y  f — = f x =  x 2xyx 2 + 3y y ln2 z = f(x,y) = cos(xy) + x cos 2 y – 3  f — = f y =  y  z —(x,y) =  x – y sin(xy)
Chapter 13 – Vector Functions
Chapter 14 – Partial Derivatives
PARTIAL DERIVATIVES 14. PARTIAL DERIVATIVES 14.6 Directional Derivatives and the Gradient Vector In this section, we will learn how to find: The rate.
Chapter 14 – Partial Derivatives
9.2 The Directional Derivative 1)gradients 2)Gradient at a point 3)Vector differential operator.
15 PARTIAL DERIVATIVES.
VECTOR CALCULUS VECTOR CALCULUS Here, we define two operations that:  Can be performed on vector fields.  Play a basic role in the applications.
 By River, Gage, Travis, and Jack. Sections Chapter 6  6.1- Introduction to Differentiation (Gage)  The Gradient Function (Gage)  Calculating.
Section 11.3 Partial Derivatives
Chemistry 330 The Mathematics Behind Quantum Mechanics.
Jeopardy 203. Formulas 100 Lines 100 Planes 100 Surfaces 100 Curves 100 Formulas 101 Lines 200 Planes 200 Surfaces 200 Curves 200 Formulas 102 Lines 300.
Vector Calculus CHAPTER 9.5 ~ 9.9. Ch9.5~9.9_2 Contents  9.5 Directional Derivatives 9.5 Directional Derivatives  9.6 Tangent Planes and Normal Lines.
CS 325 Introduction to Computer Graphics 02 / 17 / 2010 Instructor: Michael Eckmann.
CS 376 Introduction to Computer Graphics 02 / 16 / 2007 Instructor: Michael Eckmann.
Functions of Several Variables 13 Copyright © Cengage Learning. All rights reserved.
Vector Calculus CHAPTER 9.1 ~ 9.4. Ch9.1~9.4_2 Contents  9.1 Vector Functions 9.1 Vector Functions  9.2 Motion in a Curve 9.2 Motion in a Curve  9.3.
MA Day 25- February 11, 2013 Review of last week’s material Section 11.5: The Chain Rule Section 11.6: The Directional Derivative.
Consider minimizing and/or maximizing a function z = f(x,y) subject to a constraint g(x,y) = c. y z x z = f(x,y) Parametrize the curve defined by g(x,y)
1 When you see… Find the zeros You think…. 2 To find the zeros...
Copyright © Cengage Learning. All rights reserved.
Sec 15.6 Directional Derivatives and the Gradient Vector
Tangents and Normals We’re going to talk about tangents and normals to 3-D surfaces such as x 2 + y 2 + z 2 = 4 It’s useful to think of these surfaces.
Section 15.6 Directional Derivatives and the Gradient Vector.
Tangent Planes and Normal Lines
MA Day 34- February 22, 2013 Review for test #2 Chapter 11: Differential Multivariable Calculus.
Recall that for a real valued function from R n to R 1, such as f(x,y) or f(x,y,z), the derivative matrix can be treated as a vector called the gradient.
Copyright © Cengage Learning. All rights reserved. 14 Partial Derivatives.
When you see… Find the zeros You think…. To find the zeros...
When you see… Find the zeros You think…. To find the zeros...
Copyright © Cengage Learning. All rights reserved.
Chapter 14 Partial Derivatives
Mean Value Theorem.
Chapter 14 Partial Derivatives.
Announcements Topics: Work On:
14.6 Directional Derivatives and the Gradient Vector
Tangent Planes and Normal Lines
PARTIAL DERIVATIVES.
13 Functions of Several Variables
Partial Derivative - Definition
Copyright © Cengage Learning. All rights reserved.
Contents 9.1 Vector Functions 9.2 Motion in a Curve
Recall from Section 2.6: A curve in R2 can be defined by f(x,y) = b (which is a level curve of the function z = f(x,y)). If c(t) = (x(t) , y(t)) describes.
11 Vectors and the Geometry of Space
Math 200 Week 3 - Monday Planes.
REVIEW PROBLEMS FOR TEST 1 PART 3
Joshua Barczak CMSC 435 UMBC
By the end of Week : You would learn how to solve many problems involving limits, derivatives and integrals of vector-valued functions and questions.
When you see… Find the zeros You think….
Directional derivative
We live in a Three Dimensional World
Math 200 Week 4 - Monday Partial derivatives.
Math 200 Week 6 - Monday Tangent Planes.
Motion Along a Line: Vectors
Local Linear Approximation
Parametric Equations and Calculus
Review of first 1/3 of course
13 VECTOR CALCULUS.
Copyright © Cengage Learning. All rights reserved.
2 Vectors in 2-space and 3-space
Copyright © Cengage Learning. All rights reserved.
Linear Algebra A gentle introduction
16.2: Line Integrals 16.3: The Fundamental Theorem for Line Integrals
Directional Derivatives
Presentation transcript:

Review of first 1/3 of course Parameterized curves x = f(t) 1D parameterized function Mapping from 1D to 1D Gives x coordinate of object moving in 1D at time t. x (t=0) (t=1) (t=2) (t=3) y x = f(t), y=g(t) 1D parameterized function Mapping from 1D to 2D Gives (x,y) coordinate of object moving in 2D at time t. (t=2) (t=3) (t=1) (t=0) x z (t=3) y x = f(t), y=g(t), z=h(t) 1D parameterized function Mapping from 1D to 3D Gives (x,y,z) coordinate of object moving in 3D at time t. (t=2) (t=1) (t=0) x J.A. Sethian/UC Berkeley

Derivatives of parameterized curves y R(t1) = (x(t1), y(t1)) R(t) = (x(t), y(t)) is vector description of curve in 2D. R(t0) = (x(t0), y(t0)) x y dR(t)/dt=(dx(t)/dt , dy(t)/dt) is vector derivative of particle trajectory It is tangent to the curve at the point x(t=t0), y(t=t0) (t=t0) dR(t=t0)/dt R(t=t0) = (x(t=t0), y(t=t0)) x J.A. Sethian/UC Berkeley

Arc-length of parameterized curves y B (At t=t1) (x(t), y(t)) describes curve in 2D. What is the total arc-length S from A to B? A At t=t0 S x dS(t)/dt=[ (dx(t)/dt)2 + (dy(t)/dt)2 ](1/2) using “bob’s” theorem. Add them all up to get total arc-length S = [ds(t)/dt] dt S = = [ (dx(t)/dt)2 + (dy(t)/dt)2 ](1/2) dt t1 t0 y t1 ds(t) dy(t)/dt dx(t)/dt t0 x J.A. Sethian/UC Berkeley

Vectors Dot product Cross product Two vectors in 3 dimensions V=(v1,v2,v3) Definition of dot product: U dot V = (u1*v1 + u2*v2 + u3*v3) z Ѳ y Angle between vectors is Ѳ U=(u1,u2,u3) Proved: U dot V = |U| |V| cos Ѳ Proved: Two vectors are orthogonal U dot V=0 x Cross product W=(w1,w2,w3) z Given two vectors in 3 dimensions Can define their cross product as U x V = W=(u2*v3-u3*v2,u3*v1-u1*v3,u1*v2-u2*v1) y V=(v1,v2,v3) Ѳ Proved: W=U x V is orthogonal to U and to V U=(u1,u2,u3) Proved: |U x V| = |U||V| sin Ѳ x Proved: |U x V| = area of parallelogram J.A. Sethian/UC Berkeley

Defining planes using vectors A plane is completely described if you are given a point P=(x0,y0,z0) and normal vector N For any point (x,y,z) in the plane, the vector that connects (x,y,z) to P is given by V = (x-x0,y-y0,z-z0) N = (a,b,c) normal vector We can write an equation for any point (x,y,z) in the plane by realizing that the any such vector V in the plane must be orthogonal to N: that is, N dot V = 0 R P=(xo,yo,zo) Q V = (x-x0,y-y0,z-z0) So any point (x,y,z) in the plane must satisfy N dot V = 0: which is the same as (a,b,c) dot (x-x0,y-y0,z-z0) = 0 which becomes a(x-x0) + b(x-y0) + x(z-z0) = 0 (x,y,z) If we are not given a normal vector N , but instead have three points P, Q, and R in the plane, we can find a normal vector N by taking the cross product N = (Q-P) x (R-P) J.A. Sethian/UC Berkeley

Functions of more than one variable Input space Need an extra dimension to graph it f(x): 1D input to 1D output y=f(x0) y y=f(x) x (Red arrow is output space) Function of one variable x x0 z=f(x0,y0) z y f(x,y): 2D input to 1D output z=f(x,y) (x,y) y x (x0,y0) Function of two variables x z w w=f(x0,y0,z0) f(x,y,z): 3D input to 1D output (x,y,z) z w=f(x,y,z) y y (I don’t know how to draw the graph, but it’s there somewhere!) (x0,y0,z0) x Function of three variables x

Derivatives of functions of more than one variable Start with a function f(x,y) The graph is 2D surface in R3 z=f(x0,y0+h) Slope=fy(x0,y0) z z=f(x0+h,y0) At an input point (x0,y0) the function has an output f(x0,y0) z=f(x,y) We can ask “how does the output change as x increases, holding y fixed?” z=f(x0,y0) y Slope=fx(x0,y0) (x0,y0+h) (x0,y0) The slope of the line connecting these changes is 𝐟𝐱 𝐱𝟎,𝐲𝟎 x (x0+h,y0) We can also ask “how does the output change as y increases, holding x fixed?” Answer= 𝐟𝐲 𝐱𝟎,𝐲𝟎 J.A. Sethian/UC Berkeley

The Multi-Dimensional Chain Rule Of one variable: t f(t) x g(x) y 𝒅𝒚 𝒅𝒚 = 𝒅𝒚 𝒅𝒙 𝒅𝒙 𝒅𝒕 Of many variables: t f(r,s,t) u a(u,v) x z s g(r,s,t) v c(x,y) b(v,w) y h(r,s,t) w r To find 𝝏𝒛 𝒅𝒓 follow all pathways through the graph: 𝝏𝒛 𝝏𝒓 = 𝝏𝒛 𝝏𝒙 𝝏𝒙 𝝏𝒖 𝛛𝒖 𝝏𝒓 + 𝝏𝒛 𝝏𝒙 𝝏𝒙 𝝏𝒗 𝛛𝒗 𝝏𝒓 + 𝝏𝒛 𝝏𝒚 𝝏𝒚 𝝏𝒗 𝛛𝒗 𝝏𝒓 + 𝝏𝒛 𝝏𝒚 𝛛𝒚 𝝏𝒘 𝝏𝒘 𝝏𝒓 J.A. Sethian/UC Berkeley

Critical Values of Multivariable functions One dimension y=f(x) y y Critical points: Places where df/dx =0 If, in addition, d2f/dx2 <0 (>0) then max (min) x x a b c d e x=a: global maximum ||| x=b: global min ||| x=c: local maximum |||x=d: local min |||x=e: (inflection) Two dimensions z=f(x,y) Critical points: Places where both df/dx =0 and df/dy=0 f(a2,b2) At the input point (a,b) define D as D(a,b)=fxx(a,b) fyy(a,b) – [fxy(a,b)]2 Suppose (a,b) is a critical point, then (a) if D(a,b)>0 and fxx(a,b)>0, then local max (b) if D(a,b)>0 and fxx(a,b)<0, then local min (c) if D(a,b)<0, then neither max nor min f(a0,b0) f(a1,b1) (a0,b0) = local max. (a1,b1) = neither (saddle) (a2,b2)= global max J.A. Sethian/UC Berkeley

Direction Derivatives We can also ask: Standing at the input point (x0,y0), how does the output change if we move in the direction u=(a,b), where u is a unit vector? z z=f(x,y) z=f(x0,y0) Slope=Du(x0,y0)= direction derivative y u=(a,b) (x0+ah,y0+bh) (x0,y0) x And we proved that: Du(x0,y0)=a * fx(x0,y0) + b * fy(x0,y0) J.A. Sethian/UC Berkeley

The gradient Start with a function f(x,y) The graph is 2D surface in R3 z=f(x0,y0+h) Slope=fy(x0,y0) z z=f(x0+h,y0) At an input point (x0,y0) the function has an output f(x0,y0) z=f(x,y) We can ask “how does the output change as x increases, holding y fixed?” z=f(x0,y0) y Slope=fx(x0,y0) (x0,y0+h) 𝜵𝐟 𝐱𝟎,𝐲𝟎 =<𝐟𝐱 𝐱𝟎,𝐲𝟎 ,𝐟𝐲 𝐱𝟎,𝐲𝟎 > (x0,y0) The slope of the line connecting these changes is 𝐟𝐱 𝐱𝟎,𝐲𝟎 x (x0+h,y0) We can also ask “how does the output change as y increases, holding x fixed?” Answer= 𝐟𝐲 𝐱𝟎,𝐲𝟎 Finally,we can ask: “Standing at input point (x0,y0), what input direction gives the maximal change in f(x,y)?" Why? Because Duf(x0,y0) = 𝛁𝐟 𝐱𝟎,𝐲𝟎 𝐝𝐨𝐭 𝐮 =|𝛁𝐟| |u| cos The answer is to move in the gradient direction 𝜵𝐟 𝐱𝟎,𝐲𝟎 =<𝐟𝐱 𝐱𝟎,𝐲𝟎 ,𝐟𝐲 𝐱𝟎,𝐲𝟎 > Ѳ J.A. Sethian/UC Berkeley

Level Sets z Start with a function f(x,y) The graph is 2D surface in R3 z=f(x,y)=x2+y2 Level set with value k is the set of all input points sent to the value k. Height k=f(x0,y0) Moving along the k level set in input space, the function f(x,y) doesn’t change y (x0,y0) 𝛁𝐟(𝐱𝟎,𝐲𝟎) So, if u is a direction along the k level set, then Duf(x0,y0)=0 Direction of maximal change “k level set”: all input points sent to the same output k u x The gradient at f(x0,y0) is the direction of maximal change Duf(x0,y0)=0 Since Duf(x0,y0)=0 and since 0=Duf(x0,y0)= 𝛁𝐟(𝐱𝟎,𝐲𝟎) dot u Then u(x0,y0) is perpendicular to 𝛁𝐟(𝐱𝟎,𝐲𝟎) So the gradient at 𝛁𝐟(𝐱𝟎,𝐲𝟎) is normal to the tangent to the level set going through (𝒙𝟎,𝒚𝟎) J.A. Sethian/UC Berkeley

Level Sets in Higher Dimensions Again. At input (x0,y0) the gradient is normal to the line tangent to the k=f(x0,y0) level curve passing through (x0,y0). This same idea is true in higher dimensions. For a function w=f(x,y,z), the input space is three-dimensional. Input space for f(x,y,z) z Tangent plane 𝛁𝐟(𝐱𝟎,𝐲𝟎,𝐳𝟎) Gradient At input (x0,y0,z0), the gradient is normal to the *plane tangent* to the k=f(x0,y0,z0) level set passing through (x0,y0,z0). y w (x0,y0,z0) w0=f(x0,y0,z0) z Input space (x,y,z) y So we have an equation for the tangent plane at the point (x0,y0,z0), since we know a point and the normal (x0,y0,z0) x Every (x,y,z) input point on this k-level surface is sent to the same output k=f(x0,y0,z0) x Graph of output vs. input 𝛁𝐟(𝐱𝟎,𝐲𝟎,𝐳𝟎) J.A. Sethian/UC Berkeley