General quadratic function

Definition

The general quadratic function has the following form: \[ f(x) = A(x-h)^2 + k, \] where $x$ is the input and $A,h$ and $k$ are the parameters.

Parameters

number inside the bracket $(\ )^2$ (i.e. positive $h$) makes the function go to the right.

If a quadratic crosses the $x$-axis, then it can be written in factored form \[ f(x) = (x-a)(x-b), \] where $a$ and $b$ are the two roots.

Another very common way of writing a quadratic function is \[ f(x) = Ax^2 + Bx + C. \]

Properties

the points have different $x$ coordinates $x_1 \neq x_2$, $x_2 \neq x_3$ and $x_1 \neq x_3$.

Graph

When $h=1$ (one unit shifted to the right) and $k=-2$ (two units shifted downwards), we get the following graph:

The graph of the function function $f(x)=(x-1)^2-2$ which is the same as the basic function $f(x)=x^2$ but shifted by one unit to the right and one two units downwards.