# 5.14: Electric Field as the Gradient of Potential

- Page ID
- 24261

In Section 5.8, it was determined that the electrical potential difference \(V_{21}\) measured over a path \({\mathcal C}\) is given by \[V_{21} = - \int_{\mathcal C} {\bf E}({\bf r}) \cdot d{\bf l} \label{m0063_eV12}\] where \({\bf E}({\bf r})\) is the electric field intensity at each point \({\bf r}\) along \({\mathcal C}\). In Section 5.12, we defined the scalar electric potential field \(V({\bf r})\) as the electric potential difference at \({\bf r}\) relative to a datum at infinity. In this section, we address the “inverse problem” – namely, how to calculate \({\bf E}({\bf r})\) given \(V({\bf r})\). Specifically, we are interested in a direct “point-wise” mathematical transform from one to the other. Since Equation \ref{m0063_eV12} is in the form of an integral, it should not come as a surprise that the desired expression will be in the form of a differential equation.

We begin by identifying the contribution of an infinitesimal length of the integral to the total integral in Equation \ref{m0063_eV12}. At point \({\bf r}\), this is

\[dV = - {\bf E}({\bf r}) \cdot d{\bf l} \label{eVABd}\]

Although we can proceed using any coordinate system, the following derivation is particularly simple in Cartesian coordinates. In Cartesian coordinates,

\[d{\bf l} = \hat{\bf x}dx + \hat{\bf y}dy + \hat{\bf z}dz\]

We also note that for any scalar function of position, including \(V({\bf r})\), it is true that

\[dV = \frac{\partial V}{\partial x} dx + \frac{\partial V}{\partial y} dy + \frac{\partial V}{\partial z} dz\]

Note the above relationship is not specific to electromagnetics; it is simply mathematics. Also note that \(dx = d{\bf l} \cdot \hat{\bf x}\) and so on for \(dy\) and \(dz\). Making these substitutions into the above equation, we obtain:

\[dV = \frac{\partial V}{\partial x} \left( d{\bf l} \cdot \hat{\bf x} \right) + \frac{\partial V}{\partial y} \left( d{\bf l} \cdot \hat{\bf y} \right) + \frac{\partial V}{\partial z} \left( d{\bf l} \cdot \hat{\bf z} \right)\]

This equation may be rearranged as follows:

\[dV = \left( \left[ \hat{\bf x} \frac{\partial}{\partial x} + \hat{\bf y} \frac{\partial}{\partial y} + \hat{\bf z}\frac{\partial}{\partial z} \right] V \right) \cdot d{\bf l}\]

Comparing the above equation to Equation \ref{eVABd}, we find:

\[{\bf E}({\bf r}) = - \left[ \hat{\bf x}\frac{\partial}{\partial x} + \hat{\bf y} \frac{\partial}{\partial y} + \hat{\bf z}\frac{\partial}{\partial z} \right] V\]

Note that the quantity in square brackets is the gradient operator “\(\nabla\)” (Section 4.5). Thus, we may write

\[\boxed{ {\bf E} = - \nabla V } \label{m0063_eEPEDV}\]

which is the relationship we seek.

The electric field intensity at a point is the gradient of the electric potential at that point after a change of sign (Equation \ref{m0063_eEPEDV}).

Using Equation \ref{m0063_eEPEDV}, we can immediately find the electric field at any point \({\bf r}\) if we can describe \(V\) as a function of \({\bf r}\). Furthermore, this relationship between \(V\) and \({\bf E}\) has a useful physical interpretation. Recall that the gradient of a scalar field is a vector that points in the direction in which that field increases most quickly. Therefore:

The electric field points in the direction in which the electric potential most rapidly decreases.

This result should not come as a complete surprise; for example, the reader should already be aware that the electric field points away from regions of net positive charge and toward regions of net negative charge (Sections 2.2 and/or 5.1). What is new here is that both the magnitude and direction of the electric field may be determined given only the potential field, without having to consider the charge that is the physical source of the electrostatic field.

Example \(\PageIndex{1}\): Electric field of a charged particle, beginning with the potential field

In this example, we determine the electric field of a particle bearing charge \(q\) located at the origin. This may be done in a “direct” fashion using Coulomb’s Law (Section 5.1). However, here we have the opportunity to find the electric field using a different method. In Section 5.12 we found the scalar potential for this source was:

\[V({\bf r}) = \frac{q}{4\pi\epsilon r}\]

So, we may obtain the electric field using Equation \ref{m0063_eEPEDV}:

\[{\bf E} = - \nabla V = -\nabla \left( \frac{q}{4\pi\epsilon r} \right)\]

Here \(V({\bf r})\) is expressed in spherical coordinates, so we have (Appendix 10.5):

\[{\bf E} = -\left[ \hat{\bf r}\frac{\partial}{\partial r} +\hat{\bf \theta}\frac{1}{r}\frac{\partial}{\partial \theta} +\hat{\bf \phi}\frac{1}{r\sin\theta}\frac{\partial}{\partial \phi} \right] \left( \frac{q}{4\pi\epsilon r} \right)\]

In this case, \(V({\bf r})\) does not vary with \(\phi\) or \(\theta\), so the second and third terms of the gradient are zero. This leaves

\begin{aligned}

\mathbf{E} &=-\hat{\mathbf{r}} \frac{\partial}{\partial r}\left(\frac{q}{4 \pi \epsilon r}\right) \\

&=-\hat{\mathbf{r}} \frac{q}{4 \pi \epsilon} \frac{\partial}{\partial r} \frac{1}{r} \\

&=-\hat{\mathbf{r}} \frac{q}{4 \pi \epsilon}\left(-\frac{1}{r^{2}}\right)

\end{aligned}

So we find

\[\mathbf{E}=+\hat{\mathbf{r}} \frac{q}{4 \pi \epsilon r^{2}}\]

as was determined in Section 5.1.

## Contributors and Attributions

Ellingson, Steven W. (2018) Electromagnetics, Vol. 1. Blacksburg, VA: VT Publishing. https://doi.org/10.21061/electromagnetics-vol-1 Licensed with CC BY-SA 4.0 https://creativecommons.org/licenses/by-sa/4.0. Report adoption of this book here. If you are a professor reviewing, adopting, or adapting this textbook please help us understand a little more about your use by filling out this form.