How Can Polynomial Decomposition Best Fit Experimental Data?

  • Context: Graduate 
  • Thread starter Thread starter Budbus
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around fitting a polynomial to experimental data representing a spectrum and determining the best combination of reference polynomials to achieve this fit. Participants explore methods for polynomial decomposition, coefficient matching, and the implications of using orthogonal polynomials.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant describes a program designed to fit a polynomial to experimental data and several reference datasets, seeking to find the best combination of reference polynomials for fitting.
  • Another participant suggests that the problem can be framed as solving a system of linear equations to match coefficients from the reference polynomials to the experimental polynomial.
  • A later reply expresses agreement with the previous suggestion and indicates optimism about its potential effectiveness.
  • Another participant introduces the concept of orthogonal polynomials and projections as a possible approach to the problem.
  • One participant raises concerns about the applicability of inner products and the uniqueness of polynomial decomposition, particularly if the reference polynomials are not orthogonal or if there are more reference polynomials than the degree of the input function.

Areas of Agreement / Disagreement

Participants express varying ideas about the methods for polynomial fitting and decomposition, with no consensus reached on the best approach or the implications of using orthogonal polynomials. Multiple competing views remain regarding the effectiveness and accuracy of the proposed methods.

Contextual Notes

Participants note potential limitations regarding the completeness and uniqueness of polynomial bases, as well as the challenges posed by the non-square integrability of polynomials over certain domains.

Budbus
Messages
3
Reaction score
0
Hello All,

I'll outline what I'm trying to do: I've written a program which will fit a polynomial to a set of data. The data represents a spectra. I want to be able to fit a ploynomial to an experimental data set and then also fit several reference data sets(which I've been able to do. So i have a polynomial for the experimental data and several for the reference sets.

What i want to do now is find out what combination of the reference polynomials wil best fit the experimental data set and therefore find the contribution of each reference to the final measured data. The problem is that the degree of each of the polynomials is not nesessarly the same.

Any ideas? do i make myself clear?

Thanks
 
Physics news on Phys.org
If I understand the problem correctly, it comes down to the following

E.g. if you have
[tex]a_1(x^2 + 3x + 3) + a_2(2 x^2 - x ) + a_3 (4 x - 1)[/tex]
and you want to match it to
[tex]5 x^2 + 6 x - 3[/tex]
Then you want to choose the coefficients such that ideally
[tex]a_1 + 2 a_2 = 5, 3a_1 - a_2 + 4a_3 = 6, 3a_1 - a_3 = -3[/tex]
or at least as close as possible.

E.g. you can reduce your problem to solving a system of linear equations, or finding a best fit. There are probably tons of methods for them, though I must admit I know none.
 
now why didn't i think of that!

You understood correctly and i think it's going to work.
Thanks a lot
 
I think you want the idea of orthogonal (orthonormal) polynomials and projections.
 
Yeah, I was also thinking in terms of defining an inner product [tex]\langle \cdot, \cdot \rangle[/tex], and then decomposing as
[tex]\sum \langle p_n, f \rangle p_n(x)[/tex]
but I'm not sure if this would work if the set of reference polynomials wasn't orthogonal (probably it will be either incomplete or over complete at the very least, which means that the decomposition might not exist or not be unique) and not even which inner product to take for polynomials (the usual definition
[tex]\langle f, g \rangle = \int_{-\infty}^\infty f(x) g(x) \, \mathrm dx[/tex]
will certainly not work as the polynomials are not square integrable --- unless the domain is finite [edit]hmm, if the data represents a spectrum, it probably is bounded... so this might work? Still leaves the problem to determine how good a basis the set of reference polynomials is though[/edit]).

I also have no idea how accurate the coefficient matching thing is, and how to get the best match if there is no exact solution for the system (e.g. there are more reference polynomials than the degree of the input function)
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
Replies
6
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
15K
  • · Replies 5 ·
Replies
5
Views
8K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K