lecture 2: grad(ient). need to extend idea of a gradient (df/dx) to 2d/3d functions example: 2d...

9
Lecture 2: Grad(ient) QuickTime™ and a TIFF (Uncompressed) decompressor are needed to see this picture.

Post on 20-Dec-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Lecture 2: Grad(ient). Need to extend idea of a gradient (df/dx) to 2D/3D functions Example: 2D scalar function h(x,y) Need “dh/dl” but dh depends on

Lecture 2: Grad(ient)

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 2: Lecture 2: Grad(ient). Need to extend idea of a gradient (df/dx) to 2D/3D functions Example: 2D scalar function h(x,y) Need “dh/dl” but dh depends on

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

• Need to extend idea of a gradient (df/dx) to 2D/3D functions

• Example: 2D scalar function h(x,y)

• Need “dh/dl” but dh depends on direction of dl (greatest up hill), define dlmax as short distance in this direction

• Define

• Direction, that of steepest slope

2D Grad

Page 3: Lecture 2: Grad(ient). Need to extend idea of a gradient (df/dx) to 2D/3D functions Example: 2D scalar function h(x,y) Need “dh/dl” but dh depends on

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

So if is along a contour line

Is perpendicular to contours, ie up lines of steepest slope

And if is along this direction

The vector field shown is of

Vectors always perpendicular to contours

Magnitudes of vectors greatest where slope is steepest

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 4: Lecture 2: Grad(ient). Need to extend idea of a gradient (df/dx) to 2D/3D functions Example: 2D scalar function h(x,y) Need “dh/dl” but dh depends on

And again gives a vector field where the vectors are everywhere Perpendicular to contour surfaces, and encodes information on how Rapidly changes with position at any point

Is the “grad” or “del” operator

• It acts on everything to the right of it (or until a closing bracket)

• It is a normal differential operator so, e.g.

Product Rule

Chain RuleScalar functions

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

3D Grad

Page 5: Lecture 2: Grad(ient). Need to extend idea of a gradient (df/dx) to 2D/3D functions Example: 2D scalar function h(x,y) Need “dh/dl” but dh depends on

Inverse square law forces

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

• Scalar Potential

equipotentials (surfaces of constantV) Are spheres centred on the origin

In electrostatics

In gravitation

And similarly for y, z components, so that

But note electric fields point away from +Q, needs sign convention:

Page 6: Lecture 2: Grad(ient). Need to extend idea of a gradient (df/dx) to 2D/3D functions Example: 2D scalar function h(x,y) Need “dh/dl” but dh depends on

Grad

“Vector operator acts on a scalar field to generate a vector field”

Page 7: Lecture 2: Grad(ient). Need to extend idea of a gradient (df/dx) to 2D/3D functions Example: 2D scalar function h(x,y) Need “dh/dl” but dh depends on

Tangent Planes

• Since is perpendicular to contours, it locally defines direction of normal to surface

• Defines a family of surfaces (for different values of A)

• defines normals to these surfaces

• At a specific point

tangent plane has equation

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 8: Lecture 2: Grad(ient). Need to extend idea of a gradient (df/dx) to 2D/3D functions Example: 2D scalar function h(x,y) Need “dh/dl” but dh depends on

Example of Tangent Planes

• Consider family of concentric spheres:

equipotentials of point charge

r = r0

Tangent PlaneNot surprising as radial vectors are normal to

spheres

Tangent planes:

Perpendicular distance of origin to plane = r0

Page 9: Lecture 2: Grad(ient). Need to extend idea of a gradient (df/dx) to 2D/3D functions Example: 2D scalar function h(x,y) Need “dh/dl” but dh depends on

Parallel Plate Capacitor

Convention which ensures electric field points away from regions of positive scalar potential

Multiply by and integrate from P1 to P2 in field

P1 P2

This is a line integral

(see next lecture)

Work done against force moving +Q from P1 to P2

Positive sign means charge has gained potential energy