Dreamsrelapsed

Errors

Errors are unavoidable due to the nature of measurements. It shows how reliable the data that was obtained can be. Hence, it is important to know the error of the physical quantity that we are dealing with. However, most of the times, the error of the physical quantity measured is not directly obtained from the measurements but rather calculated from each individual components of it. In this post, we aim to show you the two most common method to obtain the error of a physical quantity: The Maximum-Minimum method and the Derivative method

Methods

Before we start deriving the errors, we need to establish a consensus. Suppose we have two variables a and b with their uncertainty being ∆a and ∆b and two random constants being x and y. For the Derivative method specifically, we assume t is a dummy variable (a varibale having no significance but for mathematical rigor) and dadt = ∆a and dbdt = ∆b. Now, we can start deriving the errors.

The Derivative method

The definition of a derivative is, by definition: limΔx→0 f(x+Δx)-f(x)Δx = df(x)dx, in where the result is obtained by ignoring terms of Δx with powers no less than 2 due to their non-existent effect on the result. In a similar fashion, instead of an infinitesimal presented here, a finitely small quantity (Δx >> x) takes the place and the argument is the same with that of infinitesimals.

Common functions

a±b

We have: d(a±b)dt = dadt ± dbdt = ∆a ± ∆b. Since we aim to maximise the error, the error is, effectively ∆a + ∆b.

ab

We have: d(ab)dt = adbdt + bdadt = a∆b + b∆a. Hence, the error is a∆b + b∆a

ab

We have: d(ab)dt = (bdadt - adbdt)b2= (b∆a - a∆b)b2. Since we aim to maximise the error, the error is, effectively (b∆a - a∆b)b2

logxa

We have: d(logxa)dt = d(lna)lnx × dt = 1lnx × a × dadt = ∆alnx × a. Hence, the error is ∆alnx × a.

ax

We have d(ax)dt= xa(x-1) dadt = xax-1 ∆a. Hence, the error is xax-1 ∆a

xa

We have xa = ealnx. Therefore d(xa)dt = d(ealnx)dt = d(alnx)dt× ealnx = lnx×dadtealnx = xalnx ∆a. Hence, the error is: xalnx ∆a

logxa

We have logxa = lnalnx. Therefore, d(logxa)dt = dlnalnx × dt = daa × lnx × dt = ∆alnx × a. Hence, the error is: ∆alnx × a.

f(a)

Suppose f(a) is differentiable, we have: df(a)dt = df(a)da × dadt = f'(a) × ∆a. Hence, the error is: f'(a) × ∆a.

Generalised functions

axby

We have: d(axby)dt = d(ax)dtby + axd(by)dt = xa(x-1)by dadt + ax (yby-1) dbdt = xa(x-1)by ∆a +yaxb(y-1) ∆b. Hence, the error is: xa(x-1)by ∆a +yaxb(y-1) ∆b.

ab

We have: ab = ebln(a). Therefore: d(ab)dt = d(eblna)dt = ebln(a) d(blna)dt = ab (b×dadt × a + ln(a)dbdt) = ab(b + ln(a)∆b). Hence the error is ab(b∆aa + ln(a)∆b).

logba

We have: logba = lnalnb. Therefore, d(logba)dt = d(lnalnb)dt = (dadt lnb - lna dbdt)ln2b = (∆a lnb - ∆b lna)ln2b. Since we aim to maximise the error, the error is effectively: (∆a lnb + ∆b lna)ln2b

f(a,b)

We have: dfdt = ∂f∂a×dadt + ∂f∂b×dbdt= ∂f∂a×∆a + ∂f∂b×∆b. Hence, the error is ∂f∂a×∆a + ∂f∂b×∆b

The Maximum-Minimum method

The essence behind this method is to examine the discrepancies between the true value and the maximum and minimum possible measured value. The error of the quantity is the maximum of the two discrepancies. It is simple in principle but difficult in practice. Lets examine some functions.

Common functions

a±b

The maximum possibly measured value of it is (a + Δa) + (b + Δb) = (a + b) + (Δa + Δb).

Hence, the discrepancy is: | (a + b) + (Δa + Δb) - (a + b) | = (Δa + Δb).

The minimum possibly measured value of it is (a - Δa) - (b + Δb) = (a + b) - (Δa + Δb).

Hence, the discrepancy is: | (a + b) - (Δa + Δb) - (a + b) | = (Δa + Δb).

Therefore, the error for this function is (Δa + Δb).

ab

Without loss of generality, we divide the quantity into two cases: Either
For the first case, if both quanities have the minus sign, treat -a and -b as positive quantities and manipulate accoringly.

Then, the maximum possibly measured value of it is (a + Δa)(b + Δb) = ab + (bΔa + aΔb) + ΔaΔb.

Hence, the discrepancy is: | ab + (bΔa + aΔb) + ΔaΔb - ab | = (bΔa + aΔb) + ΔaΔb.

The minimum possibly measured value of it is (a - Δa)(b + Δb) = ab - (bΔa + aΔb) + ΔaΔb.

Hence, the discrepancy is: | ab - (bΔa + aΔb) + ΔaΔb - ab | = -(bΔa + aΔb) + ΔaΔb.

Therefore, the error for this function is (bΔa + aΔb) + ΔaΔb. For the second case, suppose a is the negative quantity.