Is there a general method to aproximate functions with ratios of polynomies?

Click For Summary

Discussion Overview

The discussion centers around the quest for a general method to approximate functions using ratios of polynomials, also known as rational functions. Participants explore various existing approximation methods, such as Taylor expansions and Fourier series, and express a particular interest in the computational efficiency and accuracy of rational functions for approximating statistical distributions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants suggest that existing methods like Taylor expansions and Fourier series do not provide the desired accuracy when approximating certain functions, particularly statistical distributions.
  • One participant notes that while there are papers discussing rational function approximation, they often begin with polynomial approximations, which may not be suitable for all cases.
  • Another participant introduces the concept of Padé approximants as a potential method for rational function approximation.
  • There is a discussion about the order of approximations, with one participant explaining that different orders can yield varying accuracy and that lower-order approximations may sometimes be sufficient.
  • One participant proposes using Fourier analysis to create a template rational function and project data onto it, suggesting a method involving orthonormal subspaces and the Gram-Schmidt process.
  • Participants express curiosity about the relationship between different methods, such as the use of Hermite polynomials and Padé approximants, and how they might compare in effectiveness.

Areas of Agreement / Disagreement

Participants do not reach a consensus on a general method for approximating functions with ratios of polynomials. Multiple competing views and approaches are presented, indicating that the discussion remains unresolved.

Contextual Notes

Some limitations are noted, such as the dependence on the initial polynomial approximation and the specific contexts in which different methods may be applicable. The discussion highlights the complexity of finding a universally applicable method for rational function approximation.

viraltux
Messages
250
Reaction score
0
Is there a general method to approximate functions with ratios of polynomies??

Hi All,

There is a variety of methods to approximate functions (Taylor expansions, Fourier series, Splines, Interpolation, ... ) yet, when it comes to approximate some statistical distributions none of these methods seems to be as computationally efficient and accurate as using ratios of polynomials. I know of several of these ratios in the literature to approximate Gaussian distributions, but what I fail to find is a general method to adjust any arbitrary function to ratios of polynomials.

So, do you happen to know if there is a general method to find the ratio of polynomials that better fits a function?

Thank you
 
Physics news on Phys.org


HallsofIvy said:

Hi HallsofIvy,

Thank you for the links,

The first paper shows a general method but is misses the point of the procedure since it first approximates the function with a polynomial so, in cases where this approximation is not good, the cases where we would actually want to use rational functions, the rational function will not be a good approximation either.

The second paper is more theoretical and goes on in properties and no so much in general procedures to approximate any arbitrary function.

The third link, the book, I didn't buy it, but I had the chance to have a look and the lectures titles and one of them is "Rational Approximation to [itex]e^x[/itex]" which makes me think that the state of the art of approximating arbitrary functions with rationals functions is a per case problem... Hence why I made this question.
 


viraltux said:
The first paper shows a general method but is misses the point of the procedure since it first approximates the function with a polynomial so, in cases where this approximation is not good, the cases where we would actually want to use rational functions, the rational function will not be a good approximation either.

I haven't read the paper, but your statement is missing the point that the approximations might be of different orders.

For example, if you approximate a function by a Taylor series, you may need a large number of terms to get high accuracy, but the largest errors often occur only at the ends of the interval, and the accuracy near the center is much higher than you need. If the highest term in the approxmation in this approximation ##P_n(x)## is ##x^n##, you can then approximate the ##x^n## term by a Chebyshev polynomial of order ##n-1## and get a new approximation ##P_{n-1}(x)## with a lower order. Often the maximum error of ##P_{n-1}## is no worse than ##P_n##, but the errors are spread more evenly across the whole range. Sometimes you can repeat this several times to get a good approximation with a much lower order than ##n##.

The same idea should apply to converting a polynomial approximation to a rational polynomial approximation.
 


You mentioned Fourier series, but the whole area of Fourier analysis is great if you want to find a good enough functional approximation for approximating a given function within an interval.

What you could do is to create a template rational function P(x)/Q(x) and create an orthonormal subspace and project your function or data to this new rational function.

You may have to derive this yourself using the Fourier analysis framework ideas and Gram-Schmidt process, but I recommend you check it out.

Examples of orthogonal polynomials and related include Bessel, Legendre, and Hermite just to name a few.
 


Mute said:
Is this what you're looking for?:

http://en.wikipedia.org/wiki/Padé_approximant

Oh! WOW! it certainly looks so, first time I hear about the Padé approximant! Thank you Mute!

AlephZero said:
I haven't read the paper, but your statement is missing the point that the approximations might be of different orders.

Well, of course, I didn't mean that he paper has no application in any case, I wouldn't be surprised if there are problems where is the right approach, but definitely not the general method I was asking for.

chiro said:
You mentioned Fourier series, but the whole area of Fourier analysis is great if you want to find a good enough functional approximation for approximating a given function within an interval.

What you could do is to create a template rational function P(x)/Q(x) and create an orthonormal subspace and project your function or data to this new rational function.

You may have to derive this yourself using the Fourier analysis framework ideas and Gram-Schmidt process, but I recommend you check it out.

Examples of orthogonal polynomials and related include Bessel, Legendre, and Hermite just to name a few.

It seems this must be one approach since the book link offered by HallsofIvy suggests in its index the use of Hermite Polynomials, so yours was a great insight. I wonder though how it plays against the Padé approximant. Anyway, more interesting stuff to check, thanks!



Thank you all guys for the feedback, it was very helpful!
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 16 ·
Replies
16
Views
12K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • Poll Poll
  • · Replies 1 ·
Replies
1
Views
5K
  • Poll Poll
  • · Replies 15 ·
Replies
15
Views
16K