consider..

If i’m trying to find the voltage at point P due to a linear charge density of length L (the white line that lies on the x axis):

then how come it is incorrect to do the following?

$$V=\int{E_{x}dx}+\int{E_{z}dz}$$?

(the r vector is just to find dE at each point on the charge density of length L)

http://ift.tt/1d1E5fN