Taylor expansion of an unknown function

  • #1
Alex_F
7
1
TL;DR Summary
Taylor series expansion or polynomial regression which is the correct term here for finding an analytical estimate for an unknown function?
Hello,

I have a question regarding the Taylor expansion of an unknown function and I would be tanksful to have your comments on that.

Suppose we want to find an analytical estimate for an unknown function. The available information for this function is; its exact value at x0 (f0) and first derivative at x0 (f0'), and its exact value at x=x1 (f1) which is far from x0. This means that we only need to find the second derivative through solving f1 = f0 + f0'*(x1-x0) + (f"0/2)*(x1-x0)^2 to form the truncated Taylor series for f.

My question is that whether the obtained quadratic function is the result of Taylor series expansion or polynomial regression?
 
Last edited:
Physics news on Phys.org
  • #2
If you are sure that the function does not have any higher order term components, e.g. ##x^3, x^4##, it is Taylor series, otherwise not. Though I do not know much about polynomial regression, it is often used for statistical data so I am not sure if it applies here.
 
  • #3
Alex_F said:
Suppose we want to find an analytical estimate for an unknown function. The available information for this function is; its exact value at x0 (f0) and first derivative at x0 (f0'), and its exact value at x=x1 (f1) which is far from x0. This means that we only need to find the second derivative through solving f1 = f0 + f0'*(x1-x0) + (f"0/2)*(x1-x0)^2 to form the truncated Taylor series for f.
OK, nothing unusual here, we are just talking about ## s = ut + \frac12 at^2 ##.

Alex_F said:
My question is that whether the obtained quadratic function is the result of Taylor series expansion or polynomial regression?
Well it's certainly not polynomial regression; I wouldn't personally use the term 'Taylor series expansion' either - perhaps 'truncated Taylor series curve fitting'? Why do you need a name anyway? I'd just call it "solving for constant f''(x)", or for the example I gave "solving for acceleration".
 
  • Like
Likes Alex_F and suremarc
  • #4
pbuk said:
OK, nothing unusual here, we are just talking about s=ut+12at2.Well it's certainly not polynomial regression; I wouldn't personally use the term 'Taylor series expansion' either - perhaps 'truncated Taylor series curve fitting'? Why do you need a name anyway? I'd just call it "solving for constant f''(x)", or for the example I gave "solving for acceleration".

Thanks for your answer. You are right, it is definitely not a Taylor expansion. I think we can call it quadratic polynomial fit as the results are identical when you fit a second-order polynomial to the available data. I checked this for couple of functions and it should be also possible to prove it analytically.

I needed a name, first to better know what I was doing and second to write in a report about it. However, I got rid of this as it was just a curve fitting using very few data. Moreover, this type of fitting would also give me misleading information on the function behavior around x0.
 
  • #5
I would call that polynomial interpolation. If I recall correctly Hermite type. Given the value of a function and/or its some derivatives we can look for a polynomial that has the same values. If as in your example whenever we know a derivative we know all lower derivative and including the 0th (function value) this can always be done uniquely. If some derivatives are missing (Birkhoff type) we may have no solution or multiple solutions.
 
  • Like
Likes Alex_F and pbuk
  • #6
lurflurf said:
I would call that polynomial interpolation. If I recall correctly Hermite type.
Yes, (quadratic) Hermite interpolation is the best description.
 

Similar threads

Back
Top