Skip to content
latexci
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademics
Sign inFree
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademicsFree
Discord community ↗GitHub ↗
Sign in
LaTeX templates›Math Assignment

Math Assignment LaTeX Template

Problem set template with theorem/proof environments and custom commands.

Open in editor
Homeworkarticle55 lines

What’s included

This template builds on the article document class and the following packages, already wired up in the preamble:

lmodernmicrotypeamsmathamssymbamsthmgeometryenumitem

Full source

Copy it, or hit Open in editor to load it into the live preview and start editing immediately.

\documentclass[12pt]{article}
\usepackage{lmodern}
\usepackage{microtype}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{geometry}
\geometry{margin=2.5cm}
\usepackage{enumitem}

% Custom commands
\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\eps}{\varepsilon}

% Theorem environments
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
\theoremstyle{definition}
\newtheorem{definition}{Definition}

\title{Problem Set 3}
\author{Your Name}
\date{Due: \today}

\begin{document}
\maketitle

\section*{Problem 1}

Prove that every bounded sequence in $\R^n$ has a convergent subsequence.

\textbf{Proof.}
We proceed by induction on $n$.

\textbf{Base case} ($n=1$): By the Bolzano-Weierstrass theorem, every bounded sequence
in $\R$ has a convergent subsequence.

\textbf{Inductive step}: Assume the result holds for $\R^{n-1}$. Let $(\mathbf{x}_k)$
be a bounded sequence in $\R^n$. The projection onto the first coordinate is bounded in $\R$,
so it has a convergent subsequence by the base case. $\square$

\section*{Problem 2}

Let $f: \R \to \R$ be differentiable. Show that if $|f'(x)| \leq M$ for all $x$, then:

\[
  |f(x) - f(y)| \leq M|x - y| \quad \text{for all } x, y \in \R
\]

\textbf{Proof.}
By the Mean Value Theorem, there exists $c$ between $x$ and $y$ such that
$f(x) - f(y) = f'(c)(x-y)$.
Taking absolute values gives $|f(x) - f(y)| \leq M|x-y|$. $\square$

\end{document}

Related templates

Academic ArticleAcademic CV: Elegant (EN)Beamer: ClassicalBeamer: Modern

Browse all free LaTeX templates →

FAQ

Is the Math Assignment template free?

Yes. Every latexci template is free and needs no signup: the full source is on this page, free to copy and use in your own documents, including academic and commercial work. Open it in the browser editor or paste it into any TeX editor.

How do I use this template?

Click “Open in editor” to load it straight into the live LaTeX preview, or copy the source into Overleaf or your local TeX editor (TeX Live, MiKTeX).

latexci

Free LaTeX tools for researchers and students, in any browser. No paid plan, no advertising.

Star on GitHubBuy me a coffee

Tools

Live PreviewBibTeX ToolsDOI → BibTeXarXiv → BibTeXPubMed → BibTeXISBN → BibTeXLaTeX DiffWord → LaTeXSymbol SearchTable GeneratorTemplatesCV Generator

Learn

Academics hubLife after OverleafFreeGitHub

Community

DiscordGitHub IssuesFeature Requests

© 2026 latexci. By Sitraka Forler, sitraka.lu

PrivacyTerms