Multivariable calculus
Curl of the Vector Field (x^2, y^2, z^2)
The curl of the field with components x squared, y squared and z squared is the zero vector. Every cross derivative in the formula differentiates a component with respect to a variable it does not contain, so all six of them are zero. The divergence, by contrast, is 2x plus 2y plus 2z.
Every partial in the formula is a derivative of a constant
The curl formula uses six partials, and not one of them is a derivative of a component with respect to its own variable. is differentiated in and , in and , in and .
Here contains no and no , so both of its partials are zero, and the same is true of and . Six zeros make three zero differences.
So the answer is without any cancellation happening at all. That is a different situation from a gradient field, where the terms are nonzero and cancel in pairs, and it is worth knowing which of the two you are looking at.
Zero curl does not mean nothing is happening
This flow is pushing hard, and never in a circle. Along the -axis every particle moves in the direction, since is never negative, coasting to a halt at the origin and picking up speed again on the far side. The same pattern runs along the other two axes. None of that motion is rotation, which is why the curl misses it entirely.
The divergence is nonzero except on the plane , so the field has sources and sinks nearly everywhere. The gradient statement is the other half of the story: on a simply connected domain, zero curl is exactly the condition for a potential, and is one.
The mistake: computing the divergence and calling it the curl
The two operators are built from the same nine partials of the field but use disjoint halves of them. Divergence takes the three matched ones, , and . Curl takes the other six.
On this field the matched three are the only nonzero partials, so a student who confuses the operators gets and thinks the curl is nonzero. The right answer is that curl and divergence disagree here as strongly as they can.
- Divergence returns a scalar, curl returns a vector; a single expression as your curl answer is already wrong.
- Divergence uses each component with its own variable; curl never does.
- A quick shape check: if came out as one number rather than three, go back to the determinant.
The build differentiates P, Q and R numerically at seeded points and fails if any curl component stops coming out zero.
Frequently asked questions
If the curl is zero, is the field conservative?
Yes here. The field is smooth on all of , which is simply connected, so zero curl guarantees a potential, and works. Check by differentiating: , and the other two match the same way.
Can a field have zero curl and zero divergence at once?
Yes. is one: it is the gradient of , so its curl vanishes, and no component contains its own variable, so its divergence vanishes too. Such fields are the gradients of harmonic functions, and they are the quiet case rather than the typical one.