Sarmate.net Sarmate.net
Startseite Funktionen Preise Dokumentation Kontakt
Anmelden Registrieren
Zurück zur Galerie
LaTeX EN

University lecture notes template — theorems, definitions, exercises (numbered)

Sarmate sarmate_examples 2026-05-03 0 15

Clean lecture notes template using amsthm theorem environments with section-based auto-numbering. Includes Theorem, Lemma, Corollary, Definition, Example, Exercise (sharing one counter for consistent numbering like 1.1, 1.2, 2.1...). Plus a coloured Important callout for emphasis. Demonstrates limit/continuity content with full epsilon-delta definition, IVT, and a worked exercise. Suitable for any university math course.

In der Demo öffnen Anmelden um zu liken
\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage[margin=2.2cm]{geometry}
\usepackage{amsmath, amssymb, amsthm}
\usepackage[most]{tcolorbox}
\usepackage[hidelinks]{hyperref}
\usepackage{enumitem}

% --- Theorem environments with auto-numbering by section ---
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{proposition}[theorem]{Proposition}

\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{exercise}[theorem]{Exercise}

\theoremstyle{remark}
\newtheorem*{remark}{Remark}

% --- Coloured callout for emphasis ---
\newenvironment{important}{%
  \par\smallskip\noindent\textcolor{red!60!black}{\rule{4pt}{1.4em}}\hspace{0.5em}%
  \textbf{\textcolor{red!60!black}{Important.}}\space%
}{\par\smallskip}

\title{Lecture Notes 3 --- Continuity and Limits}
\author{}
\date{}

\begin{document}
\maketitle

\section{Limit of a function}

\begin{definition}[Limit at a point]
Let $f: \mathbb{R} \to \mathbb{R}$ and $a, \ell \in \mathbb{R}$. We say that $f(x) \to \ell$ as $x \to a$, written
\[ \lim_{x \to a} f(x) = \ell, \]
if for every $\varepsilon > 0$ there exists $\delta > 0$ such that
\[ 0 < |x - a| < \delta \implies |f(x) - \ell| < \varepsilon. \]
\end{definition}

\begin{remark}
The condition $0 < |x - a|$ explicitly excludes $x = a$: the value $f(a)$ does not have to exist or to equal $\ell$ for the limit to exist.
\end{remark}

\begin{example}[Limit of a polynomial]
For any polynomial $p(x)$ and any $a \in \mathbb{R}$, $\displaystyle \lim_{x \to a} p(x) = p(a)$.
\end{example}

\section{Continuity}

\begin{definition}[Continuous function]
A function $f$ is \emph{continuous at $a$} if $\displaystyle \lim_{x \to a} f(x) = f(a)$. It is \emph{continuous on} $I \subset \mathbb{R}$ if it is continuous at every point of $I$.
\end{definition}

\begin{theorem}[Sum, product and quotient]
\label{thm:operations}
If $f$ and $g$ are continuous at $a$, then so are $f + g$ and $f \cdot g$. If, in addition, $g(a) \neq 0$, then $f / g$ is continuous at $a$.
\end{theorem}

\begin{proof}[Proof sketch]
Apply the limit laws termwise. The product case follows from the standard $\varepsilon$--$\delta$ argument with the bound $|fg - f(a)g(a)| \leq |f| \cdot |g - g(a)| + |g(a)| \cdot |f - f(a)|$.
\end{proof}

\begin{important}
Continuity is a \emph{local} property: it is checked one point at a time. A function may be continuous on $(0, 1)$ and discontinuous at $x = 1$.
\end{important}

\begin{theorem}[Intermediate Value Theorem]
\label{thm:ivt}
Let $f$ be continuous on $[a, b]$. For every $y$ between $f(a)$ and $f(b)$, there exists $c \in [a, b]$ such that $f(c) = y$.
\end{theorem}

\begin{exercise}
Use Theorem~\ref{thm:ivt} to prove that $x^3 - x - 1 = 0$ has at least one real solution in $[1, 2]$.
\end{exercise}

\end{document}
Dieses Beispiel ist unter CC‑BY‑4.0 lizenziert. Sie dürfen es kopieren, verändern und weiterverbreiten, solange Sie den Autor nennen (Sarmate sarmate_examples).