Use of \[..\] is encouraged over the TeX primitive $$..$$.

A more in-depth explanation can be found on stackexchange.