Divergence and curl
Problem 12.33 · easy
Find the divergence and curl of \( \displaystyle \mathbf{F} = \langle \sin{\left(y \right)}, x \cos{\left(z \right)}, y \rangle \).
- \[ \frac{d}{d z} y + \frac{\partial}{\partial y} x \cos{\left(z \right)} + \frac{d}{d x} \sin{\left(y \right)} = 0 \]div F.✓ Proved
- \[ \left[\begin{matrix}\frac{d}{d y} y - \frac{\partial}{\partial z} x \cos{\left(z \right)}\\- \frac{d}{d x} y + \frac{d}{d z} \sin{\left(y \right)}\\\frac{\partial}{\partial x} x \cos{\left(z \right)} - \frac{d}{d y} \sin{\left(y \right)}\end{matrix}\right] = \left[\begin{matrix}x \sin{\left(z \right)} + 1\\0\\- \cos{\left(y \right)} + \cos{\left(z \right)}\end{matrix}\right] \]curl F, component by component.✓ Proved
Answer \( \nabla\cdot\mathbf{F} = 0,\quad \nabla\times\mathbf{F} = \langle x \sin{\left(z \right)} + 1, 0, - \cos{\left(y \right)} + \cos{\left(z \right)} \rangle \)
Every line of this solution was proved by the computer algebra system SymPy. The answer was also checked a second way, without looking at the solution. The explanation has not been reviewed yet.
The full receipt
| Line | Status | Checked by | Detail |
|---|---|---|---|
| 1 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| 2 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| answer, a second way | ✓ Checked independently | sympy 1.14.0 + mpmath 1.3.0 | difference quotients of each component at (0.3, 0.7, 1.1) agree |
Proved: SymPy reduced the difference between the two sides to zero. Checked independently: a separate
method, named above, confirmed it. Checked numerically: the two sides agree at every sampled point, which is evidence,
not proof. Reviewed: a model or a person read it; that is all a sentence can have. Solution by
generator:structured/divergence_curl, checked 2026-09-26 with SymPy 1.14.0.