Electricity
Coulomb's law - formula in LaTeX
The force between two point charges in vacuum; it falls off with the square of the distance. \varepsilon gives the rounded epsilon and \epsilon the other, lunate shape of the same letter. Both are correct, as long as you do not mix them in one document.
LaTeX code
$$
F = \dfrac{1}{4\pi\varepsilon_0}\dfrac{q_1 q_2}{r^2}
$$Got this formula in your notes or on a whiteboard? Snap a photo and CamteX turns it into LaTeX. Try it free
What the symbols mean
- force between the charges (N)
- charges (C)
- distance between the charges (m)
- vacuum permittivity, 8.85·10⁻¹² F/m
An electricity and magnetism formula - the basis of circuit problems and electrical lab reports.
Worked example
Two 1 μC charges 3 m apart attract or repel each other with a force of 1 mN. Powers of ten are written 10^{-6}: a negative exponent needs braces, or only the minus sign is raised.
Other ways to write it
With the constant k instead of 1/(4πε₀) and an absolute value, when only the magnitude matters.
F = k\,\dfrac{|q_1 q_2|}{r^2}Vector form; \hat puts a hat over the unit vector.
\vec{F}_{12} = \dfrac{1}{4\pi\varepsilon_0}\dfrac{q_1 q_2}{r^2}\,\hat{r}_{12}In a medium with relative permittivity εᵣ the force is εᵣ times weaker than in vacuum.
F = \dfrac{1}{4\pi\varepsilon_0\varepsilon_r}\dfrac{q_1 q_2}{r^2}
LaTeX commands in this formula
\dfrac- fraction (display)
\pi- Greek letter pi
\varepsilon- Greek letter varepsilon
x_{0}- subscript; wrap several characters in braces
x^{2}- superscript (power); wrap several characters in braces
How to use this formula in LaTeX?
- Copy the code with the button above -
$$…$$is centered display math. - Paste it into the CamteX editor, Overleaf or any LaTeX document.
- Inside a sentence, use single
$…$instead of double. - The formula needs the
amsmathpackage - CamteX templates include it in the preamble.
Related formulas - Electricity
Drawing formulas is faster than typing them.
Draw a formula, table or chart - CamteX AI turns it into ready LaTeX and inserts it into your document.