Numerical analisys close numbers question

In summary, the conversation was about understanding the process of subtracting two close numbers and how it can result in a loss of significance. It was also discussed that the variable X is involved in this process and can potentially lead to a close or different result. The question of why multiplying and dividing by y=\sqrt{x^2+1}+1 can make the loss of significance go away was also raised. The resulting equation is x^2 in the numerator and a sum in the denominator. The conversation then shifted to discussing relative error, but there was uncertainty about this concept.
  • #1
nhrock3
415
0
[tex]y=\sqrt{x^2+1}-1[/tex]
how do we know that there is a subtraction of two close numbers thus making loss of significance?
there is no close numbers there is variable X
it could give use a close result or otherwise

and why multiplying and dividing by [tex]y=\sqrt{x^2+1}+1[/tex]
makes it go away?
 
Physics news on Phys.org
  • #2
nhrock3 said:
[tex]y=\sqrt{x^2+1}-1[/tex]
how do we know that there is a subtraction of two close numbers thus making loss of significance?
there is no close numbers there is variable X
it could give use a close result or otherwise

and why multiplying and dividing by [tex]y=\sqrt{x^2+1}+1[/tex]
makes it go away?

If x is very close to 0, you're subtracting 1 from a number that is very close to 1.
 
  • #3
thanks :)
 
  • #4
why multiplying and dividing by [tex]y=\sqrt{x^2+1}+1[/tex]
 
  • #5
What do you get when you do this multiplication?
[tex]\left(\sqrt{x^2+1}-1\right)\frac{\sqrt{x^2+1}+1}{\sqrt{x^2+1}+1}[/tex]
 
  • #6
we get x^2 in the nominator
and a sum in the denominator
now there is some stuff about relative error
but i don't know what?
 

FAQ: Numerical analisys close numbers question

What is numerical analysis?

Numerical analysis is a branch of mathematics that deals with developing and implementing algorithms and methods for solving mathematical problems using approximate numerical solutions. It is used to solve problems that are too complex to be solved analytically.

What are close numbers in numerical analysis?

Close numbers in numerical analysis refer to numbers that are close in value to each other. This can be determined by calculating the difference between two numbers and comparing it to a given tolerance level.

Why is it important to consider close numbers in numerical analysis?

It is important to consider close numbers in numerical analysis because they can lead to significant errors in calculations. If the difference between two numbers is within a certain tolerance level, it is important to use specialized methods to ensure greater accuracy in the results.

How do you handle close numbers in numerical analysis?

Close numbers can be handled in numerical analysis by using specialized methods such as rounding, truncating, or using more precise data types. These methods help to reduce the error in calculations and improve the accuracy of the results.

What are some applications of numerical analysis?

Numerical analysis has various applications in different fields such as engineering, physics, chemistry, economics, and computer science. Some common applications include solving differential equations, optimization problems, and data analysis.

Back
Top