Understanding Potential Functions
A potential function turns a vector field into one scalar expression. It is useful when a field is conservative. In that case, every component of the field is a partial derivative of the same scalar function. This calculator focuses on polynomial fields in two or three variables. It reads the entered components, tests the needed derivative matches, and builds a possible potential function when the field passes the checks.
Why The Test Matters
A conservative field has path independent work. This means the work from one point to another depends only on the endpoints. The curve shape does not change the final value. That property is important in mechanics, electricity, optimization, and coordinate geometry. When the field is not conservative, a single potential function cannot represent all components at once.
What The Calculator Does
The tool first parses each component as a polynomial in x, y, and z. Then it integrates the first component with respect to its matching variable. After that, it compares the next component with the derivative already produced. Any missing part is integrated and added. The same process repeats for the third component when three dimensional mode is selected. Finally, the calculator differentiates the finished potential again. If every derivative matches the original field, the result is accepted.
Reading The Result
The potential function is shown with an optional constant. The curl or mixed partial check is also displayed. A zero check supports the conservative conclusion. The value at one point can help verify a specific location. The endpoint work estimate uses the potential difference between the final and starting points.
Input Tips
Use terms such as 2*x^2*y, -3*y, z, or 5. Multiplication signs are recommended. Decimal coefficients are accepted. Keep powers as non-negative integers. Avoid trigonometric, logarithmic, or rational expressions, because this page is designed for polynomial-style entries. For clear results, enter zero in unused components and choose two dimensional mode when z is not needed.
Exporting Results
Use the CSV option for spreadsheet records. Use the PDF button for a quick report. The example table gives safe sample inputs. Compare it with your own field before submitting complex entries. This supports repeatable notes during careful problem solving.