Derive error formula for Lambda (25 C)

4 replies · 3K views · last reply
lep11
Messages
380
Reaction score
7
In physics lab course I measured equivalence conductivity of NaCl in infinite dilution Λ0 as a function of temperature T.

So I have observations (T, Λ0) and fitted a line using the least squares method in Ms excel (lol :oldbiggrin:).
The formula of the line is Λ0(T)=c0+c1T, where c0 and c1 are constants.

I am asked to estimate the error of Λ0(25 C) using the following formula

σΛ0(T)=(C11+T(C12+C21)+T2C22),

where Cij are elements of covariance matrix and T is temperature in centigrades. I have matlab, but don't know the commands and how to calculate.

I am also asked to derive the formula above on paper and honestly I have no idea where to begin.
However, I am given this clue;

Error propagation formulas: z = f(x_i) with sigma_z^2 approximated by a double sum over partial derivatives of f times covariance terms, and the 2x2 covariance matrix C with entries sigma_x1^2, sigma_x1x2, sigma_x2x1, sigma_x2^2, equal to C11, C12, C21, C22.

Those partial derivatives confuse me

I will appreciate any help!
 
Last edited:
No responses so far, must be a complicated subject ...

You used excel linest ? Did it give you the whole matrix ?

Reason you need the off-diagonal elements is that the errors in ##c_0## and ##c_1## are correlated: the fitted line goes through the center of gravity of the measurements, which generally is not on the y-axis. 'Wiggling' the line shows that the error in the intercept is partially due to the error in the slope.

Does this thread help you ? Or the references mentioned ?
 
BvU said:
You used excel linest ? Did it give you the whole matrix ?
Yes and yes.
BvU said:
Does this thread help you ? Or the references mentioned ?
Not really, unfortunately.
 
Well, then we have to go through step by step. Partial derivatives pop up when functions are functions of more than one variable. Generally error propagation works with partial derivatives. Errors are supposed to be small and the derivatives give a linear approximation for the propagation.

Show what you have so far and we'll pick it up at σΛ0(T)=(C11+T(C12+C21)+T2C22), which I find strange: T shouldn't appear there.
 
Okay, now I think I've figured it out. I have to submit my work due to Monday.

Does this make any sense?
The error of line fitting is function of c1 and c2.
Handwritten derivation of error propagation for a linear fit Λ0(T) = c1 + c2T, expanding the variance into covariance terms and ending with C = [[σx1², σx1x2], [σx2x1, σx2²]] = [[C11, C12], [C21, C22]].

Sorry, the picture is a bit blurry and unclear.

The only problem is, how do I get the covariance-variance matrix between c1 and c2?

(I know C11 and C22 because excel gave variances, but C12 and C21 are still unknown.)
 
Last edited: