Two independent tests. WHY two? Because ϕ needs no spin (irrotational) and ψ needs no squishing (incompressible) — different physics.
Test for ψ (incompressibility, the Continuity Equation):∇⋅V=∂x∂u+∂y∂v=∂x∂(−y)+∂y∂(x)=0+0=0.
Divergence is zero ⇒ ψ exists. ✓
Test for ϕ (irrotationality): in 2D the only vorticity component is
ω=∂x∂v−∂y∂u=∂x∂(x)−∂y∂(−y)=1−(−1)=2=0.
Non-zero spin ⇒ ϕ does NOT exist. ✗
This field is solid-body rotation (like a spinning turntable): every particle circles the origin, so there is real spin, and no single "height" scalar can describe it.
Recall Solution L1.2
Rule from the parent note:ψ=const are streamlines (the fluid runs along them); ϕ=const are equipotentials (crossed perpendicularly by the flow).
ψ=3x−2y=const → straight lines of slope dxdy=23. These are the streamlines.
ϕ=2x+3y=const → straight lines of slope −32. These are the equipotentials.
Slopes multiply to 23⋅(−32)=−1: they are perpendicular, exactly as a flow net demands.
Apply the definitions (u=ψy, v=−ψx). WHY these and not ϕ's? Because we were handed ψ.
u=∂y∂(x2−y2)=−2y,v=−∂x∂(x2−y2)=−2x.Incompressible? By construction any ψ gives ∇⋅V=0. Check: ux+vy=0+0=0 ✓.
Irrotational?∂x∂v−∂y∂u=∂x∂(−2x)−∂y∂(−2y)=−2−(−2)=0.
Zero spin ⇒ also irrotational. So a ϕ exists too — this is an ideal flow. (It is the classic "flow toward a corner" / stagnation flow.)
Recall Solution L2.2
We integrate, because ϕ is the anti-derivative of velocity (u=ϕx).ϕ=∫udx=∫(−2y)dx=−2xy+f(y).
Here f(y) is an unknown function of y only — it vanishes when we differentiate by x, so integration cannot see it yet. Pin it down using the other equationv=ϕy:
ϕy=−2x+f′(y)=!v=−2x⇒f′(y)=0⇒f=const.
So ϕ=−2xy (constant absorbed). Check: ϕx=−2y=u ✓, ϕy=−2x=v ✓.
The two scalars must agree on u and v. The bridge is ϕx=ψy and ϕy=−ψx.
ϕx=2x,ψy=2x✓ϕy=2y,−ψx=−2y.
Second equation: 2y=?−2y → only true at y=0. Refuted. These do not describe the same flow.
Deeper reason:ϕ=x2+y2 has ∇2ϕ=2+2=4=0, so it fails the Laplace Equation∇2ϕ=0 that every valid velocity potential of an incompressible flow must satisfy. It was never a legal potential to begin with.
Recall Solution L3.2
From ϕ: u=ϕx=2x, v=ϕy=−2y.
Now build ψ from u=ψy:
ψ=∫2xdy=2xy+g(x).
Fix g with v=−ψx: −ψx=−(2y+g′(x))=!−2y⇒g′(x)=0. So ψ=2xy.
Laplace check:∇2ϕ=ϕxx+ϕyy=2+(−2)=0✓,∇2ψ=ψxx+ψyy=0+0=0✓.
WHY superpose? Because the Laplace Equation is linear: if ψ1 and ψ2 each solve ∇2ψ=0, so does their sum. Streamfunctions add.
ψ=Uy+2πmθ,y=rsinθ.
From ψ2 to a Cartesian velocity — do it carefully. The source stream function is ψ2=2πmθ. Its velocity in polar coordinates comes from the polar definitions of the stream function,
ur=r1∂θ∂ψ,uθ=−∂r∂ψ.
So ur=r1⋅2πm=2πrm (pure radial outflow) and uθ=0. WHY convert to Cartesian? Because the stream flows horizontally (u-direction), so to add the two flows we need both expressed in the same (u,v) basis. A purely radial velocity of magnitude ur points along the unit vector r^=(x,y)/r, so its Cartesian components are
urr^=2πrm⋅r(x,y)=2πmx2+y2(x,y),since r2=x2+y2.
That is where the vector form 2πmx2+y2(x,y) comes from — it is nothing more than "radial speed times the outward unit vector." Adding the uniform stream (U,0):
u=U+2πmx2+y2x,v=2πmx2+y2y.Stagnation on the x-axis: set y=0 (then v=0 automatically) and u=0:
U+2πmx2x=0⇒U+2πxm=0⇒x=−2πUm.
With U=1,m=2π: x=−2π⋅12π=−1. Stagnation point at (−1,0).Read it off the figure above: the amber dot sits at (−1,0), upstream (to the left) of the white source dot. The white arrows on the far left are the incoming uniform stream; the cyan curves are streamlines of the combined ψ. Exactly at the amber dot the source's outward push (pointing left, in −x, on that side) cancels the stream's rightward push — so the flow halts, splits, and wraps around the "half-body." The analytic x=−1 is precisely that amber dot.
Recall Solution L4.2
Key fact from the parent note: flux between two streamlines is just Q=ψ2−ψ1. WHY: flux =∫(udy−vdx)=∫dψ=Δψ.
Evaluate ψ=Uy+2πmθ with U=1,2πm=1, so ψ=y+θ (with θ∈(−π,π]).
At (−1,0): on the negative x-axis θ=π, y=0 ⇒ ψ1=0+π=π.
At (0,1): θ=π/2, y=1 ⇒ ψ2=1+π/2.
Q=ψ2−ψ1=(1+2π)−π=1−2π≈−0.5708.WHY the minus sign — it is orientation, not a mistake. The quantity Q=ψ2−ψ1 measures flux crossing a curve from streamline 1 to streamline 2with a fixed handedness (positive when the flow crosses left-to-right as you walk from the first streamline to the second). Here ψ actually decreases going from (−1,0) to (0,1), so the fluid crosses in the opposite sense to our chosen walking order — hence the negative sign. Swap the two endpoints (walk from (0,1) to (−1,0)) and you get +(2π−1). The physical amount of fluid is the same either way: its magnitude is
∣Q∣=2π−1≈0.571units (per unit depth).
The sign only records which way it flows; the size is what "how much fluid" means.
First, the tool we need: velocity from a potential in polar coordinates. The gradient ∇ϕ is the vector "steepest-increase of ϕ." In Cartesian it is (ϕx,ϕy). In polar coordinates, a step in the radial direction of length dr changes ϕ by ϕrdr, but a step in the angular direction sweeps an arc lengthrdθ (not dθ) — because moving through angle dθ at radius r physically moves you a distance rdθ. Since velocity is change-in-ϕ per unit distance, the tangential component must divide by that arc length:
∇ϕ=(ϕr,r1ϕθ)⇒ur=∂r∂ϕ,uθ=r1∂θ∂ϕ.
That extra 1/r is the whole reason the angular formula looks different from the radial one.
(a) Stream function. In polar form uθ=−∂r∂ψ. So
−∂r∂ψ=2πrΓ⇒ψ=−2πΓlnr.
Streamlines ψ=const⇒r=const: concentric circles — correct, fluid whirls around.
Velocity potential. Using the polar rule just derived, uθ=r1∂θ∂ϕ=2πrΓ⇒∂θ∂ϕ=2πΓ⇒ϕ=2πΓθ.
Note this ϕ and ψ are the swapped mirror of the source in the parent note — vortex and source are conjugates.
(b) Irrotational check + single-valuedness. The vorticity of a purely azimuthal flow is
ωz=r1∂r∂(ruθ)=r1∂r∂(r⋅2πrΓ)=r1∂r∂(2πΓ)=0(r=0).
So although each particle orbits, it does not spin about its own axis — that is why it is irrotational everywhere except the singular core r=0.
But ϕ=2πΓθ is multivalued. Walk one full loop around the origin: θ increases by 2π, so ϕ jumps by 2πΓ⋅2π=Γ even though you returned to the same physical point. A genuine single-valued height cannot do that. This is precisely the L1 caveat in action: the flow region (the plane minus the origin) is not simply-connected — it has a hole at r=0, and loops around that hole cannot be shrunk to a point. So "curl ϕ=0" holds yet ϕ is only single-valued if we cut the plane along a ray (a branch cut, e.g. the negative x-axis) so that no path can encircle the core. The jump Γ across the cut is exactly the circulation — the vortex's defining quantity. (The velocity itself stays perfectly single-valued; only the potential carries the ambiguity.)
(c) Bernoulli. For irrotational flow, p+21ρV2=const everywhere. Speed V=uθ=2πrΓ. With Γ=2π,ρ=1: V=r1.
p(r)=C−21ρV2=C−2r21.p(1)−p(2)=(C−21)−(C−81)=−21+81=−83.
So the pressure is lower near the centre by 83 units — exactly why the middle of a whirlpool dips down.
Match this to the figure above: the cyan circles are the streamlines (r=const), the amber rays are the equipotentials (θ=const), and the white dot marks the singular corer=0 (where ϕ's branch cut lives). Every place a cyan circle meets an amber ray, they cross at a right angle — that is the flow net, drawn.
Algebraic proof of orthogonality (matches the picture). The gradient of a scalar points across its level curves, so:
∇ϕ=(u,v)(velocity),∇ψ=(ψx,ψy)=(−v,u).
Their dot product:
∇ϕ⋅∇ψ=(u)(−v)+(v)(u)=0.
Zero dot product ⇒ perpendicular gradients ⇒ perpendicular level curves. So the algebra (∇ϕ⋅∇ψ=0) is the exact statement of what your eye sees in the figure: circles ⟂ rays.
Recall One-line self-test recap
Existence test ::: ψ needs ∇⋅V=0; ϕ needs ∇×V=0and a simply-connected (hole-free) region for single-valuedness.
Recover ϕ from velocity ::: integrate u over x, then fix the leftover f(y) using v=ϕy.
Superposition rule ::: ψ and ϕ add because Laplace's equation is linear.
Polar velocity from a potential ::: ur=ϕr,uθ=r1ϕθ (the 1/r is arc-length weighting).
Orbiting vs spinning ::: free vortex (uθ∝1/r) is irrotational (but ϕ jumps by Γ per loop); solid-body (uθ∝r) genuinely spins.
Flux meaning of ψ ::: Q=ψ2−ψ1 between two streamlines; its sign records orientation, its magnitude the amount.