Answer:
The given quadratic expression \(y = x^2 - 4x - 12\) can be written in function form as follows:
\[ f(x) = x^2 - 4x - 12 \]
In this form, \(f(x)\) represents the dependent variable (usually denoted as \(y\)) as a function of the independent variable \(x\).