Professional Documents
Culture Documents
Extra spaces in the text file do not appear in the typeset document.
Except for a double carriage-return, that makes a new line. Single carriage
returns don’t do anything.
3. Mathematical expressions are typed between dollar signs like this: y = x2 + 1.
To make a centered equation on its own line, use slash brackets like this:
y = x2 + 1.
A ⊂ B, A ⊆ B, A 6⊂ B, A 6⊆ B, A \ B, Ac , A ∩ B, A ∪ B, x ∈ A, x 6∈ A, |A|,
P(A), ∅.
n n 10 10
5 5 Tn \ Sn [ P10 X Q10 Y
1+x
, , i=1 Si , Si , i=1 Si , Si , k=1 ak , ak , k=1 ak , ak .
1+x i=1 i=1 k=1 k=1
6. You can make arrays or matrices using the array environment. You must use
slash-brackets around the \begin{array} and \end{array}:
1 α1 α12 · · · α1n−1 x1
1 α2 α2 · · · αn−1 x2
2 2
2 n−1
A · ~x = 1 α3 α3 · · · α3 · x3
.. .. .. . . .. ..
. . . . . .
2 n−1
1 αm αm · · · αm xn
7. You write in tables by hand by using the vspace command to leave space. But
in case you are interested in making a table, this is how to do it (Truth table):
P Q P ∧Q ¬(P ∧ Q) ¬Q ¬(P ∧ Q) ∧ ¬Q
T T T F F F
T F F T T T
F T F T F F
F F F T T T
Since the truth-values for ¬Q and ¬(P ∧ Q) ∧ ¬Q are the same for all possible
truth-values of P and Q, the two statements are logicaly equivalent.
8. Make sure you define the theorem environment in the preamble.
Theorem 0.1 (Westlund’s Theorem). Here is the statement of a theorem. I
love zombies.
Because I used the label command in my theorem statement, I can later refer-
ence it by number using the ref command. E.g., Theorem ?? is a foundational
result!
9. In this problem will will prove a theorem two different ways, to illustrate two
different formats for writing proofs with steps and reasons clearly written out.
Proof. Note that n3 +n = n(n2 +1). It suffices to show that for any n ∈ Z,
either n is even or n2 + 1 is even. (Since then the product of n and n2 + 1
will have to be even.) For any integer n we have:
10. A GREAT reference is LATEX User’s Guide and Reference Manual by Leslie
Lamport. Also, http://www.latex-project.org is a HUGE and helpful ref-
erence. There are many, many other things you can do with LATEX including
diagrams and importing pictures. To import a picture into your document, use
the “includegraphics” command. Make sure that the file you want to import is
in the same directory as the document that you are compiling.