Multivariable-Calculus ยท Unit 19 ยท Video 2 ยท Interactive Practice
Finding a Potential Function by Line Integrals
IKey Formulas
Formula
Name
What it says
f(x1โ,y1โ)=โซCโFโ dr+f(0,0)
Fundamental theorem, backwards
C runs from the origin to (x1โ,y1โ); any such path
C1โ: y=0, dy=0โโซ0x1โโM(x,0)dx
Along the x-axis
Only Mdx survives
C2โ: x=x1โ, dx=0โโซ0y1โโN(x1โ,y)dy
Vertical piece
Only Ndy survives
f=34โx3+y3+4x2y+c
Potential of โจ4x2+8xy,ย 3y2+4x2โฉ
Check: fxโ=M, fyโ=N
Key Insight:f(0,0) is a free constant: โ(f+c)=โf, so the line integral determines the potential up to +c.
IIAny Path from the Origin Gives the Same Value
Each route to (x1โ,y1โ) splits the work differently, but the total is always f(x1โ,y1โ).
IIIA Different Starting Point Shifts Every Value Equally
Starting from a base point B instead of the origin changes f by the constant โf(B), the same at every point.
IVQuiz Questions
Problem 1 ยท Two Straight Pieces
Given:F=โจ2x+y,ย x+2yโฉ (it passes the test: Myโ=1=Nxโ). Integrate along the x-axis to (x1โ,0), then vertically to (x1โ,y1โ), with f(0,0)=0. Findf(x,y).
โ Correct!x12โ from C1โ plus x1โy1โ+y12โ from C2โ.
โ Counted xy twice. On C1โ, y=0, so the y in M=2x+y contributes nothing there.
โ Lost a term. On C2โ, x is the fixed number x1โ, not 0: N(x1โ,y)=x1โ+2y.
โ Not quite. Do each piece separately; check by taking the gradient.
Show solution
On C1โ: y=0, dy=0, so the integral is โซ0x1โโ2xdx=x12โ.
On C2โ: x=x1โ, dx=0, so the integral is โซ0y1โโ(x1โ+2y)dy=x1โy1โ+y12โ.
Adding: f(x1โ,y1โ)=x12โ+x1โy1โ+y12โ, so f=x2+xy+y2. Check: fxโ=2x+y=M, fyโ=x+2y=N.
Problem 2 ยท What Survives on the x-Axis
Given:F=โจ3x2y+2,ย x3+4yโฉ. On the piece C1โ along the x-axis from (0,0) to (x1โ,0), findโซC1โโMdx+Ndy.
โ Correct! With y=0, M(x,0)=2 and dy=0, so the integral is โซ0x1โโ2dx=2x1โ.
โ On C1โ, y is 0. The end point's y1โ does not appear until the vertical piece.
โ The Ndy term vanishes on C1โ, because dy=0 along the x-axis.
โ Not quite. Set y=0 and dy=0 before integrating.
Show solution
On C1โ, y=0 and dy=0. The Ndy term disappears, and M(x,0)=3x2โ 0+2=2:
โซC1โโMdx+Ndy=โซ0x1โโ2dx=2x1โ.
(The vertical piece then gives โซ0y1โโ(x13โ+4y)dy=x13โy1โ+2y12โ, so f=x3y+2x+2y2.)
Problem 3 ยท A Potential with an Exponential
Given:F=โจyexy,ย xexy+2yโฉ, which passes the test. Using the x-axis then the vertical piece, with f(0,0)=0, findf(x1โ,y1โ).