
\documentclass[letterpaper, twoside, 12pt]{book}
\usepackage{amsmath,amsfonts,amsthm}
\usepackage{notes}
\usepackage{hyperref}
\title{MATH 3142 Notes | Spring 2016}
\date{Updated: \today}
\author{Your Name Here\\ UNC Charlotte}
\begin{document}
\maketitle
\setcounter{chapter}{9}
\chapter{The Euclidean Space \texorpdfstring{\(\mathbb R^n\)}{Rn}}
\section{The Linear Structure of \texorpdfstring{\(\mathbb R^n\)}{Rn}
and the Scalar Product}
\begin{proposition}[10.2]
Let \(\mathbf u,\mathbf v,\mathbf w\in\mathbb R^n\)
and \(\alpha,\beta\in\mathbb R\). Then both of the following hold:
\[
\langle \mathbf u,\mathbf v\rangle=\langle \mathbf v,\mathbf u\rangle
\]
\[
\langle \alpha\mathbf u+\beta\mathbf w,v\rangle
=
\alpha\langle \mathbf u,\mathbf v\rangle+\beta\langle \mathbf w,\mathbf v\rangle
\]
\end{proposition}
\begin{proof}
\end{proof}
\begin{lemma}[10.4]
For \(\mathbf u,\mathbf v\in\mathbb R^n\), \(\mathbf u,\mathbf v\) are
orthogonal if and only if
\(\|\mathbf u+\mathbf v\|=\|\mathbf u\|^2+\|\mathbf v\|^2\).
\end{lemma}
\begin{proof}
\end{proof}
\begin{lemma}[10.5]
For \(\mathbf u,\mathbf v\in\mathbb R^n\) where \(\mathbf v\not=\mathbf 0\),
define \(\lambda=\frac{\langle \mathbf u,\mathbf v\rangle}{\langle \mathbf v,\mathbf v\rangle}\)
and \(\mathbf w=\mathbf u-\lambda\mathbf v\). Then \(\mathbf v,\mathbf w\)
are orthogonal and \(\mathbf u=\mathbf w+\lambda\mathbf v\).
\end{lemma}
\begin{proof}
\end{proof}
\begin{theorem}[10.6, The Cauchy-Schwarz Inequality]
For any two vectors \(\mathbf u,\mathbf v\in\mathbb R^n\),
\[
|\langle \mathbf u,\mathbf v\rangle|
\leq
\|\mathbf u\|\|\mathbf v\|
.\]
\end{theorem}
\begin{proof}
\end{proof}
\begin{theorem}[10.7, The Triangle Inequality]
For any two vectors \(\mathbf u,\mathbf v\in\mathbb R^n\),
\[
\|\mathbf u+\mathbf v\|
\leq
\|\mathbf u\|+\|\mathbf v\|
.\]
\end{theorem}
\begin{exercise}[3]
Show that for \(\mathbf u\in\mathbb R^n\), \(\alpha\in\mathbb R\):
\begin{enumerate}[(a)]
\item \(\|\mathbf u\|=0\) if and only if \(\mathbf u=\mathbf 0\).
\item \(\|\alpha\mathbf u\|=|\alpha|\|\mathbf u\|\).
\end{enumerate}
\end{exercise}
\begin{proof}
\end{proof}
\begin{exercise}[4]
For \(\mathbf u,\mathbf v\in\mathbb R^n\) verify the identity
\[
\|\mathbf u-\mathbf v\|^2
=
\|\mathbf u\|^2+\|\mathbf v\|^2-2\langle \mathbf u,\mathbf v\rangle
.\]
\end{exercise}
\begin{proof}
\end{proof}
\begin{exercise}[9]
Let \(\mathbf u\in\mathbb R^n\) and suppose \(\|\mathbf u\|<1\).
Show that for \(\mathbf v\in\mathbb R^n\),
\(\|\mathbf v-\mathbf u\|<1-\|\mathbf u\|\) implies
\(\|\mathbf v\|<1\).
\end{exercise}
\begin{proof}
\end{proof}
\begin{exercise}[10]
Let \(\mathbf u\in\mathbb R^n\) and \(r>0\). Suppose \(\mathbf v,\mathbf w\in\mathbb R^n\)
are at a distance less than \(r\) from \(\mathbf u\). Prove that if
\(0\leq t\leq 1\), then the point \(t\mathbf v+(1-t)]\mathbf w\) is also
at a distance less than \(r\) from \(\mathbf u\).
\end{exercise}
\begin{proof}
\end{proof}
\end{document}
上面的標記導致了標題中的奇怪錯誤:LATEX ERROR: BAD MATH ENVIRONMENT DELIMITER.
Errors:
./foo.tex:121: LATEX ERROR: BAD MATH ENVIRONMENT DELIMITER. [\end{document}]
./foo.tex:121: Extra }, or forgotten $. [\end{document}]
./foo.tex:121: Extra }, or forgotten $. [\end{document}]
./foo.tex:121: Missing $ inserted. [\end{document}]
./foo.tex:121: Missing } inserted. [\end{document}]
./foo.tex:121: Missing } inserted. [\end{document}]
$
請注意,它完全大寫,這與我透過在文件中添加額外內容而獲得的錯誤不同。實際上,添加任何類型的環境似乎都會導致錯誤。更奇怪的是,在 Overleaf 上編譯時似乎不會出現此錯誤。
由於它是特定於系統的,我不確定是否能找到解決方案。就其價值而言,我使用的是 Ubuntu 14.04 LTS。至少,有人知道為什麼我會收到全大寫的錯誤嗎?
答案1
儘管\(
和強大的命令,但在移動章節標題等參數時\)
使用會更安全。$
這似乎是這些命令不夠穩健的情況。
答案2
只是根據錯誤訊息猜測,因為這裡沒有提供範例
%\RequirePackage[2014/01/01]{latexrelease}
\documentclass{book}
\begin{document}
\tableofcontents
\chapter{a \(x\) b}
xxx
\pagebreak
xx
\section{x}
x
\end{document}
您的系統之一早於 2015 年,因此很脆弱,因此必須按照標題中的\(
方式使用。\protect\(
另一個系統是 2015 年或 2016 年,該系統\(
很穩健。
您可以透過取消註解 requirepackage 呼叫來模擬舊系統並查看錯誤。