Error propagation with two functions, two unknowns.

Click For Summary
SUMMARY

This discussion focuses on error propagation in the context of two independent variables, x and y, and their associated measurements, m1 and m2, which have errors represented as δm1 and δm2. The user is attempting to determine the errors in x and y when the functions f and g, which relate these variables to the measurements, are complex and do not allow for straightforward analytical solutions. The suggested approach involves using numerical methods and evaluating the derivatives of f and g at the measured values to derive the errors in x and y through the propagation of uncertainties.

PREREQUISITES
  • Understanding of error propagation principles
  • Familiarity with numerical methods for solving equations
  • Knowledge of differentiation and partial derivatives
  • Experience with Mathematica for numerical analysis
NEXT STEPS
  • Learn about error propagation techniques in complex functions
  • Explore numerical methods for solving nonlinear equations
  • Study the use of partial derivatives in uncertainty analysis
  • Investigate Mathematica's capabilities for symbolic differentiation and numerical simulations
USEFUL FOR

Researchers, physicists, and engineers who need to analyze measurements with associated errors, particularly those using numerical methods to solve complex equations in Mathematica.

Hepth
Science Advisor
Gold Member
Messages
458
Reaction score
40
If I have two independent variables x,y, and two measurements, m1, m2 with errors. And the dependence is thus:
[tex] m_1 \pm \delta m_1 = f[x,y][/tex]
[tex] m_2 \pm \delta m_2 = g[x,y][/tex]

Now in my case, f and g are complicated expressions of x and y with no simple solution. (Actually I think i can solve one for x, but not for y).

Now if the equations were easy, I could solve for x and y:
[tex] x \pm \delta_x = F[m_1, m_2,...][/tex]
[tex] y \pm \delta_y = G[m_1, m_2,...][/tex]

And from there add the errors in quadrature to get the x and y errors.

BUT if I can't solve for x and y independently, and I must use numerical solutions to get the results ( I can, its easy). How can I go about getting the ERRORS? Is there another way I can solve for the errors and numerically solve for them, or a different method?

I have Mathematica if that helps.
 
Physics news on Phys.org
You should explain what you mean by "error". Are you doing numerical approximations that involve an error in that sense? Are you doing a stochastic simulation where randomness causes an "error"? Or are you teking physical measurements with equipment that has a specified precision?
 
Hepth said:
If I have two independent variables x,y, and two measurements, m1, m2 with errors. And the dependence is thus:
[tex] m_1 \pm \delta m_1 = f[x,y][/tex]
[tex] m_2 \pm \delta m_2 = g[x,y][/tex]

Now in my case, f and g are complicated expressions of x and y with no simple solution. (Actually I think i can solve one for x, but not for y).

Now if the equations were easy, I could solve for x and y:
[tex] x \pm \delta_x = F[m_1, m_2,...][/tex]
[tex] y \pm \delta_y = G[m_1, m_2,...][/tex]
Not sure if I've understood completely, but see if this helps.
Are f, g differentiable? Can you evaluate the derivatives at (m1, m2)? If so, can write [tex]\delta m_1 = \delta f = f_x \delta x + f_y \delta y; \delta m_2 = \delta g = g_x \delta x + g_y \delta y[/tex]
Evaluating fx etc. at (m1, m2), solve to find δx, δy.
Will need to check that the second order terms are not important.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 56 ·
2
Replies
56
Views
4K