Trying to work through this question I am sure that I am doing something wrong.
We start with a uniform electric field
$$ E = E_o \hat{i} $$
and then find that the potential is given by
$$ V=-E_0 x + A$$
where A is a constant In cylindrical coordinates this gives
$$ V(r,\phi,z)= -E_0 r \cos(\phi) $$
And hence the electric field in cylindrical coordinates is given by
$$ -\nabla V = -\left({\partial V \over \partial r}\hat{r} + {1\over r}{\partial V \over \partial \phi}\hat{\phi}+ {\partial V \over \partial z}\hat{z}\right) \\= +E_0 \cos(\phi) \hat{r}-E_0 {1\over r}r\sin(\phi)\hat{\phi} \\ = E_0 (\cos(\phi)\hat{r} -\sin(\phi)\hat{\phi})$$
Now my confusion is in the following step where I try to calculate the magnitude of the electric field in the cylindrical coordinate system.... .... I can see how to fix it so that I get the required answers of $E_0$, but to my mind to calculate the magnitude of the vector in space I should be taking the root sum square of three components; the component in $r$, the component in $\phi$ multiplied by $r$ and the component in $z$... if we were to calculate a volume we would use $dr \cdot rd\phi \cdot dz$ - so here I want to multiply the $\phi$ component by $r$,... but if I do that then $E$ comes out incorrectly.
So my question is - have I made a mistake in the calculation above? Or if it is correct then is the definition of the magnitude of the electric field equal to the equation below...
$$|E|=\sqrt{\left({\partial V \over \partial r}\right)^2 + \left({1\over r}{\partial V \over \partial \phi}\right)^2+ \left({\partial V \over \partial z}\right)^2}$$
Maybe another way to ask this question is to ask if $\hat{\phi}$ is a vector with unit length of angle - or unit length of distance.