Chapter 6. Gauss’s Law
6.3 Applying Gauss’s Law
Learning Objectives
By the end of this section, you will be able to:
- Explain what spherical, cylindrical, and planar symmetry are
- Recognize whether or not a given system possesses one of these symmetries
- Apply Gauss’s law to determine the electric field of a system with one of these symmetries
Gauss’s law is very helpful in determining expressions for the electric field, even though the law is not directly about the electric field; it is about the electric flux. It turns out that in situations that have certain symmetries (spherical, cylindrical, or planar) in the charge distribution, we can deduce the electric field based on knowledge of the electric flux. In these systems, we can find a Gaussian surface S over which the electric field has constant magnitude. Furthermore, if
where A is the area of the surface. Note that these symmetries lead to the transformation of the flux integral into a product of the magnitude of the electric field and an appropriate area. When you use this flux in the expression for Gauss’s law, you obtain an algebraic equation that you can solve for the magnitude of the electric field, which looks like
The direction of the electric field at the field point P is obtained from the symmetry of the charge distribution and the type of charge in the distribution. Therefore, Gauss’s law can be used to determine
Problem-Solving Strategy: Gauss’s Law
- Identify the spatial symmetry of the charge distribution. This is an important first step that allows us to choose the appropriate Gaussian surface. As examples, an isolated point charge has spherical symmetry, and an infinite line of charge has cylindrical symmetry.
- Choose a Gaussian surface with the same symmetry as the charge distribution and identify its consequences. With this choice,
is easily determined over the Gaussian surface. - Evaluate the integral
over the Gaussian surface, that is, calculate the flux through the surface. The symmetry of the Gaussian surface allows us to factor outside the integral. - Determine the amount of charge enclosed by the Gaussian surface. This is an evaluation of the right-hand side of the equation representing Gauss’s law. It is often necessary to perform an integration to obtain the net enclosed charge.
- Evaluate the electric field of the charge distribution. The field may now be found using the results of steps 3 and 4.
Basically, there are only three types of symmetry that allow Gauss’s law to be used to deduce the electric field. They are
- A charge distribution with spherical symmetry
- A charge distribution with cylindrical symmetry
- A charge distribution with planar symmetry
To exploit the symmetry, we perform the calculations in appropriate coordinate systems and use the right kind of Gaussian surface for that symmetry, applying the remaining four steps.
Charge Distribution with Spherical Symmetry
A charge distribution has spherical symmetry if the density of charge depends only on the distance from a point in space and not on the direction. In other words, if you rotate the system, it doesn’t look different. For instance, if a sphere of radius R is uniformly charged with charge density
Figure 6.21(c) shows a sphere with four different shells, each with its own uniform charge density. Although this is a situation where charge density in the full sphere is not uniform, the charge density function depends only on the distance from the center and not on the direction. Therefore, this charge distribution does have spherical symmetry.

One good way to determine whether or not your problem has spherical symmetry is to look at the charge density function in spherical coordinates,
Consequences of symmetry
In all spherically symmetrical cases, the electric field at any point must be radially directed, because the charge and, hence, the field must be invariant under rotation. Therefore, using spherical coordinates with their origins at the center of the spherical charge distribution, we can write down the expected form of the electric field at a point P located at a distance r from the center:
where
Gaussian surface and flux calculations
We can now use this form of the electric field to obtain the flux of the electric field through the Gaussian surface. For spherical symmetry, the Gaussian surface is a closed spherical surface that has the same center as the center of the charge distribution. Thus, the direction of the area vector of an area element on the Gaussian surface at any point is parallel to the direction of the electric field at that point, since they are both radially directed outward (Figure 6.22).

The magnitude of the electric field
Using Gauss’s law
According to Gauss’s law, the flux through a closed surface is equal to the total charge enclosed within the closed surface divided by the permittivity of vacuum
Hence, the electric field at point P that is a distance r from the center of a spherically symmetrical charge distribution has the following magnitude and direction:
Direction: radial from O to P or from P to O.
The direction of the field at point P depends on whether the charge in the sphere is positive or negative. For a net positive charge enclosed within the Gaussian surface, the direction is from O to P, and for a net negative charge, the direction is from P to O. This is all we need for a point charge, and you will notice that the result above is identical to that for a point charge. However, Gauss’s law becomes truly useful in cases where the charge occupies a finite volume.
Computing enclosed charge
The more interesting case is when a spherical charge distribution occupies a volume, and asking what the electric field inside the charge distribution is thus becomes relevant. In this case, the charge enclosed depends on the distance r of the field point relative to the radius of the charge distribution R, such as that shown in Figure 6.23.

If point P is located outside the charge distribution—that is, if
The field at a point outside the charge distribution is also called
Note that the electric field outside a spherically symmetrical charge distribution is identical to that of a point charge at the center that has a charge equal to the total charge of the spherical charge distribution. This is remarkable since the charges are not located at the center only. We now work out specific examples of spherical charge distributions, starting with the case of a uniformly charged sphere.
Example
Uniformly Charged Sphere
A sphere of radius R, such as that shown in Figure 6.23, has a uniform volume charge density
Strategy
Apply the Gauss’s law problem-solving strategy, where we have already worked out the flux calculation.
Solution
Show Answer
The charge enclosed by the Gaussian surface is given by
The answer for electric field amplitude can then be written down immediately for a point outside the sphere, labeled
It is interesting to note that the magnitude of the electric field increases inside the material as you go out, since the amount of charge enclosed by the Gaussian surface increases with the volume. Specifically, the charge enclosed grows

The direction of the electric field at any point P is radially outward from the origin if

Significance
Notice that
Example
Non-Uniformly Charged Sphere
A non-conducting sphere of radius R has a non-uniform charge density that varies with the distance from its center as given by
where a is a constant. We require
Strategy
Apply the Gauss’s law strategy given above, where we work out the enclosed charge integrals separately for cases inside and outside the sphere.
Solution
Show Answer
Since the given charge density function has only a radial dependence and no dependence on direction, we have a spherically symmetrical situation. Therefore, the magnitude of the electric field at any point is given above and the direction is radial. We just need to find the enclosed charge
A note about symbols: We use
As charge density is not constant here, we need to integrate the charge density function over the volume enclosed by the Gaussian surface. Therefore, we set up the problem for charges in one spherical shell, say between

(a) Field at a point outside the charge distribution. In this case, the Gaussian surface, which contains the field point P, has a radius r that is greater than the radius R of the charge distribution,
This is used in the general result for
where
(b) Field at a point inside the charge distribution. The Gaussian surface is now buried inside the charge distribution, with
Now, using the general result above for
where the direction information is included by using the unit radial vector.
Check Your Understanding
Check that the electric fields for the sphere reduce to the correct values for a point charge.
Show Solution
In this case, there is only
Charge Distribution with Cylindrical Symmetry
A charge distribution has cylindrical symmetry if the charge density depends only upon the distance r from the axis of a cylinder and must not vary along the axis or with direction about the axis. In other words, if your system varies if you rotate it around the axis, or shift it along the axis, you do not have cylindrical symmetry.
Figure 6.27 shows four situations in which charges are distributed in a cylinder. A uniform charge density

Consequences of symmetry
In all cylindrically symmetrical cases, the electric field
Cylindrical symmetry:
where r is the distance from the axis and

Gaussian surface and flux calculation
To make use of the direction and functional dependence of the electric field, we choose a closed Gaussian surface in the shape of a cylinder with the same axis as the axis of the charge distribution. The flux through this surface of radius s and height L is easy to compute if we divide our task into two parts: (a) a flux through the flat ends and (b) a flux through the curved surface (Figure 6.29).

The electric field is perpendicular to the cylindrical side and parallel to the planar end caps of the surface. The flux through the cylindrical part is
whereas the flux through the end caps is zero because
Using Gauss’s law
According to Gauss’s law, the flux must equal the amount of charge within the volume enclosed by this surface, divided by the permittivity of free space. When you do the calculation for a cylinder of length L, you find that
Hence, Gauss’s law for any cylindrically symmetrical charge distribution yields the following magnitude of the electric field a distance s away from the axis:
The charge per unit length
Computing enclosed charge
Let R be the radius of the cylinder within which charges are distributed in a cylindrically symmetrical way. Let the field point P be at a distance s from the axis. (The side of the Gaussian surface includes the field point P.) When
Example
Uniformly Charged Cylindrical Shell
A very long non-conducting cylindrical shell of radius R has a uniform surface charge density
Strategy
Apply the Gauss’s law strategy given earlier, where we treat the cases inside and outside the shell separately.
Solution
Show Answer
- Electric field at a point outside the shell. For a point outside the cylindrical shell, the Gaussian surface is the surface of a cylinder of radius
and length L, as shown in Figure 6.30. The charge enclosed by the Gaussian cylinder is equal to the charge on the cylindrical shell of length L. Therefore, is given by

Hence, the electric field at a point P outside the shell at a distance r away from the axis is
where
- Electric field at a point inside the shell. For a point inside the cylindrical shell, the Gaussian surface is a cylinder whose radius r is less than R (Figure 6.31). This means no charges are included inside the Gaussian surface:

This gives the following equation for the magnitude of the electric field
This gives us
Significance
Notice that the result inside the shell is exactly what we should expect: No enclosed charge means zero electric field. Outside the shell, the result becomes identical to a wire with uniform charge
Check Your Understanding
A thin straight wire has a uniform linear charge density
Show Solution
Charge Distribution with Planar Symmetry
A planar symmetry of charge density is obtained when charges are uniformly spread over a large flat surface. In planar symmetry, all points in a plane parallel to the plane of charge are identical with respect to the charges.
Consequences of symmetry
We take the plane of the charge distribution to be the xy-plane and we find the electric field at a space point P with coordinates (x, y, z). Since the charge density is the same at all (x, y)-coordinates in the
Uniform charges in xy plane:
where z is the distance from the plane and

Gaussian surface and flux calculation
In the present case, a convenient Gaussian surface is a box, since the expected electric field points in one direction only. To keep the Gaussian box symmetrical about the plane of charges, we take it to straddle the plane of the charges, such that one face containing the field point P is taken parallel to the plane of the charges. In Figure 6.33, sides I and II of the Gaussian surface (the box) that are parallel to the infinite plane have been shaded. They are the only surfaces that give rise to nonzero flux because the electric field and the area vectors of the other faces are perpendicular to each other.

Let A be the area of the shaded surface on each side of the plane and
Magnitude at I or II:
If the charge on the plane is positive, then the direction of the electric field and the area vectors are as shown in Figure 6.33. Therefore, we find for the flux of electric field through the box
where the zeros are for the flux through the other sides of the box. Note that if the charge on the plane is negative, the directions of electric field and area vectors for planes I and II are opposite to each other, and we get a negative sign for the flux. According to Gauss’s law, the flux must equal
Using the equations for the flux and enclosed charge in Gauss’s law, we can immediately determine the electric field at a point at height z from a uniformly charged plane in the xy-plane:
The direction of the field depends on the sign of the charge on the plane and the side of the plane where the field point P is located. Note that above the plane,
You may be surprised to note that the electric field does not actually depend on the distance from the plane; this is an effect of the assumption that the plane is infinite. In practical terms, the result given above is still a useful approximation for finite planes near the center.
Summary
- For a charge distribution with certain spatial symmetries (spherical, cylindrical, and planar), we can find a Gaussian surface over which
, where E is constant over the surface. The electric field is then determined with Gauss’s law. - For spherical symmetry, the Gaussian surface is also a sphere, and Gauss’s law simplifies to
. - For cylindrical symmetry, we use a cylindrical Gaussian surface, and find that Gauss’s law simplifies to
. - For planar symmetry, a convenient Gaussian surface is a box penetrating the plane, with two faces parallel to the plane and the remainder perpendicular, resulting in Gauss’s law being
.
Conceptual Questions
Would Gauss’s law be helpful for determining the electric field of two equal but opposite charges a fixed distance apart?
Show Solution
No, since the situation does not have symmetry, making Gauss’s law challenging to simplify.
Discuss the role that symmetry plays in the application of Gauss’s law. Give examples of continuous charge distributions in which Gauss’s law is useful and not useful in determining the electric field.
Discuss the restrictions on the Gaussian surface used to discuss planar symmetry. For example, is its length important? Does the cross-section have to be square? Must the end faces be on opposite sides of the sheet?
Show Solution
Any shape of the Gaussian surface can be used. The only restriction is that the Gaussian integral must be calculable; therefore, a box or a cylinder are the most convenient geometrical shapes for the Gaussian surface.
Problems
Recall that in the example of a uniform charged sphere,
Show Solution
Suppose that the charge density of the spherical charge distribution shown in Figure 6.23 is
A very long, thin wire has a uniform linear charge density of
Show Solution
A charge of
Repeat your calculations for the preceding problem, given that the charge is distributed uniformly over the surface of a spherical conductor of radius 10.0 cm.
Show Solution
a. 0; b. 0; c.
A total charge Q is distributed uniformly throughout a spherical shell of inner and outer radii
When a charge is placed on a metal sphere, it ends up in equilibrium at the outer surface. Use this information to determine the electric field of
Show Solution
a. 0; b.
A large sheet of charge has a uniform charge density of
Determine if approximate cylindrical symmetry holds for the following situations. State why or why not. (a) A 300-cm long copper rod of radius 1 cm is charged with +500 nC of charge and we seek electric field at a point 5 cm from the center of the rod. (b) A 10-cm long copper rod of radius 1 cm is charged with +500 nC of charge and we seek electric field at a point 5 cm from the center of the rod. (c) A 150-cm wooden rod is glued to a 150-cm plastic rod to make a 300-cm long rod, which is then painted with a charged paint so that one obtains a uniform charge density. The radius of each rod is 1 cm, and we seek an electric field at a point that is 4 cm from the center of the rod. (d) Same rod as (c), but we seek electric field at a point that is 500 cm from the center of the rod.
Show Solution
a. Yes, the length of the rod is much greater than the distance to the point in question. b. No, The length of the rod is of the same order of magnitude as the distance to the point in question. c. Yes, the length of the rod is much greater than the distance to the point in question. d. No. The length of the rod is of the same order of magnitude as the distance to the point in question.
A long silver rod of radius 3 cm has a charge of
The electric field at 2 cm from the center of long copper rod of radius 1 cm has a magnitude 3 N/C and directed outward from the axis of the rod. (a) How much charge per unit length exists on the copper rod? (b) What would be the electric flux through a cube of side 5 cm situated such that the rod passes through opposite sides of the cube perpendicularly?
Show Solution
a.
b.
A long copper cylindrical shell of inner radius 2 cm and outer radius 3 cm surrounds concentrically a charged long aluminum rod of radius 1 cm with a charge density of 4 pC/m. All charges on the aluminum rod reside at its surface. The inner surface of the copper shell has exactly opposite charge to that of the aluminum rod while the outer surface of the copper shell has the same charge as the aluminum rod. Find the magnitude and direction of the electric field at points that are at the following distances from the center of the aluminum rod: (a) 0.5 cm, (b) 1.5 cm, (c) 2.5 cm, (d) 3.5 cm, and (e) 7 cm.
Charge is distributed uniformly with a density
Show Solution
Charge is distributed throughout a very long cylindrical volume of radius R such that the charge density increases with the distance r from the central axis of the cylinder according to
The electric field 10.0 cm from the surface of a copper ball of radius 5.0 cm is directed toward the ball’s center and has magnitude
Show Solution
Charge is distributed throughout a spherical shell of inner radius
Charge is distributed throughout a spherical volume of radius R with a density
Show Solution
Consider a uranium nucleus to be sphere of radius
The volume charge density of a spherical charge distribution is given by
Show Solution
integrate by parts:
Glossary
- cylindrical symmetry
- system only varies with distance from the axis, not direction
- planar symmetry
- system only varies with distance from a plane
- spherical symmetry
- system only varies with the distance from the origin, not in direction
Licenses and Attributions
Applying Gauss’s Law. Authored by: OpenStax College. Located at: https://openstax.org/books/university-physics-volume-2/pages/6-3-applying-gausss-law. License: CC BY: Attribution. License Terms: Download for free at https://openstax.org/books/university-physics-volume-2/pages/1-introduction