[Physics] How to calculate the electric field at a point in space

electric-fieldselectromagnetismelectrostaticspotential

Let's say I have a uniformly-charged wire bent into a semi-circle around the origin. How can I find the electric field (magnitude and direction)

I'm not even sure if I should use Coulomb's or Gauss' law either. Kind of stuck setting up a solution and starting somewhere.

Best Answer

Let us say you have a charged unit semi-circle ($\rho=1,-\frac{\pi}{2}\leq\varphi\leq\frac{\pi}{2}$) and are trying to calculate the potential in a point with coordinates $(x,y,z)$. You get (I neglect all kinds of constant factors): $V(x,y,z)=\int^{\frac{\pi}{2}}_{-\frac{\pi}{2}}d\varphi\frac{1}{\sqrt{(x-\cos(\varphi))^2+(y-\sin(\varphi))^2+z^2}}=\int^{\frac{\pi}{2}}_{-\frac{\pi}{2}}d\varphi\frac{1}{\sqrt{x^2+y^2+z^2+1-2 x\cos(\varphi)-2 y\sin(\varphi)}}$. I guess this may be an elliptic integral. To get the field, you need to take a gradient of this integral.

EDIT: To answer MaxMackie's question in the comment: a point charge in a point $\overrightarrow{r'}=(x',y',z')$ creates a field described by potential $V(\overrightarrow{r'},\overrightarrow{r})=\frac{1}{|\overrightarrow{r}-\overrightarrow{r'}|}$, where $\overrightarrow{r}=(x,y,z)$ is the field point (again, constant factors are neglected). If you have a charge distribution $\rho(\overrightarrow{r'})$, the new potential $V_\rho(\overrightarrow{r})=\int d\overrightarrow{r'}\rho(\overrightarrow{r'})V(\overrightarrow{r'},\overrightarrow{r})$. To get the electric field, take a gradient of the potential with respect to $\overrightarrow{r}$.