Y=ax^2+bx+c,是一般式,
Y=a(x^2+b/ax+c/a)
=a[x^2+b/ax+(b/2a)^2-(b/2a)^2+c/a]
=a(x+b/2a)^2+(4ac+b^2)/4a,此为顶点式,(进行配方就是).