Involving Errors In Calculations

AI Thread Summary
Error propagation in calculations involving multiple variables can be approached using calculus or simpler methods. For the given formula involving distance v, uncertainty can be calculated by determining the effect of individual errors in u and f on v. The total error can be found by adding the individual errors in quadrature. If calculus is not preferred, standard rules for error propagation can also be applied to achieve accurate results. Understanding these methods is essential for precise calculations in physics and engineering contexts.
richnfg
Messages
46
Reaction score
0
Say I wanted to do a calculation with numbers that had an error attached...what would the error be on the final answer?

For example, say I was trying to work out the distance v in relation to lenses etc. by this formula:

<br /> \frac{1}{v}=\frac{1}{u}+\frac{1}{f}<br /> <br />

say u was 50cm plus or minus (cant find the symbol) 5mm
and f was 10cm plus or minus 5mm

what would the error be on the final answer?

Thanks!
 
Physics news on Phys.org
Error propagation can be expressed most easily with calculus. If you have a function in terms of one variable, you can calculate the uncertainty on that function by simply seeing how it changes as a function of that one variable. That is:

f=f(x)
\Delta f=\frac{\partial f}{\partial x}\vert_{x_0}\Delta x

where \Delta indicates the uncertainty (or error) and x0 is the measured value of the variable. However, your function is of two variables, so it turns out that you have to combine the derivatives in quadrature to get the total error on f:

f=f(x,y)
\Delta f=\sqrt{(\frac{\partial f}{\partial x}\vert_{x_0}\Delta x)^2+(\frac{\partial f}{\partial y}\vert_{y_0}\Delta y)^2}

Can you calculate what this gives for your case?
 
wow, sorry but that really confused me. :(

Isn't there a simplier way?
 
You can also do it without calculus. Take the error in each quantity one by one, calculate the effect that it alone has on the final result, then add those effects in quadrature. Using richnfg's equation:

First calculate v without using the errors on u and f at all.

\frac {1}{v} = \frac {1}{u} + \frac {1}{f}[/itex]<br /> <br /> Next, change u by its error and recalculate v. Let&#039;s call this v_u:<br /> <br /> \frac {1}{v_u} = \frac {1}{u + \Delta u} + \frac {1}{f}[/itex]&lt;br /&gt; &lt;br /&gt; Next, go back to the original u, change f by its error, and recalculate v. Let&amp;#039;s call this v_f:&lt;br /&gt; &lt;br /&gt; \frac {1}{v_f} = \frac {1}{u} + \frac {1}{f + \Delta f}[/itex]&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; Calculate the differences:&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; \Delta v_u = v_u - v&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; \Delta v_f = v_f - v&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; and add them in quadrature to get the total error in v:&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; \Delta v = \sqrt {(\Delta v_u)^2 + (\Delta v_f)^2}[/itex]&amp;amp;lt;br /&amp;amp;gt; &amp;amp;lt;br /&amp;amp;gt; This method gives the same result as SpaceTiger&amp;amp;amp;#039;s method with the derivatives, in the limit as the errors approach zero.
 
richnfg said:
wow, sorry but that really confused me. :(

Isn't there a simplier way?

Well, if you don't know calculus, then the simplest way is to use the standard rules for error propagation. For example:

f(x,y)=x+y
\Delta f=\sqrt{(\Delta x)^2+(\Delta y)^2}

f(y)=1/y
\frac{\Delta f}{f}=-\frac{\Delta y}{y}
\Delta f = -\frac{\Delta y}{y^2}

You can combine those two to get the error on your equation.

EDIT: If your errors are small relative to the value of the measurements, jtbell's suggestion is good too...and perhaps a bit easier to think about.

EDIT 2: Also note that the "f" that I'm using is not the focal length in your equation. It's an arbitrary function.
 
Last edited:
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top