Multivariable CalculusLine Integrals and Green's Theorem1 of 7
Line Integrals and Green's Theorem · 1
Vector Fields
To show wind or moving water across a map, a single number at each point isn't enough: we need a vector field, which is a rule that assigns an arrow to every point in space.
1
What a Vector Field Is and How to Plot One
To see how a vector field works, let's plot the arrows of F(x,y)=⟨x,y⟩ by plugging in a few locations and drawing the push at each spot.
What a Vector Field Is and How to Plot One
Text solution
Separate the location from the pushThe coordinates (x,y) in parentheses tell us where to put the tail of the arrow, while the vector ⟨x,y⟩ in angle brackets gives the horizontal and vertical pushes from that spot.
Plot a few test pointsPlugging in a point gives the arrow instructions starting from that exact location.
F(1,0)F(0,1)F(−1,−1)F(2,2)=⟨1,0⟩=⟨0,1⟩=⟨−1,−1⟩=⟨2,2⟩(start at (1,0), push right 1 and up 0)(start at (0,1), push right 0 and up 1)(start at (−1,−1), push left 1 and down 1)(start at (2,2), push right 2 and up 2)
Scale the arrows so they don't overlapDrawing arrows at their full length makes neighboring arrows overlap one another, so sketches shrink every arrow by the same proportion, showing everything pushed straight outward from the origin and growing stronger further out.
In F(x,y)=⟨x,y⟩, the coordinates (x,y) only choose where the arrow starts, while the vector ⟨x,y⟩ sets the arrow's direction and length from that spot, always pointing straight away from the origin and growing longer further out.
The point chooses where the arrow's tail sits, while the arrow itself steps out from that spot straight away from the origin.
2
Reading the Slots: The Whirlpool Field
Plotting points one by one takes too long on an exam and makes it easy to drop a minus sign. To sketch F(x,y)=⟨−y,x⟩ quickly, we read the horizontal and vertical slots separately by finding where each one equals zero.
Reading the Slots: The Whirlpool Field
Text solution
Set the horizontal slot to zeroThe first slot −y equals 0 along the x-axis (y=0), so arrows crossing the x-axis have no sideways push and must point straight up on the right (x>0) and straight down on the left (x<0).
y=0⟹F(x,0)=⟨0,x⟩
Set the vertical slot to zeroThe second slot x equals 0 along the y-axis (x=0), so arrows crossing the y-axis are completely flat, pointing straight left above the origin (y>0, where −y<0) and straight right below it (y<0, where −y>0).
x=0⟹F(0,y)=⟨−y,0⟩
Follow the arrows around the originPushes going up on the right, left on top, down on the left, and right on the bottom join into a counter-clockwise whirlpool whose arrows get longer further from the center.
3
Reading 2D Vector Fields Using Quadrants and Missing Variables
When two formulas look almost identical, like F(x,y)=⟨−y,x⟩ and F(x,y)=⟨y,x⟩, or when a variable doesn't appear in the formula at all, like F(x,y)=⟨1,y⟩, we want to tell their pictures apart right away without guessing points.
Reading 2D Vector Fields Using Quadrants and Missing Variables
Text solution
Check the zero lines of F(x,y)=⟨y,x⟩On the x-axis (y=0) arrows still point up on the right and down on the left, but on the y-axis (x=0) the horizontal push y now points right above the origin and left below it.
F(x,0)=⟨0,x⟩,F(0,y)=⟨y,0⟩
Check the quadrant signs where x and y matchIn the top-right (x>0,y>0) and bottom-left (x<0,y<0) quadrants, both pushes point away from the origin along the diagonal y=x.
Top-right (+,+):⟨+,+⟩ (right and up),Bottom-left (−,−):⟨−,−⟩ (left and down)
Check the quadrant signs where x and y have opposite signsIn the top-left (x<0,y>0) and bottom-right (x>0,y<0) quadrants, the pushes point in toward the origin, and directly at it along y=−x, forming a saddle flow that moves inward along y=−x and outward along y=x.
Top-left (−,+):⟨+,−⟩ (right and down),Bottom-right (+,−):⟨−,+⟩ (left and up)
Now let's read F(x,y)=⟨1,y⟩, where x is missing from the formula.
Text solution
Read the constant horizontal slotBecause the first slot is always 1, every point on the plane gets a steady rightward push of 1, so no arrow can ever point left or purely up and down.
F(x,y)=⟨always right 11,no xy⟩
Copy and paste along the missing variable's directionBecause x does not appear in the formula, moving left or right never changes the output vector, making every horizontal line a row of identical arrows.
Vary the vertical slot yArrows point flat to the right along the x-axis (y=0), tilt more steeply upward and grow longer as you move up (y>0), and tilt downward as you move down (y<0).
y=0⟹F(x,0)=⟨1,0⟩
Crossing an axis makes one slot hit zero and flip sign, which turns the flow into a counter-clockwise whirlpool for F(x,y)=⟨−y,x⟩, but pushes it inward along y=−x and outward along y=x for F(x,y)=⟨y,x⟩.
Flipping the sign on the sideways push leaves the vertical push alone, but turns a spinning whirlpool into a flow that rushes in along one diagonal and shoots out along the other.
4
Reading 3D Vector Fields
In 3D, a vector field assigns a three-slot arrow to every point (x,y,z), where the first two slots give the horizontal push and the third slot gives the vertical height push:
F(x,y,z)=⟨x-push,y-push,z-push⟩
To read F(x,y,z)=⟨0,0,z⟩ and F(x,y,z)=⟨−y,x,1⟩ without getting overwhelmed by a 3D grid, we look at one horizontal slice at a time using missing variables.
Reading 3D Vector Fields
Text solution
Check the horizontal slots of F(x,y,z)=⟨0,0,z⟩Both the x-push and y-push are 0, so nothing moves sideways and every arrow points straight up or straight down.
F(x,y,z)=⟨no sideways push0,0,z⟩
Copy and paste across each horizontal planeBecause x and y are missing, every arrow at a fixed height z is identical across that entire horizontal plane: zero on the xy-plane (z=0), pointing straight up above it (z>0), and pointing straight down below it (z<0), getting longer further from z=0.
z=2⟹F(x,y,2)=⟨0,0,2⟩
Now let's put the 2D whirlpool into 3D with F(x,y,z)=⟨−y,x,1⟩.
Text solution
Read the first two slots for the horizontal spinThe first two slots ⟨−y,x⟩ spin counter-clockwise around the vertical z-axis, and because z is missing from the formula, this horizontal whirlpool is identical at every height.
F(x,y,z)=⟨2D whirlpool−y,x,up 11⟩
Include the third slot for heightThe constant third slot pushes every point straight up by 1, tilting the spinning arrows upward so a particle spirals up around the z-axis in a helix.
In F(x,y,z)=⟨0,0,z⟩, every arrow on a horizontal plane is identical because x and y are missing, while in F(x,y,z)=⟨−y,x,1⟩, the upward-tilted whirlpool looks identical at every height because z is missing.
Leaving x and y out of the formula makes every arrow on a horizontal slice match, while leaving z out makes the whole slice look the same at every height.
5
Gradient Fields and Contour Maps
A gradient field is the vector field you get by taking the gradient of a function f(x,y), using its partial derivatives as the two slots:
∇f(x,y)=⟨fx,fy⟩
Let's find the gradient field of f(x,y)=x2+y2 and see how its arrows line up with the level curves on a contour map.
Gradient Fields and Contour Maps
Text solution
Take the partial derivativesDifferentiating f(x,y)=x2+y2 with respect to x and y gives the two slots of the gradient field.
∇f(x,y)=⟨fx,fy⟩=⟨2x,2y⟩
Compare the arrows with the level curvesBecause the gradient points straight uphill in the direction of steepest ascent, the outward arrows of ⟨2x,2y⟩ cross every circular level curve x2+y2=c at a 90∘ right angle toward higher values, growing longer further out where the surface is steeper and the circles are closer together.
On an uneven contour map, the gradient arrow ∇f always crosses the contour line at a 90∘ right angle pointing toward higher values, growing long where contour lines are packed tightly together and staying short where they are spread far apart.
On a contour map, the gradient arrow always crosses the contour at a right angle toward higher ground, stretching long on steep slopes where lines pack together and shrinking short where they spread out.
Because gradient arrows always point uphill, a vector field that loops in a closed circle like the whirlpool F(x,y)=⟨−y,x⟩ can never be a gradient field: following the arrows all the way around a circle would mean walking uphill the entire time only to land right back at your starting spot at the exact same height.
Key concepts
When you work with a vector field, keep the starting location (x,y) separate from the arrow instruction F(x,y)=⟨Horizontal push,Vertical push⟩: in F(x,y)=⟨x,y⟩, the point (1,0) is only where you put the tail, and ⟨1,0⟩ tells you to push 1 unit right from there. Rather than plugging in random points to read or match a field, set each slot equal to zero first to find the lines where arrows are purely vertical or purely horizontal, and then check the signs in each quadrant. That one sign check is what separates the counter-clockwise whirlpool F(x,y)=⟨−y,x⟩ from the saddle flow F(x,y)=⟨y,x⟩. Whenever a variable is missing from the formula, moving in that direction leaves the arrows unchanged, so you can copy and paste them along horizontal lines in F(x,y)=⟨1,y⟩ (no x), across horizontal planes in F(x,y,z)=⟨0,0,z⟩ (no x or y), or from height to height in the upward helix F(x,y,z)=⟨−y,x,1⟩ (no z). Finally, a gradient field ∇f(x,y)=⟨fx,fy⟩ (such as ⟨2x,2y⟩ for f(x,y)=x2+y2) always sends its arrows across level curves at 90∘ toward higher numbers, with long arrows across tight contours and short arrows across wide ones; if a field's arrows loop around in a closed circle like F(x,y)=⟨−y,x⟩, stop right away: it cannot be a gradient field, because you cannot walk uphill all the way around a loop and return to the same height.
6
Practice
1
For the vector field F(x,y)=⟨−x,2y⟩, suppose you draw the unscaled arrow at the point (−2,1). Where do you put the tail of the arrow, what are the horizontal and vertical pushes, and at what coordinates does the tip of the arrow land?
Which pair of numbers gives the starting location, and what do you add to that location once you plug x=−2 and y=1 into the two slots?
Put the tail at the location (−2,1). Plugging in x=−2 and y=1 gives
F(−2,1)=⟨−(−2),2(1)⟩=⟨2,2⟩
which means a push of 2 units right and 2 units up (watch out for the double negative in −x, which gives ⟨−2,2⟩ if you drop a minus sign). Starting from (−2,1), add the push to the starting coordinates (don't stop at (2,2), which mistakes the push vector itself for the tip's location):
(−2+2,1+2)=(0,3)
2
Consider the 2D vector field F(x,y)=⟨x−2,−1⟩. Along what line are the arrows purely vertical, what happens to the arrows when you move straight up or down, and which way do the arrows tilt on each side of that line?
Which slot must equal zero for an arrow to have no sideways push, and which variable is missing from the formula?
For the arrows to be purely vertical, the horizontal slot x−2 must equal zero, which happens along the vertical line x=2, where every arrow points straight down with vector ⟨0,−1⟩ (don't set the vertical slot equal to zero when looking for vertical arrows, and remember x=2 is a vertical line, not the horizontal line y=2). Because y is missing from the formula, moving straight up or down does not change the arrows at all: every vertical line has identical arrows along it. To the right of x=2 (where x>2), x−2 is positive so arrows tilt down and right; to the left of x=2 (where x<2), x−2 is negative so arrows tilt down and left.
3
Use zero lines and quadrant signs to match each vector field to its flow pattern: (a) F(x,y)=⟨y,−x⟩, (b) F(x,y)=⟨−x,−y⟩, (c) F(x,y)=⟨−y,−x⟩.
Check which variable sits in each slot first, then test the signs of the two slots on the axes and in the four quadrants.
(a) ⟨y,−x⟩ is a clockwise whirlpool: arrows point right on the positive y-axis (x=0,y>0), down on the positive x-axis (x>0,y=0), left on the negative y-axis, and up on the negative x-axis. (b) ⟨−x,−y⟩ pushes straight inward toward the origin from every quadrant, getting weaker near the center. (c) ⟨−y,−x⟩ is a saddle flow (don't confuse it with the inward field ⟨−x,−y⟩ or assume two minus signs make a whirlpool: notice y is in the first slot and x is in the second): in the top-right and bottom-left quadrants the pushes point inward along y=x toward the origin, while in the top-left and bottom-right quadrants they point outward along y=−x.
4
Read the slots and missing variables of the 3D vector field F(x,y,z)=⟨y,−x,−2⟩ to describe the path of a particle dropped into the field.
Read the horizontal spin from the first two slots, check which variable is missing, and then combine that with the vertical push in the third slot.
The first two slots ⟨y,−x⟩ create a clockwise whirlpool around the z-axis (don't mix up ⟨y,−x⟩ with the counter-clockwise whirlpool ⟨−y,x⟩), and because z is missing from the formula, this horizontal spin is identical at every height. The third slot is a steady downward push of −2 everywhere, so a particle spirals downward in a clockwise helix around the z-axis.
5
Find the gradient field ∇f(x,y) of the surface f(x,y)=10−x2−y2, and describe how its arrows meet the circular level curves 10−x2−y2=c as you move outward from the origin.
Take the partial derivatives ⟨fx,fy⟩ keeping the minus signs, then check where the surface reaches its highest value.
Taking partial derivatives gives
∇f(x,y)=⟨−2x,−2y⟩
(don't drop the minus signs to get ⟨2x,2y⟩, which would point outward and downhill). Its arrows cross every circular level curve at a 90∘ angle pointing straight inward toward the origin (where the surface reaches its peak height of 10), and the arrows grow longer further from the origin where the surface is steeper.
6
A contour map has closed level curves labeled 10,20, and 30 around a hill, with the curves packed tightly together on the north side at point A and spread far apart on the south side at point B. (a) How should you draw the gradient arrows at A and B? (b) Can a vector field whose arrows loop all the way around the hill tangent to the contour line 20 be a gradient field? Explain why or why not.
For (a), how do uphill direction and slope steepness show up on a contour map? For (b), think about what happens to your height if you follow a closed loop uphill.
(a) At both A and B, draw the arrow crossing the contour line at a 90∘ angle pointing uphill from 10 toward 20 and 30; make the arrow at A long (steep slope, tight contours) and the arrow at B short (gentle slope, wide contours; don't draw a longer arrow at B just because the gap between curves is wider). (b) No: gradient arrows must point uphill perpendicular to level curves, and if arrows formed a closed loop around the hill, following them would mean walking uphill the entire way around a circle only to return to your starting point at the exact same height, which is impossible.