Tool to find the vertex form of a polynomial. The vertex form of a quadratic polynomial is an expressed form where the variable x appears only once.
Vertex Form of a Quadratic - dCode
Tag(s) : Symbolic Computation
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
A quadratic polynomial $ p(x)=ax^2+bx+c $ (with $ a $ not null) can be written in a canonical form $ p(x)=a(x−\alpha)^2+\beta $ with $ \alpha $ and $ \beta $ real numbers (the coefficient $ a $ is the same as in the first equation).
To find the canonical form of a polynomial of degree 2 of type $ p(x) = ax^2 + bx + c $ use the formula:
$$ p(x) = a \left( \left( x + \frac{b}{2a} \right)^2 \right) + \left( \frac{-b^2}{4a} + c \right) $$
Note: the polynomial is indeed in the format $ p(x) = a(x−\alpha)^2 + \beta $ with $ \alpha = \frac{-b}{2a} $ and $ \beta = c-\frac{b^2}{4a} $
The principle is to factorize the second degree coefficient to remove the first degree coefficient.
Example: The polynomial of order two $ x^2-4x+6 $ can be written $ (x-2)^2+2 $
dCode converter to vertex form calculator uses multiple methods to find the canonical form of a polynomial function of second degree, including the completion of the square or Tschirnhaus transformation (both using mathematical expression factorization).
Among other uses, the canonical form makes it possible to determine the coordinates of the extremum of the polynomial function $ p(x) = ax^2 + bx + c = a(x−\alpha)^2 + \beta $. Indeed, $ \beta $ is an extremum reached when $ x = \alpha $. The extremum has coordinates $ ( \alpha, \beta ) $ i.e. $ \left( \frac{-b}{2a}, c-\frac{b^2}{4a} \right) $
It is possible to generalize the approach to degrees $ n $ (superior to $ 2 $) by removing the term of degree $ n-1 $ using appropriate factors.
For a polynomial $$ p(x) = a_n x^n + a_{n-1} x^{n-1} + a_{n-2} x^{n-2} + \cdots + a_1 x + a_0 $$ the Tschirnhaus transformation consists in writing it as $$ p(x) = k x^n + c $$
The result is called depressed polynomial and the technique is polynomial depression.
dCode retains ownership of the "Vertex Form of a Quadratic" source code. Except explicit open source licence (indicated Creative Commons / free), the "Vertex Form of a Quadratic" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or the "Vertex Form of a Quadratic" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Vertex Form of a Quadratic" are not public, same for offline use on PC, tablet, iPhone or Android !
The copy-paste of the page "Vertex Form of a Quadratic" or any of its results, is allowed as long as you cite the online source
Reminder : dCode is free to use.