How can you tell if an equation is quadratic and not linear?

Quadratic equations contain a term that is squared (such as x^2). Linear equations are of the form y = mx + b, where m and b are constants.

the variable in a quadratic equation must be squared ..but in linear equations the variable isnt squared ..