How does it work, exactly? Assume I have a vector field function and I take the curl of it. If I get a curl of zero, then does that guarantee that there is no potential function? And if I get a curl of non-zero, does that guarantee that there is a potential function? I googled this, but it wasn't clear. Thanks.