All formulas

Electricity

Ohm's law - formula in LaTeX

The voltage across a resistor is proportional to the current through it; it holds for components with constant resistance. The \, command adds a thin space between R and I. English-language texts usually write V for voltage where continental notation uses U.

U=R IU = R\,I

LaTeX code

$$
U = R\,I
$$

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

UU
voltage (V)
RR
resistance (Ω)
II
current (A)

An electricity and magnetism formula - the basis of circuit problems and electrical lab reports.

Worked example

A 4 Ω bulb connected to a 12 V battery, with the law rearranged to I = U/R. The ohm sign is \Omega: capital Greek letters are upright in math mode, so they need no \mathrm.

I=UR=12 V4 Ω=3 AI = \dfrac{U}{R} = \dfrac{12\,\mathrm{V}}{4\,\Omega} = 3\,\mathrm{A}

LaTeX commands in this formula

\,
thin space, e.g. between factors of a product

How to use this formula in LaTeX?

  1. Copy the code with the button above - $$…$$ is centered display math.
  2. Paste it into the CamteX editor, Overleaf or any LaTeX document.
  3. Inside a sentence, use single $…$ instead of double.
  4. The formula works without extra packages.

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.

Try it free