Experimental Error on a quadratic

AI Thread Summary
The discussion focuses on deriving the error of a quadratic equation, y=ax²+bx+c, as a function of x, considering the associated errors of the variables a, b, c, and y. The method involves completing the square to solve for x and applying the propagation of errors formula, which sums the squares of the partial derivatives of x with respect to each variable multiplied by their respective errors. The complexity increases if there are correlations between the uncertainties of a, b, and c. The participants note that using software like Mathematica or Maple can help manage this complexity but caution that simplification may be limited. Overall, the conversation emphasizes the challenges of error propagation in quadratic equations with multiple variables.
dustydude
Messages
18
Reaction score
0
Hello,
I'm looking to derive the error of a quadratic equation as a function of x.

y=ax2+bx+c

y is measured and variables a,b,c have an associated error Da,Db,Dc

To solve for x you complete the square.

x=&\pm\sqrt{\dfrac{y-c}{a}+\dfrac{b^{2}}{4a^{2}}}\mp\dfrac{b}{2a}

If the variables y,c and b had an assoicated error Dy,Dc and Db.

Then the error would be Dx squared would be the sum of partial derivatives with respect to each variable times by the error on the variable all squared?
\left(\Delta x\,\right)^{2}=\left(\dfrac{\partial x}{\partial a}\Delta a\right)^{2}+\left(\dfrac{\partial x}{\partial b}\Delta b\right)^{2}+...

It seems quite hairy to go though and I was curious if anyone knew a better way to do it or anyone else who has done it?
 
Last edited:
Physics news on Phys.org
Thanks for the reply.

If i understand what your getting at then the method in the links are used when fitting a curve to data points.

The only measured value is y and I am looking for the error in x.
a,b,c have one variable in common but also other variables. All the variables have an Error associated with them.
 
If x is a function of a, b, c, and y, and if all four (a, b, c, y) have some error associated with them then the error of x will be given by the "hairy" propagation of errors formula that you posted. If you have access to Mathematica or Maple it should not be very difficult to do, but don't expect it to simplify too much, particularly if there are any correlations in the errors.
 
Thanks for the comments ppl!
 
Back
Top