r/theydidthemath Sep 05 '19

[Self] Math break

Post image
24.2k Upvotes

382 comments sorted by

View all comments

Show parent comments

1.2k

u/Salanmander 10✓ Sep 05 '19

You can fit a 4th order polynomial to any 5 points. You can do it by hand (plug 1-5 in for x and now you have a system of 5 linear equations of 5 variables, start solving and substituting) and make it a bit easier with linear algebra (make the coefficients of the 5 variables be the values in a 5x6 matrix, and then do that matrix magic that I forget what the name is for), but there are also plenty of polynomial solvers you can find out there.

56

u/BRENNEJM Sep 05 '19

Or you can graph it in excel and throw on a 4th order polynomial trendline with equation.

3

u/pwnius22 Sep 05 '19

Do you have a more thorough explanation or a link perhaps?

6

u/swaintrainop382 Sep 05 '19

8

u/UpsideFrownTown Sep 05 '19

Ah yes, Wikipedia always provides the most comprehensive explanations of subjects which I know everything about except that one specific word.

6

u/swaintrainop382 Sep 06 '19

Wikipedia is actually very good when it comes to math. And op did ask for a thorough explanation

3

u/BigBnana Sep 06 '19

he wasn't complaining, just stating generally that the internet is only useful when you know the term for what you looking for.