latexmk3 páginascompilado en 3.18 s74.7 KB
Plantilla LaTeX Apuntes de clase
Apuntes de clase completos con entornos tcolorbox de teorema, definición y ejemplo, anotaciones al margen, recuadros destacados codificados por color e índice generado automáticamente.
\source{lecture-notes}
\documentclass[11pt]{article}
\usepackage[margin=1in,marginparwidth=1.5cm]{geometry}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{xcolor}
\usepackage{tcolorbox}
\usepackage{marginnote}
\usepackage{fancyhdr}
\usepackage{enumitem}
\usepackage{makeidx}
\usepackage{tikz}
\usepackage{hyperref}
\tcbuselibrary{theorems,skins}
\definecolor{defblue}{HTML}{1D4ED8}
\definecolor{thmgreen}{HTML}{15803D}
\definecolor{exorange}{HTML}{C2410C}
\definecolor{notegray}{HTML}{6B7280}
\definecolor{headbg}{HTML}{1E3A8A}
\hypersetup{colorlinks=true,linkcolor=defblue,urlcolor=defblue}
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{proposition}[theorem]{Proposition}
\theoremstyle{definition}
\newtheorem{example}{Example}[section]
\newtcolorbox{definitionbox}[1][]{
colback=defblue!5,
colframe=defblue!60,
coltitle=white,
fonttitle=\bfseries,
title=#1,
attach boxed title to top left={yshift=-2mm,xshift=4mm},
boxed title style={colback=defblue, rounded corners},
rounded corners,
boxrule=0.5pt,
}
\newtcolorbox{remarkbox}{
colback=exorange!5,
colframe=exorange!50,
rounded corners,
boxrule=0.5pt,
left=6pt, right=6pt,
}
\newtcolorbox{examplebox}{
colback=thmgreen!5,
colframe=thmgreen!50,
rounded corners,
boxrule=0.5pt,
left=6pt, right=6pt,
}
\makeindex
\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{\small\textcolor{notegray}{<<course_code>> --- <<course_title>>}}
\fancyhead[R]{\small\textcolor{notegray}{<<lecture_number>>}}
\fancyfoot[C]{\small\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\begin{document}
% --- Title Header ---
\begin{tikzpicture}[remember picture,overlay]
\fill[headbg] (current page.north west) rectangle ([yshift=-2.4cm]current page.north east);
\fill[defblue] ([yshift=-2.4cm]current page.north west) rectangle ([yshift=-2.65cm]current page.north east);
\end{tikzpicture}
\thispagestyle{fancy}
\vspace*{0.3cm}
\begin{center}
{\LARGE\bfseries\textcolor{white}{<<course_title>>}}\par
\vspace{6pt}
{\normalsize\textcolor{white!80}{<<lecture_number>>: Sequences and Convergence}}\par
\vspace{4pt}
{\small\textcolor{white!60}{<<instructor>> \quad|\quad <<semester>>}}
\end{center}
\vspace{2cm}
\begin{abstract}
\noindent These notes cover the fundamental theory of sequences in $\mathbb{R}$, including convergence criteria, boundedness, and the Bolzano--Weierstrass theorem.
\end{abstract}
\tableofcontents
\vspace{12pt}
\section{Sequences in $\mathbb{R}$}
\begin{definitionbox}[Definition: Sequence]
A \textbf{sequence}\index{sequence} in $\mathbb{R}$ is a function $a\colon\mathbb{N}\to\mathbb{R}$. We write $(a_n)_{n=1}^{\infty}$ or simply $(a_n)$.
\end{definitionbox}
\marginnote{\footnotesize\textcolor{notegray}{Recall that $\mathbb{N} = \{1, 2, 3, \ldots\}$ in this course.}}
\begin{definitionbox}[Definition: Convergence]
A sequence $(a_n)$ \textbf{converges}\index{convergence} to a limit $L \in \mathbb{R}$ if for every $\varepsilon > 0$ there exists $N \in \mathbb{N}$ such that
\[ n \geq N \implies |a_n - L| < \varepsilon. \]
We write $\lim_{n\to\infty} a_n = L$ or $a_n \to L$.
\end{definitionbox}
\begin{examplebox}
\textbf{Example 1.1.} The sequence $a_n = 1/n$ converges to $0$. Given $\varepsilon > 0$, choose $N > 1/\varepsilon$ (by the Archimedean property). Then for $n \geq N$:
\[ |a_n - 0| = \frac{1}{n} \leq \frac{1}{N} < \varepsilon. \qedhere \]
\end{examplebox}
\section{Boundedness and Monotonicity}
\begin{theorem}[Convergent sequences are bounded]\index{bounded sequence}
\label{thm:conv-bounded}
If $(a_n) \to L$, then $(a_n)$ is bounded: there exists $M > 0$ such that $|a_n| \leq M$ for all $n$.
\end{theorem}
\begin{proof}
Take $\varepsilon = 1$. There exists $N$ such that $|a_n - L| < 1$ for all $n \geq N$. By the triangle inequality, $|a_n| < |L| + 1$ for $n \geq N$. Set
\[ M = \max\{|a_1|, |a_2|, \ldots, |a_{N-1}|, |L|+1\}. \]
Then $|a_n| \leq M$ for all $n \in \mathbb{N}$.
\end{proof}
\begin{remarkbox}
\textbf{Remark.} The converse is false: the sequence $a_n = (-1)^n$ is bounded but divergent.
\end{remarkbox}
\begin{theorem}[Monotone Convergence Theorem]\index{Monotone Convergence Theorem}
\label{thm:mct}
Every bounded monotone sequence in $\mathbb{R}$ converges.
\end{theorem}
\begin{proof}
Suppose $(a_n)$ is increasing and bounded above. Let $L = \sup\{a_n : n \in \mathbb{N}\}$, which exists by the completeness of $\mathbb{R}$. Given $\varepsilon > 0$, $L - \varepsilon$ is not an upper bound, so there exists $N$ with $a_N > L - \varepsilon$. Since $(a_n)$ is increasing, for $n \geq N$:
\[ L - \varepsilon < a_N \leq a_n \leq L < L + \varepsilon. \]
Thus $|a_n - L| < \varepsilon$ for all $n \geq N$.
\end{proof}
\section{The Bolzano--Weierstrass Theorem}
\begin{theorem}[Bolzano--Weierstrass]\index{Bolzano--Weierstrass theorem}
Every bounded sequence in $\mathbb{R}$ has a convergent subsequence.
\end{theorem}
\begin{proof}[Proof sketch]
Let $(a_n)$ be bounded by $[-M, M]$. Apply the bisection method:
\begin{enumerate}[leftmargin=*]
\item Set $I_1 = [-M, M]$.
\item At step $k$, bisect $I_k$. At least one half contains infinitely many terms; call it $I_{k+1}$ and choose $a_{n_k} \in I_{k+1}$ with $n_k > n_{k-1}$.
\item The nested intervals $I_k$ satisfy $|I_k| = 2M/2^{k-1} \to 0$, so by the Nested Intervals Theorem, $\bigcap_k I_k = \{L\}$ and $a_{n_k} \to L$.\qedhere
\end{enumerate}
\end{proof}
\marginnote{\footnotesize\textcolor{notegray}{This proof relies on the completeness of $\mathbb{R}$. It fails in $\mathbb{Q}$.}}
\begin{corollary}
A sequence in $\mathbb{R}$ converges if and only if it is a Cauchy sequence.
\end{corollary}
\vfill
\noindent\textcolor{notegray}{\rule{\textwidth}{0.4pt}}\\
{\small\textcolor{notegray}{<<course_code>> --- <<instructor>> --- <<semester>>}}
\printindex
\end{document}
Source requires Pro
latexmk templates are available on the Pro plan and above.
See the compiled PDF
No API key required
\usepackage{used}
Paquetes de LaTeX utilizados
\geometryMárgenes de página y control del diseño
\amsmathEntornos y comandos matemáticos avanzados
\amssymbFuentes de símbolos AMS y símbolos matemáticos adicionales
\amsthmEntornos de teorema, lema y demostración
\xcolorDefinición y uso de colores
\tcolorboxCuadros de texto de color y enmarcados
\marginnote
\fancyhdrEncabezados y pies de página personalizados
\enumitemEntornos de listas personalizables
\makeidx
\tikzDibujo de diagramas y gráficos vectoriales
\hyperrefHipervínculos y metadatos de PDF
\begin{tabular}
Variables de la plantilla
| Variable | Tipo | Valor predeterminado | Descripción |
|---|---|---|---|
| course_title | string | Introduction to Real Analysis | Course title |
| course_code | string | MATH 301 | Course code |
| instructor | string | Prof.~Elena Vasquez | Instructor name |
| lecture_number | string | Lecture 7 | Lecture number or title |
| semester | string | Spring 2026 | Semester and year |
\section{related}
Más plantillas de la categoría Academic
\compile{instantly}
Personalice y compile al instante
Cargue esta plantilla en el playground, edítela y vea su PDF en segundos.





