Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
University Physics Volume 2

5.4 Electric Field

University Physics Volume 25.4 Electric Field

Learning Objectives

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 q1,q2,q3,…,qNq1,q2,q3,…,qN, applying N electrostatic forces on a test charge Q, at displacements r1,r2,r3,…,rNr1,r2,r3,…,rN from the source charges. The net force on Q is (see Equation 5.2)


We can rewrite this as




or, more compactly,


This expression is called the electric field at position P=P(x,y,z)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 the vectors riri are the displacements from each source to the test point (Figure 5.18). Note that we have to impose a coordinate system to solve actual problems.

Five 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, and 4 are shaded red and sources 3 and 5 are shaded blue. A test point is also shown and labeled as point P. The electric field vectors due to each source are 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, and E 4 away from q 4. Vector E 3 points toward q 3 and vector E 5 toward q 5.
Figure 5.18 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 5.3, but it is the same electric field Equation 5.4. 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 EE of a point charge is similar to the gravitational field gg 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.81m/s2,9.81m/s2, and then we calculate the resulting force (i.e., weight) on different masses. Also, the general expression for calculating gg at arbitrary distances from the center of Earth (i.e., not just near Earth’s surface) is very similar to the expression for EE: g=GMr2r^g=GMr2r^, where G is a proportionality constant, playing the same role for gg as 14πε014πε0 does for EE. The value of gg 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=QEF=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 w=mgw=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 5.4 shows that the value of EE (both the magnitude and the direction) depends on where in space the point P is located, with riri measured from the locations of the source charges qiqi.

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 ±± 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 q1q1 at position P, then calculate the field of q2q2 at P, while—and this is the crucial idea—ignoring the field of, and indeed even the existence of, q1.q1. 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 5.4 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 5.4 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 EE point away from positive source charges and point toward negative source charges.


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

Example 5.3

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×10−12mr=26.5×10−12m. 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 5.19).
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 5.19 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

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


Here q=2e=2(1.6×10−19C)q=2e=2(1.6×10−19C) (since there are two protons) and r is given; substituting gives


The direction of EE 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 5.4

The E-Field above Two Equal Charges

(a) Find the electric field (magnitude and direction) a distance z above the midpoint between two equal charges +q+q that are a distance d apart (Figure 5.20). Check that your result is consistent with what you’d expect when zdzd.

(b) The same as part (a), only this time make the right-hand charge qq instead of +q+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 5.20 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 5.4. 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 (π,ε0).(π,ε0).


  1. By symmetry, the horizontal (x)-components of EE cancel (Figure 5.21); Ex=14πε0qr2sinθ14πε0qr2sinθ=0Ex=14πε0qr2sinθ14πε0qr2sinθ=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 z l points up, and E sub z r points up.
    Figure 5.21 Note that the horizontal components of the electric fields from the two charges cancel each other out, while the vertical components add together.

    The vertical (z)-component is given by
    Since none of the other components survive, this is the entire electric field, and it points in the k^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θ)cosθ) with quantities that we do know, or can measure. In this case, by geometry,
    Thus, substituting,
    Simplifying, the desired answer is
  2. If the source charges are equal and opposite, the vertical components cancel because Ez=14πε0qr2cosθ14πε0qr2cosθ=0Ez=14πε0qr2cosθ14πε0qr2cosθ=0
    and we get, for the horizontal component of EE,
    This becomes


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=0d=0, zdzd, and zz, and confirm that the resulting expressions match our physical expectations. Let’s do so:

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


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 5.6. It can be shown (via a Taylor expansion) that for dzdz, this becomes


which is the field of a dipole, a system that we will study in more detail later. (Note that the units of EE 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)(z), then E0E0, as it should; the two charges “merge” and so cancel out.

Check Your Understanding 5.3

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


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

Order a print copy

As an Amazon Associate we earn from qualifying purchases.


This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at
Citation information

© Jan 19, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.