Given four points how can I find an equation for any pattern? [on hold]Explanation of Lagrange Interpolating PolynomialHow to find what a given series/sequence converges toA complex sequence that has $n$ limit points, for any natural number $n$;How do you find such points?how can I find roots of $x^2+px+q=0$ using iterative methods?How to find the fixed points of $sin(1/x)$?Any function that equals $0$ a.e. implies Lebesgue integral also equals $0$How can we find the largest $B$ that the implications of the implicit function theorem hold?How to find radius of convergence of given rational function?How to find lower Riemann integral in given function?How can I prove that for any n≥1, n points can be found in $mathcalC[0,1]$ such that in the d metric, the distance between any two points equals 1?

How likely are Coriolis-effect-based quirks to develop in starship crew members?

How to avoid making self and former employee look bad when reporting on fixing former employee's work?

Why is it wrong to *implement* myself a known, published, widely believed to be secure crypto algorithm?

Why do unstable nuclei form?

What's the "magic similar to the Knock spell" referenced in the Dungeon of the Mad Mage adventure?

Double underlining a result in a system of equations with calculation steps on the right side

A Latin text with dependency tree

Is there any evidence to support the claim that the United States was "suckered into WW1" by Zionists, made by Benjamin Freedman in his 1961 speech

Is every story set in the future "science fiction"?

Can I bring back Planetary Romance as a genre?

How can I make parentheses stick to formula?

What's the difference between "ricochet" and "bounce"?

Does a surprised creature obey the 1st level spell Command?

Can I use a 11-23 11-speed shimano cassette with the RD-R8000 11-speed Ultegra Shadow Rear Derailleur (short cage)?

Is there a need for better software for writers?

How is Arya still alive?

Integral with DiracDelta. Can Mathematica be made to solve this?

how to find out if there's files in a folder and exit accordingly (in KSH)

Rusty Chain and back cassette – Replace or Repair?

Publishing an article in a journal without a related degree

Ugin's Conjurant vs. un-preventable damage

Thawing Glaciers return to hand interaction

What's an appropriate age to involve kids in life changing decisions?

How to find the transfer orbit from a initial circular orbit to a final elliptical orbit



Given four points how can I find an equation for any pattern? [on hold]


Explanation of Lagrange Interpolating PolynomialHow to find what a given series/sequence converges toA complex sequence that has $n$ limit points, for any natural number $n$;How do you find such points?how can I find roots of $x^2+px+q=0$ using iterative methods?How to find the fixed points of $sin(1/x)$?Any function that equals $0$ a.e. implies Lebesgue integral also equals $0$How can we find the largest $B$ that the implications of the implicit function theorem hold?How to find radius of convergence of given rational function?How to find lower Riemann integral in given function?How can I prove that for any n≥1, n points can be found in $mathcalC[0,1]$ such that in the d metric, the distance between any two points equals 1?













0












$begingroup$


If for example I know that there's a function f(x) that equals 1 at x=8, 8 at x=32, 36 at x=64, 98 at x=128.
How can I find the expression for this pattern or any other pattern?










share|cite|improve this question







New contributor



Mohammad AlSaqqa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$



put on hold as off-topic by user21820, YuiTo Cheng, Cesareo, RRL, max_zorn 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – user21820, YuiTo Cheng, Cesareo, RRL, max_zorn
If this question can be reworded to fit the rules in the help center, please edit the question.











  • 3




    $begingroup$
    You're not guaranteed one unique pattern/function. You can use polynomial interpolation to get a formula $f$ where $deg(f) = n-1$ if you have have $n$ pairs $(x,f(x))$. Said $f$ will even be unique. But higher degree polynomials could also fit it, infinitely many in fact. And this is all just polynomial functions mind you.
    $endgroup$
    – Eevee Trainer
    May 6 at 2:36
















0












$begingroup$


If for example I know that there's a function f(x) that equals 1 at x=8, 8 at x=32, 36 at x=64, 98 at x=128.
How can I find the expression for this pattern or any other pattern?










share|cite|improve this question







New contributor



Mohammad AlSaqqa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$



put on hold as off-topic by user21820, YuiTo Cheng, Cesareo, RRL, max_zorn 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – user21820, YuiTo Cheng, Cesareo, RRL, max_zorn
If this question can be reworded to fit the rules in the help center, please edit the question.











  • 3




    $begingroup$
    You're not guaranteed one unique pattern/function. You can use polynomial interpolation to get a formula $f$ where $deg(f) = n-1$ if you have have $n$ pairs $(x,f(x))$. Said $f$ will even be unique. But higher degree polynomials could also fit it, infinitely many in fact. And this is all just polynomial functions mind you.
    $endgroup$
    – Eevee Trainer
    May 6 at 2:36














0












0








0





$begingroup$


If for example I know that there's a function f(x) that equals 1 at x=8, 8 at x=32, 36 at x=64, 98 at x=128.
How can I find the expression for this pattern or any other pattern?










share|cite|improve this question







New contributor



Mohammad AlSaqqa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$




If for example I know that there's a function f(x) that equals 1 at x=8, 8 at x=32, 36 at x=64, 98 at x=128.
How can I find the expression for this pattern or any other pattern?







real-analysis






share|cite|improve this question







New contributor



Mohammad AlSaqqa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|cite|improve this question







New contributor



Mohammad AlSaqqa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|cite|improve this question




share|cite|improve this question






New contributor



Mohammad AlSaqqa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked May 6 at 2:33









Mohammad AlSaqqaMohammad AlSaqqa

101




101




New contributor



Mohammad AlSaqqa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




Mohammad AlSaqqa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






put on hold as off-topic by user21820, YuiTo Cheng, Cesareo, RRL, max_zorn 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – user21820, YuiTo Cheng, Cesareo, RRL, max_zorn
If this question can be reworded to fit the rules in the help center, please edit the question.







put on hold as off-topic by user21820, YuiTo Cheng, Cesareo, RRL, max_zorn 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – user21820, YuiTo Cheng, Cesareo, RRL, max_zorn
If this question can be reworded to fit the rules in the help center, please edit the question.







  • 3




    $begingroup$
    You're not guaranteed one unique pattern/function. You can use polynomial interpolation to get a formula $f$ where $deg(f) = n-1$ if you have have $n$ pairs $(x,f(x))$. Said $f$ will even be unique. But higher degree polynomials could also fit it, infinitely many in fact. And this is all just polynomial functions mind you.
    $endgroup$
    – Eevee Trainer
    May 6 at 2:36













  • 3




    $begingroup$
    You're not guaranteed one unique pattern/function. You can use polynomial interpolation to get a formula $f$ where $deg(f) = n-1$ if you have have $n$ pairs $(x,f(x))$. Said $f$ will even be unique. But higher degree polynomials could also fit it, infinitely many in fact. And this is all just polynomial functions mind you.
    $endgroup$
    – Eevee Trainer
    May 6 at 2:36








3




3




$begingroup$
You're not guaranteed one unique pattern/function. You can use polynomial interpolation to get a formula $f$ where $deg(f) = n-1$ if you have have $n$ pairs $(x,f(x))$. Said $f$ will even be unique. But higher degree polynomials could also fit it, infinitely many in fact. And this is all just polynomial functions mind you.
$endgroup$
– Eevee Trainer
May 6 at 2:36





$begingroup$
You're not guaranteed one unique pattern/function. You can use polynomial interpolation to get a formula $f$ where $deg(f) = n-1$ if you have have $n$ pairs $(x,f(x))$. Said $f$ will even be unique. But higher degree polynomials could also fit it, infinitely many in fact. And this is all just polynomial functions mind you.
$endgroup$
– Eevee Trainer
May 6 at 2:36











2 Answers
2






active

oldest

votes


















4












$begingroup$

The process is called "interpolation". There are an indefinite number of ways to do this for a given set of points.



One way is Lagrange Interpolation which I discuss in the answer linked below :



Explanation of Lagrange Interpolating Polynomial




I have plotted the Lagrange Polynomial for your curve on Desmos. You can see that it matches the pattern you gave. You can interact with the plot by clicking on the link below.



enter image description here



https://www.desmos.com/calculator/enavzwsl09






share|cite|improve this answer











$endgroup$








  • 1




    $begingroup$
    Thanks a bunch! this is very helpful
    $endgroup$
    – Mohammad AlSaqqa
    May 6 at 2:50










  • $begingroup$
    I'm glad it was helpful :). I noticed that you were having issues implementing the Lagrange Interpolating polynomial provided by J. W. Tanner, so I implemented it my self in Desmos. Hopefully that can clear things up for you.
    $endgroup$
    – Spencer
    May 6 at 4:11


















3












$begingroup$

Here's one (not simplified):



$f(x)=dfrac(x-32)(x-64)(x-128)(8-32)(8-64)(8-128)1+dfrac(x-8)(x-64)(x-128)(32-8)(32-64)(32-128)8$



$;+dfrac(x-8)(x-32)(x-128)(64-8)(64-32)(64-128)36+dfrac(x-8)(x-32)(x-64)(128-8)(128-32)(128-64)98$






share|cite|improve this answer











$endgroup$












  • $begingroup$
    this equation gave back 68687616x^3-6932668416x^2+186621886464x-1080117166080 which did not fit the curve
    $endgroup$
    – Mohammad AlSaqqa
    May 6 at 3:40











  • $begingroup$
    I had a typo. ($28$ instead of $128$), which I just corrected
    $endgroup$
    – J. W. Tanner
    May 6 at 3:48










  • $begingroup$
    It still does not fit the curve, is my pattern maybe can't be represented as a polynomial?
    $endgroup$
    – Mohammad AlSaqqa
    May 6 at 3:54










  • $begingroup$
    There are many polynomials that fit the four points you gave; I showed how to get one of them
    $endgroup$
    – J. W. Tanner
    2 days ago










  • $begingroup$
    I see that the function I gave is now plotted in the other answer
    $endgroup$
    – J. W. Tanner
    2 days ago

















2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









4












$begingroup$

The process is called "interpolation". There are an indefinite number of ways to do this for a given set of points.



One way is Lagrange Interpolation which I discuss in the answer linked below :



Explanation of Lagrange Interpolating Polynomial




I have plotted the Lagrange Polynomial for your curve on Desmos. You can see that it matches the pattern you gave. You can interact with the plot by clicking on the link below.



enter image description here



https://www.desmos.com/calculator/enavzwsl09






share|cite|improve this answer











$endgroup$








  • 1




    $begingroup$
    Thanks a bunch! this is very helpful
    $endgroup$
    – Mohammad AlSaqqa
    May 6 at 2:50










  • $begingroup$
    I'm glad it was helpful :). I noticed that you were having issues implementing the Lagrange Interpolating polynomial provided by J. W. Tanner, so I implemented it my self in Desmos. Hopefully that can clear things up for you.
    $endgroup$
    – Spencer
    May 6 at 4:11















4












$begingroup$

The process is called "interpolation". There are an indefinite number of ways to do this for a given set of points.



One way is Lagrange Interpolation which I discuss in the answer linked below :



Explanation of Lagrange Interpolating Polynomial




I have plotted the Lagrange Polynomial for your curve on Desmos. You can see that it matches the pattern you gave. You can interact with the plot by clicking on the link below.



enter image description here



https://www.desmos.com/calculator/enavzwsl09






share|cite|improve this answer











$endgroup$








  • 1




    $begingroup$
    Thanks a bunch! this is very helpful
    $endgroup$
    – Mohammad AlSaqqa
    May 6 at 2:50










  • $begingroup$
    I'm glad it was helpful :). I noticed that you were having issues implementing the Lagrange Interpolating polynomial provided by J. W. Tanner, so I implemented it my self in Desmos. Hopefully that can clear things up for you.
    $endgroup$
    – Spencer
    May 6 at 4:11













4












4








4





$begingroup$

The process is called "interpolation". There are an indefinite number of ways to do this for a given set of points.



One way is Lagrange Interpolation which I discuss in the answer linked below :



Explanation of Lagrange Interpolating Polynomial




I have plotted the Lagrange Polynomial for your curve on Desmos. You can see that it matches the pattern you gave. You can interact with the plot by clicking on the link below.



enter image description here



https://www.desmos.com/calculator/enavzwsl09






share|cite|improve this answer











$endgroup$



The process is called "interpolation". There are an indefinite number of ways to do this for a given set of points.



One way is Lagrange Interpolation which I discuss in the answer linked below :



Explanation of Lagrange Interpolating Polynomial




I have plotted the Lagrange Polynomial for your curve on Desmos. You can see that it matches the pattern you gave. You can interact with the plot by clicking on the link below.



enter image description here



https://www.desmos.com/calculator/enavzwsl09







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited May 6 at 4:10

























answered May 6 at 2:35









SpencerSpencer

9,27222357




9,27222357







  • 1




    $begingroup$
    Thanks a bunch! this is very helpful
    $endgroup$
    – Mohammad AlSaqqa
    May 6 at 2:50










  • $begingroup$
    I'm glad it was helpful :). I noticed that you were having issues implementing the Lagrange Interpolating polynomial provided by J. W. Tanner, so I implemented it my self in Desmos. Hopefully that can clear things up for you.
    $endgroup$
    – Spencer
    May 6 at 4:11












  • 1




    $begingroup$
    Thanks a bunch! this is very helpful
    $endgroup$
    – Mohammad AlSaqqa
    May 6 at 2:50










  • $begingroup$
    I'm glad it was helpful :). I noticed that you were having issues implementing the Lagrange Interpolating polynomial provided by J. W. Tanner, so I implemented it my self in Desmos. Hopefully that can clear things up for you.
    $endgroup$
    – Spencer
    May 6 at 4:11







1




1




$begingroup$
Thanks a bunch! this is very helpful
$endgroup$
– Mohammad AlSaqqa
May 6 at 2:50




$begingroup$
Thanks a bunch! this is very helpful
$endgroup$
– Mohammad AlSaqqa
May 6 at 2:50












$begingroup$
I'm glad it was helpful :). I noticed that you were having issues implementing the Lagrange Interpolating polynomial provided by J. W. Tanner, so I implemented it my self in Desmos. Hopefully that can clear things up for you.
$endgroup$
– Spencer
May 6 at 4:11




$begingroup$
I'm glad it was helpful :). I noticed that you were having issues implementing the Lagrange Interpolating polynomial provided by J. W. Tanner, so I implemented it my self in Desmos. Hopefully that can clear things up for you.
$endgroup$
– Spencer
May 6 at 4:11











3












$begingroup$

Here's one (not simplified):



$f(x)=dfrac(x-32)(x-64)(x-128)(8-32)(8-64)(8-128)1+dfrac(x-8)(x-64)(x-128)(32-8)(32-64)(32-128)8$



$;+dfrac(x-8)(x-32)(x-128)(64-8)(64-32)(64-128)36+dfrac(x-8)(x-32)(x-64)(128-8)(128-32)(128-64)98$






share|cite|improve this answer











$endgroup$












  • $begingroup$
    this equation gave back 68687616x^3-6932668416x^2+186621886464x-1080117166080 which did not fit the curve
    $endgroup$
    – Mohammad AlSaqqa
    May 6 at 3:40











  • $begingroup$
    I had a typo. ($28$ instead of $128$), which I just corrected
    $endgroup$
    – J. W. Tanner
    May 6 at 3:48










  • $begingroup$
    It still does not fit the curve, is my pattern maybe can't be represented as a polynomial?
    $endgroup$
    – Mohammad AlSaqqa
    May 6 at 3:54










  • $begingroup$
    There are many polynomials that fit the four points you gave; I showed how to get one of them
    $endgroup$
    – J. W. Tanner
    2 days ago










  • $begingroup$
    I see that the function I gave is now plotted in the other answer
    $endgroup$
    – J. W. Tanner
    2 days ago















3












$begingroup$

Here's one (not simplified):



$f(x)=dfrac(x-32)(x-64)(x-128)(8-32)(8-64)(8-128)1+dfrac(x-8)(x-64)(x-128)(32-8)(32-64)(32-128)8$



$;+dfrac(x-8)(x-32)(x-128)(64-8)(64-32)(64-128)36+dfrac(x-8)(x-32)(x-64)(128-8)(128-32)(128-64)98$






share|cite|improve this answer











$endgroup$












  • $begingroup$
    this equation gave back 68687616x^3-6932668416x^2+186621886464x-1080117166080 which did not fit the curve
    $endgroup$
    – Mohammad AlSaqqa
    May 6 at 3:40











  • $begingroup$
    I had a typo. ($28$ instead of $128$), which I just corrected
    $endgroup$
    – J. W. Tanner
    May 6 at 3:48










  • $begingroup$
    It still does not fit the curve, is my pattern maybe can't be represented as a polynomial?
    $endgroup$
    – Mohammad AlSaqqa
    May 6 at 3:54










  • $begingroup$
    There are many polynomials that fit the four points you gave; I showed how to get one of them
    $endgroup$
    – J. W. Tanner
    2 days ago










  • $begingroup$
    I see that the function I gave is now plotted in the other answer
    $endgroup$
    – J. W. Tanner
    2 days ago













3












3








3





$begingroup$

Here's one (not simplified):



$f(x)=dfrac(x-32)(x-64)(x-128)(8-32)(8-64)(8-128)1+dfrac(x-8)(x-64)(x-128)(32-8)(32-64)(32-128)8$



$;+dfrac(x-8)(x-32)(x-128)(64-8)(64-32)(64-128)36+dfrac(x-8)(x-32)(x-64)(128-8)(128-32)(128-64)98$






share|cite|improve this answer











$endgroup$



Here's one (not simplified):



$f(x)=dfrac(x-32)(x-64)(x-128)(8-32)(8-64)(8-128)1+dfrac(x-8)(x-64)(x-128)(32-8)(32-64)(32-128)8$



$;+dfrac(x-8)(x-32)(x-128)(64-8)(64-32)(64-128)36+dfrac(x-8)(x-32)(x-64)(128-8)(128-32)(128-64)98$







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited May 6 at 3:47

























answered May 6 at 2:37









J. W. TannerJ. W. Tanner

6,4641521




6,4641521











  • $begingroup$
    this equation gave back 68687616x^3-6932668416x^2+186621886464x-1080117166080 which did not fit the curve
    $endgroup$
    – Mohammad AlSaqqa
    May 6 at 3:40











  • $begingroup$
    I had a typo. ($28$ instead of $128$), which I just corrected
    $endgroup$
    – J. W. Tanner
    May 6 at 3:48










  • $begingroup$
    It still does not fit the curve, is my pattern maybe can't be represented as a polynomial?
    $endgroup$
    – Mohammad AlSaqqa
    May 6 at 3:54










  • $begingroup$
    There are many polynomials that fit the four points you gave; I showed how to get one of them
    $endgroup$
    – J. W. Tanner
    2 days ago










  • $begingroup$
    I see that the function I gave is now plotted in the other answer
    $endgroup$
    – J. W. Tanner
    2 days ago
















  • $begingroup$
    this equation gave back 68687616x^3-6932668416x^2+186621886464x-1080117166080 which did not fit the curve
    $endgroup$
    – Mohammad AlSaqqa
    May 6 at 3:40











  • $begingroup$
    I had a typo. ($28$ instead of $128$), which I just corrected
    $endgroup$
    – J. W. Tanner
    May 6 at 3:48










  • $begingroup$
    It still does not fit the curve, is my pattern maybe can't be represented as a polynomial?
    $endgroup$
    – Mohammad AlSaqqa
    May 6 at 3:54










  • $begingroup$
    There are many polynomials that fit the four points you gave; I showed how to get one of them
    $endgroup$
    – J. W. Tanner
    2 days ago










  • $begingroup$
    I see that the function I gave is now plotted in the other answer
    $endgroup$
    – J. W. Tanner
    2 days ago















$begingroup$
this equation gave back 68687616x^3-6932668416x^2+186621886464x-1080117166080 which did not fit the curve
$endgroup$
– Mohammad AlSaqqa
May 6 at 3:40





$begingroup$
this equation gave back 68687616x^3-6932668416x^2+186621886464x-1080117166080 which did not fit the curve
$endgroup$
– Mohammad AlSaqqa
May 6 at 3:40













$begingroup$
I had a typo. ($28$ instead of $128$), which I just corrected
$endgroup$
– J. W. Tanner
May 6 at 3:48




$begingroup$
I had a typo. ($28$ instead of $128$), which I just corrected
$endgroup$
– J. W. Tanner
May 6 at 3:48












$begingroup$
It still does not fit the curve, is my pattern maybe can't be represented as a polynomial?
$endgroup$
– Mohammad AlSaqqa
May 6 at 3:54




$begingroup$
It still does not fit the curve, is my pattern maybe can't be represented as a polynomial?
$endgroup$
– Mohammad AlSaqqa
May 6 at 3:54












$begingroup$
There are many polynomials that fit the four points you gave; I showed how to get one of them
$endgroup$
– J. W. Tanner
2 days ago




$begingroup$
There are many polynomials that fit the four points you gave; I showed how to get one of them
$endgroup$
– J. W. Tanner
2 days ago












$begingroup$
I see that the function I gave is now plotted in the other answer
$endgroup$
– J. W. Tanner
2 days ago




$begingroup$
I see that the function I gave is now plotted in the other answer
$endgroup$
– J. W. Tanner
2 days ago



Popular posts from this blog

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form