Relative error and measurement precision

Click For Summary

Homework Help Overview

The discussion revolves around the concept of relative error and measurement precision in a programming context, specifically using Python. Participants are exploring how to manipulate input values to achieve a desired precision in output values, particularly focusing on a target of 1% relative error.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the relationship between input errors and the resulting precision in output values. Questions are raised about the behavior of the function near specific values and the implications of having one coordinate with no error while the other has a relative error. There is also mention of using Taylor expansion to analyze the effects of error on the output.

Discussion Status

The discussion is active, with participants clarifying their understanding of the problem and exploring different aspects of the mathematical relationships involved. Some guidance has been offered regarding the application of Taylor expansion to analyze the precision, but there is no explicit consensus on the best approach yet.

Contextual Notes

Participants are working within the constraints of a programming exercise and are considering the implications of measurement errors in a geometric context. There is an emphasis on the inverse problem of selecting instruments based on desired precision outcomes.

mPlummers
Messages
12
Reaction score
1
Homework Statement
I have a data point ##x_{true}##, without error. I also have a function ##f(x_{true})=y_{true}##. I have to obtain a simulated measurement, adding to this data point a relative error (and so i'll pass from ##x_{true}## to a ##x_{measurement}##). The goal is to find the amount of relative error to add to ##x_{true}## to obtain a measurement of ##y_{measurement}## with 1% precision.
Relevant Equations
Relative error: ##(y_{true}-y_{measurement})/y_{measurement}##
NOTE: this is a programming exercise (Python).
I started adding to ##x_{true}## an error related to a (for example) 10% relative error, obtaining ##x_{measurement}##. Then i computed ##y_{measurement}##. To find the precision, i calculated ##(y_{true}-y_{measurement})/y_{measurement}##. If it is correct, what i want to do is to use several relative error values, compute the precision and look for the closest to 1%.
 
Physics news on Phys.org
If I understand the problem, your goal is to be able to produce y values with a 1% relative error. Your challenge is to find a distribution of x values that result in y values that satisfy this criterion.

Question: does the graph of f() have a reasonably constant slope in the neighborhood of ##(x_{true},y_{true})##. More specifically in the neighborhood where ##.99\ y_{true} < y < 1.01\ y_{true}##?
 
Yes, the goal is to find the correct amount of relative error on ##x_{meas}## to obtain a 1% precision on ##y_{meas}##. The teacher told us that this is the inverse problem of finding the right instrument (in terms of precision) depending on the relative error you want to obtain. The function is ##y=\sqrt{(x_{1}-x_{1,c})^{2}+(x_{2}-x_{2,c})^{2}}##, it returns the radius of a circle, given the center coordinates. One of the coordinate doesn't have any error, while the other one is the ##x## i mentioned in the first post. How can i calculate the precision? I used the same formula of relative error, but I'm not sure.
 
Last edited:
mPlummers said:
Yes, the goal is to find the correct amount of relative error on ##x_{meas}## to obtain a 1% precision on ##y_{meas}##. The teacher told us that this is the inverse problem of finding the right instrument (in terms of precision) depending on the relative error you want to obtain. The function is ##y=\sqrt{(x_{1}-x_{1,c})^{2}+(x_{2}-x_{2,c})^{2}}##, it returns the radius of a circle, given the center coordinates. One of the coordinate doesn't have any error, while the other one is the ##x## i mentioned in the first post. How can i calculate the precision? I used the same formula of relative error, but I'm not sure.
I assume you mean you are given the centre exactly and a circumferential point approximately. This is not quite the same as in post #1 since you now have two uncertain values... or is one coordinate of the point on the circumference known exactly too?
 
Exactly, one of the point coordinates has no error, while the other one has a relative error. That's why in the first post i simplified the problem from 2D to 1D . In the second post i wrote the real problem to show the function i have to use.
 
mPlummers said:
Exactly, one of the point coordinates has no error, while the other one has a relative error. That's why in the first post i simplified the problem from 2D to 1D . In the second post i wrote the real problem to show the function i have to use.
Ok.
Replace x2 in your expression for y with x2(1+ε). Apply a Taylor expansion to get it into the form ##\sqrt{(x_{1}-x_{1,c})^{2}+(x_{2}-x_{2,c})^{2}}(1+A\epsilon+...)##.
 
  • Like
Likes   Reactions: mPlummers

Similar threads

Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
835
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
15
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
9
Views
7K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K