(like the infinite long charge where we take the integral)
be careful with vector nature
the summation is E=∑ikr12Qir^i
But we need the integral E=∫kr2dqr^
WHAT DOES THIS MEAN
conceptually is not different!
integrating over all charges (dq)
r is the vector from dq to the point at which E is defined
Example
we have a wire that is charged with Q uniformly, and has a linear density of λ=LQ and we find the point P at a arbitrary point
Example 1
a straight wire of length 2L carries a uniform linear charge density ρe ;determine the electric field Eat point P, a distance r from the wire along the perpendicular bisector
R′is length of the distance from L
dz is the varible of integration
by symmetry, E=r^Er
R′=R2+z′2
cosα=R′r
Solving for Er
Er=4πϵ01∫R′2dq∗cosαdx
Example 2
The electri field at point P due to a thin uniformly charged rod located on the z axis givien by E=ezk^+ERR^