Bruno Tolentino
- 96
- 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:
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
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...
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:
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
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...