The electric charge is quantized microscopically। The expressions of Coulomb.s Law, superposition principle force and electric field are applicable to only point charges। While dealing with the electric field due to a charged sphere or a charged wire etc।, it is very difficult to look at individual charges in these charged bodies। Therefore, it is assumed that charge is distributed continuously on the charged bodies and the discrete nature of charges is not considered here। The electric field due to such continuous charge distributions is found by invoking the method of calculus।
Consider the following charged object of irregular shape।The entire charged object is divided into a large number of charge elements `/_\q_1`,`/_\q_2`,`/_\q_3`................`/_\q_n`

and each charge element Aq is taken as a point charge
The electric field at a point P due to a charged object is approximately Here `/_\ ` qi is the ith charge element, `i^(।th)`, is the distance of the point P from the i." charge clement and `hat(r)` is the unit vector from ith charge element to the point P।
However the equation is only an approximation। To incorporate the continuous distribution of charge, we take the limit `/_\q rarr 0(=dq)।` In this limit, the summation in the equation becomes an integration and takes the following form
`vecE=1/(4piepsilon_0)int(dq)/(r^2)hatr`

Here r is the distance of the point P from the infinitesimal charge dy and r is the unit vector from dq to point P। Even though the electric field for a continuous charge distribution is difficult to evaluate, the force experienced by some test charge q in this electric field is still given by `vecF =qvecE।`
(a) Line charge distribution: If the charge Q is uniformly distributed along the wire of length L, then linear charge density (charge per unit length) is 2 = । Its unit is coulomb per meter `(Cm^(-1))`। The charge present in the infinitesimal length dl is dq `=gammadl।`
The electric field due to the line of total charge Q is given by
`vecE=1/(4piepsilon_0)int(gammadl)/(r^2)hatr=gamma/(4piepsi_0)int(dl)/(r^2)hatr`
(b) Surface charge distribution: If the charge Q is uniformly distributed on a surface area A, then surface charge density (charge per unit area) is `sigma =Q/A`। Its unit is coulomb per square meter `(C m^(-2)`।
The charge present in the infinitesimal area dA is dq = `sigmadA`। The electric field due to a of total charge Q is given by
`vecE=1/(4piepsilon_0)int(alphada)/(r^2)hatr=1/(4piepsilon_0)alphaint(da)/(r^2)hatr`
(c) Volume charge distribution: If the charge Q is uniformly distributed in a volume V, then volume charge density (charge per unit volume) is given by p= Q/V। Its unit is coulomb per cubic meter `(Cm^(-3))` The charge present in the infinitesimal volume element dVN is dq = pdV।
The electric field due to a volume of total charge Q is given by
`vecE=1/(4piepsilon_0)int(rhodV)/(r^2)=1/(4piepsilon_0)rhoint(dV)/(r^2)hatr`