Presentation is loading. Please wait.

Presentation is loading. Please wait.

Physics 114: Lecture 12 Error Analysis, Part II Dale E. Gary NJIT Physics Department.

Similar presentations


Presentation on theme: "Physics 114: Lecture 12 Error Analysis, Part II Dale E. Gary NJIT Physics Department."— Presentation transcript:

1 Physics 114: Lecture 12 Error Analysis, Part II Dale E. Gary NJIT Physics Department

2 Mar 8, 2010 Method of Propagation of Errors  Start with original relation, in this case:  Use the chain rule:  Here, dI represents the deviations of individual measurements :  We now square both sides to give the square deviations:  Finally, average over many measurements:

3 Mar 8, 2010 A Great Simplifier—Relative Error  Notice that we can take:  And divide through by I 2 = V 2 /R 2 :  What about this term ? This is the product of random fluctuations in voltage and resistance. When we multiply these random fluctuations and then average them—they should average to zero!  Thus, we have the final result:  The general formula, developed in the text, is Square of relative error in I

4 Mar 8, 2010 Other Examples  For homework, you should have calculated some uncertainties for quantities made up of calculations of other quantities with their own measurement uncertainties.  Let me point out a few patterns:  You see the quadratic nature of the resultant error—the errors behave like the pythagorean theorem. This is a good way to think about errors, and can be a big help in estimating errors. Note the effect of powers, which expand the influence of errors of a quantity. error in v error in u error in x All covariances assumed zero (i.e. u and v not correlated)

5 Mar 8, 2010 MatLAB Examples  Make random arrays u = randn(1,1000); and v = randn(1,1000); then plot v vs. u (i.e. plot(u,v,’.’)). Set ‘axis equal’ to see them on the same scale. The cloud of points form a circular pattern, concentrated in the center.  Now multiply v by 2, and plot again with axis equal. The clouds form an oval cloud of points.  Add 10 to u and 15 to v and replot with axis equal. Adding constants does not change the errors, only the mean.  Now calculate the relative errors for u, v, and x=u.*v. Do they obey the expected relationship?  Now calculate the relative errors for x=u./v. They should obey the same relationship. Do they?  Look at hist(u,20), hist(v,20), hist(u.*v,20), hist(u./v,20).  Now subtract 13 from v and calculate relative errors for x=u./v. What is wrong?

6 Mar 8, 2010 Estimating Error  As noted, the way to think about errors is to consider relative uncertainty (or percent error). If we have a 10% error in both u and v, what is the percent error in x for this expression?  What if u has a 1% relative error and v has a 10% relative error? What is percent error in x then?  So thinking in terms of the Pythagorean Theorem, errors are dominated by the biggest term, unless both have similar errors.  What if both u and v have 10% errors, and x = uv 4 ? 40%, in this case

7 Mar 8, 2010 Reducing Error  Knowing how errors propagate is very important in reducing sources of error. Let’s say you do an experiment that results in a measurement whose errors are a factor of 2 too high. You have a budget that allows you do reduce the errors in one quantity by a factor of 2. Where do you put your resources?  If the relationship is then if the relative errors are equal you are doomed to failure, because you can only reduce the total by 1.4 (square root of 2). But if the relative error in u is much smaller than that in v, you put your resources into reducing the error in v. Likewise, if the relationship is then you put your resources into reducing the error in v, unless the relative error in v is already 4 times smaller than in u.


Download ppt "Physics 114: Lecture 12 Error Analysis, Part II Dale E. Gary NJIT Physics Department."

Similar presentations


Ads by Google