integrals for measuring flow

42
VC.05 Integrals for Measuring Flow

Upload: dympna

Post on 23-Feb-2016

30 views

Category:

Documents


0 download

DESCRIPTION

VC.05. Integrals for Measuring Flow. Example 1: Measuring the Flow of a Vector Field ALONG a Closed Curve. Example 1: Measuring the Flow of a Vector Field ALONG a Closed Curve. Example 1: Measuring the Flow of a Vector Field ALONG a Closed Curve. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Integrals for Measuring Flow

VC.05

Integrals for Measuring Flow

Page 2: Integrals for Measuring Flow

Example 1: Measuring the Flow of a Vector Field ALONG a Closed Curve

LetField(x,y) (y,2x) be a vector field acting on the curve E(t) (cos(t),2sin(t)) (-1,1)

Recall that this is like a set of underwater train tracks beingbuffeted by a swirling, violent current.

Measure the flow of the vector field along the curve:

We can get a better picture of what is going on by just plotting the fieldvectorswhose tails are on the curve:

Page 3: Integrals for Measuring Flow

Example 1: Measuring the Flow of a Vector Field ALONG a Closed Curve

LetField(x,y) (y,2x) be a vector field acting on the curve E(t) (cos(t),2sin(t)) (-1,1)

Can we tell if it is clockwise or counterclockwise yet?

Measure the flow of the vector field along the curve:

How do we get a better picture of whatis going on based on what we learnedlast chapter?

Page 4: Integrals for Measuring Flow

Example 1: Measuring the Flow of a Vector Field ALONG a Closed Curve

LetField(x,y) (y,2x) be a vector field acting on the curve E(t) (cos(t),2sin(t)) (-1,1)

Yes,at each point, we canplot the pushof the field vector in the direction of the tangent vector to the curve:

Measure the flow of the vector field along the curve:

Field(x(t),y(t)) (x'(t),y'(t))(x'(t),y'(t))(x'(t),y'(t)) (x'(t),y'(t))

It looks like it is a net counterclockwiseflow of the vector field along the curve, but are we 100% positive about this?

Page 5: Integrals for Measuring Flow

Example 1: Measuring the Flow of a Vector Field ALONG a Closed Curve

LetField(x,y) (y,2x) be a vector field acting on the curve E(t) (cos(t),2sin(t)) (-1,1)

Our realmeasureis really what happens toField(x(t),y(t)) (x'(t),y'(t)) around the curvesince this records when the field helps or hurtsour movement in the direction of the parameterization,and by how much:

Measure the flow of the vector field along the curve:

2

0

Integrateit :

Field(x(t),y(t)) (x'(t),y'(t))dt

Page 6: Integrals for Measuring Flow

Example 1: Measuring the Flow of a Vector Field ALONG a Closed Curve

LetField(x,y) (y,2x) be a vector field acting on the curve E(t) (cos(t),2sin(t)) (-1,1)

Measure the flow of the vector field along the curve:

2

0Field(x(t),y(t)) (x'(t),y'(t))dt

2

0(2sin(t) 1,2cos(t) 2) ( sin(t),2cos(t))dt

2

2 2

02sin (t) sin(t) 4cos (t) 4cos(t)dt

2Positive!The net flow of the vector field along the curve is in the direction of the parameterization(counterclockwise).

Page 7: Integrals for Measuring Flow

The Line Integral: Formalizing What We Just Did

So far, we only integrated because we had a vague notion thatintegrating this expression will accumulate all of the little pusheswith or against the curve and tell us whether we have a net pushin the clockwise or counterclockwise direction. We can do better:

b

af(x)dx

CF(x,y) dc

Function of a single variableInterval [a,b] along the x-axisIntegrate with respect to

left-right (x) movement:dxf(x)"times" dx

ooo

o

Two-component vector field, F(x,y)Curve in space, C, with parameterization cIntegrate with respect to movement along

the parameterization of the curve:dcF(x,y)"dotproduct" dc

ooo

o

Page 8: Integrals for Measuring Flow

The Line Integral: Formalizing What We Just Did

Let C be a curve parameterized by c(t)=(x(t),y(t)) and let F(x,y)be a vector field, short for Field(x,y)= m(x,y),n(x,y) .

CF(x,y) dc

b

a

dcF(x(t),y(t)) dtdt

b

aF(x(t),y(t)) c'(t)dt

b

aField(x(t),y(t)) (x'(t),y'(t))dt

This is called the line integral of the vector field along the curve.

Page 9: Integrals for Measuring Flow

Other Ways Of Writing The Line Integral

b

aField(x(t),y(t))(x'(t),y'(t))dt

LetField(x,y) m(x,y),n(x,y) andlet C be a curve parameterized by (x(t),y(t)).

b

am(x(t),y(t)),n(x(t),y(t))(x'(t),y'(t))dt

b

am(x(t),y(t))x'(t)n(x(t),y(t))y'(t)dt

b

a

dy dx m(x(t),y(t))dtn(x(t),y(t))dt dtdt

Cm(x,y)dx n(x,y)dy

Page 10: Integrals for Measuring Flow

If C is a closed curve with a counterclockwise parameterization:

If C is not closed:

These integrals are used to compute net flow of the vector field along the closed curve (clockwise or counterwise). They can be modified to measure flow of the vector field across the closed curve (inside to outside or outside to inside) with relative ease.

Without a closed curve, the integral is measured whether the net flow along the open curve is in the direction of parameterization or against it, and whether the net flow across the open curve is from “above to below” or “below to above.”

Put it All Together: Measuring the Flow of a Vector Field ALONG a Curve

b

ab

a

C

Integral :

Field(x(t),y(t)) (x'(t),y'(t))dt

m(x(t),y(t))x'(t) n(x(t),y(t))y'(t) dt

m(x,y)dx n(x,y)dy

b

ab

a

C

Integral :

Field(x(t),y(t)) (x'(t),y'(t))dt

m(x(t),y(t))x'(t) n(x(t),y(t))y'(t) dt

m(x,y)dx n(x,y)dyÑ

These integrals are usually called line integrals or path integrals.

Page 11: Integrals for Measuring Flow

Put it All Together: Measuring the Flow of a Vector Field ALONG a Curve

Let C be a closed curve with a COUNTERCLOCKWISE parameterization:

Cm(x,y)dx n(x,y)dy 0describes a net flow of the vector fieldalong the curve in the counterclockwise direction.Ñ

Cm(x,y)dx n(x,y)dy 0describes a net flow of the vector fieldalong the curve in the clockwise direction.Ñ

Cm(x,y)dx n(x,y)dy can equal 0.Ñ

Page 12: Integrals for Measuring Flow

Example 2: Measuring the Flow of a Vector Field Along Another Closed Curve

22 2

Cx 1LetField(x,y) (3y, x ) be a vector field acting on the ellipse y 1.Compute m(x,y)dx n(x,y)dy :2 Ñ

FieldandCurve: VectorsonCurve:

Component of FieldVectorsintheDirection of the Tangent Vectors

Page 13: Integrals for Measuring Flow

2Field(x,y) m(x,y),n(x,y) (3y, x )

Example 2: Measuring the Flow of a Vector Field Along Another Closed Curve

2

22

C

LetField(x,y) (3y, x ) be a vector field acting on the x 1ellipse y 1.Compute m(x,y)dx n(x,y)dy :2 Ñ

Cm(x,y)dx n(x,y)dyÑ E(t) (2cos(t),sin(t)) (1,0)

b

am(x(t),y(t))x'(t) n(x(t),y(t))y'(t) dt

2 22

0

3cos(t) 4cos (t) 4cos d(t) 6si tn (t)

10Negative!Thenet flow of the vector field along the curve isagainst the direction of the parameterization(clockwise).

Counterclockwise

Page 14: Integrals for Measuring Flow

Example 3: Measuring the Flow of a Vector Field ACROSS a Closed Curve

LetField(x,y) (y,x y) be a vector field acting on the curve E(t) (cos(t),2sin(t)) (2,0)

Measure the flow of the vector field across the curve:

We can get a better picture of what is going on by just plotting the fieldvectorswhose tails are on the curve:

Page 15: Integrals for Measuring Flow

Example 3: Measuring the Flow of a Vector Field ACROSS a Closed Curve

LetField(x,y) (y,x y) be a vector field acting on the curve E(t) (cos(t),2sin(t)) (2,0)

Measure the flow of the vector field across the curve:

Better,but we can improve our picture further:

Page 16: Integrals for Measuring Flow

Example 3: Measuring the Flow of a Vector Field ACROSS a Closed Curve

LetField(x,y) (y,x y) be a vector field acting on the curve E(t) (cos(t),2sin(t)) (2,0)

At each point, we canplot the pushof the field vector in the direction of the normal vector to the curve:

Measure the flow of the vector field across the curve:

Field(x(t),y(t)) (y'(t), x'(t))(y'(t), x'(t))(y'(t), x'(t)) (y'(t), x'(t))

It looks like it is a net flow of the vector field across the curve frominside to outside, but we want to verify this numerically:

Page 17: Integrals for Measuring Flow

Example 3: Measuring the Flow of a Vector Field ACROSS a Closed Curve

Our realmeasureis really what happens toField(x(t),y(t)) (y'(t), x'(t)) around the curvesince this records when the field pushes us left or right relative to our direction of travel, and by how much:

2

0

Integrateit :

Field(x(t),y(t)) (y'(t), x'(t))dt

LetField(x,y) (y,x y) be a vector field acting on the curve E(t) (cos(t),2sin(t)) (2,0)

Measure the flow of the vector field across the curve:

Page 18: Integrals for Measuring Flow

Example 3: Measuring the Flow of a Vector Field ACROSS a Closed Curve

LetField(x,y) (y,x y) be a vector field acting on the curve E(t) (cos(t),2sin(t)) (2,0)

Measure the flow of the vector field along the curve:

2

0Field(x(t),y(t)) (y'(t), x'(t))dt

2

0(2sin(t),cos(t) 2sin(t) 2) (2cos(t),sin(t))dt

2

2

02sin(t) 5cos(t)sin(t) 2sin (t)dt

2Positive!Thenet flow of the vector fieldacrossthecurveis withthe direction of the normal vectors. For acounterclockwise parameterization, this is from inside to outside.

Page 19: Integrals for Measuring Flow

If C is a closed curve with a counterclockwise parameterization:

If C is not closed:

With a closed curve, the integral measures whether the net flow ACROSS the closed curve is from “inside to outside” or from “outside to inside.”

Without a closed curve, the integral measures whether the net flow ACROSS the open curve is from above to below the curve or from below to above.

Put it All Together: Measuring the Flow of a Vector Field ACROSS a Curve

b

ab

a

C

Integral :

Field(x(t),y(t)) (y'(t), x'(t))dt

n(x(t),y(t))x'(t) m(x(t),y(t))y'(t) dt

n(x,y)dx m(x,y)dy

b

ab

a

C

Integral :

Field(x(t),y(t)) (y'(t), x'(t))dt

n(x(t),y(t))x'(t) m(x(t),y(t))y'(t) dt

n(x,y)dx m(x,y)dyÑ

Page 20: Integrals for Measuring Flow

Put it All Together: Measuring the Flow of a Vector Field ALONG a Curve

Let C be a closed curve with a COUNTERCLOCKWISE parameterization:

C n(x,y)dx m(x,y)dy 0describes a net flow of the vector fieldacross the curve frominside to outside.

Ñ

C n(x,y)dx m(x,y)dy 0describes a net flow of the vector fieldacross the curve from outside to inside.Ñ

C n(x,y)dx m(x,y)dy can equal 0.Ñ

Page 21: Integrals for Measuring Flow

Example 4: Measuring the Flow of a Vector Field Across Another Closed Curve

2 2

C

LetField(x,y) ( x cos(y), y sin(x)) be a vector field acting on the circlex y 1.Compute m(x,y)dx n(x,y)dy :Ñ

FieldandCurve: VectorsonCurve:

Component of FieldVectorsintheDirection of the Normal Vectors

Page 22: Integrals for Measuring Flow

m(x,y),n(x,y) ( x cos(y), y sin(x))

Example 4: Measuring the Flow of a Vector Field Across Another Closed Curve

2 2C

LetField(x,y) ( x cos(y), y sin(x)) be a vector field acting on the circle x y 1.Compute n(x,y)dx m(x,y)dy :Ñ

C n(x,y)dx m(x,y)dyÑc(t) (cos(t),sin(t))

b

an(x(t),y(t))x'(t) m(x(t),y(t))y'(t) dt

2

Negative!The net flow of the vector field across the curve is fromoutside to inside.

Counterclockwise

Page 23: Integrals for Measuring Flow

Example 5: The Flow of a Gradient Field Along a Closed Curve

2 2x y

Start with a surface f(x,y) 2xsin(x) 3ycos(e

y)

Now let's take a look at the gradient field, f, associated with the surface:

Page 24: Integrals for Measuring Flow

Example 5: The Flow of a Gradient Field Along a Closed Curve

Consider an elliptical path on the surfacefor 0 t 2 :

2 2x y

ffNowplot f(x,y) , for 2xsin(x) 3ycos(y)f(x,y) :x y e

3 30.9cos t ,1.1sin t 0,0.12 2Computethe flow of the gradient fieldalong the curve:

2

0Field(x(t),y(t)) (x'(t),y'(t))dt

2

0

ff, (x'(t),y'(t))dtx y

2

0

df(x(t),y(t))dt (ChainRule)dtLet's interpret this using the surface...

Page 25: Integrals for Measuring Flow

Example 5: The Flow of a Gradient Field Along a Closed Curve

2

0Field(x(t),y(t)) (x'(t),y'(t))dt

2

0

ff, (x'(t),y'(t))dtx y

2

0

df(x(t),y(t))dtdt

This represents the net change in height(altitude) on the curve from 0 to 2 alongthe path (x(t),y(t)).What should this be for ourclosed curve?

Yes!0!! The flow of a gradient field alonga closed curve is 0.

Page 26: Integrals for Measuring Flow

Summary: The Flow of a Gradient Field Along a Closed Curve

Let Field(x,y)= m(x,y),n(x,y) be a gradient field, and let C be a simple closed curvewitha parameterization (x(t),y(t)) for a t b.

b

a1) Field(x(t),y(t)) (x'(t),y'(t))dt 0

C2) m(x,y)dx n(x,y)dy 0Ñ3) The flow of a gradient field alonga simpleclosed curve is 0.

Why is this intuitively true?How do we know a closed curve can't be a trajectory of a gradient field?Is the flow of a gradient field ACROSSa closed curve 0?

Page 27: Integrals for Measuring Flow

Example 6: Is the Flow of ANY Vector Field Along a Closed Curve Zero?

2

0Field(x(t),y(t)) (x'(t),y'(t))dt0.548155

So the flow of a general vector fieldalong a closed curve need not equal 0.

x y

3 30.9cos t ,1.1sin t

LetField(x,y) ye ,xe andkeep the

0,0.12

samecurve,

2

The net flow of the vector fieldalong the curve is counterclockwise.

Counterclockwise

Page 28: Integrals for Measuring Flow

Example 7: How Do We Know When We Have a Gradient Field?

Here are a few vector fields. Try to classify them as "gradient fields", or "not gradient fields":

The last two examples clearly show the advantages toknowing whether our vector field is a gradient field or not. This motivates us to ask the question, "Given a vector field, how do we know if it is a gradient field?"

2 2xy ,x y

x yye ,xe

x 1, y 4

VectorField Gradient? Why?

Page 29: Integrals for Measuring Flow

The Gradient Test

A vector field, Field(x,y) m(x,y),n(x,y , is a gradient fieldif and only if:

x y

xy yx

If Field(x,y) is a gradient field, then Field(x,y)= f ,f . So ff .

Proof of "if" Part of Theorem:

m(x,y) n(x,y)

y x(TheGradient Test)

Page 30: Integrals for Measuring Flow

Example 7: How Do We Know When We Have a Gradient Field?

Try againto classify these vector fields as "gradient fields", or "not gradient fields":

2 2xy ,x y

x yye ,xe

x 1, y 4

VectorField Gradient? Why?

Page 31: Integrals for Measuring Flow

Example 8: The Flow of a Vector Field Along an Open Curve

Start with avector field m(x,y),n(x,y y,2x) y .

a) Is our vector field a gradient field?

m 1y

n 2x

Not a gradient field!

Page 32: Integrals for Measuring Flow

Example 8: The Flow of a Vector Field Along an Open Curve

Start with avector field m(x,y),n(x,y y,2x) y .

1 2C

b)Calculate m(x,y)dx n C(x,y)dy for an Cd : 1 1 1C :(x (t),y (t)) ( 2,2) t(2, 3) 0 t 1

1

1

01 1 1Field( ) (x (t),y (t) x '(t),y ))dt'(t

2

2 2 2tC :(x (t),y (t)) t,t 1 2 t 02

1

09t 10dt

112

1

The net flow of the vector field along curve isin the direction of parameterizaC tion.

Page 33: Integrals for Measuring Flow

Example 8: The Flow of a Vector Field Along an Open Curve

Start with avector field m(x,y),n(x,y y,2x) y .

1 2C

b)Calculate m(x,y)dx n C(x,y)dy for an Cd : 1 1 1C :(x (t),y (t)) ( 2,2) t(2, 3) 0 t 1

0

22 2 22 x '(t),yField( '(t)) ( )dtx (t),y (t)

2

2 2 2tC :(x (t),y (t)) t,t 1 2 t 02

0

3 2

2

13 t 32t t dt2 4 2

416

2

The net flow of the vector field along curve isin the direction of parameterizaC tion.

Page 34: Integrals for Measuring Flow

Example 9: The Flow of a Gradient Field Along an Open Curve (Path Independence)

2 2x y

Start with a familiar surface f( 2xsin(x) 3ycos y)e

(x,y)

Let's look at the surface, the gradient field, and a contour plot:

Page 35: Integrals for Measuring Flow

Example 9: The Flow of a Gradient Field Along an Open Curve (Path Independence)

2 2x y

Start with a familiar surface f( 2xsin(x) 3ycos y)e

(x,y)

2 31C

Let'scompute m(x,y)dx n(x C,y)dy for , ,andCC :

2

1 1 1tC :(x (t),y (t)) t,t 1 2 t 02

0

21 1 11 x '(t),yField( '(t)) ( )dtx (t),y (t) 0.597

0

2

1 1df( )dt 0.597 (x (t),y (t ChainRd) ule)t

Our change in height from the starting pointto end point is up 0.597 units.

Page 36: Integrals for Measuring Flow

Example 9: The Flow of a Gradient Field Along an Open Curve (Path Independence)

2 2x y

Start with a familiar surface f( 2xsin(x) 3ycos y)e

(x,y)

2C

What might you expect m(x,y)dx n(x,y)dy for to eqC ual?

2

2

2

/

2

5 4

02x '(t),y '(t)Field( ) ( )x (t t) y d, (t) 0.597

25 / 4

0

2 2df( )dt 0.597 (x (t),y ChainRule)dt(t)

Our change in height from the starting pointto end point is up 0.597 units.

2 2 2

16tcos(t) 24tsin(t) 25C :(x (t),y (t)) 2, 2 0 t 425 2 25 2

Page 37: Integrals for Measuring Flow

Example 9: The Flow of a Gradient Field Along an Open Curve (Path Independence)

2 2x y

Start with a familiar surface f( 2xsin(x) 3ycos y)e

(x,y)

Why did that happen? Can we generalize this phenomenon?

Page 38: Integrals for Measuring Flow

Path Independence: The Flow of a Gradient Field Along an Open Curve

2

1Let Field(x,y)= m(x,y),n(x,y) be a gradient field, and let andbe different curves that share the same starting and ending pC

Coint:

A gradient field is said to be path independent. The flow of the vector field alongany two curvesconnecting two points is the same...

21 CC

m(x,y)dx n(x,y)dy m(x,y)dx n(x,y)dy

Page 39: Integrals for Measuring Flow

Example 9: The Flow of a Gradient Field Along an Open Curve

2 2x y

Start with a familiar surface f( 2xsin(x) 3ycos y)e

(x,y)

C

So what isthesimplest path from (-2,2) to(0,-1) sowe can find m(x,y)dx n(x,y)dy??

Hint: What's the most directpath between two points??

Page 40: Integrals for Measuring Flow

Example 9: The Flow of a Gradient Field Along an Open Curve

2 2x y

Start with a familiar surface f( 2xsin(x) 3ycos y)e

(x,y)

3That's right! Let be a line connecting (-2,2) and C (0,-1): 3 3 3C :(x (t),y (t)) ( 2,2) t(2, 3) 0 t 1

3

1

03 3 3Field( ) (x (t),y (t) x '(t),y ))dt'(t

1

0

3 3df( )dt 0.597 (x (t),y (t ChainR) ule)dt

Our change in height from the starting pointto end point is up 0.597 units.

Page 41: Integrals for Measuring Flow

Example 9: The Flow of a Gradient Field Along an Open Curve

2 2x yCFind m(x,y)dx n(x,y)dy for f(x,y)

ewhereCconnects( 2,2)and(0, 1). What is an ev

2xsin(x) 3

en easier

y

cos(y)

way??

b

aField(x(t),y(t)) (x'(t),y'(t))dt

b

a

df(x(t),y(t))dtdt f( 2,2) f(0, 1)0.597

2 2 1 1

If you know the equation for the surface, then your easiestbet is to just find your change in height! f(x ,y ) f(x ,y )!!

(FToC)

Page 42: Integrals for Measuring Flow

Example 10: Are All Vector Fields Path Independent? (Ex 8 Revisited)

anon-gradient vector fieldField(x,y)Start with = y,2x y . 1 2

CCalculate m(x,y)dx n(x,y)dy for C andC :

1 1 1C :(x (t),y (t)) ( 2,2) t(2, 3) 0 t 1

2

2 2 2tC :(x (t),y (t)) t,t 1 2 t 02

1

1

01 1 1Field( ) (x (t),y (t) x '(t),y ))dt'(t

1

09t 10dt

112

0

22 2 22 x '(t),yField( '(t)) ( )dtx (t),y (t)

0

3 2

2

13 t 32t t dt2 4 2 416

No path independence for a non-gradient vector field!!