Tutorials › Calculus III › Reversing Orientation and Tracking the Sign

Stokes’ Theorem · Tutorial 943 of 999

Reversing Orientation and Tracking the Sign

Track the sign changes in Stokes’ theorem when a surface normal and its compatible boundary orientation are reversed.

Advanced 10 min read

What You'll Learn

  • State Stokes’ theorem with an oriented surface and its compatible boundary direction
  • Determine how the right-hand rule relates a surface normal to its boundary traversal
  • Explain why reversing the normal reverses the induced boundary orientation
  • Track the sign change in a curl-flux integral under orientation reversal
  • Track the sign change in a circulation integral under reversal of its curve
  • Identify the error in reversing only one side of Stokes’ theorem

Why Orientation Controls the Sign

Stokes’ theorem equates a circulation around a boundary curve with the flux of a curl through a surface spanning that curve. The equality depends on using compatible orientations: the direction of travel around the boundary is determined by the chosen orientation of the surface.

Consequently, reversing the surface normal cannot change just one side of the equation. It reverses the orientation of the surface and the induced direction along its boundary. Both integrals then change sign, so Stokes’ theorem remains valid.

The central rule: Reverse the surface normal, and reverse the induced boundary direction as well. With both reversals made, the surface integral and the line integral each acquire a minus sign.

Stokes’ Theorem and Compatible Orientations

Let \(S\) be a smooth, oriented surface with positively oriented, piecewise smooth boundary curve \(\partial S\). Let \(\mathbf{F}\) be a vector field whose components have continuous first partial derivatives on an open region containing \(S\). Stokes’ theorem states that

$$ \oint_{\partial S} \mathbf{F}\cdot d\mathbf{r} = \iint_S (\nabla\times\mathbf{F})\cdot\mathbf{n}\,dS. $$

Here, \(\mathbf{n}\) is the chosen unit normal to \(S\), and the direction of travel around \(\partial S\) must be the one induced by that normal. The left side is the circulation of \(\mathbf{F}\) around the oriented boundary. The right side is the flux of \(\nabla\times\mathbf{F}\) through the oriented surface.

Definition: The boundary orientation induced by an oriented surface is the direction of travel along its boundary that is compatible with the chosen surface normal. Equivalently, at a boundary point let \(\boldsymbol{\nu}\) be the outward-pointing conormal: a unit vector tangent to the surface, perpendicular to the boundary, and pointing out of the surface patch. If \(\mathbf{T}\) is the positive unit tangent to the boundary, the orientation convention is \(\mathbf{n}=\boldsymbol{\nu}\times\mathbf{T}\).

For a horizontal disk with upward normal, the induced direction is counterclockwise when viewed from above. With downward normal, it is clockwise from that same viewpoint. The direction is not chosen independently of the normal.

What Reversing the Normal Does

Suppose the original normal is \(\mathbf{n}\), and the boundary curve has its compatible direction. Reversing the surface orientation replaces the normal by \(-\mathbf{n}\). The boundary direction must also reverse. To see why, the original orientation condition is \(\mathbf{n}=\boldsymbol{\nu}\times\mathbf{T}\). Replacing \(\mathbf{n}\) with \(-\mathbf{n}\) while keeping the same outward conormal requires replacing \(\mathbf{T}\) with \(-\mathbf{T}\).

The surface integral changes sign because its oriented area element changes from \(\mathbf{n}\,dS\) to \(-\mathbf{n}\,dS\). The line integral changes sign because reversing a curve reverses its direction of travel. In fact, if \(\mathbf{c}(t)\), \(a\leq t\leq b\), parametrizes the original boundary, then \(\mathbf{c}_{\mathrm{rev}}(t)=\mathbf{c}(a+b-t)\) parametrizes it in reverse, with derivative \(\mathbf{c}_{\mathrm{rev}}'(t)=-\mathbf{c}'(a+b-t)\). Therefore its line integral is the negative of the original one.

Theorem: If \(S\) and \(\partial S\) have compatible orientations and Stokes’ theorem applies, reversing both orientations gives $$ \oint_{-\partial S}\mathbf{F}\cdot d\mathbf{r} = -\oint_{\partial S}\mathbf{F}\cdot d\mathbf{r} = -\iint_S(\nabla\times\mathbf{F})\cdot\mathbf{n}\,dS = \iint_S(\nabla\times\mathbf{F})\cdot(-\mathbf{n})\,dS. $$

This result follows directly from Stokes’ theorem and the sign changes just described. It does not say that the curl itself changes when the surface orientation changes: \(\nabla\times\mathbf{F}\) is determined by the field. The signs change because the direction used to measure the circulation and the normal used to measure the flux have changed.

Worked Example: Reversing a Circular Disk

Worked Example: Reversing a Circular Disk

Let \(S\) be the disk \(x^2+y^2\leq 4\) in the plane \(z=0\), and let \(\mathbf{F}(x,y,z)=(-y,x,0)\). Find both Stokes integrals for the upward orientation, then for the reversed orientation.

First calculate the curl: $$ \nabla\times\mathbf{F} = \left( \frac{\partial 0}{\partial y}-\frac{\partial x}{\partial z}, \frac{\partial(-y)}{\partial z}-\frac{\partial 0}{\partial x}, \frac{\partial x}{\partial x}-\frac{\partial(-y)}{\partial y} \right) = (0,0,2). $$

For the upward normal \(\mathbf{n}=(0,0,1)\), the curl flux is $$ \iint_S(\nabla\times\mathbf{F})\cdot\mathbf{n}\,dS = \iint_S 2\,dA = 2\cdot \pi(2)^2 = 8\pi. $$

The compatible boundary direction is counterclockwise from above. Parametrize the circle by \(\mathbf{c}(t)=(2\cos t,2\sin t,0)\), \(0\leq t\leq2\pi\). Then \(\mathbf{c}'(t)=(-2\sin t,2\cos t,0)\) and \(\mathbf{F}(\mathbf{c}(t))=(-2\sin t,2\cos t,0)\). Thus $$ \oint_{\partial S}\mathbf{F}\cdot d\mathbf{r} = \int_0^{2\pi} \left(4\sin^2t+4\cos^2t\right)\,dt = \int_0^{2\pi}4\,dt = 8\pi. $$

Now reverse the normal to \((0,0,-1)\). The curl flux is \(-8\pi\). The induced boundary direction is clockwise, so its circulation is the negative of the counterclockwise result, also \(-8\pi\). Both sides agree after reversal. As a check, the two original values were \(8\pi\), and each reversed value is exactly their negative.

Worked Example: A Curved Graph Surface

Worked Example: Reversing Orientation on a Graph

Consider the graph \(z=x^2+y^2\) above the unit disk \(x^2+y^2\leq1\), oriented upward, and the field \(\mathbf{F}(x,y,z)=(0,x,0)\). Compute the two Stokes integrals and track them under reversal.

A parametrization of the surface is \(\mathbf{r}(u,v)=(u,v,u^2+v^2)\), where \(u^2+v^2\leq1\). Its tangent vectors are \(\mathbf{r}_u=(1,0,2u)\) and \(\mathbf{r}_v=(0,1,2v)\), so $$ \mathbf{r}_u\times\mathbf{r}_v=(-2u,-2v,1). $$ The third component is positive, so this vector gives the upward orientation. The curl is $$ \nabla\times\mathbf{F} = \left( \frac{\partial 0}{\partial y}-\frac{\partial x}{\partial z}, \frac{\partial 0}{\partial z}-\frac{\partial 0}{\partial x}, \frac{\partial x}{\partial x}-\frac{\partial 0}{\partial y} \right) = (0,0,1). $$ Therefore the upward curl flux is $$ \iint_{u^2+v^2\leq1}(0,0,1)\cdot(-2u,-2v,1)\,du\,dv = \iint_{u^2+v^2\leq1}1\,du\,dv = \pi. $$

The boundary is \(\mathbf{c}(t)=(\cos t,\sin t,1)\), \(0\leq t\leq2\pi\), traversed counterclockwise in its projection onto the \(xy\)-plane. Since \(\mathbf{c}'(t)=(-\sin t,\cos t,0)\) and \(\mathbf{F}(\mathbf{c}(t))=(0,\cos t,0)\), $$ \oint_{\partial S}\mathbf{F}\cdot d\mathbf{r} = \int_0^{2\pi}\cos^2t\,dt = \pi. $$

Reversing the normal changes the parametrized area vector to its negative, so the curl flux becomes \(-\pi\). It also reverses the boundary traversal, so the circulation becomes \(-\pi\). This verifies the same sign rule on a curved surface, not just a planar disk.

Worked Example: Swapping Parameters Reverses Orientation

Worked Example: Detecting Reversal in a Parametrization

Let \(S\) be the unit square in the plane \(z=0\), and take \(\mathbf{F}(x,y,z)=(0,x,0)\). The parametrization \(\mathbf{r}(u,v)=(v,u,0)\), \(0\leq u,v\leq1\), swaps the usual coordinate parameters. Determine the orientation and compare Stokes’ integrals.

The tangent vectors are \(\mathbf{r}_u=(0,1,0)\) and \(\mathbf{r}_v=(1,0,0)\), so $$ \mathbf{r}_u\times\mathbf{r}_v=(0,0,-1). $$ Thus this parametrization gives the downward orientation. Since \(\nabla\times\mathbf{F}=(0,0,1)\), its curl flux is $$ \iint_{[0,1]^2}(0,0,1)\cdot(0,0,-1)\,du\,dv = \iint_{[0,1]^2}-1\,du\,dv = -1. $$

The boundary direction induced by the downward normal is clockwise when viewed from above. To check its circulation, first use the counterclockwise direction: on the bottom edge \(dy=0\), so the integral is \(0\); on the right edge \(x=1\) and \(y\) runs from \(0\) to \(1\), so the integral is \(\int_0^1 1\,dy=1\); on the top edge \(dy=0\), so it is \(0\); and on the left edge \(x=0\), so it is \(0\). The counterclockwise total is \(1\). Reversing that traversal gives \(-1\), which matches the flux for the downward orientation.

As a check, using the usual parametrization \((u,v,0)\) gives cross product \((0,0,1)\), upward flux \(1\), and counterclockwise circulation \(1\). Swapping the parameters reverses the cross product and the induced boundary direction, and both integrals change from \(1\) to \(-1\).

A Common Sign Mistake

A frequent error is to reverse the surface normal but keep the old boundary direction. In the circular-disk example, this would pair the downward curl flux \(-8\pi\) with the counterclockwise circulation \(+8\pi\), and incorrectly claim $$ -8\pi=8\pi. $$ The mismatch does not show that Stokes’ theorem has failed. It shows that the orientations are incompatible: the downward normal requires a clockwise boundary direction. With that direction, the circulation is \(-8\pi\), and both sides agree.

When a parametrization is involved, do not infer orientation from the parameter names or their order alone. Compute the cross product of the parameter tangent vectors. Swapping the parameters reverses that cross product, so it reverses the surface orientation; the compatible boundary direction must change too.

A Reliable Sign-Tracking Procedure

1
Record the chosen normal.
Identify which normal or oriented area vector is being used for the surface integral.
2
Determine the compatible boundary direction.
Use the right-hand rule, or the outward-conormal condition, to determine the induced traversal.
3
Reverse both orientations together.
If the normal changes to its negative, reverse the boundary direction as well.
4
Check both signs.
The curl flux and the boundary circulation should each be the negative of their values before reversal.

This procedure is useful even when one side of Stokes’ theorem is much easier to calculate than the other. For example, a known circulation determines the flux for the compatible orientation; reversing the normal then gives the negative flux, provided the boundary direction is reversed too.

Check Your Understanding

Use the orientation rules to answer these questions. Each asks you to track the orientations as well as the signs.

  1. If the normal to a surface is replaced by its negative, what happens to the induced boundary direction?
  2. A curl-flux integral is \(12\) for one orientation. What is it for the reversed normal?
  3. Why must the boundary direction reverse when the normal reverses?
  4. For a parametrization \(\mathbf{r}(u,v)\), what happens to \(\mathbf{r}_u\times\mathbf{r}_v\) if \(u\) and \(v\) are swapped?
  5. What orientation error is present if the normal is reversed but the original boundary traversal is retained?