Changing format of the equation of interpolation

Bruno Tolentino
Messages
96
Reaction score
0
Give 2 points: (a, f(a)) and (b, f(b)), is possible plot a line function L(x) that intersects these two points, the linear function is:

L(x) = f(b) \frac{(x - a)}{(b-a)} + f(a) \frac{(x-b)}{(a-b)}

In other format, is:

L(x)-f(a) = \frac{f(b)-f(a)}{(b-a)} (x-a)

Now, given 3 points: (a, f(a)), (m, f(m)) and (b, f(b)), is possible too plot a quadratic function P(x) that intersects these three points, and the quadratic function is:

5c315199fec37d3fa3ba45a70fff1545.png


And what I REALLY WANT is change the format of the function P(x) for a new format of equation where all factors are the form (u-v).

Here are some relationships that can help you to help me:
https://en.wikipedia.org/wiki/Linear_equation#Two-point_form
https://en.wikipedia.org/wiki/Linear_equation#2D_vector_determinant_form
https://en.wikipedia.org/wiki/Simpson's_rule#Quadratic_interpolation
https://pt.wikipedia.org/wiki/Polinômio_de_Lagrange#Polin.C3.B4mios_de_Lagrange
https://en.wikipedia.org/wiki/Mean_value_theorem
https://pt.wikipedia.org/wiki/Matriz_de_Vandermonde

Interpolação de segunda ordem (2D).png
nth derivative.png


Equation of hyperbola:
\left( \frac{x}{a} \right)^2 - \left( \frac{y}{b} \right)^2 = 1
Equation of elipse:
\left( \frac{x}{a} \right)^2 + \left( \frac{y}{b} \right)^2 = 1
Equation of parabola:
\left( \frac{x}{a} \right)^2 + \left( \frac{y}{b} \right) = 1
Equation of straight line:
\left( \frac{x}{a} \right) - \left( \frac{y}{b} \right) = 1

This is a horrible question, because involves so much algebraic operations, for this reason I posted all these relationship above, because, maybe you can to get the answer for my question without make counts, just comparing the symmetry...
 
Mathematics news on Phys.org
It is not clear in what way what you want is different from the display.
 
Realize that the 2nd equation is of the form: (u-v) = (u-v)/(u-v) * (u-v), all factors are of the form (u-v). This is not true for the 1nd equation, that is of the form w = w (u-v)/(u-v) + w (u-v)/(u-v), the same happens with the 3nd equation, I would like of rewrite all factors in the form (u-v), obviously, P(x), f(a), f(m) and f(b) are separated factors.
 
EDIT: I got my answer!

Calling a of x3, m of x2 and b of x1 and f(a) of y3, f(m) of y2 and f(b) of y3, the answer for my question is:

(y - y_1) = \frac{(y_3 - y_1)}{(x_3 - x_2)(x_3 - x_1)} (x-x_2)(x-x_1) + \frac{(y_2 - y_1)}{(x_2 - x_1)(x_2 - x_3)} (x-x_1)(x-x_3)

BUT, my second question is: is possible isolate all the y terms in the left side of equation and isolate all the x terms in the right side? (independent of the format of equation, the important, for my is just isolate the terms x and y) If yes, so, you can help me make this?
 
Last edited:
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top