Wize University Physics Textbook (Master) > Electrostatic Forces and Electric Fields
Electric Field of Continuous Charge (1D Distributions)
Popular Courses
PHYS 1202
Western University
PHYSICS 1E03
McMaster University
PHYS 1300
University of Guelph
APSC 112
Queen's University
PHYS 1402
Western University
PHYS 205
Concordia University
PHY 1122
University of Ottawa
PHYS 142
McGill University
ENGG 212
University of Calgary
PHYS-1300
University of Windsor
PHY 1121
University of Ottawa
PHY 1124
University of Ottawa
PHYS 121
University of Waterloo
PHY 132
University of Toronto
PHYS 1102
Western University
PHYS 227
University of Calgary
PHYS 2020
York University
PHYSICS 1AA3
McMaster University
PHYS 116
Queen's University
PHY 9B
University of California - Davis

0:00 / 0:00
Finding Electric Field with Integrals
When we are presented with a continuous charge distribution rather than a set of point charges, we need to use integrals to find the electric field. Remember that an integral is basically a fancy way of adding up a lot of very small things, and these problems all follow similar steps.
Steps to finding the electric field of continuous distributions:
- Draw a diagram if one is not already drawn in the question
- Define one small charge element, , on the diagram
- Draw the electric field, , at the point of interest based on your charge element.
- If the problem has more than one dimension, break the electric field element into components, such as and for two-dimensional problems.
- Find expressions for each electric field element. (If you have angles in your expressions, these need to be re-written in terms of your integration variables.)
- Integrate your expressions for each electric field element. The bounds of the integrals are defined by the shape of the continuous charge distribution.
Exam Tip
Sometimes, integrals in electrostatics are very involved. Thankfully, you are usually not responsible for solving advanced integrals in an exam setting. Typically, you will receive a table of integrals to use if the integral would be hard to solve.
Exam Tip
Some exam problems actually ask you to write the integral, but not solve them; for example, in some multiple choice problems, you will have to pick an integral that is set up properly without solving the entire problem.

0:00 / 0:00
Example: Electric Field from a Rod (on-axis)
A charge is placed at point P, near a uniformly charged rod of total charge Q.

For 𝑄 = 70 μC, 𝑙 = 50 cm and 𝑎 = 1.0 m, calculate the force that the rod exerts on the test charge.
Following the steps, we start by identifying a piece of the charge distribution as our infinitesimal charge .

The charge distribution is positive, so the electric field at point P points away from the distribution, to the right. This is a one-dimensional problem - the electric field will only have a horizontal component.
The field due to an infinitesimal segment is as follows:
We'll write the charge contribution in terms of the integration variable, x, by using the linear charge density, .
We'll also re-write the distance in terms of the integration variable. is the distance from the charge element to the point P, and x is the distance from the origin to . As shown in the diagram above, we can re-write it in terms of x:
Now, we have an expression for the electric field only in terms of the integration variable (x) and constants. The limits of our integral will be defined by the length of the rod:
We'll carry this integral out by substitution. Define the variable , which gives .
The integration limit becomes , and the limit becomes . Now we can finish the integral:
We can also re-write the charge density in terms of the charge and length to simplify further:
We have successfully found the magnitude of the electric field at the point P!
The question actually asks for force on a charge placed at this point:
Example: Electric Field from a Rod (off-axis)
Find an expression for the electric field at point P in the figure below.

You might find this integral useful:
As usual, we start by defining an infinitesimal charge element, and drawing the corresponding electric field:

We need to know the distance between our charge element and point P to find the electric field. Using the Pythagorean theorem:
This gives the magnitude of the electric field as follows:
We have re-written the charge element in terms of our integration variable by using the linear charge density, .
We can see in the symmetry of this problem that the total force will point upward; the horizontal components will all cancel out. Let's find the vertical component of the electric field:
Now, we need to integrate this over the length of the rod:
This matches the integral given in the question. Using it here:
This points in the upward direction.
Practice: Rod with Nonlinear Charge Density
Determine the electric field at point P below, assuming that the total charge Q increases non-linearly from the origin to the end of the rod. That is, the charge density is .

You may find this integral useful:
Magnitude
Practice: Rod with Positive and Negative Charge
A rod of length has a uniform charge distribution, except the left-hand side is positively charged and the right-hand side is negatively charged. Find the electric field at point P which is at a distancefrom the origin.

Mark Yourself Question
- Grab a piece of paper and try this problem yourself.
- When you're done, check the "I have answered this question" box below.
- View the solution and report whether you got it right or wrong.
Practice: Rod Electric Field Without Symmetry
Find the electric field at point P from the uniform positive charge distribution below.

You might find this integral useful: