A linear function will only have variables with exponent 1, then, the following are linear functions:
[tex]\begin{gathered} y=x \\ y=\frac{1}{3}x \end{gathered}[/tex]while
[tex]x^2+5=y[/tex]is a quadratic function and
[tex]y=2^x[/tex]is an exponential function.