All formulas

Statistics and uncertainty

Uncertainty propagation - formula in LaTeX

The law of propagation of uncertainty for a quantity derived from several independent measurements. The partial derivative uses \partial, and the pair \left( and \right) sizes the brackets to the fraction. A subscript inside a subscript needs braces: u_{x_i}.

uc(y)=∑i(∂y∂xiuxi)2u_c(y) = \sqrt{\sum_{i}\left(\dfrac{\partial y}{\partial x_i}u_{x_i}\right)^2}

LaTeX code

$$
u_c(y) = \sqrt{\sum_{i}\left(\dfrac{\partial y}{\partial x_i}u_{x_i}\right)^2}
$$

Working this out from your own measurements? The calculator gives the result with its uncertainty and ready LaTeX, no account needed. Propagation of uncertainty calculator

What the symbols mean

uc(y)u_c(y)
combined uncertainty of y
yy
quantity calculated from a formula
xix_i
directly measured quantities
uxiu_{x_i}
uncertainty of x_i

Worked example

Resistance R = V/I from V = 12 V ± 0.3 V and I = 2 A ± 0.04 A. For a quotient it is easier to work with relative uncertainties. The Greek \Omega gives the ohm sign directly in math mode.

uc(R)R=(0.312)2+(0.042)2≈0.032,uc(R)≈0.032⋅6 Ω≈0.19 Ω\dfrac{u_c(R)}{R} = \sqrt{\left(\dfrac{0.3}{12}\right)^2 + \left(\dfrac{0.04}{2}\right)^2} \approx 0.032, \quad u_c(R) \approx 0.032 \cdot 6\,\Omega \approx 0.19\,\Omega

Result: u_c(R) ≈ 0.19 Ω

Try it with your own values

Edit the code and the preview updates as you type.

uc(R)R=(0.312)2+(0.042)2≈0.032,uc(R)≈0.032⋅6 Ω≈0.19 Ω\dfrac{u_c(R)}{R} = \sqrt{\left(\dfrac{0.3}{12}\right)^2 + \left(\dfrac{0.04}{2}\right)^2} \approx 0.032, \quad u_c(R) \approx 0.032 \cdot 6\,\Omega \approx 0.19\,\Omega

Common mistakes

Other ways to write it

LaTeX commands in this formula

x_{0}
subscript; wrap several characters in braces
\sqrt
square root
\sum
sum
\left
bracket sized to its content (paired with \right)
\dfrac
fraction (display)
\partial
partial derivative
x^{2}
superscript (power); wrap several characters in braces

How to use this formula in LaTeX?

  1. Copy the code with the button above: $$…$$ is centered display math in the CamteX editor and in Markdown; in a .tex file use \[…\].
  2. Paste it into the CamteX editor, Overleaf or any LaTeX document.
  3. Inside a sentence, use single $…$ instead of double.
  4. The formula needs the amsmath package - CamteX templates include it in the preamble.

Related formulas - Statistics and uncertainty

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