This is LaTeX code:
[latex]
f(S)=g(S) \dot q(S)+r(S) \Leftrightarrow f(S)=r(S)=aS^2+bS+c
[/latex]