Use the spherical coordinates parametrization
Then , so the outward unit normal vector is and the surface area element is . Since throughout this band, the vector field is smooth near it. The surface integral of the curl is
For the induced boundary orientation, the lower circle is traversed with increasing , and the upper circle with decreasing . One way to check the signs is that the outward conormal is at the lower circle and at the upper circle; the positive unit tangent vector is .
Along a circle of fixed , . Therefore the circulation is
which equals the boxed surface integral and verifies Stokes theorem with the required orientation.
Write . The cylindrical coordinates give and , so the vector components of the vector field are
The first two components of the curl, calculated in Cartesian coordinates, are and . For the third component, the chain rule gives
and hence
Combining these vector components in the cylindrical basis yields
The restriction matters because the cylindrical basis is undefined on the axis.
For an oriented surface with piecewise smooth closed boundary , and a vector field that is continuously differentiable on an open neighborhood of , Stokes theorem states
Here is the chosen unit normal vector. The orientation of follows the right-hand rule: with the right thumb pointing along , the fingers curl in the positive direction. Equivalently, walking along the boundary with one's head along leaves the surface on the left. Each boundary component receives this induced orientation.
For separation of variables, set , with . The side Neumann boundary conditions give . As in the standard Sturm-Liouville problem, integration by parts shows . The zero eigenvalue gives constant , and together with makes constant too.
For positive eigenvalues, the side conditions give , , . The top condition chooses the hyperbolic cosine factor . Normalize it to one at , obtaining
The orthogonality of integer Fourier modes and the permitted interchange of summation and integration give
For the remaining Fourier coefficients, integrate by parts twice. The sine boundary term vanishes, and with ,
The last integral vanishes because and is a positive integer. Thus : only even Fourier modes survive, as expected from reflection symmetry about . Writing gives
The factor involving hyperbolic cosine lies between zero and one on the closed rectangle. Comparison with proves uniform convergence, so the solution is continuous on the entire boundary and takes the prescribed bottom values. On every strip , the Fourier coefficients have additional exponential decay, allowing differentiation and verifying Laplace's equation and all three Neumann boundary conditions.
To justify the endpoint calculation in b, differentiate at , in the interior-edge sense:
Subtracting from the hyperbolic tangent leaves an absolutely convergent series. For the remaining part, the power series gives, by taking real parts at and then ,
The same formula follows as the limit of the differentiated interior solution, since its leading multiplier is . This establishes the boundary normal derivative used in b. It also explains why the failure of the corner compatibility condition for mixed boundary data affects first derivatives at the bottom corners without spoiling continuity of itself.
For , define . Differentiate under the integral and use Laplace's equation:
Thus is constant. The top Neumann boundary condition gives , so
For the included endpoint , the integral is interpreted as an improper integral at the bottom corners if necessary. The Fourier series constructed in c gives, on ,
The second series is absolutely and uniformly convergent; the first term has only integrable logarithmic singularities. Its integral is zero since , while every cosine term also has zero integral. This proves the endpoint as well:
For completeness, the logarithmic integral follows without any endpoint differentiation. Put and substitute to obtain . Adding and using gives , hence and the required full-interval result.
Let be the difference of two solutions. It is a harmonic function in the open rectangle, continuous on its closure, with
Interpret these Neumann boundary conditions classically on the open edges, with the corresponding first derivatives extending there. We use the strong maximum principle for harmonic functions together with even reflection across a homogeneous Neumann boundary. This avoids imposing differentiability at the two bottom corners, where the original data fail a corner compatibility condition for mixed boundary data.
By continuity on the compact rectangle, attains a maximum . Suppose . It cannot occur on the bottom edge, where . If it occurs in the interior, the strong maximum principle for harmonic functions makes constant, contradicting its bottom value. If it occurs on an open vertical or top edge, the zero normal derivative allows an even reflection across that edge. The reflected harmonic function then has an interior maximum, giving the same contradiction.
The only remaining possibilities are the two top corners. Reflect evenly across both meeting edges. This gives a bounded harmonic function on a punctured neighbourhood of the corner. The removable singularity for a bounded harmonic function fills the centre with its continuous value. The corner is now an interior maximum, again impossible. Therefore . Applying the identical argument to gives .
Thus , and the solution is unique among the continuous classical solutions with the stated edge conditions.
Enforce the fixed-end Dirichlet boundary condition by taking the odd extension of the initial velocity to the whole line:
This agrees with the specified initial condition for . To derive the relevant form of D'Alembert's formula, the zero initial displacement in b gives , up to a cancelling constant. The initial velocity then gives . Hence
An antiderivative, valid across , is
Evaluation therefore gives the solution throughout :
For , replace by ; for , replace it by . Thus the same expression includes the reflected wave after it reaches the fixed end.
At the two terms agree, so . At they again agree, so . Differentiating the integral with respect to gives
which recovers . Since is a continuously differentiable function, the formula is twice continuously differentiable even across , and satisfies the wave equation there as well.
Write with , . The chain rule gives the differential operators
Their squared difference is
Consequently the wave equation becomes . Integrating first in gives ; integrating in gives the general solution
The arbitrary twice differentiable functions describe right-moving and left-moving waves, respectively. Conversely the chain rule shows that each such sum satisfies the wave equation.

There are unlisted articles, also show them or only show them.