Build potential functions from conservative fields quickly. See gradients, sampled values, and surface behavior clearly. Export calculations and graphs for review, teaching, and reporting.
This tool builds a scalar potential φ(x, y) from a conservative two-variable field and evaluates its value, gradient, sample table, and graph.
The graph below shows φ(x, yline), P(x, yline), and Q(x, yline) across the chosen x-range.
| Point | x | y | φ(x, y) | P(x, y) | Q(x, y) |
|---|---|---|---|---|---|
| 1 | 0.000000 | 0.000000 | 0.000000 | 3.000000 | 1.500000 |
| 2 | 1.000000 | 1.000000 | 9.116667 | 8.100000 | 7.000000 |
| 3 | 2.000000 | 1.500000 | 25.470833 | 15.000000 | 13.400000 |
| 4 | 3.000000 | 2.000000 | 53.700000 | 24.300000 | 22.100000 |
You can export this table and the summary values using the CSV or PDF buttons.
1) Potential definition
A scalar potential function φ(x, y) satisfies ∇φ = (∂φ/∂x, ∂φ/∂y) = (P, Q).
2) Conservative condition
A two-variable field is conservative when ∂P/∂y = ∂Q/∂x over the domain.
3) Potential recovered by integration
φ(x, y) = (A/2)x² + Bxy + (C/3)x³ + (D/2)x²y + Exy² + Fx + (G/2)y² + (H/3)y³ + Iy + K
4) Gradient at the chosen point
∂φ/∂x = P(x, y)
∂φ/∂y = Q(x, y)
5) Interpretation
Larger positive φ values indicate higher scalar potential under the chosen coefficients. The gradient shows the local change direction and rate.
It computes a scalar potential function, evaluates it at a chosen point, returns gradient components, checks conservative structure, plots sampled values, and creates an example table.
The paired component formulas are arranged so the conservative condition is satisfied automatically. That makes the recovered potential exact for the chosen coefficient set.
K shifts the entire potential function upward or downward without changing the gradient. It changes absolute potential values but not directional change rates.
The gradient gives the steepest local increase of the scalar potential. Its x- and y-components match the field values P and Q at the evaluation point.
The calculator uses a compatible field design where ∂P/∂y and ∂Q/∂x are equal. A zero difference confirms consistency at the chosen point.
It shows how the potential and both gradient components vary along x while y stays fixed. This helps compare scalar growth and directional rates together.
It is useful in vector calculus, conservative field analysis, gradient-based interpretation, path-independent work studies, and classroom demonstrations involving scalar potential construction.
Yes. The CSV button exports summary values and example rows, while the PDF button creates a neat report-style snapshot suitable for printing or sharing.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.