Assume the geometry has a uniform cross-section and the resistivity is constant in the material and the geometry has a uniform cross-section. Then the electric field and current density are constant and parallel, and by the general definition of resistivity, we obtain