\documentclass[10pt]{article}
\usepackage[OT4]{fontenc}
\newtheorem{define}{Definition}
%\newcommand{\Z}{{\mathbb{Z}}}
%\usepackage{psfig}

\oddsidemargin=0.15in
\evensidemargin=0.15in
\topmargin=-.5in
\textheight=9in
\textwidth=6.25in

\begin{document}
\input{preamble.tex}


\lecture{0}{January 19, 2013}{Ola Svensson}{Your name here}

%%%% body goes in here %%%%
\section{A Section}
Blah Blah Blah

\subsection{A Subsection}

Blah Blah Blah

\begin{lemma}\label{lem:nonnegative}
For any $a$ and $b$,
\[
(a-b)^2\geq 0
\]
\end{lemma}

\begin{proof}
The lemma follows as a square of any (real) number is non-negative.
\end{proof}


\begin{theorem}\label{thm:earth}
For any $a$ and $b$, 
\[
a^2+b^2\geq 2ab.
\]
\end{theorem}

(Normally, theorems and lemmas are less trivial than the ones here.)

\begin{proof}
Here is the proof. 
Note that
\[
a^2+b^2-2ab=(a-b)^2\geq 0,
\]
where the last inequality follows from Lemma \ref{lem:nonnegative}.

So, after rearranging the terms we get the desired inequality. 
\end{proof}

By using theorem \ref{thm:earth} with $a=\sqrt{2}$ and $b=2$, we get 
 
\begin{corollary}
$2+4\geq 4\sqrt{2}$
\end{corollary}

Blah Blah Blah


\subsection{Another Subsection}

Blah Blah Blah

\subsubsection{A Subsubsection!}

Blah Blah Blah\footnote{A footnote: Blah Blah Blah.}

\section*{Another Section (without number)}

Blah Blah Blah

\subsection{A Subsection of Another Section}

Blah Blah Blah


\end{document}




