Multivariable CalculusLine Integrals and Green's Theorem4 of 7
Line Integrals and Green's Theorem · 4

The Fundamental Theorem for Line Integrals

Evaluating a line integral ∫CF⋅dr\total{\int_C} \fn{\mathbf{F}} \cdot d\mathbf{r} directly from a parameterization gets messy fast when the curve is complicated, so we want to know when we can skip the path in the middle and just use its two endpoints.

1

When the Path Doesn't Matter

Suppose we want to find the line integral ∫CF⋅dr\total{\int_C} \fn{\mathbf{F}} \cdot d\mathbf{r} along the curve

x(t)\displaystyle x(t) =t+sin⁡(πt),y(t)\displaystyle = t + \sin(\pi t), \quad y(t) =2t4−t3+t,0\displaystyle = 2t^4 - t^3 + t, \quad 0 ≤t\displaystyle \le t ≤1\displaystyle \le 1

Plugging these formulas into F\fn{\mathbf{F}}, taking derivatives, and integrating with respect to tt would be a lot of work, unless the total push along the walk depends only on where the path starts and where it stops.

When the Path Doesn't Matter
x(t)=t+sin⁡(πt)x(t) = t + \sin(\pi t)
y(t)=2t4−t3+ty(t) = 2t^4 - t^3 + t
0≤t≤10 \le t \le 1
∫CF⋅dr=  ?\total{\int_C} \fn{F}\cdot dr = \;?
AA
BB
CC
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}

On a mountain trail, every step begins at the exact elevation where the previous step ended, so any uphill and downhill detours in the middle cancel out of the running total:

Δh1+Δh2+Δh3+⋯\displaystyle \change{\Delta h_1} + \change{\Delta h_2} + \change{\Delta h_3} + \cdots =hend−hstart\displaystyle = \fn{h_{\text{end}}} - \fn{h_{\text{start}}}
2

The Fundamental Theorem for Line Integrals

The Fundamental Theorem for Line Integrals says that if a vector field F\fn{\mathbf{F}} is the gradient of a height surface f(x,y)\fn{f(x, y)}, then the line integral from AA to BB is simply the change in height f(B)−f(A)\fn{f(B)} - \fn{f(A)}.

In single-variable calculus, multiplying the slope f′(x)\change{f'(x)} by a tiny step dxdx gives the tiny height change df=f′(x) dx\change{df} = \change{f'(x)}\,dx, so adding them up from aa to bb gives the net change in height:

∫abf′(x) dx\displaystyle \total{\int_a^b} \change{f'(x)}\,dx =f(b)−f(a)\displaystyle = \fn{f(b)} - \fn{f(a)}

On a surface f(x,y)\fn{f(x, y)}, the slopes in the xx and yy directions are put together in the gradient vector ∇f=⟨∂f∂x,∂f∂y⟩\change{\nabla f = \left\langle \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y} \right\rangle}.

The Fundamental Theorem for Line Integrals
∫abf′(x) dx=f(b)−f(a)\total{\int_a^b} \change{f'(x)}\,dx = \fn{f(b)} - \fn{f(a)}
y=f(x)\htmlClass{lc-blue}{y = f(x)}
aa
bb
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}

When F=∇f\fn{\mathbf{F}} = \change{\nabla f}, dotting the field with a tiny step dr=⟨dx,dy⟩d\mathbf{r} = \langle dx, dy \rangle gives the tiny height change df\change{df} on the surface, and adding those height changes from A=r(a)A = \mathbf{r}(a) to B=r(b)B = \mathbf{r}(b) leaves the net change in height:

∇f⋅dr\displaystyle \change{\nabla f} \cdot d\mathbf{r} =∂f∂x dx⏟height change in x+∂f∂y dy⏟height change in y\displaystyle = \underbrace{\change{\frac{\partial f}{\partial x}\,dx}}_{\text{height change in } x} + \underbrace{\change{\frac{\partial f}{\partial y}\,dy}}_{\text{height change in } y} =df\displaystyle = \change{df}
∫C∇f⋅dr\displaystyle \total{\int_C} \change{\nabla f} \cdot d\mathbf{r} =f(B)−f(A)\displaystyle = \fn{f(B)} - \fn{f(A)} =f(r(b))−f(r(a))\displaystyle = \fn{f(\mathbf{r}(b))} - \fn{f(\mathbf{r}(a))}

At every point PP along the flat curve CC, the running line integral ∫APF⋅dr\total{\int_A^P} \fn{\mathbf{F}} \cdot d\mathbf{r} in the gradient field matches the elevation change f(P)−f(A)\fn{f(P)} - \fn{f(A)} on the 3D surface f(x,y)\fn{f(x, y)} directly above it.

In a gradient field, each step's push along the flat curve equals the tiny height change on the surface right above it, keeping the running line integral equal to the height change from the start.
3

Path Independence and Closed Loops

Path independence means that a line integral from AA to BB has the exact same value along every route between those two points. Because f(B)−f(A)\fn{f(B)} - \fn{f(A)} depends only on the two endpoints, bending the curve between AA and BB does not change the integral at all, and walking around a closed loop that starts and ends at AA always gives 00.

Path Independence and Closed Loops
∫C∇f⋅dr=f(B)−f(A)\total{\int_C}\change{\nabla f}\cdot dr = \fn{f(B)} - \fn{f(A)}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
z\htmlClass{lc-mute}{z}
AA
f(A)\htmlClass{lc-blue}{f(A)}
BB
f(B)\htmlClass{lc-blue}{f(B)}
CC
AA
BB
C1C_1
C2\htmlClass{lc-violet}{C_2}
AA
BB
C1C_1
C2reversed\htmlClass{lc-violet}{\begin{aligned}&C_2\\[-2pt]&\text{reversed}\end{aligned}}

Walking a path backwards from BB to AA flips the direction of every step drd\mathbf{r}, which flips the sign of the line integral. Going from AA to BB along C1C_1 and returning from BB to AA along C2\otherpath{C_2} forms a closed loop whose total integral is the difference between the two paths:

∫loopF⋅dr\displaystyle \total{\int_{\text{loop}}} \fn{\mathbf{F}} \cdot d\mathbf{r} =∫C1F⋅dr−∫C2F⋅dr\displaystyle = \total{\int_{C_1}} \fn{\mathbf{F}} \cdot d\mathbf{r} - \total{\int_{\otherpath{C_2}}} \fn{\mathbf{F}} \cdot d\mathbf{r} =0\displaystyle = 0

For any path between AA and BB in a gradient field, extra uphill gain from detouring over a ridge is canceled by an equal downhill loss on the way back to BB, keeping ∫CF⋅dr\total{\int_C} \fn{\mathbf{F}} \cdot d\mathbf{r} fixed at f(B)−f(A)\fn{f(B)} - \fn{f(A)} and making it 00 when BB is the same point as AA.

In a gradient field, any extra climb on a detour is canceled by an equal drop on the way back, so the line integral depends only on the endpoints.
4

Conservative and Non-Conservative Vector Fields

We can only use the endpoint formula f(B)−f(A)\fn{f(B)} - \fn{f(A)} when the vector field F\fn{\mathbf{F}} actually comes from a height surface f(x,y)\fn{f(x, y)}.

Conservative and Non-Conservative Vector Fields
F=⟨−y, x⟩\fn{F = \langle -y,\, x\rangle}
F=∇f  ?\fn{F} = \change{\nabla f}\;?
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}

When a vector field is the gradient of a height function, the field is called a conservative vector field and the height function is called its potential function:

F⏟conservativevector field\displaystyle \underbrace{\fn{\mathbf{F}}}_{\substack{\text{conservative} \\ \text{vector field}}} =∇f⏟potentialfunction\displaystyle = \change{\nabla} \underbrace{\fn{f}}_{\substack{\text{potential} \\ \text{function}}}

If a vector field swirls around like F=⟨−y,x⟩\fn{\mathbf{F} = \langle -y, x \rangle}, walking counterclockwise around a circle goes with the arrows the entire way around. No height surface f(x,y)\fn{f(x, y)} can go uphill the entire way around a circle and end up back at its starting elevation, so F=⟨−y,x⟩\fn{\mathbf{F} = \langle -y, x \rangle} is non-conservative and its line integrals still depend on the path.

In the swirling field F=⟨−y,x⟩\fn{\mathbf{F} = \langle -y, x \rangle}, walking one way around the origin goes with the arrows while walking the other way goes against them, so ∫CF⋅dr\total{\int_C} \fn{\mathbf{F}} \cdot d\mathbf{r} changes as the path bends and does not cancel to zero around a closed loop.

In a swirling field, two paths between the same points A and B get pushed in opposite directions, so the total push depends on the path and never cancels around the origin.
5

Finding a Potential Function to Evaluate a Line Integral

Now let's evaluate the line integral of F(x,y)=⟨2xy,x2+3y2⟩\fn{\mathbf{F}(x, y) = \langle 2xy, x^2 + 3y^2 \rangle} along the curve from the beginning:

∫C⟨2xy,x2+3y2⟩⋅dr,x(t)\displaystyle \total{\int_C} \fn{\langle 2xy, x^2 + 3y^2 \rangle} \cdot d\mathbf{r}, \quad x(t) =t+sin⁡(πt),y(t)\displaystyle = t + \sin(\pi t), \quad y(t) =2t4−t3+t,0\displaystyle = 2t^4 - t^3 + t, \quad 0 ≤t\displaystyle \le t ≤1\displaystyle \le 1

To check whether F=⟨P,Q⟩\fn{\mathbf{F} = \langle P, Q \rangle} has a potential function f(x,y)\fn{f(x, y)}, we use the fact that mixed partial derivatives of a smooth surface match (fxy=fyx\mixed{f_{xy} = f_{yx}}). If P=∂f∂x\fn{P} = \change{\frac{\partial f}{\partial x}} and Q=∂f∂y\fn{Q} = \change{\frac{\partial f}{\partial y}}, then differentiating P\fn{P} with respect to yy must match differentiating Q\fn{Q} with respect to xx:

∂P∂y=∂Q∂x\displaystyle \mixed{\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}}

When ∂P∂y=∂Q∂x\mixed{\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}} on the whole plane (or any region with no holes), a potential function f(x,y)\fn{f(x, y)} is guaranteed to exist.

Finding a Potential Function to Evaluate a Line Integral
F=⟨2xy,  x2+3y2⟩x(t)=t+sin⁡(πt)y(t)=2t4−t3+t0≤t≤1∫CF⋅dr=  ?\displaystyle \begin{aligned} \fn{F} &= \fn{\langle 2xy,\; x^2+3y^2\rangle} \\ x(t) &= t+\sin(\pi t) \\ y(t) &= 2t^4-t^3+t \\ 0\le t &\le 1 \\ \total{\int_C}\fn{F}\cdot dr &= \;? \end{aligned}
Text solution
Check mixed partials for a potential functionTaking the yy-derivative of P\fn{P} and the xx-derivative of Q\fn{Q} gives the same result everywhere on the plane, so F\fn{\mathbf{F}} is conservative:
P=2xy  ⟹  ∂P∂y=2xQ=x2+3y2  ⟹  ∂Q∂x=2x\displaystyle \begin{aligned} \fn{P = 2xy} &\implies \mixed{\frac{\partial P}{\partial y} = 2x} \\ \fn{Q = x^2 + 3y^2} &\implies \mixed{\frac{\partial Q}{\partial x} = 2x} \end{aligned}
Undo both partial derivatives without double-countingIntegrating P\fn{P} with respect to xx and Q\fn{Q} with respect to yy both give the shared term x2y\fn{x^2y}, which we include once in f(x,y)\fn{f(x, y)}:
∂f∂x=2xy  ⟹  x2y∂f∂y=x2+3y2  ⟹  x2y+y3f(x,y)=x2y+y3\displaystyle \begin{aligned} \change{\frac{\partial f}{\partial x}} = \fn{2xy} &\implies \fn{x^2y} \\ \change{\frac{\partial f}{\partial y}} = \fn{x^2 + 3y^2} &\implies \fn{x^2y + y^3} \\ \fn{f(x, y)} &= \fn{x^2y + y^3} \end{aligned}
Find the start and end points of the curvePlugging the endpoints t=0t = 0 and t=1t = 1 into x(t)x(t) and y(t)y(t) gives the starting point AA and ending point BB:
t=0:A=(0+sin⁡(0),  2(0)4−(0)3+0)=(0,0)t=1:B=(1+sin⁡(π),  2(1)4−(1)3+1)=(1,2)\displaystyle \begin{aligned} t = 0: \quad A &= \bigl(0 + \sin(0),\; 2(0)^4 - (0)^3 + 0\bigr) = (0, 0) \\ t = 1: \quad B &= \bigl(1 + \sin(\pi),\; 2(1)^4 - (1)^3 + 1\bigr) = (1, 2) \end{aligned}
Subtract the starting height from the ending heightEvaluating f(x,y)=x2y+y3\fn{f(x, y) = x^2y + y^3} at B=(1,2)B = (1, 2) and A=(0,0)A = (0, 0) gives the value of the line integral:
∫CF⋅dr=f(1,2)−f(0,0)=((1)2(2)+(2)3)−((0)2(0)+(0)3)=10−0=10\displaystyle \begin{aligned} \total{\int_C} \fn{\mathbf{F}} \cdot d\mathbf{r} &= \fn{f(1, 2)} - \fn{f(0, 0)} \\ &= \bigl((1)^2(2) + (2)^3\bigr) - \bigl((0)^2(0) + (0)^3\bigr) \\ &= 10 - 0 \\ &= 10 \end{aligned}

So the total push along the curve from (0,0)(0, 0) to (1,2)(1, 2) is 1010, the exact same value we would get along a straight line between those two points.

Once you write down f(x,y)\fn{f(x, y)}, take ∂f∂x\change{\frac{\partial f}{\partial x}} and ∂f∂y\change{\frac{\partial f}{\partial y}} in your head to check that they give back P\fn{P} and Q\fn{Q}. Always write down ∂P∂y=∂Q∂x\mixed{\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}} first to show why you can skip the middle of the path.

Key concepts

When you need to evaluate ∫CF⋅dr\total{\int_C} \fn{\mathbf{F}} \cdot d\mathbf{r} for F=⟨P,Q⟩\fn{\mathbf{F} = \langle P, Q \rangle}, first check whether the field comes from a potential function f(x,y)\fn{f(x, y)}.

If the integral is already written as ∫C∇f⋅dr\total{\int_C} \change{\nabla f} \cdot d\mathbf{r} with f(x,y)\fn{f(x, y)} given, you already have the potential function and can plug the endpoints A=r(a)A = \mathbf{r}(a) and B=r(b)B = \mathbf{r}(b) straight into the Fundamental Theorem for Line Integrals:

∫C∇f⋅dr\displaystyle \total{\int_C} \change{\nabla f} \cdot d\mathbf{r} =f(r(b))−f(r(a))\displaystyle = \fn{f(\mathbf{r}(b))} - \fn{f(\mathbf{r}(a))}

When you are given components F=⟨P,Q⟩\fn{\mathbf{F} = \langle P, Q \rangle} instead, test whether ∂P∂y=∂Q∂x\mixed{\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}} on a region with no holes:

Open path in a conservative field

(∂P∂y=∂Q∂x\mixed{\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}} and r(a)≠r(b)\mathbf{r}(a) \ne \mathbf{r}(b), like F=⟨2xy,x2+3y2⟩\fn{\mathbf{F} = \langle 2xy, x^2 + 3y^2 \rangle} where both mixed partials are 2x\mixed{2x}): integrate P\fn{P} with respect to xx and Q\fn{Q} with respect to yy without double-counting shared terms to get f(x,y)=x2y+y3\fn{f(x, y) = x^2y + y^3}, then compute f(r(b))−f(r(a))\fn{f(\mathbf{r}(b))} - \fn{f(\mathbf{r}(a))}.

Closed loop in a conservative field

(∂P∂y=∂Q∂x\mixed{\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}} and r(b)=r(a)\mathbf{r}(b) = \mathbf{r}(a)): you do not even need to find f(x,y)\fn{f(x, y)}, because starting and ending at the same point AA immediately gives f(A)−f(A)=0\fn{f(A)} - \fn{f(A)} = 0.

Non-conservative field

(∂P∂y≠∂Q∂x\mixed{\frac{\partial P}{\partial y}} \ne \mixed{\frac{\partial Q}{\partial x}}, like F=⟨−y,x⟩\fn{\mathbf{F} = \langle -y, x \rangle} where ∂P∂y=−1≠1=∂Q∂x\mixed{\frac{\partial P}{\partial y} = -1} \ne \mixed{1 = \frac{\partial Q}{\partial x}}): no potential function f(x,y)\fn{f(x, y)} exists, so you cannot just use the endpoints. You have to plug the parameterization r(t)\mathbf{r}(t) directly into ∫CF⋅dr\total{\int_C} \fn{\mathbf{F}} \cdot d\mathbf{r} and integrate with respect to tt.

6

Practice

1

Let f(x,y)=x3y−4y2\fn{f(x, y) = x^3y - 4y^2}. Evaluate ∫C∇f⋅dr\total{\int_C} \change{\nabla f} \cdot d\mathbf{r} along a curve CC from A=(1,2)A = (1, 2) to B=(3,1)B = (3, 1).

Since the integrand is already ∇f⋅dr\change{\nabla f} \cdot d\mathbf{r}, do you need to take derivatives of f(x,y)\fn{f(x, y)}, or is f(x,y)\fn{f(x, y)} already the height function?

The potential function f(x,y)=x3y−4y2\fn{f(x, y) = x^3y - 4y^2} is already given, so we evaluate f\fn{f} at B=(3,1)B = (3, 1) and A=(1,2)A = (1, 2):
f(3,1)=(3)3(1)−4(1)2=27−4=23f(1,2)=(1)3(2)−4(2)2=2−16=−14\displaystyle \begin{aligned} \fn{f(3, 1)} &= (3)^3(1) - 4(1)^2 = 27 - 4 = 23 \\ \fn{f(1, 2)} &= (1)^3(2) - 4(2)^2 = 2 - 16 = -14 \end{aligned}
Subtract f(A)\fn{f(A)} from f(B)\fn{f(B)}. Be careful to keep parentheses around −14-14 so you don't write 23−14=923 - 14 = 9, and make sure to do ending minus starting rather than f(1,2)−f(3,1)=−37f(1, 2) - f(3, 1) = -37:
∫C∇f⋅dr\displaystyle \total{\int_C} \change{\nabla f} \cdot d\mathbf{r} =f(3,1)−f(1,2)\displaystyle = \fn{f(3, 1)} - \fn{f(1, 2)} =23−(−14)\displaystyle = 23 - (-14) =37\displaystyle = 37
2

Suppose F\fn{\mathbf{F}} is a conservative vector field, and C1C_1 and C2\otherpath{C_2} are two different paths from AA to BB with ∫C1F⋅dr=7\total{\int_{C_1}} \fn{\mathbf{F}} \cdot d\mathbf{r} = 7. Find (a) ∫C2F⋅dr\total{\int_{\otherpath{C_2}}} \fn{\mathbf{F}} \cdot d\mathbf{r}, (b) the line integral of F\fn{\mathbf{F}} from BB to AA along C2\otherpath{C_2} in reverse, and (c) the line integral of F\fn{\mathbf{F}} around the closed loop that goes from AA to BB along C1C_1 and returns from BB to AA along C2\otherpath{C_2}.

In a conservative field, how do two paths between the same endpoints compare, and what happens to every step vector drd\mathbf{r} when you walk from BB to AA instead of AA to BB?

(a) Because F\fn{\mathbf{F}} is conservative, the integral depends only on the endpoints AA and BB, so ∫C2F⋅dr=7\total{\int_{\otherpath{C_2}}} \fn{\mathbf{F}} \cdot d\mathbf{r} = 7. (b) Reversing the direction from BB to AA flips every step drd\mathbf{r} and flips the sign of the integral (path independence still cares which point is the start and which is the end, so don't leave the answer as 77, which would also make the closed loop in part (c) equal 7+7=147 + 7 = 14): −7-7. (c) Adding the trip from AA to BB along C1C_1 and the return trip from BB to AA along C2\otherpath{C_2} gives 7+(−7)=07 + (-7) = 0. (a) 77, (b) −7-7, (c) 00
3

Let F(x,y)=⟨3x2y2+2x,2x3y−4y⟩\fn{\mathbf{F}(x, y) = \langle 3x^2y^2 + 2x, 2x^3y - 4y \rangle}. Verify that F\fn{\mathbf{F}} is conservative, find a potential function f(x,y)\fn{f(x, y)}, and evaluate ∫CF⋅dr\total{\int_C} \fn{\mathbf{F}} \cdot d\mathbf{r} along the curve r(t)=⟨t+cos⁡(πt),t3+sin⁡(πt)⟩\mathbf{r}(t) = \langle t + \cos(\pi t), t^3 + \sin(\pi t) \rangle for 0≤t≤10 \le t \le 1.

After checking ∂P∂y=∂Q∂x\mixed{\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}} and integrating both partials, which values of tt do you need to plug into r(t)\mathbf{r}(t)?

First check the mixed partial derivatives on the whole plane:
∂P∂y=6x2y=∂Q∂x\displaystyle \mixed{\frac{\partial P}{\partial y} = 6x^2y = \frac{\partial Q}{\partial x}}
They match everywhere on the plane, so F\fn{\mathbf{F}} is conservative. Integrating P=3x2y2+2x\fn{P = 3x^2y^2 + 2x} with respect to xx gives x3y2+x2\fn{x^3y^2 + x^2}, and integrating Q=2x3y−4y\fn{Q = 2x^3y - 4y} with respect to yy gives x3y2−2y2\fn{x^3y^2 - 2y^2}. Combining them without double-counting the shared x3y2\fn{x^3y^2} term (which would give 2x3y2+x2−2y22x^3y^2 + x^2 - 2y^2) gives the potential function:
f(x,y)=x3y2+x2−2y2\displaystyle \fn{f(x, y) = x^3y^2 + x^2 - 2y^2}
Now find the endpoints at t=0t = 0 and t=1t = 1. Watch that cos⁡(0)=1\cos(0) = 1 at t=0t = 0, because treating r(0)\mathbf{r}(0) as (0,0)(0, 0) gives f(0,1)−f(0,0)=−2f(0, 1) - f(0, 0) = -2 instead of −3-3:
r(0)=⟨0+cos⁡(0),  03+sin⁡(0)⟩=(1,0)r(1)=⟨1+cos⁡(π),  13+sin⁡(π)⟩=(0,1)\displaystyle \begin{aligned} \mathbf{r}(0) &= \langle 0 + \cos(0),\; 0^3 + \sin(0) \rangle = (1, 0) \\ \mathbf{r}(1) &= \langle 1 + \cos(\pi),\; 1^3 + \sin(\pi) \rangle = (0, 1) \end{aligned}
Subtract the starting height from the ending height:
∫CF⋅dr\displaystyle \total{\int_C} \fn{\mathbf{F}} \cdot d\mathbf{r} =f(0,1)−f(1,0)\displaystyle = \fn{f(0, 1)} - \fn{f(1, 0)} =−2−1\displaystyle = -2 - 1 =−3\displaystyle = -3
4

Evaluate ∫CF⋅dr\total{\int_C} \fn{\mathbf{F}} \cdot d\mathbf{r} for F(x,y)=⟨2xy3+y,3x2y2+x⟩\fn{\mathbf{F}(x, y) = \langle 2xy^3 + y, 3x^2y^2 + x \rangle} along the curve r(t)=⟨cos⁡(t)+sin⁡(2t),sin⁡(t)+cos⁡(3t)⟩\mathbf{r}(t) = \langle \cos(t) + \sin(2t), \sin(t) + \cos(3t) \rangle for 0≤t≤2π0 \le t \le 2\pi.

Check ∂P∂y\mixed{\frac{\partial P}{\partial y}} and ∂Q∂x\mixed{\frac{\partial Q}{\partial x}} first, then compare r(0)\mathbf{r}(0) and r(2π)\mathbf{r}(2\pi) before spending time finding f(x,y)\fn{f(x, y)}.

Check the mixed partial derivatives on the whole plane:
∂P∂y=6xy2+1=∂Q∂x\displaystyle \mixed{\frac{\partial P}{\partial y} = 6xy^2 + 1 = \frac{\partial Q}{\partial x}}
So F\fn{\mathbf{F}} is conservative. Next check the endpoints at t=0t = 0 and t=2πt = 2\pi. Don't miss cos⁡(3⋅0)=1\cos(3 \cdot 0) = 1 in the yy-component at t=0t = 0, which would make r(0)\mathbf{r}(0) look like (1,0)(1, 0) instead of (1,1)(1, 1) and lead to f(1,1)−f(1,0)=2−0=2f(1, 1) - f(1, 0) = 2 - 0 = 2:
r(0)=⟨1+0,  0+1⟩=(1,1)r(2π)=⟨1+0,  0+1⟩=(1,1)\displaystyle \begin{aligned} \mathbf{r}(0) &= \langle 1 + 0,\; 0 + 1 \rangle = (1, 1) \\ \mathbf{r}(2\pi) &= \langle 1 + 0,\; 0 + 1 \rangle = (1, 1) \end{aligned}
Since r(0)=r(2π)=(1,1)\mathbf{r}(0) = \mathbf{r}(2\pi) = (1, 1), the curve is a closed loop in a conservative field, so the line integral is 00.
5

Let F(x,y)=⟨2xy,y2⟩\fn{\mathbf{F}(x, y) = \langle 2xy, y^2 \rangle}. Show that F\fn{\mathbf{F}} has no potential function on the plane, and verify that the path matters by computing ∫CF⋅dr\total{\int_C} \fn{\mathbf{F}} \cdot d\mathbf{r} from (0,0)(0, 0) to (1,1)(1, 1) along the line segment r1(t)=⟨t,t⟩\mathbf{r}_1(t) = \langle t, t \rangle and along the parabola r2(t)=⟨t,t2⟩\otherpath{\mathbf{r}_2(t) = \langle t, t^2 \rangle} for 0≤t≤10 \le t \le 1.

Once ∂P∂y\mixed{\frac{\partial P}{\partial y}} and ∂Q∂x\mixed{\frac{\partial Q}{\partial x}} do not match, write out dr=⟨x′(t),y′(t)⟩ dtd\mathbf{r} = \langle x'(t), y'(t) \rangle\,dt for each path and integrate F(r(t))⋅r′(t) dt\fn{\mathbf{F}(\mathbf{r}(t))} \cdot \mathbf{r}'(t)\,dt from t=0t = 0 to t=1t = 1.

Compare the mixed partial derivatives:
∂P∂y=2x≠0=∂Q∂x\displaystyle \mixed{\frac{\partial P}{\partial y} = 2x} \ne \mixed{0 = \frac{\partial Q}{\partial x}}
Since ∂P∂y≠∂Q∂x\mixed{\frac{\partial P}{\partial y}} \ne \mixed{\frac{\partial Q}{\partial x}}, no potential function exists.
Along the line segment r1(t)=⟨t,t⟩\mathbf{r}_1(t) = \langle t, t \rangle, we have dr1=⟨1,1⟩ dtd\mathbf{r}_1 = \langle 1, 1 \rangle\,dt and F(r1(t))=⟨2t2,t2⟩\fn{\mathbf{F}(\mathbf{r}_1(t)) = \langle 2t^2, t^2 \rangle}:
∫C1F⋅dr\displaystyle \total{\int_{C_1}} \fn{\mathbf{F}} \cdot d\mathbf{r} =∫01⟨2t2,t2⟩⋅⟨1,1⟩ dt\displaystyle = \int_0^1 \fn{\langle 2t^2, t^2 \rangle} \cdot \langle 1, 1 \rangle\,dt =∫013t2 dt\displaystyle = \int_0^1 3t^2\,dt =1\displaystyle = 1
Along the parabola r2(t)=⟨t,t2⟩\otherpath{\mathbf{r}_2(t) = \langle t, t^2 \rangle}, we have dr2=⟨1,2t⟩ dtd\mathbf{r}_2 = \langle 1, 2t \rangle\,dt and F(r2(t))=⟨2t3,t4⟩\fn{\mathbf{F}(\mathbf{r}_2(t)) = \langle 2t^3, t^4 \rangle}. Remember to multiply the second component t4\fn{t^4} by y′(t)=2ty'(t) = 2t from dr2d\mathbf{r}_2, because forgetting 2t2t gives ∫01(2t3+t4) dt=710\int_0^1 (2t^3 + t^4)\,dt = \frac{7}{10}:
∫C2F⋅dr\displaystyle \total{\int_{\otherpath{C_2}}} \fn{\mathbf{F}} \cdot d\mathbf{r} =∫01⟨2t3,t4⟩⋅⟨1,2t⟩ dt\displaystyle = \int_0^1 \fn{\langle 2t^3, t^4 \rangle} \cdot \langle 1, 2t \rangle\,dt =∫01(2t3+2t5) dt\displaystyle = \int_0^1 (2t^3 + 2t^5)\,dt =[12t4+13t6]01\displaystyle = \left[\frac{1}{2}t^4 + \frac{1}{3}t^6\right]_0^1 =56\displaystyle = \frac{5}{6}
Since 1≠561 \ne \frac{5}{6}, the line integral depends on the path: 11 and 56\frac{5}{6}.