\documentclass[12pt]{article} \title{Hello, Cruel World!} \author{Obedient Grad Student\thanks{My advisor for not reading a single draft.} \\Department of Political Science \\UCSD} \begin{document} \maketitle \section{The Model} My great model involves $\Pr(X\leq x)=a$ such that $a\in[0,1]$. We covered cumulative distribution functions: $$ F(x) = \int_{-\infty}^x f(u)du. $$ We also covered some logic. Here is DeMorgan's first law: \begin{equation} \neg[p\wedge q]\equiv\neg p\vee\neg q, \end{equation} and here's the other: \begin{equation} \neg[p\vee q]\equiv\neg p\wedge\neg q. \end{equation} If event $A=\bigcup_{i=1}^n A_i$ such that $A_i\subset X$ and $A_i\cap A_j=\emptyset$ for all $i$, then: $$ \Pr(A)=\sum_{i=1}^n \Pr(A_i). $$ To see how fractions are done, here's Bayes rule: \begin{equation} \Pr(A|B)=\frac{\Pr(B|A)\Pr(A)}{\Pr(B|A)\Pr(A)+\Pr(B|\neg A)\Pr(\neg A)} \end{equation} % That's all. \end{document}This may appear a bit messy, but it's very easy to understand and can become quite readable with practice, especially once you've learned the basic commands to typeset simple math.
Inline math is written between two $-signs. Displayed math is written either between two $$-signs (unnumbered) or, if you want numbered equations in the 'equation' environment, which is designated with the '\begin{equation}' and '\end{equation}' commands.
The math commands are pretty self-explanatory. If you want a subscript, you type '_' (underscore) and then whatever you want in the subscript. If you want a superscript, you type '^' (caret) and then whatever you want there. You can also have both (note the summation sign) and, if they involve more than one symbol, you must enclose them in braces (note the lower bound on the integral).
Another great feature of WinEdt is the LaTeX toolbar (which it misleadingly calls "GUI Page Control") which has a lot of the math symbols available by clicking on the appropriate button. This is nice especially while you are remembering the commands. Once you remember them, typing becomes very quick and painless.
\documentclass[12pt]{article} \usepackage{amsmath,amsthm} \newtheorem{proposition}{Proposition} \title{Hello, Cruel World!} \author{Obedient Grad Student\thanks{My advisor for not reading a single draft.} \\Department of Political Science \\UCSD} \begin{document} \maketitle \section{The Model} Here are the DeMorgan laws: \begin{align} \neg[p\wedge q]&\equiv\neg p\vee\neg q\\ \neg[p\vee q]&\equiv\neg p\wedge\neg q. \end{align} \noindent Let's look at an important result. \begin{proposition} If event $A=\bigcup_{i=1}^n A_i$ such that $A_i\subset X$ and $A_i\cap A_j=\emptyset$ for all $i$, then: $$ \Pr(A)=\sum_{i=1}^n \Pr(A_i). $$ \end{proposition} \begin{proof} Left as an exercise. \end{proof} \end{document}Notice the '\usepackage' command in the preamble. This tells the compiler to pull in other macro packages (two in this case: basic math and theorem environments). Still in the preamble, we define the new 'proposition' environment that we shall be using. Everything else is automatic. The AMS documentation is distributed with MiKTeX.
There are many online guides, here's one that is basic and useful.