On this page0% through guide
Electric Charges, Fields, and Gauss’s Law
Electricity & Magnetism track · College Board Unit 8. Build the model, derive its consequences, and test the assumptions.
What you’ll learn
- Add electric fields as vectors.
- Integrate a continuous charge distribution.
- Use symmetry to decide when Gauss’s law determines a field.
Charge is conserved; force is a vector
An object’s net charge measures an imbalance between positive and negative charge. Rubbing or contact redistributes charge rather than creating it. A neutral object can polarize and experience attraction without acquiring net charge. In a conductor, mobile charges move until the electrostatic field inside the conducting material is zero. Insulators can retain a nonuniform charge distribution.
Coulomb’s law gives the magnitude k|q1q2|/r2 for point charges. Decide attraction or repulsion before resolving components. For several charges, calculate each force vector separately and add components. A negative result for a component means direction, not a negative force magnitude. Drawing the geometry often matters more than substituting numbers.
Separate the field from the charge used to probe it
The electric field is force per unit positive test charge, E=. It describes the source configuration and exists whether or not a test charge is present. A positive test charge accelerates along the local field; a negative charge accelerates oppositely. Its velocity need not point along the field.
Superposition applies to the field vectors. Equal positive charges can give zero field at their midpoint even though the electric potential there is nonzero. Equal opposite charges give fields that reinforce between them. Use these symmetry checks before calculation; field lines indicate direction but are not particle trajectories.
PAUSE & TRY IT
Two equal positive charges sit at x=±a. What is E at the origin?
Reveal answer
Zero: their equal and opposite field vectors cancel.
Build a continuous distribution from small charge elements
For a thin line, dq=λ dx; for a surface, dq=σ dA; for a volume, dq=ρ dV. If density varies, keep its position dependence inside the integral. For each element, dE=k dq r̂/r2. The distance and direction can both vary across the source, so integrating only the magnitude usually gives the wrong vector.
For a uniformly charged ring of radius a, transverse components cancel on the axis. At axial distance x, each element contributes dEx=kx ^(), yielding Ex=^(). The field vanishes at the center and tends toward far away. These limiting cases are useful checks on the integration.
Symmetric source elements cancel transverse field components.
PAUSE & TRY IT
Why is dq=λ dx insufficient by itself to calculate a ring’s axial field?
Reveal answer
It describes charge, but the field still requires the distance factor and projection onto the axis.
Flux measures the normal component through a surface
Electric flux is ∫E·dA. The area vector is perpendicular to a surface and points outward for a closed surface. Field tangent to the surface contributes zero flux. A field line entering a closed surface contributes negative flux and leaving contributes positive flux.
Gauss’s law states that the total electric flux through a closed surface equals enclosed charge divided by ε0. Charges outside can affect the field at individual points while contributing zero net closed-surface flux. Zero net flux therefore does not mean zero field everywhere on the surface.
PAUSE & TRY IT
A centered sphere encloses charge Q. If its radius doubles, what happens to total flux?
Reveal answer
It remains ; enclosed charge is unchanged.
Symmetry is what makes Gauss’s law calculational
A sphere works for a spherically symmetric charge distribution because the field is radial and has constant magnitude over the Gaussian sphere. For a long uniformly charged line, a coaxial cylinder gives E(2πrL)=. For an infinite sheet, a pillbox has flux through two faces, giving E=.
A finite nonsymmetric collection still obeys Gauss’s law, but the law alone cannot determine every local field. Do not take E outside a surface integral unless symmetry justifies a constant magnitude and known angle. For an interior Gaussian sphere in a uniformly charged solid sphere, first compute only the enclosed charge, proportional to r3.
Read figure values as text
Inside sphere: 0: 0; 0.020833333333333332: 0.020833333333333332; 0.041666666666666664: 0.041666666666666664; 0.0625: 0.0625; 0.08333333333333333: 0.08333333333333333; 0.10416666666666667: 0.10416666666666667; 0.125: 0.125; 0.14583333333333334: 0.14583333333333334; 0.16666666666666666: 0.16666666666666666; 0.1875: 0.1875; 0.20833333333333334: 0.20833333333333334; 0.22916666666666666: 0.22916666666666666; 0.25: 0.25; 0.2708333333333333: 0.2708333333333333; 0.2916666666666667: 0.2916666666666667; 0.3125: 0.3125; 0.3333333333333333: 0.3333333333333333; 0.3541666666666667: 0.3541666666666667; 0.375: 0.375; 0.3958333333333333: 0.3958333333333333; 0.4166666666666667: 0.4166666666666667; 0.4375: 0.4375; 0.4583333333333333: 0.4583333333333333; 0.4791666666666667: 0.4791666666666667; 0.5: 0.5; 0.5208333333333334: 0.5208333333333334; 0.5416666666666666: 0.5416666666666666; 0.5625: 0.5625; 0.5833333333333334: 0.5833333333333334; 0.6041666666666666: 0.6041666666666666; 0.625: 0.625; 0.6458333333333334: 0.6458333333333334; 0.6666666666666666: 0.6666666666666666; 0.6875: 0.6875; 0.7083333333333334: 0.7083333333333334; 0.7291666666666666: 0.7291666666666666; 0.75: 0.75; 0.7708333333333334: 0.7708333333333334; 0.7916666666666666: 0.7916666666666666; 0.8125: 0.8125; 0.8333333333333334: 0.8333333333333334; 0.8541666666666666: 0.8541666666666666; 0.875: 0.875; 0.8958333333333334: 0.8958333333333334; 0.9166666666666666: 0.9166666666666666; 0.9375: 0.9375; 0.9583333333333334: 0.9583333333333334; 0.9791666666666666: 0.9791666666666666; 1: 1 • Outside sphere: 1: 1; 1.0625: 0.8858131487889274; 1.125: 0.7901234567901234; 1.1875: 0.7091412742382271; 1.25: 0.64; 1.3125: 0.5804988662131519; 1.375: 0.5289256198347108; 1.4375: 0.4839319470699433; 1.5: 0.4444444444444444; 1.5625: 0.4096; 1.625: 0.378698224852071; 1.6875: 0.3511659807956104; 1.75: 0.32653061224489793; 1.8125: 0.30439952437574314; 1.875: 0.28444444444444444; 1.9375: 0.2663891779396462; 2: 0.25; 2.0625: 0.23507805325987144; 2.125: 0.22145328719723184; 2.1875: 0.2089795918367347; 2.25: 0.19753086419753085; 2.3125: 0.18699780861943024; 2.375: 0.1772853185595568; 2.4375: 0.168310322156476; 2.5: 0.16; 2.5625: 0.1522903033908388; 2.625: 0.14512471655328799; 2.6875: 0.13845321795565171; 2.75: 0.1322314049586777; 2.8125: 0.12641975308641976; 2.875: 0.12098298676748583; 2.9375: 0.11588954277953825; 3: 0.1111111111111111; 3.0625: 0.10662224073302791; 3.125: 0.1024; 3.1875: 0.09842368319876971; 3.25: 0.09467455621301775; 3.3125: 0.09113563545745818; 3.375: 0.0877914951989026; 3.4375: 0.08462809917355373; 3.5: 0.08163265306122448; 3.5625: 0.07879347491535857; 3.625: 0.07609988109393578; 3.6875: 0.07354208560758403; 3.75: 0.07111111111111111; 3.8125: 0.06879871002418704; 3.875: 0.06659729448491156; 3.9375: 0.06449987402368355; 4: 0.0625
PAUSE & TRY IT
Does a Gaussian cube around a point charge have constant field magnitude on each face?
Reveal answer
No. Gauss’s law holds, but the distance and angle vary across a face.
Read the field inside and outside a sphere
A uniform nonconducting sphere of radius R has E= inside and E= outside. The field rises linearly from zero, then falls as inverse square. At the surface these expressions agree. A conducting sphere in electrostatic equilibrium instead has zero field throughout its interior material.
When comparing graphs, identify the charge model first. A plateau, a jump, or a change in slope encodes physical information about the source distribution. A graph of field magnitude does not carry the sign of a coordinate component unless its axis explicitly says so.
Read figure values as text
Uniformly charged insulating sphere: normalized radial field: 0: 0; 0.05: 0.05; 0.1: 0.1; 0.15: 0.15; 0.2: 0.2; 0.25: 0.25; 0.3: 0.3; 0.35: 0.35; 0.4: 0.4; 0.45: 0.45; 0.5: 0.5; 0.55: 0.55; 0.6: 0.6; 0.65: 0.65; 0.7: 0.7; 0.75: 0.75; 0.8: 0.8; 0.85: 0.85; 0.9: 0.9; 0.95: 0.95; 1: 1; 1.05: 0.9070294784580498; 1.1: 0.8264462809917354; 1.15: 0.7561436672967865; 1.2: 0.6944444444444444; 1.25: 0.64; 1.3: 0.5917159763313609; 1.35: 0.5486968449931412; 1.4: 0.5102040816326532; 1.45: 0.4756242568370987; 1.5: 0.4444444444444444; 1.55: 0.4162330905306971; 1.6: 0.39062499999999994; 1.65: 0.36730945821854916; 1.7: 0.34602076124567477; 1.75: 0.32653061224489793; 1.8: 0.30864197530864196; 1.85: 0.2921840759678597; 1.9: 0.2770083102493075; 1.95: 0.26298487836949375; 2: 0.25; 2.05: 0.2379535990481856; 2.1: 0.22675736961451246; 2.15: 0.2163331530557058; 2.2: 0.20661157024793386; 2.25: 0.19753086419753085; 2.3: 0.18903591682419663; 2.35: 0.18107741059302848; 2.4: 0.1736111111111111; 2.45: 0.16659725114535606; 2.5: 0.16; 2.55: 0.15378700499807768; 2.6: 0.14792899408284022; 2.65: 0.1423994304022784; 2.7: 0.1371742112482853; 2.75: 0.1322314049586777; 2.8: 0.1275510204081633; 2.85: 0.12311480455524776; 2.9: 0.11890606420927467; 2.95: 0.11490950876185003; 3: 0.1111111111111111
Separate source charge, field and force
An electric field describes the force per unit positive test charge at a location. The source distribution determines the field; the charge placed there determines the resulting force through F=qE. A negative test charge experiences force opposite the field direction. Changing that test charge does not change the original source field in the ideal test-charge approximation.
Coulomb forces and electric fields are vectors. Add components rather than magnitudes unless symmetry makes the directions identical. Draw the contribution of each source before writing signs. A positive source produces a field pointing away from it; a negative source produces one toward it. A zero net field can occur where nonzero contributions cancel.
The inverse-square dependence uses distance from the source charge. Doubling distance reduces a point-charge field to one-quarter, but an extended distribution need not have that dependence at nearby points. Far from a finite distribution, a point-like approximation may become useful depending on its net charge and geometry.
Set up a continuous-charge integral from geometry
Replace the source by small elements dq and sum their field contributions. For a line, dq=λ dl; for a surface, dq=σ dA; for a volume, dq=ρ dV. Density can vary with position, so do not pull it outside the integral unless it is constant. Keep source coordinates distinct from the fixed observation point.
For a uniformly charged ring viewed on its axis, opposite elements cancel transverse field components. Their axial components add, and every element has the same distance √(R2+x2) from the observation point. The geometric projection factor is essential: integrating only k would add magnitudes rather than the desired component.
After integration, check symmetry and limiting behavior. The axial field of a uniformly charged ring is zero at its center and approaches a point-charge form far away when the total charge is nonzero. A result that gives a preferred sideways direction at the center contradicts the source symmetry.
Use Gauss’s law only when symmetry makes it useful
Electric flux is the surface integral of E·dA. The area vector points outward for a closed surface. Gauss’s law relates total closed-surface flux to enclosed charge divided by ε0. It is always valid in electrostatics, but it does not always make the local field easy to calculate.
To extract E from the integral, justify where its magnitude is constant and where it is perpendicular or parallel to the surface normal. Spherical symmetry suggests a sphere; a long uniform line suggests a coaxial cylinder; an ideal infinite sheet suggests a pillbox. A conveniently drawn surface does not create symmetry that the charge distribution lacks.
Charges outside a Gaussian surface can affect the field on it while contributing zero net enclosed charge. Zero net flux does not imply zero field everywhere. Conversely, finding enclosed charge requires only total flux, not knowledge of the exact field at every point.
PAUSE & TRY IT
A closed surface encloses zero net charge. Can the electric field on the surface be nonzero?
Reveal answer
Yes. External charges or enclosed charges of opposite signs can produce nonzero local fields whose signed fluxes sum to zero.
Compare the inside and outside of distributions
For a uniformly charged insulating sphere, enclosed charge grows with the volume of a smaller concentric Gaussian sphere. Combining that r3 dependence with the r2 area gives a field proportional to r inside. Outside, the entire charge is enclosed and the field behaves like a point charge at the center.
A conducting sphere in electrostatic equilibrium has a different internal charge arrangement: excess charge resides at its surface and the field inside the conducting material is zero. Do not apply the uniform-volume-charge result to a conductor. Identify material and equilibrium conditions before choosing the enclosed-charge expression.
When a charge density is nonuniform, integrate density over the enclosed region first. The Gaussian surface radius defines the integration limit. A sign-changing density can produce cancellations, so enclosed charge is an algebraic total rather than the sum of absolute amounts.
Derive a ring field instead of memorizing a shape
Place a uniformly charged ring of radius R in the yz-plane and observe a point a distance x along its axis. Every charge element is the same distance √(R2+x2) from that point. Its field magnitude is k , but only the axial component survives the full-ring sum. The projection contributes (R2+x2).
Because the geometric factors are constant around the ring, integrating dq gives total charge Q. Thus Ex=^(). For positive Q, the sign follows x. At x=0 the axial field vanishes through cancellation. For |x| much larger than R, the magnitude approaches , as expected for a finite source viewed far away.
This derivation is a reusable method: define a source element, express distance, resolve the relevant component, use symmetry, and integrate with actual bounds. For an arc instead of a full ring, transverse components may not cancel. For a nonuniform ring, charge density cannot be replaced by one constant unless the distribution supports it.
PAUSE & TRY IT
Why does a ring-field integral need a projection factor?
Reveal answer
Each element’s field points along a different direction. Only axial components add after transverse components cancel by symmetry.
Connect flux signs to a physical surface
For a uniform field through a flat surface, flux is EA cos θ, where θ is between the field and the surface normal. A surface parallel to the field has zero flux even though the field is nonzero. A surface perpendicular to the field has maximum flux magnitude. Reversing the chosen normal reverses the signed flux.
A closed Gaussian surface has outward normals fixed by convention. Field lines entering contribute negative flux and leaving contribute positive flux. An external point charge can produce both kinds of contribution with zero net flux, while the local field remains nonzero. This is why Q enclosed = 0 does not establish E = 0.
In a calculation using Gauss’s law, explicitly identify the pieces of the surface. A cylindrical Gaussian surface around a long line has flux through its curved side and zero through its ends because the radial field is parallel to the end surfaces. Writing E(2πrL) without this reasoning hides the symmetry assumption.
FROM IDEA TO APPLICATION
Worked examples
Enclosed charge before field
A sphere of radius R has volume density ρ(r)=Cr. Find E inside for C>0.
Reveal worked solution
- Choose a concentric Gaussian sphere of radius r.
- Q_enclosed=∫0ʳ(Cs)4πs2ds=πCr4.
- E4πr2=Q_; symmetry makes E radial and constant.
E=, radially outward.
A zero-flux surface
A point charge lies outside a closed empty box. Is E zero on every face?
Reveal worked solution
- The enclosed charge is zero, so the net flux is zero.
- The external charge nevertheless produces a field throughout the box.
- Entering and leaving contributions cancel in the surface integral.
Zero net flux does not imply zero local field.
Derive an interior field
A nonconducting sphere of radius R has uniform volume charge density ρ. Find E at r<R.
Reveal worked solution
- Spherical symmetry makes E radial and constant on a concentric Gaussian sphere.
- Enclosed charge is ρ().
- Gauss’s law gives E(4πr2)=ρ.
E=, outward for positive ρ. It vanishes at the center.
Find a line-charge field
A very long uniform line has charge density λ. Find E at distance r.
Reveal worked solution
- Choose a coaxial Gaussian cylinder of radius r and length L.
- Radial symmetry makes E constant on the curved side; end flux is zero.
- E(2πrL)=, so E= with radial direction set by the sign of λ.
The inverse-radius result differs from the inverse-square field of a point charge.
Flux through a tilted surface
A 200 uniform field crosses a 0.03 m2 surface whose normal is 60° from the field.
Reveal worked solution
- Use the angle to the normal, not to the plane.
- Φ=EA cos θ=200(0.03)(0.5).
The signed flux is +3 N· for the specified normal.
MAKE THE DISTINCTION
Common mistakes, clearer reasoning
The trapOutside charges do not affect E on a Gaussian surface.
The better explanationThey affect local E but give zero net contribution to closed-surface flux.
The trapGauss’s law always gives E=Q/(ε₀A).
The better explanationThat simplification requires the appropriate constant magnitude and field direction.
RETRIEVE BEFORE YOU REVEAL
Practice checkpoints
Revisit the quick checks from this guide without looking back. Explain why, then reveal the answer.
1. Two equal positive charges sit at x=±a. What is E at the origin?
Reveal answer
Zero: their equal and opposite field vectors cancel.
2. Why is dq=λ dx insufficient by itself to calculate a ring’s axial field?
Reveal answer
It describes charge, but the field still requires the distance factor and projection onto the axis.
3. A centered sphere encloses charge Q. If its radius doubles, what happens to total flux?
Reveal answer
It remains ; enclosed charge is unchanged.
4. Does a Gaussian cube around a point charge have constant field magnitude on each face?
Reveal answer
No. Gauss’s law holds, but the distance and angle vary across a face.
5. A closed surface encloses zero net charge. Can the electric field on the surface be nonzero?
Reveal answer
Yes. External charges or enclosed charges of opposite signs can produce nonzero local fields whose signed fluxes sum to zero.
6. Why does a ring-field integral need a projection factor?
Reveal answer
Each element’s field points along a different direction. Only axial components add after transverse components cancel by symmetry.
Key language
- Electric field
- Force per unit positive test charge; a vector measured in N/C.
- Superposition
- Vector addition of fields produced by independent source elements.
- Flux
- The surface integral of the normal field component.
- Gaussian surface
- An imaginary closed surface used to apply Gauss’s law.
- Linear charge density
- Charge per unit length, λ=dq/dl.
- Polarization
- Separation of positive and negative charge within an object.
Connect the equations to the physical assumptions. Explain directions, signs, limiting cases, and units before accepting a numerical result.