Skip to main content
Physics LibreTexts

2.2: Electric Field

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    By the end of this section, you will be able to:

    • Explain the purpose of the electric field concept
    • Describe the properties of the electric field
    • Calculate the field of a collection of source charges of either sign

    As we showed in the preceding section, the net electric force on a test charge is the vector sum of all the electric forces acting on it, from all of the various source charges, located at their various positions. But what if we use a different test charge, one with a different magnitude, or sign, or both? Or suppose we have a dozen different test charges we wish to try at the same location? We would have to calculate the sum of the forces from scratch. Fortunately, it is possible to define a quantity, called the electric field, which is independent of the test charge. It only depends on the configuration of the source charges, and once found, allows us to calculate the force on any test charge.

    Defining a Field

    Suppose we have \(N\) source charges \(q_1, q_2, q_3, . . . q_N\) located at positions \(vec{r}_1, \vec{r}_2, \vec{r}_3, . . . \vec{r}_N\), applying \(N\) electrostatic forces on a test charge \(Q\). The net force on \(Q\) is

    \[ \begin{align} \vec{F} &= \vec{F}_1 + \vec{F}_2 +\vec{F}_3 + . . . + \vec{F}_N \\[4pt] &= \dfrac{1}{4 \pi \epsilon_0}\left(\dfrac{Qq_1}{r_1^2}\hat{r}_1 + \dfrac{Qq_2}{r_2^2}\hat{r}_2 + \dfrac{Qq_3}{r_3^2}\hat{r}_3 + . . . + \dfrac{Qq_N}{r_1^2}\hat{r}_N\right) \\[4pt] &= Q\left[\dfrac{1}{4 \pi \epsilon_0}\left(\dfrac{q_1}{r_1^2}\hat{r}_1 + \dfrac{q_2}{r_2^2}\hat{r}_2 + \dfrac{q_3}{r_3^2}\hat{r}_3 + . . . + \dfrac{q_N}{r_1^2}\hat{r}_N\right)\right] \end{align} \nonumber \]

    We can rewrite this as

    \[\vec{F} = Q \vec{E} \label{Efield1} \]


    \[\vec{E} \equiv \dfrac{1}{4 \pi \epsilon_0}\left(\dfrac{q_1}{r_1^2}\hat{r}_1 + \dfrac{q_2}{r_2^2}\hat{r}_2 + \dfrac{q_3}{r_3^2}\hat{r}_3 + . . . + \dfrac{q_N}{r_1^2}\hat{r}_N\right) \label{Efield2} \]

    or, more compactly,

    \[\vec{E}(P) \equiv \dfrac{1}{4 \pi \epsilon_0} \sum_{i=1}^N \dfrac{q_i}{r_i^2}\hat{r}_i. \label{Efield3} \]

    This expression is called the electric field at position \(P = P(x, y, z)\) of the \(N\) source charges. Here, \(P\) is the location of the point in space where you are calculating the field and is relative to the positions \(\vec{r}_i\) of the source charges (Figure \(\PageIndex{1}\)). Note that we have to impose a coordinate system to solve actual problems.

    Eight source charges are shown as small spheres distributed within an x y z coordinate system. The sources are labeled q sub 1, q sub 2, and so on. Sources 1, 2, 4, 7 and 8 are shaded red and sources 3, 5, and 6 are shaded blue. A test point is also shown and labeled as point P. The electric field vectors due to each source is shown as an arrow at point P, pointing toward point P and labeled with the index of the associated source. Vector E 1 points away from q 1, E 2 away from q 2, E 4 away from q 4, E 7 away from q 7, and E 8 away from q 8. Vector E 3 points toward q 3, vector E 5 toward q 5, and vector E 6 toward q 6.
    Figure \(\PageIndex{1}\): Each of these five source charges creates its own electric field at every point in space; shown here are the field vectors at an arbitrary point P. Like the electric force, the net electric field obeys the superposition principle.

    Notice that the calculation of the electric field makes no reference to the test charge. Thus, the physically useful approach is to calculate the electric field and then use it to calculate the force on some test charge later, if needed. Different test charges experience different forces Equation \ref{Efield1}, but it is the same electric field Equation \ref{Efield3}. That being said, recall that there is no fundamental difference between a test charge and a source charge; these are merely convenient labels for the system of interest. Any charge produces an electric field; however, just as Earth’s orbit is not affected by Earth’s own gravity, a charge is not subject to a force due to the electric field it generates. Charges are only subject to forces from the electric fields of other charges.

    In this respect, the electric field \(\vec{E}\) of a point charge is similar to the gravitational field \(\vec{g}\) of Earth; once we have calculated the gravitational field at some point in space, we can use it any time we want to calculate the resulting force on any mass we choose to place at that point. In fact, this is exactly what we do when we say the gravitational field of Earth (near Earth’s surface) has a value of \(9.81 \, m/s^2\) and then we calculate the resulting force (i.e., weight) on different masses. Also, the general expression for calculating \(\vec{g}\) at arbitrary distances from the center of Earth (i.e., not just near Earth’s surface) is very similar to the expression for \(E\):

    \[\vec{g} = G\dfrac{M}{r^2}\hat{r} \nonumber \]

    where \(G\) is a proportionality constant, playing the same role for \(\vec{g}\) as \(\dfrac{1}{4\pi \epsilon_0}\) does for \(\vec{E}\). The value of \(\vec{g}\) is calculated once and is then used in an endless number of problems.

    To push the analogy further, notice the units of the electric field: From \(F = QE\), the units of E are newtons per coulomb, N/C, that is, the electric field applies a force on each unit charge. Now notice the units of g: From \(\omega = mg\) the units of g are newtons per kilogram, N/kg, that is, the gravitational field applies a force on each unit mass. We could say that the gravitational field of Earth, near Earth’s surface, has a value of 9.81 N/kg.

    The Meaning of “Field

    Recall from your studies of gravity that the word “field” in this context has a precise meaning. A field, in physics, is a physical quantity whose value depends on (is a function of) position, relative to the source of the field. In the case of the electric field, Equation \ref{Efield3} shows that the value of \(\vec{E}\) (both the magnitude and the direction) depends on where in space the point \(P\) is located, measured from the locations \(\vec{r}_i\) of the source charges \(q_i\).

    In addition, since the electric field is a vector quantity, the electric field is referred to as a vector field. (The gravitational field is also a vector field.) In contrast, a field that has only a magnitude at every point is a scalar field. The temperature in a room is an example of a scalar field. It is a field because the temperature, in general, is different at different locations in the room, and it is a scalar field because temperature is a scalar quantity.

    Also, as you did with the gravitational field of an object with mass, you should picture the electric field of a charge-bearing object (the source charge) as a continuous, immaterial substance that surrounds the source charge, filling all of space—in principle, to \(\pm \infty\) in all directions. The field exists at every physical point in space. To put it another way, the electric charge on an object alters the space around the charged object in such a way that all other electrically charged objects in space experience an electric force as a result of being in that field. The electric field, then, is the mechanism by which the electric properties of the source charge are transmitted to and through the rest of the universe. (Again, the range of the electric force is infinite.)

    We will see in subsequent chapters that the speed at which electrical phenomena travel is the same as the speed of light. There is a deep connection between the electric field and light.


    Yet another experimental fact about the field is that it obeys the superposition principle. In this context, that means that we can (in principle) calculate the total electric field of many source charges by calculating the electric field of only \(q_1\) at position P, then calculate the field of \(q_2\) at P, while—and this is the crucial idea—ignoring the field of, and indeed even the existence of, \(q_1\). We can repeat this process, calculating the field of each individual source charge, independently of the existence of any of the other charges. The total electric field, then, is the vector sum of all these fields. That, in essence, is what Equation \ref{Efield3} says.

    In the next section, we describe how to determine the shape of an electric field of a source charge distribution and how to sketch it.

    The Direction of the Field

    Equation \ref{Efield3} enables us to determine the magnitude of the electric field, but we need the direction also. We use the convention that the direction of any electric field vector is the same as the direction of the electric force vector that the field would apply to a positive test charge placed in that field. Such a charge would be repelled by positive source charges (the force on it would point away from the positive source charge) but attracted to negative charges (the force points toward the negative source).

    Direction of the Electric Field

    By convention, all electric fields \(\vec{E}\) point away from positive source charges and point toward negative source charges.

    Phet Simulation: Electric Field of Dreams

    Download the Electric Field of Dreams PhET simulation and add charges to the and see how they react to the electric field. Turn on a background electric field and adjust the direction and magnitude.

    Example \(\PageIndex{1A}\): The E-field of an Atom

    In an ionized helium atom, the most probable distance between the nucleus and the electron is \(r = 26.5 \times 10^{-12} m\). What is the electric field due to the nucleus at the location of the electron?


    Note that although the electron is mentioned, it is not used in any calculation. The problem asks for an electric field, not a force; hence, there is only one charge involved, and the problem specifically asks for the field due to the nucleus. Thus, the electron is a red herring; only its distance matters. Also, since the distance between the two protons in the nucleus is much, much smaller than the distance of the electron from the nucleus, we can treat the two protons as a single charge +2e (Figure \(\PageIndex{2}\)).

    A positive charge of plus 2 e is shown at the center of a sphere of radius r. An electron is depicted as a particle on the sphere. The vector r is shown as a vector with its tail at the center and its head at the location of the electron. The electric field at the location of the electron is shown as a vector E with its tail at the electron and pointing directly away from the center.
    Figure \(\PageIndex{2}\): A schematic representation of a helium atom. Again, helium physically looks nothing like this, but this sort of diagram is helpful for calculating the electric field of the nucleus.


    The electric field is calculated by

    \[\vec{E} = \dfrac{1}{4 \pi \epsilon_0} \sum_{i=1}^N \dfrac{q_i}{r_i^2} \hat{r}_i. \nonumber \]

    Since there is only one source charge (the nucleus), this expression simplifies to

    \[\vec{E} = \dfrac{1}{4\pi \epsilon_0}\dfrac{q}{r^2}\hat{r}. \nonumber \]

    Here, \(q = 2e = 2(1.6 \times 10^{-19} \, C)\) (since there are two protons) and r is given; substituting gives

    \[ \begin{align*} \vec{E} &= \dfrac{1}{4\pi \left(8.85 \times 10^{-12} \dfrac{C^2}{N\cdot m^2}\right)} \dfrac{2(1.6 \times 10^{-19} C)}{26.5 \times 10^{-12}m)^2}\hat{r} \\[4pt] &= 4.1 \times 10^{12} \dfrac{N}{C}\hat{r}. \end{align*} \]

    The direction of \(\vec{E}\) is radially away from the nucleus in all directions. Why? Because a positive test charge placed in this field would accelerate radially away from the nucleus (since it is also positively charged), and again, the convention is that the direction of the electric field vector is defined in terms of the direction of the force it would apply to positive test charges.

    Example \(\PageIndex{1B}\): The E-Field above Two Equal Charges
    1. Find the electric field (magnitude and direction) a distance z above the midpoint between two equal charges \(+q\) that are a distance d apart (Figure \(\PageIndex{3}\)). Check that your result is consistent with what you’d expect when \(z \gg d\).
    2. The same as part (a), only this time make the right-hand charge \(-q\) instead of \(+q\).
    Point P is a distance z above the midpoint between two charges separated by a horizontal distance d. The distance from each charge to point P is r, and the angle between r and the vertical is theta.
    Figure \(\PageIndex{3}\): Finding the field of two identical source charges at the point \(P\). Due to the symmetry, the net field at \(P\) is entirely vertical. (Notice that this is not true away from the midline between the charges.)


    We add the two fields as vectors, per Equation \ref{Efield3}. Notice that the system (and therefore the field) is symmetrical about the vertical axis; as a result, the horizontal components of the field vectors cancel. This simplifies the math. Also, we take care to express our final answer in terms of only quantities that are given in the original statement of the problem: \(q\), \(z\), \(d\), and constants \((\pi, \epsilon_0)\).

    Point P is a distance z above the midpoint between two charges separated by a horizontal distance d. The distance from each charge to point P is r, and the angle between r and the vertical is theta. The x and y components of the electric field are shown as arrows whose tails are at point P. Four arrows are shown, as follows: E sub x r points to the left, E sub x l points to the right, E sub y l points up, and E sub E y r points up.
    Figure \(\PageIndex{4}\). Note that the horizontal components of the electric fields from the two charges cancel each other out, while the vertical components add together.


    a. By symmetry, the horizontal (x)-components of \(\vec{E}\) cancel (Figure \(\PageIndex{4}\));

    \[ \begin{align*} E_x &= \dfrac{1}{4\pi \epsilon_0} \dfrac{q}{r^2} \, \sin \, \theta - \dfrac{1}{4\pi \epsilon_0} \dfrac{q}{r^2} \, \sin \, \theta \\[4pt] &= 0. \end{align*} \]

    The vertical (z)-component is given by

    \[ \begin{align*} E_z &= \dfrac{1}{4\pi \epsilon_0} \dfrac{q}{r^2} \, \cos \, \theta + \dfrac{1}{4\pi \epsilon_0} \dfrac{q}{r^2} \, \cos \, \theta \\[4pt] &= \dfrac{1}{4\pi \epsilon_0} \dfrac{2q}{r^2} \, \cos \, \theta. \end{align*} \]

    Since none of the other components survive, this is the entire electric field, and it points in the \(\hat{k}\) direction. Notice that this calculation uses the principle of superposition; we calculate the fields of the two charges independently and then add them together.

    What we want to do now is replace the quantities in this expression that we don’t know (such as \(r\)), or can’t easily measure (such as \(cos \, \theta\) with quantities that we do know, or can measure. In this case, by geometry,

    \[r^2 = z^2 + \left(\dfrac{d}{2}\right)^2 \nonumber \]


    \[\cos \, \theta = \dfrac{z}{R} = \dfrac{z}{\left[z^2 + \left(\dfrac{d}{2} \right)^2\right]^{1/2}}. \nonumber \]

    Thus, substituting,

    \[\vec{E}(z) = \dfrac{1}{4\pi \epsilon_0}\dfrac{2q}{\left[z^2 + \left(\dfrac{d}{2}\right)^2\right]^2} \dfrac{z}{\left[z^2 + \left(\dfrac{d}{2} \right)^2 \right]^{1/2}}\hat{k}. \nonumber \]

    Simplifying, the desired answer is

    \[\vec{E}(z) = \dfrac{1}{4\pi \epsilon_0}\dfrac{2qz}{\left[z^2 + \left(\dfrac{d}{2}\right)^2\right]^{3/2}} \hat{k}. \label{5.5} \]

    b. If the source charges are equal and opposite, the vertical components cancel because

    \[E_z = \dfrac{1}{4\pi \epsilon_0} \dfrac{q}{r^2} \, cos \, \theta - \dfrac{1}{4\pi \epsilon_0} \dfrac{q}{r^2} \, \cos \, \theta = 0 \nonumber \]

    and we get, for the horizontal component of \(\vec{E}\).

    \[\vec{E}(z) = \dfrac{1}{4\pi \epsilon_0} \dfrac{qd}{\left[z^2 + \left(\dfrac{d}{2}\right)^2\right]^{3/2}} \hat{i}.\label{5.6} \]


    It is a very common and very useful technique in physics to check whether your answer is reasonable by evaluating it at extreme cases. In this example, we should evaluate the field expressions for the cases \(d = 0, \, z \gg d\), and \(z \rightarrow \infty\), and confirm that the resulting expressions match our physical expectations. Let’s do so:

    Let’s start with Equation \ref{5.5}, the field of two identical charges. From far away (i.e., \(z >> d\)), the two source charges should “merge” and we should then “see” the field of just one charge, of size 2q. So, let \(z \gg d\); then we can neglect \(d^2\) in Equation \ref{5.5} to obtain

    \[ \begin{align*} \lim_{d\rightarrow 0}\vec{E} &= \dfrac{1}{4\pi \epsilon_0} \dfrac{2qz}{[z^2]^{3/2}}\hat{k} \\[4pt] &= \dfrac{1}{4\pi \epsilon_0} \dfrac{2qz}{z^3}\hat{k} \\[4pt] &= \dfrac{1}{4\pi \epsilon_0} \dfrac{2q}{z^2}\hat{k}, \end{align*} \]

    which is the correct expression for a field at a distance z away from a charge \(2q\).

    Next, we consider the field of equal and opposite charges, Equation \ref{5.6}. It can be shown (via a Taylor expansion) that for \(d \ll z \ll \infty\), , this becomes

    \[\vec{E}(z) = \dfrac{1}{4\pi \epsilon_0} \dfrac{qd}{z^3}\hat{i}, \nonumber \]

    which is the field of a dipole, a system that we will study in more detail later. (Note that the units of \(\vec{E}\) are still correct in this expression, since the units of d in the numerator cancel the unit of the “extra” z in the denominator.) If z is very large \((z \rightarrow \infty)\), then \(E \rightarrow 0\), as it should; the two charges “merge” and so cancel out.

    Exercise \(\PageIndex{1}\)

    What is the electric field due to a single point particle?


    \[\vec{E} = \dfrac{1}{4 \pi \epsilon_0} \dfrac{q}{r^2} \hat{r} \nonumber \]

    Phe Simulation: Electric Field Hockey

    Try this simulation of electric field hockey to get the charge in the goal by placing other charges on the field.

    This page titled 2.2: Electric Field is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.