Multivariable calculus
Curl of the Vector Field (y e^z, xz, e^z)
The curl of the field with components y times e to the z, xz, and e to the z is the vector with components -x, y times e to the z, and z minus e to the z. All three differences survive. Only the last has two nonzero terms, so it is the one worth double checking.
Write the six partials, then subtract
With a mixed field it pays to list the partials before assembling anything. Six are needed, and here two of them are zero because contains neither nor .
- and , since is linear in and exponential in .
- and , from the product .
- and .
Two checks that catch a slip
First, evaluate somewhere easy. At the exponential is , so the field is and the curl should be . Recomputing the three differences by hand at that point takes ten seconds and catches a misplaced partial. Give the coordinates different values while you are choosing: at the two partials of both come out , and a swap between them survives the check.
Second, look at the third component on its own. The inequality holds for every real , since has its minimum value at . So always.
That single fact settles a question the algebra would otherwise leave open: the curl is never the zero vector, at any point of space, so this field is not conservative on any region however small.
The mistake: differentiating the exponential in the wrong variable
has two very different partials, and they are easy to swap. In , the exponential is a constant multiplier and the answer is . In , the is the constant multiplier and the answer is .
Swapping them puts into the third component and into the second, which gives : a wrong answer that looks entirely plausible because every symbol on the page is one that belongs somewhere.
The point check above kills it. At the correct curl is while the swapped version gives , so the two disagree in both of the last two slots. Test at instead and both return , which is exactly why the spot check needs a point with distinct coordinates.
All three components are verified numerically on every build by differentiating P, Q and R at seeded sample points.
Frequently asked questions
Could this field be conservative on some small region?
No region at all. The third curl component is , and since for every real , that component is at most and never zero. There is no point of space where the curl vanishes, let alone an open set, so no potential exists anywhere.
What is the divergence of this field?
It is . The matched partials are , and . Both operators return something nonzero here, which is the ordinary situation; fields where one or both vanish are the special cases worth naming.