Sho Kano said:
Sory if I'm missing something, it seems like curl = 0 (closed) already mean that the there exists a potential function? Why do we need exactness? Also, what is simply-connected's connection with open/convex?
Unfortunately, it does not! A closed vector field only implies that it is an exact vector field if its domain is simply connected. A closed vector field defined over a domain with a hole, such as a vector field which is undefined at the origin, is not exact.
In addition, there exist exact vector fields which are not closed. So closed and exact are not synonyms.
As an example of the former case, consider the vector field that assigns the unit vector
V(x, y, z) = \left\langle \frac{-y}{\sqrt{x^2 + y^2 + z^2}}, \frac{x}{\sqrt{x^2 + y^2 + z^2}}, \frac{z}{\sqrt{x^2 + y^2 + z^2}} \right\rangle
to each point (x, y, z) in 3-dimensional space, except the origin, where it is undefined. The domain of this vector field is therefore not simply connected, but its curl is 0 over its entire domain. So this is a closed vector field. However, it is not the gradient of any scalar function, so it is not exact. To see this, we note that being exact implies being conservative, as discussed in the previous reply. Therefore, line integrals over paths in an exact field must depend only on the endpoints, p and q, of the path, not the path itself. This implies that line integrals over a closed path, where the endpoints are the same point, must be 0 = F(p) - F(p).
However, if we take a line integral of the above vector field over the unit circle, a closed path in the xy-plane, we get:
\begin{align*}\int_0^{2\pi} \langle -\sin t, \cos t, 0\rangle \cdot \langle -\sin t, \cos t, 0\rangle \, dt &= \int_0^{2\pi} \sin^2 t + \cos^2 t \, dt\\<br />
&= \int_0^{2\pi} \, dt\\<br />
&= 2\pi<br />
\end{align*}
Since this is not 0, the field is not conservative, and therefore cannot be exact (the contrapositive implication of the previous proposition).
As an example of the latter case, consider the vector field
V(x, y, z) = \begin{cases} \left\langle y\frac{x^2-y^2}{x^2+y^2}+\frac{4x^2y^3}{(x^2+y^2)^2}, x\frac{x^2-y^2}{x^2+y^2}-\frac{4x^3y^2}{(x^2+y^2)^2}, 2z \right\rangle, & x^2 + y^2 \neq 0 \\ \langle 0, 0, 2z\rangle, & x = y = 0\end{cases}
The curl of this vector field at the origin is \langle 0, 0, 2\rangle, so this vector field is not closed. However, this vector field is the gradient of the scalar function
f(x, y, z) = \begin{cases} xy\frac{x^2 - y^2}{x^2 + y^2} + z^2, & x^2 + y^2 \neq 0\\ z^2, & x = y = 0\end{cases}, and is therefore an exact vector field that is not closed.
Thus, we need to pay close attention to the directions of the implications in the theorems that we use: there are many pathological examples where the converse of the theorem's proposition is false!
As for open/convex, these are conditions that guarantee the applicability of Poincaré's lemma, which states that over any contractible region, a closed vector field is synonymous with an exact vector field. So if you verify that the domain of the vector field is both open and convex, then verify that the vector field is closed by computing its curl, you have implied that said vector field is also exact, without having to do the work of trying to find the potential just yet. Imagine not knowing this lemma. Then we would have to do the hard work of trying to determine a potential function without ever knowing whether one even exists or not!