
Originally Posted by
Hydra3847
After reading the various replies to this query, I do not think I stated my intentions clearly. I am trying to solve for a parabola that passes through three points.
Given 3 points (x1, y1), (x2, y2), (x3, y3), where x1=x, x2=x+1, x3=x+2
I want to solve the three equations simultaneously to get one generic equation for those three points. So obviously the three equations to solve simultaneously for would be
y1 = a*x1^2 + b*x1 + c = a*x^2 + bx + c
y2 = a*x2^2 + b*x2 + c = a*(x+1)^2 + bx + b + c = ax^2 + 2ax + a + bx + b + c
y3 = a*x3^2 + b*x3 + c = a*(x+2)^2 + bx + 2b + c = ax^2 + 4ax + 4a + bx + 2b + c
Sorry for any confusion caused.