Top Banner
Vector Calculus A primer
19

Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Jun 27, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Vector CalculusA primer

Page 2: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Functions of Several Variables

โ€ข A single function of several variables:

๐‘“: ๐‘…๐‘› โ†’ ๐‘…, ๐‘“ ๐‘ฅ1, ๐‘ฅ2, โ‹ฏ , ๐‘ฅ๐‘› = ๐‘ฆ.

โ€ข Partial derivative vector, or gradient, is a vector:

๐›ป๐‘“ =๐œ•๐‘ฆ

๐œ•๐‘ฅ1, โ‹ฏ ,

๐œ•๐‘ฆ

๐œ•๐‘ฅ๐‘›

Page 3: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Multi-Valued Functions

โ€ข A vector-valued function of several variables:

๐‘“: ๐‘…๐‘› โ†’ ๐‘…๐‘š, ๐‘“ ๐‘ฅ1, ๐‘ฅ2, โ‹ฏ , ๐‘ฅ๐‘› = ๐‘ฆ1, ๐‘ฆ2, โ‹ฏ , ๐‘ฆ๐‘š .

โ€ข Can be viewed as a change of coordinates, or a mapping.

โ€ข We get a matrix, denoted as the Jacobian:

๐›ป๐‘“ =

๐œ•๐‘ฆ1

๐œ•๐‘ฅ1โ‹ฎ

๐œ•๐‘ฆ1

๐œ•๐‘ฅ๐‘›

โ‹ฏ โ‹ฏ๐œ•๐‘ฆ๐‘›

๐œ•๐‘ฅ1โ‹ฎ

๐œ•๐‘ฆ๐‘›

๐œ•๐‘ฅ๐‘›

https://www.math.duke.edu/education/ccp/materials/mvcalc/parasurfs/para1.html

Page 4: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Dot Product

โ€ข ๐‘Ž, ๐‘ โˆˆ ๐‘…๐‘›, ๐‘Ž โˆ™ ๐‘ = ๐‘Ž๐‘– โˆ— ๐‘๐‘– โˆˆ ๐‘….

โ€ข We get that ๐‘Ž โˆ™ ๐‘ = ๐‘Ž ๐‘ cos ๐œƒ, where ๐œƒ is the angle between the vectors.

โ€ข Squared norm of vector: ๐‘Ž 2 = ๐‘Ž โˆ™ ๐‘Ž.

โ€ข Matrix multiplication result dot products of row and column vectors.

Page 5: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Dot Product

โ€ข A geometric interpretation: the part of ๐‘Ž which is parallel to a unit

vector in the direction of ๐‘.โ€ข And vice versa!

โ€ข Projected vector: ๐‘Žโˆฅ =๐‘Žโˆ™๐‘

๐‘๐‘.

โ€ข The part of ๐‘ orthogonal to ๐‘Ž has no effect!

Page 6: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Cross Product

โ€ข Typically defined only for ๐‘…3.

โ€ข ๐‘Ž ร— ๐‘ = ๐‘Ž๐‘ฆ๐‘๐‘ง โˆ’ ๐‘Ž๐‘ง๐‘๐‘ฆ , ๐‘๐‘ฅ๐‘Ž๐‘ง โˆ’ ๐‘๐‘ง๐‘Ž๐‘ฅ , ๐‘Ž๐‘ฅ๐‘๐‘ฆ โˆ’ ๐‘Ž๐‘ฆ โˆˆ ๐‘….

โ€ข Or more generally:

๐‘Ž ร— ๐‘ =

๐‘Ž๐‘ฅ ๐‘Ž๐‘ฆ ๐‘Ž๐‘ง

๐‘๐‘ฅ ๐‘๐‘ฆ ๐‘๐‘ง

๐‘ฅ ๐‘ฆ ๐‘ง

Page 7: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Cross Product

โ€ข The result vector is orthogonal to both vectorโ€ข Direction: Right-hand rule.

โ€ข Normal to the plane spanned by both vectors.

โ€ข Its magnitude is ๐‘Ž ร— ๐‘ = ๐‘Ž ๐‘ sin ๐œƒ.โ€ข Parallel vectors cross product zero.

โ€ข The part of ๐‘ parallel to ๐‘Ž has no effect on the cross product!

Page 8: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Bilinear Maps

โ€ข Also denoted as โ€œ2-tensorsโ€.

โ€ข ๐‘€:๐‘‰ ร— ๐‘‰ โ†’ ๐‘…, ๐‘€ ๐‘ข, ๐‘ฃ = ๐‘.

โ€ข Take two vectors into a scalar.

โ€ข Symmetry: ๐‘€ ๐‘ข, ๐‘ฃ = ๐‘€ ๐‘ฃ, ๐‘ข

โ€ข Linearity: ๐‘€ ๐‘Ž๐‘ข + ๐‘๐‘ค, ๐‘ฃ = ๐‘Ž๐‘€ ๐‘ข, ๐‘ฃ + ๐‘๐‘€ ๐‘ค, ๐‘ฃ .โ€ข The same for ๐‘ฃ for symmetry.

โ€ข Can be represented by ๐‘› ร— ๐‘› matrices: c=๐‘ข๐‘‡๐‘€ ๐‘ฃ.

Page 9: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Example: Jacobian and Change of Coordinates

โ€ข Suppose change of coordinates ๐‘‡ ๐‘ฅ1, ๐‘ฅ2, โ‹ฏ , ๐‘ฅ๐‘› = ๐‘ฆ1, ๐‘ฆ2, โ‹ฏ , ๐‘ฆ๐‘› .

โ€ข Infinitesimal vector ๐‘ข at point ๐‘ฅ changes into ๐‘ฃ: ๐‘ฃ = ๐›ป๐‘‡๐‘ข

โ€ข The bilinear form measures the change in length (stretch): ๐‘ฃ 2 = ๐‘ข๐‘‡ ๐›ป๐‘‡โˆ—๐›ป๐‘‡ ๐‘ข.

โ€ข Where ๐›ป๐‘‡โˆ—๐›ป๐‘‡ is a symmetric bilinear form.โ€ข Which is also a metric.

http://mathinsight.org/image/change_variable_area_transformation

Page 10: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Vector Fields in 3D

โ€ข A vector-valued function assigning a vector to each point in space: ๐‘“: ๐‘…3 โ†’ ๐‘…3, ๐‘“ ๐‘ = ๐‘ฃ.

โ€ข Physics: velocity fields, force fields, advection, etc.

โ€ข Special vector fields:โ€ข Constant

โ€ข Rotational

โ€ข Gradients of scalar functions: ๐‘ฃ = ๐›ป๐‘”.

http://vis.cs.brown.edu/results/images/Laidlaw-2001-QCE.011.html

Page 11: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Integration over a Curve

โ€ข Given a curve ๐ถ ๐‘ก = ๐‘ฅ ๐‘ก , ๐‘ฆ ๐‘ก , ๐‘ง(๐‘ก) , ๐‘ก โˆˆ [๐‘ก0, ๐‘ก1].

โ€ข And a vector field ๐‘ฃ(๐‘ฅ, ๐‘ฆ, ๐‘ง)

โ€ข The integration of the field on the curve is defined as:

๐ถ

๐‘ฃ โˆ™ ๐‘‘ ๐ถ =

๐‘ก0

๐‘ก1

๐‘ฃ โˆ™๐‘‘๐‘ฅ

๐‘‘๐‘ก,๐‘‘๐‘ฆ

๐‘‘๐‘ก,๐‘‘๐‘ง

๐‘‘๐‘ก๐‘‘๐‘ก

Page 12: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Conservative Vector Fields

โ€ข A vector field ๐‘ฃ is conservative if there is a scalar function ๐œ‘ so that for every curve ๐ถ ๐‘ก , ๐‘ก โˆˆ [๐‘ก0, ๐‘ก1]:

๐ถ

๐‘ฃ โˆ™ ๐‘‘ ๐ถ = ๐œ‘ ๐‘ก1 โˆ’ ๐œ‘ ๐‘ก0

โ€ข Equivalently: if ๐‘ฃ = ๐›ป๐œ‘.

โ€ข The integral is then path independent.

Page 13: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Conservative Vector Fields

โ€ข Physical interpretation: the vector field ๐‘ฃ is the result of a potential ๐œ‘.

โ€ข Example: the work (potential energy) ๐‘Š done by gravity force ๐บ =๐›ป๐‘Š is only dependent of the height gained\lost.

โ€ข Corollary: the integral of a conservative vector field over a closed curve is zero!

Page 14: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

The Curl (Rotor) Operatorโ€ข Definition: ๐›ป ร— ๐‘ฃ = ๐œ• ๐œ•๐‘ฅ , ๐œ• ๐œ•๐‘ฆ , ๐œ• ๐œ•๐‘ง ร— ๐‘ฃ.

โ€ข Produces a vector field from a vector field.

โ€ข Geometric intuition: ๐›ป ร— ๐‘ฃ encodes local rotation (vorticity) that the vector field (as a force) induces locally on the point.โ€ข Direction: the rotation axis ๐‘›.

โ€ข Integral definition:

๐›ป ร— ๐‘ฃ โˆ™ ๐‘› = lim๐ดโ†’0

1

๐ด ๐ถ

๐‘‘ ๐‘ฃ โˆ™ ๐‘‘ ๐ถ

โ€ข ๐ถ is an infinitesemal curve around the pointโ€ข ๐ด is the area it encompasses.

http://www.chabotcollege.edu/faculty/shildreth/physics/gifs/curl.gif

Page 15: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Irrotational Fields

โ€ข Fields where ๐›ป ร— ๐‘ฃ = 0.โ€ข Also denoted Curl-free.

โ€ข Conservative fields => irrotational.โ€ข as for every scalar ๐œ‘:

๐›ป ร— ๐›ป๐œ‘ = 0

โ€ข It is evident from the integral definition: lim๐ดโ†’0

1

๐ด ๐ถ ๐‘‘ ๐‘ฃ โˆ™ ๐‘‘ ๐ถ.

โ€ข Is irrotational => Conservative fields also correct?

โ€ข Only (and always) for simply-connected domains!

Page 16: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Divergence

โ€ข Definition: ๐›ป โˆ™ ๐‘ฃ = ๐œ• ๐œ•๐‘ฅ , ๐œ• ๐œ•๐‘ฆ , ๐œ• ๐œ•๐‘ง โˆ™ ๐‘ฃ.

โ€ข Produces a scalar value from a vector field.

โ€ข Geometric intuition:๐›ป โˆ™ ๐‘ฃ encodes local change in density induced by vector field as a flux.

โ€ข Integral definition:

๐›ป โˆ™ ๐‘ฃ = lim๐‘‰โ†’ ๐‘

1

๐‘‰

๐‘†(๐‘‰)

๐‘ฃ โˆ™ ๐‘›

โ€ข ๐‘†(๐‘‰) is the surface of an infinitesimal volume around the point.

โ€ข ๐‘› is the outward local normal.

http://magician.ucsd.edu/essentials/WebBookse8.html

Page 17: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Laplacian

โ€ข The divergence of the gradient of a scalar field:

โˆ†๐œ‘ = ๐›ป2๐œ‘ = ๐›ป โˆ™ ๐›ป๐œ‘ .

โ€ข Produces a scalar value from a scalar field.

โ€ข Geometric intuition: Measuring how much a function is diffused or similar to the average of its surrounding.โ€ข Found in heat and wave equations.

โ€ข Used extensively in signal processing, e.g. for denoising.

Page 18: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Stokes Theorem

โ€ข A more general form of the idea of โ€œconservative fieldsโ€

โ€ข The modern definition:

๐‘‰

๐‘‘๐‘ค =

๐œ•๐‘‰

๐‘ค

โ€ข Geometric interpretation: Integrating the differential of a field inside a domain integrating the field on the boundary.

Page 19: Vector Calculus - Utrecht University 0...ย ยท โ€ขProduces a vector field from a vector field. โ€ขGeometric intuition: ๐›ปร— encodes local rotation (vorticity) that the vector field

Stokes Theorem

โ€ข Generalizes many classical results.

โ€ข Integrating along a curve: ๐ถ

๐›ป๐œ‘ โˆ™ ๐‘‘ ๐ถ = ๐œ‘ ๐‘ก1 โˆ’ ๐œ‘ ๐‘ก0 .

โ€ข Special case: Fundamental theory of calculus: ๐‘ฅ0

๐‘ฅ1 ๐นโ€ฒ ๐‘ฅ ๐‘‘๐‘ฅ = ๐น ๐‘ฅ1 โˆ’ ๐น(๐‘ฅ0).

โ€ข Kelvin-Stokes Theorem:

๐œ•๐‘† ๐‘ฃ โˆ™ ๐‘‘ ๐ถ = ๐‘†

๐›ป ร— ๐‘ฃ ๐‘‘๐‘†.

โ€ข Divergence theorem:

๐‘‰

๐›ป โˆ™ ๐‘ฃ ๐‘‘๐‘‰ = ๐œ•๐‘‰

๐‘ฃ โˆ™ ๐‘› ๐‘‘๐‘†

โ€ข โ€ฆand many similar more.