I'm in doubt with one thing: let's imagine that we have n+1 quantities, n of them being directly measured, and the other one being related to the first n by a function f:Rn→R. If the xi is one of the quantities being directly measured and if Δxi is it's uncertainty, then I've learned that the uncertainty of the quantity y=f(x1,…xn) is given by:
Δy=n∑i=1∂f∂xiΔxi
My problem in understanding this is: well, if f is such a function, it's derivative is the linear transformation df:Rn→R given by:
df=n∑i=1∂f∂xidxi
Where dxi:Rn→R is given by dxi(a1…an)=ai. Hence, what we are saying, is that Δy=df(Δx1,…Δxn), in other words, we are saying that the uncertainty of y is given by a linear function of the vector of uncertainties of the quantities xi. Why should that be true? I mean, what's the reasoning behind this? I really didn't get the point, my teacher just gave the equation without justifying or anything like that.
Any help and reference is appreciated.
Answer
It's not, at least not in the statistical sense. What you are doing is finding the (linearly approximated) change in y obtained by changing the inputs by their standard deviations. This is okay as a rough approximation, but you can do better with almost no extra work.
If you want the actual variance and standard deviation of y, the formula is different. Suppose y=f(x1,…,xn)=f0+n∑i=1aixi+n∑i=1n∑j=ibijxixj+O(x3).
We can square this result, yielding ˆy2=f20+2f0n∑i=1aiˆxi+4f0n∑i=1n∑j=i+1bijˆxiˆxj+2f0n∑i=1biiE(x2i)+n∑i=1n∑j=1aiajˆxiˆxj+O(x3).
Finally, we are in a position to compute the variance of y. This is simply (Δy)2≡E(y2)−ˆy2=n∑i=1a2i(E(x2i)−ˆx2i)+O(x3).
No comments:
Post a Comment