Mathwords logoMathwords

Scalar Potential — Definition, Formula & Example

A scalar potential is a single-valued function whose gradient reproduces a given vector field. If a field has one, the whole field can be encoded by one number at each point instead of three components.

Let F\mathbf{F} be a vector field on an open set D⊆RnD \subseteq \mathbb{R}^n. A differentiable function f:D→Rf: D \to \mathbb{R} is a scalar potential (potential function) for F\mathbf{F} if ∇f=F\nabla f = \mathbf{F} at every point of DD. A field with a potential is called conservative. On a connected domain, any two potentials differ by a constant. In R3\mathbb{R}^3, a C1C^1 field needs ∇×F=0\nabla \times \mathbf{F} = \mathbf{0} to have a potential. If DD is also simply connected, this condition guarantees that a potential exists.

Key Formula

F=∇f=⟨∂f∂x,  ∂f∂y,  ∂f∂z⟩\mathbf{F} = \nabla f = \left\langle \frac{\partial f}{\partial x},\; \frac{\partial f}{\partial y},\; \frac{\partial f}{\partial z} \right\rangle
Where:
  • F\mathbf{F} = The given vector field, with components ⟨P,Q,R⟩\langle P, Q, R \rangle
  • ff = The scalar potential, a real-valued function of xx, yy, zz
  • ∇f\nabla f = The gradient of ff, the vector of its first partial derivatives

Worked Example

Problem: Find the scalar potential ff of F=⟨yz,  xz,  xy+2z⟩\mathbf{F} = \langle yz,\; xz,\; xy + 2z \rangle on R3\mathbb{R}^3 that satisfies f(1,1,1)=5f(1, 1, 1) = 5.
Step 1: Check that a potential can exist by computing the curl. Every component is zero. Because R3\mathbb{R}^3 is simply connected, a potential exists.
∇×F=⟨x−x,  y−y,  z−z⟩=⟨0,0,0⟩\nabla \times \mathbf{F} = \langle x - x,\; y - y,\; z - z \rangle = \langle 0, 0, 0 \rangle
Step 2: Integrate P=yzP = yz with respect to xx. The constant of integration can depend on yy and zz. Differentiating in yy gives xz+gy=xzxz + g_y = xz, so gy=0g_y = 0 and g=h(z)g = h(z). Differentiating in zz gives xy+h′(z)=xy+2zxy + h'(z) = xy + 2z, so h′(z)=2zh'(z) = 2z.
f=xyz+g(y,z)⟹f(x,y,z)=xyz+z2+Cf = xyz + g(y, z) \quad\Longrightarrow\quad f(x, y, z) = xyz + z^2 + C
Step 3: The family of potentials differs only by the constant CC. Use the given value to pin it down.
f(1,1,1)=(1)(1)(1)+12+C=2+C=5⟹C=3f(1,1,1) = (1)(1)(1) + 1^2 + C = 2 + C = 5 \quad\Longrightarrow\quad C = 3
Answer: f(x,y,z)=xyz+z2+3f(x, y, z) = xyz + z^2 + 3. You can check it: ∇f=⟨yz,  xz,  xy+2z⟩=F\nabla f = \langle yz,\; xz,\; xy + 2z \rangle = \mathbf{F}, and f(1,1,1)=5f(1,1,1) = 5.

Why It Matters

In physics, electric potential (measured in volts, an SI unit) and gravitational potential energy are scalar potentials. Physicists write them with a minus sign, F=−∇φ\mathbf{F} = -\nabla \varphi, so force points toward lower potential. In Calculus III, a potential turns a line integral into a simple difference f(B)−f(A)f(B) - f(A). This is the Fundamental Theorem for Line Integrals.

Common Mistakes

Mistake: Integrating each component separately and adding the results. For the field above, that gives xyz+xyz+(xyz+z2)=3xyz+z2xyz + xyz + (xyz + z^2) = 3xyz + z^2.
Correction: Shared terms like xyzxyz show up in more than one component, and adding counts them more than once. Integrate one component, then differentiate your result to find the unknown function g(y,z)g(y, z). Finally, check that ∇f\nabla f matches F\mathbf{F}.

Related Terms