A quadratic expression is one of the most important algebraic patterns you will meet in Standard Mathematics because it appears in models of area, motion, profit, and many other contexts.
To work confidently with quadratics, you need to be fluent in two opposite processes:
Expanding (multiplying out brackets to remove them)
Factorizing (rewriting an expression as a product of brackets)
Quadratic Expressions Are Defined By Their Highest Power
Definition
Quadratic expression
An algebraic expression in one variable whose highest exponent is 2 (and with a non-zero $x^2$ term). It can be written in the form $ax^2+bx+c$ where $a\neq 0$.
A useful way to recognize a quadratic is to look for the highest power of the variable.
$x^2-5x-14$ is quadratic (highest power is 2).
$3x^2+2x$ is quadratic.
$2y-5y^2+7$ is quadratic (it still has a $y^2$ term, even if the order is mixed).
Not quadratic:
$x^3-5x-14$ is cubic (highest power is 3).
$8t+12$ is linear (highest power is 1).
$x^2+3y-25$ is not a quadratic in one variable because it has two different variables.
Common Mistake
A common mistake is to think an expression is quadratic just because it contains an $x^2$ term.
If there is also a higher power (like $x^3$), then it is not quadratic.
Expanding Brackets Creates An Equivalent Expression
When you expand, you do not change the value of the expression, you only change its form.
In algebra we often show this with the symbol $\equiv$, meaning identically equal.
Example
$$3(x-2) \equiv 3x-6$$
This is always true, for any value of $x$.
Note
An equation is only true for particular values (solutions).
For instance, $3x+5=17$ is true only for specific $x$, so it is not an identity.
Expanding Two Binomials (FOIL / Grid Method)
A very common quadratic form comes from multiplying two binomials (two-term brackets): $$(x+p)(x+q)$$
Expand by multiplying every term in the first bracket by every term in the second: $$(x+p)(x+q)=x\cdot x+x\cdot q+p\cdot x+p\cdot q$$
Combine like terms: $$(x+p)(x+q)=x^2+(p+q)x+pq$$
Tip
When you expand $(x+p)(x+q)$, the coefficient of $x$ is the sum $p+q$, and the constant term is the product $pq$.