Symmetric form of the magnetohydrodynamic equation