Problem with function approximation

  • Context: Undergrad 
  • Thread starter Thread starter boniphacy
  • Start date Start date
  • Tags Tags
    Approximation Function
Click For Summary

Discussion Overview

The discussion revolves around the approximation of the function \( f(x,y) = \sqrt{\frac{1-2x}{1-y^2}} \) for small values of \( x \) and \( y \). Participants explore different methods of approximation, comparing their results and questioning the validity of each approach. The scope includes mathematical reasoning and technical exploration of approximation techniques.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants present two methods of approximating \( f(x,y) \) and note that the results differ by a term \( xy^2/2 \).
  • One participant suggests using specific small values for \( x \) and \( y \) to test the approximations.
  • Another participant points out that using first-order approximations may neglect significant higher-order terms, such as \( x^2 \), which could be more important than the \( xy^2 \) term.
  • Some participants propose that if \( x \) is assumed to be proportional to \( y^2 \), both approximations may be incorrect due to missing terms of the same order.
  • One participant argues that to include the \( xy^2 \) term, more terms should be included in the original approximations.
  • Another participant asserts that a first-order approximation cannot yield a valid second-order term, emphasizing the need for higher-order approximations for meaningful results.
  • There is a mention of a specific application of the function in general relativity, prompting a discussion about the correct approximation of a related equation up to second order.

Areas of Agreement / Disagreement

Participants express differing views on the validity of the approximations, with no consensus on which method is correct. Some argue for the necessity of including higher-order terms, while others maintain that only first-order terms should be used. The discussion remains unresolved regarding the best approach to approximation.

Contextual Notes

Participants highlight limitations in their approximations, including the neglect of significant higher-order terms and the implications of variable relationships, such as \( x \sim y^2 \). There is also a focus on the context of the function's application in general relativity, which may influence the choice of approximation methods.

boniphacy
Messages
9
Reaction score
1
We have a function:

## f(x,y)=\sqrt{\frac{1−2x}{1−y^2}} = \frac{\sqrt{1−2x}}{\sqrt{1−y^2}}##

for small x and y, we can use standard approximations:
## 1/\sqrt{1−x}=1+x/2+... ##
and
##\sqrt{1−x}=1−x/2−... ##

Ok. Now we can approximate the whole function f(x,y)

First method:
## \sqrt{\frac{1−2x}{1−y^2}}≈\sqrt{(1−2x)(1+y^2)}=1−x+y^2/2−xy^2 ##

Second method:
##\frac{\sqrt{1−2x}}{\sqrt{1−y^2}}≈(1−x)(1+y^2/2)=1−x+y^2/2−xy^2/2 ##

the both approx. are not equal, difference is: ##xy^2/2 ##!

So, which approximation is the correct one?
 
Physics news on Phys.org
boniphacy said:
We have a function:

## f(x,y)=\sqrt{\frac{1−2x}{1−y^2}} = \frac{\sqrt{1−2x}}{\sqrt{1−y^2}}##

for small x and y, we can use standard approximations:
## 1/\sqrt{1−x}=1+x/2+... ##
and
##\sqrt{1−x}=1−x/2−... ##

Ok. Now we can approximate the whole function f(x,y)

First method:
## \sqrt{\frac{1−2x}{1−y^2}}≈\sqrt{(1−2x)(1+y^2)}=1−x+y^2/2−xy^2 ##

Second method:
##\frac{\sqrt{1−2x}}{\sqrt{1−y^2}}≈(1−x)(1+y^2/2)=1−x+y^2/2−xy^2/2 ##

the both approx. are not equal, difference is: ##xy^2/2 ##!

So, which approximation is the correct one?
What about putting some small values for ##x## and ##y## into a calculator?
 
Even worse, if x and y are equally small, you've thrown out at least a ##x^2## term that is more important than the ##xy^2## term.

You took two first order approximations, and then you tried to assume you had a good second order approximation at the end. As you learned, that's not guaranteed to work.
 
  • Like
Likes   Reactions: DaveE
OK. We assume x ~ y^2, then: what is correct now?
 
boniphacy said:
OK. We assume x ~ y^2, then: what is correct now?
I'd say they are both wrong, as you have a cross term in ##xy^2##, but no terms in ##x^2## or ##y^4##, which should be of the same order.

PS Perhaps the first one is more wrong than the second one!
 
for x = y it is:
## \sqrt{\frac{1-2x}{1-x^2}} \approx 1 - x^2 - x^3 - x^4/2 + ... ##

so, the first looks is correct.

now try: y^2 = x
## \sqrt{\frac{1-2x}{1-x}} \approx 1 - x/2 - 5/8 x^2 + ... ##

?
fantastic.
 
I think the point we are really trying to get across is, if you want to use the ##xy^2## term then you need to include more terms in each of your original approximations.

Like ##\sqrt{1-x}\approx 1-x/2-x^2/8## instead of just taking the first term.
 
  • Like
Likes   Reactions: PeroK
This is forbidden. We can use the first terms only.

This function is used in the GR fantastic theory, exactly:
## E = mc^2 \frac{\sqrt{1-2GM/c^2r}}{\sqrt{1 - (r'^2 + h^2/r^2)/c^2}} ##
 
boniphacy said:
for x = y it is:
## \sqrt{\frac{1-2x}{1-x^2}} \approx 1 - x^2 - x^3 - x^4/2 + ... ##

so, the first looks is correct.

now try: y^2 = x
## \sqrt{\frac{1-2x}{1-x}} \approx 1 - x/2 - 5/8 x^2 + ... ##
This makes no sense. The original approximation doesn't have any terms involving y, so how can you replace x with ##y^2## or ##y^2## with x, or whatever it is that you're doing?
 
  • #10
Mark44 said:
This makes no sense. The original approximation doesn't have any terms involving y, so how can you replace x with ##y^2## or ##y^2## with x, or whatever it is that you're doing?
The original question had a y in the denominator...
 
  • #11
A first order approximation cannot give a good second order term. It might produce something that looks like a second order term but it's just meaningless. Use second order approximations if you want a useful second order term.
 
  • Informative
Likes   Reactions: Keith_McClary
  • #12
## E = mc^2 \frac{\sqrt{1-2GM/c^2r}}{\sqrt{1 - (r'^2 + h^2/r^2)/c^2}} ##

OK.
what is correct approximation of this equation, up to second order?

## E = mc^2 + mr'^2/2 + mh^2/2r^2 - mGM/r + the second order term ##

we can see 'the first order part' is perfectly Newtonian version.
 
  • #13
You can calculate the second order from derivatives with the usual formulas. Nothing special about GR here.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K