Misplaced alignment tab character &. 1, & \textrm{if and only if}\\
you forget to enable the use of amsmath (radiobutton in preferences or \usepackage[amsmath} in preamble).
Then all three will work, except that the last one shouldn't have the first \\.
Herbert
