TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
Could you be a bit more specific about the compile error message(s) you're getting? (You're missing \\ at the end of the second array line, but I assume that's not the error you're most concerned with.) Please also indicate the document class you're using, and whether you're using packages such as array that affect the properties of the array environment. – MicoSep 8 '12 at 22:56
Perhaps you haven't entered mathmode using either $...$ or \[...\] – cmhughesSep 9 '12 at 0:54
arraythat affect the properties of thearrayenvironment. – Mico Sep 8 '12 at 22:56mathmodeusing either$...$or\[...\]– cmhughes Sep 9 '12 at 0:54