[Math] Calculating Percentage Error in the Ratio when there is an Error in Numerator or Denominator or both

error-propagationratio

I have serached google a bit, but Since Google searches for keywords and also I find it hard to put in a statement for which It can give me useful searches, I am asking it here. So, This is Question of Error Calculation in Ratios

So, Let's say we have to calculate some ratio for precise calculations and terms being involved in the ratio be x and y. Accordingly, $$ Ratio = \frac{x}{y}$$

While calculating , some error was noticed, that can be expressed as $ \Delta x$ and $\Delta y$ respectively for error in measuring Numerator and Denominator values.

Now we need to find the error change in ratio and % Error Change in Ratio. So, the problem can be broken down into these subproblems :

  1. When Only Numerator changes by $\Delta x $ that is $ Ratio = \frac {x+\Delta x}{y}$
  2. When Only Denominator changes by $\Delta y$ that is $ Ratio = \frac {x}{y+\Delta y}$
  3. When both Numerator & Denominator changes simultaneously by $\Delta x$ and $\Delta y$ respectively that is $ Ratio = \frac {x+\Delta x}{y+\Delta y}$

Consider both increase and decrease scenario for the calculation.

Best Answer

Let $r=\frac xy$. Then, $$dr = \frac{ydx-xdy}{y^2}$$

This is the error change in $r$, given the values $x,y$ and the error changes (with +ve sign for increase and -ve sign for decrease) in both of them.

The maximum fractional error is simply:

$$\frac{dr}{r}=\frac{\frac{ydx-xdy}{y^2}}{\frac xy}=\frac{ydx-xdy}{xy}$$

Can you proceed now?


EDIT: For case 1, denominator does not change. So in that case $dy=0$. Similarly, in case 2, numerator does not change. So in that case $dx=0$.

Example problem: if $x=5\pm0.05$ and $y=6$, what would you expect $dr$ and $dr/r$ to be?

Here, $x = 5, y = 6$. Also, $y$ is exactly known, so $dy=0$ but $dx=0.05\neq0$. Now you can put and solve.

Related Question