Debian Codegraph @

texmf-dist/doc/fonts/newcomputermodern/testmath-newcm-sans.tex

raw
1 %%% ====================================================================
2 %%% filename = testmath.tex
3 %%% version = 2.0a
4 %%% date = 2023/08/24
5 %%% author = American Mathematical Society
6 %%% copyright = Copyright 1995, 1999 American Mathematical Society
7 %%% 2023 LaTeX Project.
8 %%% License = https://www.latex-project.org/lppl/lppl-1-3c
9 %%% keywords = latex, amsmath, examples, documentation
10 %%% abstract = This is a test file containing extensive examples of
11 %%% mathematical constructs supported by the amsmath
12 %%% package."
13 %%% ====================================================================
14 \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX)
15 [1994/12/01]% LaTeX date must December 1994 or later
16 \documentclass[draft]{article}
17 \synctex=1
18 \pagestyle{headings}
19
20 \title{Sample Paper for the \pkg{amsmath} Package\\
21 File name: \fn{testmath.tex}}
22 \author{American Mathematical Society}
23 \date{Version 2.0a, 2023/08/24}
24
25 \usepackage{amsmath,amsthm}
26 \usepackage[sansdefault]{fontsetup}
27 \newfontfamily{\sansAmSfont}{NewCMSansMath-Regular.otf}
28 \renewcommand{\AmS}{{\sansAmSfont $\symcal A$\kern-.1667em\lower.5ex\hbox{$\symcal M$}\kern-.125em$\symcal S$}}
29 % \input fspdefault.tex
30
31 % Some definitions useful in producing this sort of documentation:
32 \chardef\bslash=`\\ % p. 424, TeXbook
33 % Normalized (nonbold, nonitalic) tt font, to avoid font
34 % substitution warning messages if tt is used inside section
35 % headings and other places where odd font combinations might
36 % result.
37 \newcommand{\ntt}{\normalfont\ttfamily}
38 % command name
39 \newcommand{\cn}[1]{{\protect\ntt\bslash#1}}
40 % LaTeX package name
41 \newcommand{\pkg}[1]{{\protect\ntt#1}}
42 % File name
43 \newcommand{\fn}[1]{{\protect\ntt#1}}
44 % environment name
45 \newcommand{\env}[1]{{\protect\ntt#1}}
46 \hfuzz1pc % Don't bother to report overfull boxes if overage is < 1pc
47
48 % Theorem environments
49
50 %% \theoremstyle{plain} %% This is the default
51 \newtheorem{thm}{Theorem}[section]
52 \newtheorem{cor}[thm]{Corollary}
53 \newtheorem{lem}[thm]{Lemma}
54 \newtheorem{prop}[thm]{Proposition}
55 \newtheorem{ax}{Axiom}
56
57 \theoremstyle{definition}
58 \newtheorem{defn}{Definition}[section]
59
60 \theoremstyle{remark}
61 \newtheorem{rem}{Remark}[section]
62 \newtheorem*{notation}{Notation}
63
64 %\numberwithin{equation}{section}
65
66 \newcommand{\thmref}[1]{Theorem~\ref{#1}}
67 \newcommand{\secref}[1]{\S\ref{#1}}
68 \newcommand{\lemref}[1]{Lemma~\ref{#1}}
69
70 \newcommand{\bysame}{\mbox{\rule{3em}{.4pt}}\,}
71
72 % Math definitions
73
74 \newcommand{\A}{{\symcal A}}
75 \newcommand{\B}{{\symcal B}}
76 \newcommand{\st}{\sigma}
77 \newcommand{\XcY}{{(X,Y)}}
78 \newcommand{\SX}{{S_X}}
79 \newcommand{\SY}{{S_Y}}
80 \newcommand{\SXY}{{S_{X,Y}}}
81 \newcommand{\SXgYy}{{S_{X|Y}(y)}}
82 \newcommand{\Cw}[1]{{\hat C_#1(X|Y)}}
83 \newcommand{\G}{{G(X|Y)}}
84 \newcommand{\PY}{{P_{\symcal Y}}}
85 \newcommand{\X}{{\symcal X}}
86 \newcommand{\wt}{\widetilde}
87 \newcommand{\wh}{\widehat}
88
89 \DeclareMathOperator{\per}{per}
90 \DeclareMathOperator{\cov}{cov}
91 \DeclareMathOperator{\non}{non}
92 \DeclareMathOperator{\cf}{cf}
93 \DeclareMathOperator{\add}{add}
94 \DeclareMathOperator{\Cham}{Cham}
95 \DeclareMathOperator{\IM}{Im}
96 \DeclareMathOperator{\esssup}{ess\,sup}
97 \DeclareMathOperator{\meas}{meas}
98 \DeclareMathOperator{\seg}{seg}
99
100 % \interval is used to provide better spacing after a [ that
101 % is used as a closing delimiter.
102 \newcommand{\interval}[1]{\mathinner{#1}}
103
104 % Notation for an expression evaluated at a particular condition. The
105 % optional argument can be used to override automatic sizing of the
106 % right vert bar, e.g. \eval[\biggr]{...}_{...}
107 \newcommand{\eval}[2][\right]{\relax
108 \ifx#1\right\relax \left.\fi#2#1\rvert}
109
110 % Enclose the argument in vert-bar delimiters:
111 \newcommand{\envert}[1]{\left\lvert#1\right\rvert}
112 \let\abs=\envert
113
114 % Enclose the argument in double-vert-bar delimiters:
115 \newcommand{\enVert}[1]{\left\lVert#1\right\rVert}
116 \let\norm=\enVert
117
118 \begin{document}
119 \maketitle
120 \markboth{Sample paper for the {\protect\ntt\lowercase{amsmath}} package}
121 {Sample paper for the {\protect\ntt\lowercase{amsmath}} package}
122 \renewcommand{\sectionmark}[1]{}
123
124 \section{Introduction}
125
126 This paper contains examples of various features from \AmS-\LaTeX{}.
127
128
129 \section{Enumeration of Hamiltonian paths in a graph}
130
131 Let $\symbf{A}=(a_{ij})$ be the adjacency matrix of graph $G$. The
132 corresponding Kirchhoff matrix $\symbf{K}=(k_{ij})$ is obtained from
133 $\symbf{A}$ by replacing in $-\symbf{A}$ each diagonal entry by the
134 degree of its corresponding vertex; i.e., the $i$th diagonal entry is
135 identified with the degree of the $i$th vertex. It is well known that
136 \begin{equation}
137 \det\symbf{K}(i|i)=\text{ the number of spanning trees of $G$},
138 \quad i=1,\dots,n
139 \end{equation}
140 where $\symbf{K}(i|i)$ is the $i$th principal submatrix of
141 $\symbf{K}$.
142 \begin{verbatim}
143 \det\symbf{K}(i|i)=\text{ the number of spanning trees of $G$},
144 \end{verbatim}
145
146 Let $C_{i(j)}$ be the set of graphs obtained from $G$ by attaching edge
147 $(v_iv_j)$ to each spanning tree of $G$. Denote by $C_i=\bigcup_j
148 C_{i(j)}$. It is obvious that the collection of Hamiltonian cycles is a
149 subset of $C_i$. Note that the cardinality of $C_i$ is $k_{ii}\det
150 \symbf{K}(i|i)$. Let $\wh X=\{\hat x_1,\dots,\hat x_n\}$.
151 \begin{verbatim}
152 $\wh X=\{\hat x_1,\dots,\hat x_n\}$
153 \end{verbatim}
154 Define multiplication for the elements of $\wh X$ by
155 \begin{equation}\label{multdef}
156 \hat x_i\hat x_j=\hat x_j\hat x_i,\quad \hat x^2_i=0,\quad
157 i,j=1,\dots,n.
158 \end{equation}
159 Let $\hat{k}_{ij}=k_{ij}\hat x_j$ and $\hat k_{ij}=-\sum_{j\not=i} \hat
160 k_{ij}$. Then the number of Hamiltonian cycles $H_c$ is given by the
161 relation \cite{liuchow:formalsum}
162 \begin{equation}\label{H-cycles}
163 \biggl(\prod^n_{\,j=1}\hat x_j\biggr)H_c=\frac{1}{2}\hat k_{ij}\det
164 \wh{\symbf{K}}(i|i),\qquad i=1,\dots,n.
165 \end{equation}
166 The task here is to express \eqref{H-cycles}
167 in a form free of any $\hat x_i$,
168 $i=1,\dots,n$. The result also leads to the resolution of enumeration of
169 Hamiltonian paths in a graph.
170
171 It is well known that the enumeration of Hamiltonian cycles and paths in
172 a complete graph $K_n$ and in a complete bipartite graph $K_{n_1n_2}$
173 can only be found from \textit{first combinatorial principles}
174 \cite{hapa:graphenum}. One wonders if there exists a formula which can
175 be used very efficiently to produce $K_n$ and $K_{n_1n_2}$. Recently,
176 using Lagrangian methods, Goulden and Jackson have shown that $H_c$ can
177 be expressed in terms of the determinant and permanent of the adjacency
178 matrix \cite{gouja:lagrmeth}. However, the formula of Goulden and
179 Jackson determines neither $K_n$ nor $K_{n_1n_2}$ effectively. In this
180 paper, using an algebraic method, we parametrize the adjacency matrix.
181 The resulting formula also involves the determinant and permanent, but
182 it can easily be applied to $K_n$ and $K_{n_1n_2}$. In addition, we
183 eliminate the permanent from $H_c$ and show that $H_c$ can be
184 represented by a determinantal function of multivariables, each variable
185 with domain $\{0,1\}$. Furthermore, we show that $H_c$ can be written by
186 number of spanning trees of subgraphs. Finally, we apply the formulas to
187 a complete multigraph $K_{n_1\dots n_p}$.
188
189 The conditions $a_{ij}=a_{ji}$, $i,j=1,\dots,n$, are not required in
190 this paper. All formulas can be extended to a digraph simply by
191 multiplying $H_c$ by 2.
192
193 \section{Main Theorem}
194 \label{s:mt}
195
196 \begin{notation} For $p,q\in P$ and $n\in\omega$ we write
197 $(q,n)\le(p,n)$ if $q\le p$ and $A_{q,n}=A_{p,n}$.
198 \begin{verbatim}
199 \begin{notation} For $p,q\in P$ and $n\in\omega$
200 ...
201 \end{notation}
202 \end{verbatim}
203 \end{notation}
204
205 Let $\symbf{B}=(b_{ij})$ be an $n\times n$ matrix. Let $\symbf{n}=\{1,
206 \dots,n\}$. Using the properties of \eqref{multdef}, it is readily seen
207 that
208
209 \begin{lem}\label{lem-per}
210 \begin{equation}
211 \prod_{i\in\symbf{n}}
212 \biggl(\sum_{\,j\in\symbf{n}}b_{ij}\hat x_i\biggr)
213 =\biggl(\prod_{\,i\in\symbf{n}}\hat x_i\biggr)\per \symbf{B}
214 \end{equation}
215 where $\per \symbf{B}$ is the permanent of $\symbf{B}$.
216 \end{lem}
217
218 Let $\wh Y=\{\hat y_1,\dots,\hat y_n\}$. Define multiplication
219 for the elements of $\wh Y$ by
220 \begin{equation}
221 \hat y_i\hat y_j+\hat y_j\hat y_i=0,\quad i,j=1,\dots,n.
222 \end{equation}
223 Then, it follows that
224 \begin{lem}\label{lem-det}
225 \begin{equation}\label{detprod}
226 \prod_{i\in\symbf{n}}
227 \biggl(\sum_{\,j\in\symbf{n}}b_{ij}\hat y_j\biggr)
228 =\biggl(\prod_{\,i\in\symbf{n}}\hat y_i\biggr)\det\symbf{B}.
229 \end{equation}
230 \end{lem}
231
232 Note that all basic properties of determinants are direct consequences
233 of Lemma~\ref{lem-det}. Write
234 \begin{equation}\label{sum-bij}
235 \sum_{j\in\symbf{n}}b_{ij}\hat y_j=\sum_{j\in\symbf{n}}b^{(\lambda)}
236 _{ij}\hat y_j+(b_{ii}-\lambda_i)\hat y_i\hat y
237 \end{equation}
238 where
239 \begin{equation}
240 b^{(\lambda)}_{ii}=\lambda_i,\quad b^{(\lambda)}_{ij}=b_{ij},
241 \quad i\not=j.
242 \end{equation}
243 Let $\symbf{B}^{(\lambda)}=(b^{(\lambda)}_{ij})$. By \eqref{detprod}
244 and \eqref{sum-bij}, it is
245 straightforward to show the following
246 result:
247 \begin{thm}\label{thm-main}
248 \begin{equation}\label{detB}
249 \det\symbf{B}=
250 \sum^n_{l =0}\sum_{I_l \subseteq n}
251 \prod_{i\in I_l}(b_{ii}-\lambda_i)
252 \det\symbf{B}^{(\lambda)}(I_l |I_l ),
253 \end{equation}
254 where $I_l =\{i_1,\dots,i_l \}$ and $\symbf{B}^{(\lambda)}(I_l |I_l )$
255 is the principal submatrix obtained from $\symbf{B}^{(\lambda)}$
256 by deleting its $i_1,\dots,i_l $ rows and columns.
257 \end{thm}
258
259 \begin{rem}
260 Let $\symbf{M}$ be an $n\times n$ matrix. The convention
261 $\symbf{M}(\symbf{n}|\symbf{n})=1$ has been used in \eqref{detB} and
262 hereafter.
263 \end{rem}
264
265 Before proceeding with our discussion, we pause to note that
266 \thmref{thm-main} yields immediately a fundamental formula which can be
267 used to compute the coefficients of a characteristic polynomial
268 \cite{mami:matrixth}:
269 \begin{cor}\label{BI}
270 Write $\det(\symbf{B}-x\symbf{I})=\sum^n_{l =0}(-1)
271 ^l b_l x^l $. Then
272 \begin{equation}\label{bl-sum}
273 b_l =\sum_{I_l \subseteq\symbf{n}}\det\symbf{B}(I_l |I_l ).
274 \end{equation}
275 \end{cor}
276 Let
277 \begin{equation}
278 \symbf{K}(t,t_1,\dots,t_n)
279 =\begin{pmatrix} D_1t&-a_{12}t_2&\dots&-a_{1n}t_n\\
280 -a_{21}t_1&D_2t&\dots&-a_{2n}t_n\\
281 \hdotsfor[2]{4}\\
282 -a_{n1}t_1&-a_{n2}t_2&\dots&D_nt\end{pmatrix},
283 \end{equation}
284 \begin{verbatim}
285 \begin{pmatrix} D_1t&-a_{12}t_2&\dots&-a_{1n}t_n\\
286 -a_{21}t_1&D_2t&\dots&-a_{2n}t_n\\
287 \hdotsfor[2]{4}\\
288 -a_{n1}t_1&-a_{n2}t_2&\dots&D_nt\end{pmatrix}
289 \end{verbatim}
290 where
291 \begin{equation}
292 D_i=\sum_{j\in\symbf{n}}a_{ij}t_j,\quad i=1,\dots,n.
293 \end{equation}
294
295 Set
296 \begin{equation*}
297 D(t_1,\dots,t_n)=\frac{\delta}{\delta t}\eval{\det\symbf{K}(t,t_1,\dots,t_n)
298 }_{t=1}.
299 \end{equation*}
300 Then
301 \begin{equation}\label{sum-Di}
302 D(t_1,\dots,t_n)
303 =\sum_{i\in\symbf{n}}D_i\det\symbf{K}(t=1,t_1,\dots,t_n; i|i),
304 \end{equation}
305 where $\symbf{K}(t=1,t_1,\dots,t_n; i|i)$ is the $i$th principal
306 submatrix of $\symbf{K}(t=1,t_1,\dots,t_n)$.
307
308 Theorem~\ref{thm-main} leads to
309 \begin{equation}\label{detK1}
310 \det\symbf{K}(t_1,t_1,\dots,t_n)
311 =\sum_{I\in\symbf{n}}(-1)^{\envert{I}}t^{n-\envert{I}}
312 \prod_{i\in I}t_i\prod_{j\in I}(D_j+\lambda_jt_j)\det\symbf{A}
313 ^{(\lambda t)}(\overline{I}|\overline I).
314 \end{equation}
315 Note that
316 \begin{equation}\label{detK2}
317 \det\symbf{K}(t=1,t_1,\dots,t_n)=\sum_{I\in\symbf{n}}(-1)^{\envert{I}}
318 \prod_{i\in I}t_i\prod_{j\in I}(D_j+\lambda_jt_j)\det\symbf{A}
319 ^{(\lambda)}(\overline{I}|\overline{I})=0.
320 \end{equation}
321
322 Let $t_i=\hat x_i,i=1,\dots,n$. Lemma~\ref{lem-per} yields
323 \begin{multline}
324 \biggl(\sum_{\,i\in\symbf{n}}a_{l _i}x_i\biggr)
325 \det\symbf{K}(t=1,x_1,\dots,x_n;l |l )\\
326 =\biggl(\prod_{\,i\in\symbf{n}}\hat x_i\biggr)
327 \sum_{I\subseteq\symbf{n}-\{l \}}
328 (-1)^{\envert{I}}\per\symbf{A}^{(\lambda)}(I|I)
329 \det\symbf{A}^{(\lambda)}
330 (\overline I\cup\{l \}|\overline I\cup\{l \}).
331 \label{sum-ali}
332 \end{multline}
333 \begin{verbatim}
334 \begin{multline}
335 \biggl(\sum_{\,i\in\symbf{n}}a_{l _i}x_i\biggr)
336 \det\symbf{K}(t=1,x_1,\dots,x_n;l |l )\\
337 =\biggl(\prod_{\,i\in\symbf{n}}\hat x_i\biggr)
338 \sum_{I\subseteq\symbf{n}-\{l \}}
339 (-1)^{\envert{I}}\per\symbf{A}^{(\lambda)}(I|I)
340 \det\symbf{A}^{(\lambda)}
341 (\overline I\cup\{l \}|\overline I\cup\{l \}).
342 \label{sum-ali}
343 \end{multline}
344 \end{verbatim}
345
346 By \eqref{H-cycles}, \eqref{detprod}, and \eqref{sum-bij}, we have
347 \begin{prop}\label{prop:eg}
348 \begin{equation}
349 H_c=\frac1{2n}\sum^n_{l =0}(-1)^{l}
350 D_{l},
351 \end{equation}
352 where
353 \begin{equation}\label{delta-l}
354 D_{l}=\eval[2]{\sum_{I_{l}\subseteq \symbf{n}}
355 D(t_1,\dots,t_n)}_{t_i=\left\{\begin{smallmatrix}
356 0,& \text{if }i\in I_{l}\quad\\% \quad added for centering
357 1,& \text{otherwise}\end{smallmatrix}\right.\;,\;\; i=1,\dots,n}.
358 \end{equation}
359 \end{prop}
360
361 \section{Application}
362 \label{lincomp}
363
364 We consider here the applications of Theorems~\ref{th-info-ow-ow}
365 and~\ref{th-weak-ske-owf} to a complete
366 multipartite graph $K_{n_1\dots n_p}$. It can be shown that the
367 number of spanning trees of $K_{n_1\dots n_p}$
368 may be written
369 \begin{equation}\label{e:st}
370 T=n^{p-2}\prod^p_{i=1}
371 (n-n_i)^{n_i-1}
372 \end{equation}
373 where
374 \begin{equation}
375 n=n_1+\dots+n_p.
376 \end{equation}
377
378 It follows from Theorems~\ref{th-info-ow-ow} and~\ref{th-weak-ske-owf} that
379 \begin{equation}\label{e:barwq}
380 \begin{split}
381 H_c&=\frac1{2n}
382 \sum^n_{{l}=0}(-1)^{l}(n-{l})^{p-2}
383 \sum_{l _1+\dots+l _p=l}\prod^p_{i=1}
384 \binom{n_i}{l _i}\\
385 &\quad\cdot[(n-l )-(n_i-l _i)]^{n_i-l _i}\cdot
386 \biggl[(n-l )^2-\sum^p_{j=1}(n_i-l _i)^2\biggr].\end{split}
387 \end{equation}
388 \begin{verbatim}
389 ... \binom{n_i}{l _i}\\
390 \end{verbatim}
391 and
392 \begin{equation}\label{joe}
393 \begin{split}
394 H_c&=\frac12\sum^{n-1}_{l =0}
395 (-1)^{l}(n-l )^{p-2}
396 \sum_{l _1+\dots+l _p=l}
397 \prod^p_{i=1}\binom{n_i}{l _i}\\
398 &\quad\cdot[(n-l )-(n_i-l _i)]^{n_i-l _i}
399 \left(1-\frac{l _p}{n_p}\right)
400 [(n-l )-(n_p-l _p)].
401 \end{split}
402 \end{equation}
403
404 The enumeration of $H_c$ in a $K_{n_1\dotsm n_p}$ graph can also be
405 carried out by Theorem~\ref{thm-H-param} or~\ref{thm-asym}
406 together with the algebraic method of \eqref{multdef}.
407 Some elegant representations may be obtained. For example, $H_c$ in
408 a $K_{n_1n_2n_3}$ graph may be written
409 \begin{equation}\label{j:mark}
410 \begin{split}
411 H_c=&
412 \frac{n_1!\,n_2!\,n_3!}
413 {n_1+n_2+n_3}\sum_i\left[\binom{n_1}{i}
414 \binom{n_2}{n_3-n_1+i}\binom{n_3}{n_3-n_2+i}\right.\\
415 &+\left.\binom{n_1-1}{i}
416 \binom{n_2-1}{n_3-n_1+i}
417 \binom{n_3-1}{n_3-n_2+i}\right].\end{split}
418 \end{equation}
419
420 \section{Secret Key Exchanges}
421 \label{SKE}
422
423 Modern cryptography is fundamentally concerned with the problem of
424 secure private communication. A Secret Key Exchange is a protocol
425 where Alice and Bob, having no secret information in common to start,
426 are able to agree on a common secret key, conversing over a public
427 channel. The notion of a Secret Key Exchange protocol was first
428 introduced in the seminal paper of Diffie and Hellman
429 \cite{dihe:newdir}. \cite{dihe:newdir} presented a concrete
430 implementation of a Secret Key Exchange protocol, dependent on a
431 specific assumption (a variant on the discrete log), specially
432 tailored to yield Secret Key Exchange. Secret Key Exchange is of
433 course trivial if trapdoor permutations exist. However, there is no
434 known implementation based on a weaker general assumption.
435
436 The concept of an informationally one-way function was introduced
437 in \cite{imlelu:oneway}. We give only an informal definition here:
438
439 \begin{defn} A polynomial time
440 computable function $f = \{f_k\}$ is informationally
441 one-way if there is no probabilistic polynomial time algorithm which
442 (with probability of the form $1 - k^{-e}$ for some $e > 0$)
443 returns on input $y \in \{0,1\}^{k}$ a random element of $f^{-1}(y)$.
444 \end{defn}
445 In the non-uniform setting \cite{imlelu:oneway} show that these are not
446 weaker than one-way functions:
447 \begin{thm}[\cite{imlelu:oneway} (non-uniform)]
448 \label{th-info-ow-ow}
449 The existence of informationally one-way functions
450 implies the existence of one-way functions.
451 \end{thm}
452 We will stick to the convention introduced above of saying
453 ``non-uniform'' before the theorem statement when the theorem
454 makes use of non-uniformity. It should be understood that
455 if nothing is said then the result holds for both the uniform and
456 the non-uniform models.
457
458 It now follows from \thmref{th-info-ow-ow} that
459
460 \begin{thm}[non-uniform]\label{th-weak-ske-owf} Weak SKE
461 implies the existence of a one-way function.
462 \end{thm}
463
464 More recently, the polynomial-time, interior point algorithms for linear
465 programming have been extended to the case of convex quadratic programs
466 \cite{moad:quadpro,ye:intalg}, certain linear complementarity problems
467 \cite{komiyo:lincomp,miyoki:lincomp}, and the nonlinear complementarity
468 problem \cite{komiyo:unipfunc}. The connection between these algorithms
469 and the classical Newton method for nonlinear equations is well
470 explained in \cite{komiyo:lincomp}.
471
472 \section{Review}
473 \label{computation}
474
475 We begin our discussion with the following definition:
476
477 \begin{defn}
478
479 A function $H\colon \Re^n \to \Re^n$ is said to be
480 \emph{B-differentiable} at the point $z$ if (i)~$H$ is Lipschitz
481 continuous in a neighborhood of $z$, and (ii)~there exists a positive
482 homogeneous function $BH(z)\colon \Re^n \to \Re^n$, called the
483 \emph{B-derivative} of $H$ at $z$, such that
484 \[ \lim_{v \to 0} \frac{H(z+v) - H(z) - BH(z)v}{\enVert{v}} = 0. \]
485 The function $H$ is \textit{B-differentiable in set $S$} if it is
486 B-differentiable at every point in $S$. The B-derivative $BH(z)$ is said
487 to be \textit{strong} if
488 \[ \lim_{(v,v') \to (0,0)} \frac{H(z+v) - H(z+v') - BH(z)(v
489 -v')}{\enVert{v - v'}} = 0. \]
490 \end{defn}
491
492
493 \begin{lem}\label{limbog} There exists a smooth function $\psi_0(z)$
494 defined for $\abs{z}>1-2a$ satisfying the following properties\textup{:}
495 \begin{enumerate}
496 \renewcommand{\labelenumi}{(\roman{enumi})}
497 \item $\psi_0(z)$ is bounded above and below by positive constants
498 $c_1\leq \psi_0(z)\leq c_2$.
499 \item If $\abs{z}>1$, then $\psi_0(z)=1$.
500 \item For all $z$ in the domain of $\psi_0$, $\Delta_0\ln \psi_0\geq 0$.
501 \item If $1-2a<\abs{z}<1-a$, then $\Delta_0\ln \psi_0\geq
502 c_3>0$.
503 \end{enumerate}
504 \end{lem}
505
506 \begin{proof}
507 We choose $\psi_0(z)$ to be a radial function depending only on $r=\abs{z}$.
508 Let $h(r)\geq 0$ be a suitable smooth function satisfying $h(r)\geq c_3$
509 for $1-2a<\abs{z}<1-a$, and $h(r)=0$ for $\abs{z}>1-\tfrac a2$. The radial
510 Laplacian
511 \[\Delta_0\ln\psi_0(r)=\left(\frac {d^2}{dr^2}+\frac
512 1r\frac d{dr}\right)\ln\psi_0(r)\]
513 has smooth coefficients for $r>1-2a$. Therefore, we may
514 apply the existence and uniqueness theory for ordinary differential
515 equations. Simply let $\ln \psi_0(r)$ be the solution of the differential
516 equation
517 \[\left(\frac{d^2}{dr^2}+\frac 1r\frac d{dr}\right)\ln \psi_0(r)=h(r)\]
518 with initial conditions given by $\ln \psi_0(1)=0$ and
519 $\ln\psi_0'(1)=0$.
520
521 Next, let $D_\nu$ be a finite collection of pairwise disjoint disks,
522 all of which are contained in the unit disk centered at the origin in
523 $C$. We assume that $D_\nu=\{z\mid \abs{z-z_\nu}<\delta\}$. Suppose that
524 $D_\nu(a)$ denotes the smaller concentric disk $D_\nu(a)=\{z\mid
525 \abs{z-z_\nu}\leq (1-2a)\delta\}$. We define a smooth weight function
526 $\Phi_0(z)$ for $z\in C-\bigcup_\nu D_\nu(a)$ by setting $\Phi_
527 0(z)=1$ when $z\notin \bigcup_\nu D_\nu$ and $\Phi_
528 0(z)=\psi_0((z-z_\nu)/\delta)$ when $z$ is an element of $D_\nu$. It
529 follows from \lemref{limbog} that $\Phi_ 0$ satisfies the properties:
530 \begin{enumerate}
531 \renewcommand{\labelenumi}{(\roman{enumi})}
532 \item \label{boundab}$\Phi_ 0(z)$ is bounded above and below by
533 positive constants $c_1\leq \Phi_ 0(z)\leq c_2$.
534 \item \label{d:over}$\Delta_0\ln\Phi_ 0\geq 0$ for all
535 $z\in C-\bigcup_\nu D_\nu(a)$,
536 the domain where the function $\Phi_ 0$ is defined.
537 \item \label{d:ad}$\Delta_0\ln\Phi_ 0\geq c_3\delta^{-2}$
538 when $(1-2a)\delta<\abs{z-z_\nu}<(1-a)\delta$.
539 \end{enumerate}
540 Let $A_\nu$ denote the annulus $A_\nu=\{(1-2a)\delta<\abs{z-z_\nu}<(1-a)
541 \delta \}$, and set $A=\bigcup_\nu A_\nu$. The
542 properties (\ref{d:over}) and (\ref{d:ad}) of $\Phi_ 0$
543 may be summarized as $\Delta_0\ln \Phi_ 0\geq c_3\delta^{-2}\chi_A$,
544 where $\chi _A$ is the characteristic function of $A$.
545 \end{proof}
546
547 Suppose that $\alpha$ is a nonnegative real constant. We apply
548 Proposition~\ref{prop:eg} with $\Phi(z)=\Phi_ 0(z) e^{\alpha\abs{z}^2}$. If
549 $u\in C^\infty_0(R^2-\bigcup_\nu D_\nu(a))$, assume that $\symcal{D}$
550 is a bounded domain containing the support of $u$ and $A\subset
551 \symcal{D}\subset R^2-\bigcup_\nu D_\nu(a)$. A calculation gives
552 \[\int_{\symcal{D}}\abs{\overline\partial u}^2\Phi_ 0(z) e^{\alpha\abs{z}^2}
553 \geq c_4\alpha\int_{\symcal{D}}\abs{u}^2\Phi_ 0e^{\alpha\abs{z}^2}
554 +c_5\delta^{-2}\int_ A\abs{u}^2\Phi_ 0e^{\alpha\abs{z}^2}.\]
555
556 The boundedness, property (\ref{boundab}) of $\Phi_ 0$, then yields
557 \[\int_{\symcal{D}}\abs{\overline\partial u}^2e^{\alpha\abs{z}^2}\geq c_6\alpha
558 \int_{\symcal{D}}\abs{u}^2e^{\alpha\abs{z}^2}
559 +c_7\delta^{-2}\int_ A\abs{u}^2e^{\alpha\abs{z}^2}.\]
560
561 Let $B(X)$ be the set of blocks of $\Lambda_{X}$
562 and let $b(X) = \abs{B(X)}$. If $\phi \in Q_{X}$ then
563 $\phi$ is constant on the blocks of $\Lambda_{X}$.
564 \begin{equation}\label{far-d}
565 P_{X} = \{ \phi \in M \mid \Lambda_{\phi} = \Lambda_{X} \},
566 \qquad
567 Q_{X} = \{\phi \in M \mid \Lambda_{\phi} \geq \Lambda_{X} \}.
568 \end{equation}
569 If $\Lambda_{\phi} \geq \Lambda_{X}$ then
570 $\Lambda_{\phi} = \Lambda_{Y}$ for some $Y \geq X$ so that
571 \[ Q_{X} = \bigcup_{Y \geq X} P_{Y}. \]
572 Thus by M\"obius inversion
573 \[ \abs{P_{Y}}= \sum_{X\geq Y} \mu (Y,X)\abs{Q_{X}}.\]
574 Thus there is a bijection from $Q_{X}$ to $W^{B(X)}$.
575 In particular $\abs{Q_{X}} = w^{b(X)}$.
576
577 Next note that $b(X)=\dim X$. We see this by choosing a
578 basis for $X$ consisting of vectors $v^{k}$ defined by
579 \[v^{k}_{i}=
580 \begin{cases} 1 & \text{if $i \in \Lambda_{k}$},\\
581 0 &\text{otherwise.} \end{cases}
582 \]
583 \begin{verbatim}
584 \[v^{k}_{i}=
585 \begin{cases} 1 & \text{if $i \in \Lambda_{k}$},\\
586 0 &\text{otherwise.} \end{cases}
587 \]
588 \end{verbatim}
589
590 \begin{lem}\label{p0201}
591 Let $\A$ be an arrangement. Then
592 \[ \chi (\A,t) = \sum_{\B \subseteq \A}
593 (-1)^{\abs{\B}} t^{\dim T(\B)}. \]
594 \end{lem}
595
596 In order to compute $R''$ recall the definition
597 of $S(X,Y)$ from \lemref{lem-per}. Since $H \in \B$,
598 $\A_{H} \subseteq \B$. Thus if $T(\B) = Y$ then
599 $\B \in S(H,Y)$. Let $L'' = L(\A'')$. Then
600 \begin{equation}\label{E_SXgYy}
601 \begin{split}
602 R''&= \sum_{H\in \B \subseteq \A} (-1)^{\abs{\B}}
603 t^{\dim T(\B)}\\
604 &= \sum_{Y \in L''} \sum_{\B \in S(H,Y)}
605 (-1)^{\abs{\B}}t^{\dim Y} \\
606 &= -\sum_{Y \in L''} \sum_{\B \in S(H,Y)} (-1)^
607 {\abs{\B - \A_{H}}} t^{\dim Y} \\
608 &= -\sum_{Y \in L''} \mu (H,Y)t^{\dim Y} \\
609 &= -\chi (\A '',t).
610 \end{split}
611 \end{equation}
612
613 \begin{cor}\label{tripleA}
614 Let $(\A,\A',\A'')$ be a triple of arrangements. Then
615 \[ \pi (\A,t) = \pi (\A',t) + t \pi (\A'',t). \]
616 \end{cor}
617
618 \begin{defn}
619 Let $(\A,\A',\A'')$ be a triple with respect to
620 the hyperplane $H \in \A$. Call $H$ a \textit{separator}
621 if $T(\A) \not\in L(\A')$.
622 \end{defn}
623
624 \begin{cor}\label{nsep}
625 Let $(\A,\A',\A'')$ be a triple with respect to $H \in \A$.
626 \begin{enumerate}
627 \renewcommand{\labelenumi}{(\roman{enumi})}
628 \item
629 If $H$ is a separator then
630 \[ \mu (\A) = - \mu (\A'') \]
631 and hence
632 \[ \abs{\mu (\A)} = \abs{ \mu (\A'')}. \]
633
634 \item If $H$ is not a separator then
635 \[\mu (\A) = \mu (\A') - \mu (\A'') \]
636 and
637 \[ \abs{\mu (\A)} = \abs{\mu (\A')} + \abs{\mu (\A'')}. \]
638 \end{enumerate}
639 \end{cor}
640
641 \begin{proof}
642 It follows from \thmref{th-info-ow-ow} that $\pi(\A,t)$
643 has leading term
644 \[(-1)^{r(\A)}\mu (\A)t^{r(\A)}.\]
645 The conclusion
646 follows by comparing coefficients of the leading
647 terms on both sides of the equation in
648 Corollary~\ref{tripleA}. If $H$ is a separator then
649 $r(\A') < r(\A)$ and there is no contribution
650 from $\pi (\A',t)$.
651 \end{proof}
652
653 The Poincar\'e polynomial of an arrangement
654 will appear repeatedly
655 in these notes. It will be shown to equal the
656 Poincar\'e polynomial
657 of the graded algebras which we are going to
658 associate with $\A$. It is also the Poincar\'e
659 polynomial of the complement $M(\A)$ for a
660 complex arrangement. Here we prove
661 that the Poincar\'e polynomial is the chamber
662 counting function for a real arrangement. The
663 complement $M(\A)$ is a disjoint union of chambers
664 \[M(\A) = \bigcup_{C \in \Cham(\A)} C.\]
665 The number
666 of chambers is determined by the Poincar\'e
667 polynomial as follows.
668
669 \begin{thm}\label{th-realarr}
670 Let $\A_{\symbf{R}}$ be a real arrangement. Then
671 \[ \abs{\Cham(\A_{\symbf{R}})} = \pi (\A_{\symbf{R}},1). \]
672 \end{thm}
673
674 \begin{proof}
675 We check the properties required in Corollary~\ref{nsep}:
676 (i) follows from $\pi (\Phi_{ l},t) = 1$, and (ii) is a
677 consequence of Corollary~\ref{BI}.
678 \end{proof}
679
680 \begin{figure}
681 \vspace{5cm}
682 \caption[]{$Q(\A_{1}) = xyz(x-z)(x+z)(y-z)(y+z)$}
683 \end{figure}
684
685 \begin{figure}
686 \vspace{5cm}
687 \caption[]{$Q(\A_{2})= xyz(x+y+z)(x+y-z)(x-y+z)(x-y-z)$}
688 \end{figure}
689
690
691 \begin{thm}
692 \label{T_first_the_int}
693 Let $\phi$ be a protocol for a random pair $\XcY$.
694 If one of $\st_\phi(x',y)$ and $\st_\phi(x,y')$ is a prefix of the other
695 and $(x,y)\in\SXY$, then
696 \[
697 \langle \st_j(x',y)\rangle_{j=1}^\infty
698 =\langle \st_j(x,y)\rangle_{j=1}^\infty
699 =\langle \st_j(x,y')\rangle_{j=1}^\infty .
700 \]
701 \end{thm}
702 \begin{proof}
703 We show by induction on $i$ that
704 \[
705 \langle \st_j(x',y)\rangle_{j=1}^i
706 =\langle \st_j(x,y)\rangle_{j=1}^i
707 =\langle \st_j(x,y')\rangle_{j=1}^i.
708 \]
709 The induction hypothesis holds vacuously for $i=0$. Assume it holds for
710 $i-1$, in particular
711 $[\st_j(x',y)]_{j=1}^{i-1}=[\st_j(x,y')]_{j=1}^{i-1}$. Then one of
712 $[\st_j(x',y)]_{j=i}^{\infty}$ and $[\st_j(x,y')]_{j=i}^{\infty}$ is a
713 prefix of the other which implies that one of $\st_i(x',y)$ and
714 $\st_i(x,y')$ is a prefix of the other. If the $i$th message is
715 transmitted by $P_\X$ then, by the separate-transmissions property and
716 the induction hypothesis, $\st_i(x,y)=\st_i(x,y')$, hence one of
717 $\st_i(x,y)$ and $\st_i(x',y)$ is a prefix of the other. By the
718 implicit-termination property, neither $\st_i(x,y)$ nor $\st_i(x',y)$
719 can be a proper prefix of the other, hence they must be the same and
720 $\st_i(x',y)=\st_i(x,y)=\st_i(x,y')$. If the $i$th message is
721 transmitted by $\PY$ then, symmetrically, $\st_i(x,y)=\st_i(x',y)$ by
722 the induction hypothesis and the separate-transmissions property, and,
723 then, $\st_i(x,y)=\st_i(x,y')$ by the implicit-termination property,
724 proving the induction step.
725 \end{proof}
726
727 If $\phi$ is a protocol for $(X,Y)$, and $(x,y)$, $(x',y)$ are distinct
728 inputs in $\SXY$, then, by the correct-decision property,
729 $\langle\st_j(x,y)\rangle_{j=1}^\infty\ne\langle
730 \st_j(x',y)\rangle_{j=1}^\infty$.
731
732 Equation~(\ref{E_SXgYy}) defined $\PY$'s ambiguity set $\SXgYy$
733 to be the set of possible $X$ values when $Y=y$.
734 The last corollary implies that for all $y\in\SY$,
735 the multiset%
736 \footnote{A multiset allows multiplicity of elements.
737 Hence, $\{0,01,01\}$ is prefix free as a set, but not as a multiset.}
738 of codewords $\{\st_\phi(x,y):x\in\SXgYy\}$ is prefix free.
739
740 \section{One-Way Complexity}
741 \label{S_Cp1}
742
743 $\Cw1$, the one-way complexity of a random pair $\XcY$,
744 is the number of bits $P_\X$ must transmit in the worst case
745 when $\PY$ is not permitted to transmit any feedback messages.
746 Starting with $\SXY$, the support set of $\XcY$, we define $\G$,
747 the \textit{characteristic hypergraph} of $\XcY$, and show that
748 \[
749 \Cw1=\lceil\,\log\chi(\G)\rceil\ .
750 \]
751
752 Let $\XcY$ be a random pair. For each $y$ in $\SY$, the support set of
753 $Y$, Equation~(\ref{E_SXgYy}) defined $\SXgYy$ to be the set of possible
754 $x$ values when $Y=y$. The \textit{characteristic hypergraph} $\G$ of
755 $\XcY$ has $\SX$ as its vertex set and the hyperedge $\SXgYy$ for each
756 $y\in\SY$.
757
758
759 We can now prove a continuity theorem.
760 \begin{thm}\label{t:conl}
761 Let $\Omega \subset\symbf{R}^n$ be an open set, let
762 $u\in BV(\Omega ;\symbf{R}^m)$, and let
763 \begin{equation}\label{quts}
764 T^u_x=\left\{y\in\symbf{R}^m:
765 y=\tilde u(x)+\left\langle \frac{Du}{\abs{Du}}(x),z
766 \right\rangle \text{ for some }z\in\symbf{R}^n\right\}
767 \end{equation}
768 for every $x\in\Omega \backslash S_u$. Let $f\colon \symbf{R}^m\to
769 \symbf{R}^k$ be a Lipschitz continuous function such that $f(0)=0$, and
770 let $v=f(u)\colon \Omega \to \symbf{R}^k$. Then $v\in BV(\Omega
771 ;\symbf{R}^k)$ and
772 \begin{equation}
773 Jv=\eval{(f(u^+)-f(u^-))\otimes \nu_u\cdot\,
774 \symcal{H}_{n-1}}_{S_u}.
775 \end{equation}
776 In addition, for $\abs{\wt{D}u}$-almost every $x\in\Omega $ the
777 restriction of the function $f$ to $T^u_x$ is differentiable at $\tilde
778 u(x)$ and
779 \begin{equation}
780 \wt{D}v=\nabla (\eval{f}_{T^u_x})(\tilde u)
781 \frac{\wt{D}u}{\abs{\wt{D}u}}\cdot\abs{\wt{D}u}.\end{equation}
782 \end{thm}
783
784 Before proving the theorem, we state without proof three elementary
785 remarks which will be useful in the sequel.
786 \begin{rem}\label{r:omb}
787 Let $\omega\colon \left]0,+\infty\right[\to \left]0,+\infty\right[$
788 be a continuous function such that $\omega (t)\to 0$ as $t\to
789 0$. Then
790 \[\lim_{h\to 0^+}g(\omega(h))=L\Leftrightarrow\lim_{h\to
791 0^+}g(h)=L\]
792 for any function $g\colon \left]0,+\infty\right[\to \symbf{R}$.
793 \end{rem}
794 \begin{rem}\label{r:dif}
795 Let $g \colon \symbf{R}^n\to \symbf{R}$ be a Lipschitz
796 continuous function and assume that
797 \[L(z)=\lim_{h\to 0^+}\frac{g(hz)-g(0)}h\]
798 exists for every $z\in\symbf{Q}^n$ and that $L$ is a linear function of
799 $z$. Then $g$ is differentiable at 0.
800 \end{rem}
801 \begin{rem}\label{r:dif0}
802 Let $A \colon \symbf{R}^n\to \symbf{R}^m$ be a linear function, and
803 let $f \colon \symbf{R}^m\to \symbf{R}$ be a function. Then the
804 restriction of $f$ to the range of $A$ is differentiable at 0 if and
805 only if $f(A)\colon \symbf{R}^n\to \symbf{R}$ is differentiable at 0
806 and
807 \[\nabla(\eval{f}_{\IM(A)})(0)A=\nabla (f(A))(0).\]
808 \end{rem}
809
810 \begin{proof}
811 We begin by showing that $v\in BV(\Omega;\symbf{R}^k)$ and
812 \begin{equation}\label{e:bomb}
813 \abs{Dv}(B)\le K\abs{Du}(B)\qquad\forall B\in\symbf{B}(\Omega ),
814 \end{equation}
815 where $K>0$ is the Lipschitz constant of $f$. By \eqref{sum-Di} and by
816 the approximation result quoted in \secref{s:mt}, it is possible to find
817 a sequence $(u_h)\subset C^1(\Omega ;\symbf{R}^m)$ converging to $u$ in
818 $L^1(\Omega ;\symbf{R}^m)$ and such that
819 \[\lim_{h\to +\infty}\int_\Omega \abs{\nabla u_h}\,dx=\abs{Du}(\Omega ).\]
820 The functions $v_h=f(u_h)$ are locally Lipschitz continuous in $\Omega
821 $, and the definition of differential implies that $\abs{\nabla v_h}\le
822 K\abs{\nabla u_h}$ almost everywhere in $\Omega $. The lower semicontinuity
823 of the total variation and \eqref{sum-Di} yield
824 \begin{equation}
825 \begin{split}
826 \abs{Dv}(\Omega )\le\liminf_{h\to +\infty}\abs{Dv_h}(\Omega) &
827 =\liminf_{h\to +\infty}\int_\Omega \abs{\nabla v_h}\,dx\\
828 &\le K\liminf_{h\to +\infty}\int_\Omega
829 \abs{\nabla u_h}\,dx=K\abs{Du}(\Omega).
830 \end{split}\end{equation}
831 Since $f(0)=0$, we have also
832 \[\int_\Omega \abs{v}\,dx\le K\int_\Omega \abs{u}\,dx;\]
833 therefore $u\in BV(\Omega ;\symbf{R}^k)$. Repeating the same argument
834 for every open set $A\subset\Omega $, we get \eqref{e:bomb} for every
835 $B\in\symbf{B}(\Omega)$, because $\abs{Dv}$, $\abs{Du}$ are Radon measures. To
836 prove \lemref{limbog}, first we observe that
837 \begin{equation}\label{e:SS}
838 S_v\subset S_u,\qquad\tilde v(x)=f(\tilde u(x))\qquad \forall x\in\Omega
839 \backslash S_u.\end{equation}
840 In fact, for every $\varepsilon >0$ we have
841 \[\{y\in B_\rho(x): \abs{v(y)-f(\tilde u(x))}>\varepsilon \}\subset \{y\in
842 B_\rho(x): \abs{u(y)-\tilde u(x)}>\varepsilon /K\},\]
843 hence
844 \[\lim_{\rho\to 0^+}\frac{\abs{\{y\in B_\rho(x): \abs{v(y)-f(\tilde u(x))}>
845 \varepsilon \}}}{\rho^n}=0\]
846 whenever $x\in\Omega \backslash S_u$. By a similar argument, if $x\in
847 S_u$ is a point such that there exists a triplet $(u^+,u^-,\nu_u)$
848 satisfying \eqref{detK1}, \eqref{detK2}, then
849 \[
850 (v^+(x)-v^-(x))\otimes \nu_v=(f(u^+(x))-f(u^-(x)))\otimes\nu_u\quad
851 \text{if }x\in S_v
852 \]
853 and $f(u^-(x))=f(u^+(x))$ if $x\in S_u\backslash S_v$. Hence, by (1.8)
854 we get
855 \begin{equation*}\begin{split}
856 Jv(B)=\int_{B\cap S_v}(v^+-v^-)\otimes \nu_v\,d\symcal{H}_{n-1}&=
857 \int_{B\cap S_v}(f(u^+)-f(u^-))\otimes \nu_u\,d\symcal{H}_{n-1}\\
858 &=\int_{B\cap S_u}(f(u^+)-f(u^-))\otimes \nu_u\,d\symcal{H}_{n-1}
859 \end{split}\end{equation*}
860 and \lemref{limbog} is proved.
861 \end{proof}
862
863 To prove \eqref{e:SS}, it is not restrictive to assume that $k=1$.
864 Moreover, to simplify our notation, from now on we shall assume that
865 $\Omega = \symbf{R}^n$. The proof of \eqref{e:SS} is divided into two
866 steps. In the first step we prove the statement in the one-dimensional
867 case $(n=1)$, using \thmref{th-weak-ske-owf}. In the second step we
868 achieve the general result using \thmref{t:conl}.
869
870 \subsection*{Step 1}
871 Assume that $n=1$. Since $S_u$ is at most countable, \eqref{sum-bij}
872 yields that $\abs{\wt{D}v}(S_u\backslash S_v)=0$, so that
873 \eqref{e:st} and \eqref{e:barwq} imply that $Dv=\wt{D}v+Jv$ is
874 the Radon-Nikod\'ym decomposition of $Dv$ in absolutely continuous and
875 singular part with respect to $\abs{\wt{D} u}$. By
876 \thmref{th-weak-ske-owf}, we have
877 \begin{equation*}
878 \frac{\wt{D}v}{\abs{\wt{D}u}}(t)=\lim_{s\to t^+}
879 \frac{Dv(\interval{\left[t,s\right[})}
880 {\abs{\wt{D}u}(\interval{\left[t,s\right[})},\qquad
881 \frac{\wt{D}u}{\abs{\wt{D}u}}(t)=\lim_{s\to t^+}
882 \frac{Du(\interval{\left[t,s\right[})}
883 {\abs{\wt{D}u}(\interval{\left[t,s\right[})}
884 \end{equation*}
885 $\abs{\wt{D}u}$-almost everywhere in $\symbf{R}$. It is well known
886 (see, for instance, \cite[2.5.16]{ste:sint}) that every one-dimensional
887 function of bounded variation $w$ has a unique left continuous
888 representative, i.e., a function $\hat w$ such that $\hat w=w$ almost
889 everywhere and $\lim_{s\to t^-}\hat w(s)=\hat w(t)$ for every $t\in
890 \symbf{R}$. These conditions imply
891 \begin{equation}
892 \hat u(t)=Du(\interval{\left]-\infty,t\right[}),
893 \qquad \hat v(t)=Dv(\interval{\left]-\infty,t\right[})\qquad
894 \forall t\in\symbf{R}
895 \end{equation}
896 and
897 \begin{equation}\label{alimo}
898 \hat v(t)=f(\hat u(t))\qquad\forall t\in\symbf{R}.\end{equation}
899 Let $t\in\symbf{R}$ be such that
900 $\abs{\wt{D}u}(\interval{\left[t,s\right[})>0$ for every $s>t$ and
901 assume that the limits in \eqref{joe} exist. By \eqref{j:mark} and
902 \eqref{far-d} we get
903 \begin{equation*}\begin{split}
904 \frac{\hat v(s)-\hat
905 v(t)}{\abs{\wt{D}u}(\interval{\left[t,s\right[})}&=\frac {f(\hat
906 u(s))-f(\hat u(t))}{\abs{\wt{D}u}(\interval{\left[t,s\right[})}\\
907 &=\frac{f(\hat u(s))-f(\hat
908 u(t)+\dfrac{\wt{D}u}{\abs{\wt{D}u}}(t)\abs{\wt{D}u
909 }(\interval{\left[t,s\right[}))}%
910 {\abs{\wt{D}u}(\interval{\left[t,s\right[})}\\
911 &+\frac
912 {f(\hat u(t)+\dfrac{\wt{D}u}{\abs{\wt{D}u}}(t)\abs{\wt{D}
913 u}(\interval{\left[t,s\right[}))-f(\hat
914 u(t))}{\abs{\wt{D}u}(\interval{\left[t,s\right[})}
915 \end{split}\end{equation*}
916 for every $s>t$. Using the Lipschitz condition on $f$ we find
917 {\setlength{\multlinegap}{0pt}
918 \begin{multline*}
919 \left\lvert\frac{\hat v(s)-\hat
920 v(t)}{\abs{\wt{D}u}(\interval{\left[t,s\right[})} -\frac{f(\hat
921 u(t)+\dfrac{\wt{D}u}{\abs{\wt{D}u}}(t)
922 \abs{\wt{D}u}(\interval{\left[t,s\right[}))-f(\hat
923 u(t))}{\abs{\wt{D}u}(\interval{\left[t,s\right[})}\right\rvert\\
924 \le K\left\lvert
925 \frac{\hat u(s)-\hat u(t)}
926 {\abs{\wt{D}u}(\interval{\left[t,s\right[})}
927 -\frac{\wt{D}u}{\abs{
928 \wt{D}u}}(t)\right\rvert.\end{multline*}
929 }% end of group with \multlinegap=0pt
930 By \eqref{e:bomb}, the function $s\to
931 \abs{\wt{D}u}(\interval{\left[t,s\right[})$ is continuous and
932 converges to 0 as $s\downarrow t$. Therefore Remark~\ref{r:omb} and the
933 previous inequality imply
934 \[\frac{\wt{D}v}{\abs{\wt{D}u}}(t)=\lim_{h\to 0^+}
935 \frac{f(\hat u(t)+h\dfrac{\wt{D}u}{\abs{\wt{D}u}}
936 (t))-f(\hat u(t))}h\quad\abs{\wt{D}u}\text{-a.e. in }\symbf{R}.\]
937 By \eqref{joe}, $\hat u(x)=\tilde u(x)$ for every
938 $x\in\symbf{R}\backslash S_u$; moreover, applying the same argument to
939 the functions $u'(t)=u(-t)$, $v'(t)=f(u'(t))=v(-t)$, we get
940 \[\frac{\wt{D}v}{\abs{\wt{D}u}}(t)=\lim_{h\to 0}
941 \frac{f(\tilde u(t)
942 +h\dfrac{\wt{D}u}{\abs{\wt{D}u}}(t))-f(\tilde u(t))}{h}
943 \qquad\abs{\wt{D}u}\text{-a.e. in }\symbf{R}\]
944 and our statement is proved.
945
946 \subsection*{Step 2}
947
948 Let us consider now the general case $n>1$. Let $\nu\in \symbf{R}^n$ be
949 such that $\abs{\nu}=1$, and let $\pi_\nu=\{y\in\symbf{R}^n: \langle
950 y,\nu\rangle =0\}$. In the following, we shall identify $\symbf{R}^n$
951 with $\pi_\nu\times\symbf{R}$, and we shall denote by $y$ the variable
952 ranging in $\pi_\nu$ and by $t$ the variable ranging in $\symbf{R}$. By
953 the just proven one-dimensional result, and by \thmref{thm-main}, we get
954 \[\lim_{h\to 0}\frac{f(\tilde u(y+t\nu)+h\dfrac{\wt{D}u_y}{\abs{
955 \wt{D}u_y}}(t))-f(\tilde u(y+t\nu))}h=\frac{\wt{D}v_y}{\abs{
956 \wt{D}u_y}}(t)\qquad\abs{\wt{D}u_y}\text{-a.e. in }\symbf{R}\]
957 for $\symcal{H}_{n-1}$-almost every $y\in \pi_\nu$. We claim that
958 \begin{equation}
959 \frac{\langle \wt{D}u,\nu\rangle }{\abs{\langle \wt{D}u,\nu\rangle
960 }}(y+t\nu)=\frac{\wt{D}u_y}
961 {\abs{\wt{D}u_y}}(t)\qquad\abs{\wt{D}u_y}\text{-a.e. in }\symbf{R}
962 \end{equation}
963 for $\symcal{H}_{n-1}$-almost every $y\in\pi_\nu$. In fact, by
964 \eqref{sum-ali} and \eqref{delta-l} we get
965 \begin{multline*}
966 \int_{\pi_\nu}\frac{\wt{D}u_y}{\abs{\wt{D}u_y}}\cdot\abs{\wt{D}u_y
967 }\,d\symcal{H}_{n-1}(y)=\int_{\pi_\nu}\wt{D}u_y\,d\symcal{H}_{n-1}(y)\\
968 =\langle \wt{D}u,\nu\rangle =\frac
969 {\langle \wt{D}u,\nu\rangle }{\abs{\langle \wt{D}u,\nu\rangle}}\cdot
970 \abs{\langle \wt{D}u,\nu\rangle }=\int_{\pi_\nu}\frac{
971 \langle \wt{D}u,\nu\rangle }{\abs{\langle \wt{D}u,\nu\rangle }}
972 (y+\cdot \nu)\cdot\abs{\wt{D}u_y}\,d\symcal{H}_{n-1}(y)
973 \end{multline*}
974 and \eqref{far-d} follows from \eqref{sum-Di}. By the same argument it
975 is possible to prove that
976 \begin{equation}
977 \frac{\langle \wt{D}v,\nu\rangle }{\abs{\langle \wt{D}u,\nu\rangle
978 }}(y+t\nu)=\frac{\wt{D}v_y}{\abs{\wt{D}u_y}}(t)\qquad\abs{
979 \wt{D}u_y}\text{-a.e. in }\symbf{R}\end{equation}
980 for $\symcal{H}_{n-1}$-almost every $y\in \pi_\nu$. By \eqref{far-d}
981 and \eqref{E_SXgYy} we get
982 \[
983 \lim_{h\to 0}\frac{f(\tilde u(y+t\nu)+h\dfrac{\langle \wt{D}
984 u,\nu\rangle }{\abs{\langle \wt{D}u,\nu\rangle }}(y+t\nu))-f(\tilde
985 u(y+t\nu))}{h}
986 =\frac{\langle \wt{D}v,\nu\rangle }{\abs{\langle
987 \wt{D}u,\nu\rangle }}(y+t\nu)\]
988 for $\symcal{H}_{n-1}$-almost every $y\in\pi_\nu$, and using again
989 \eqref{detK1}, \eqref{detK2} we get
990 \[
991 \lim_{h\to 0}\frac{f(\tilde u(x)+h\dfrac{\langle
992 \wt{D}u,\nu\rangle }{\abs{\langle \wt{D}u,\nu\rangle }}(x))-f(\tilde
993 u(x))}{h}=\frac{\langle \wt{D}v,\nu\rangle }{\abs{\langle \wt{D}u,\nu
994 \rangle }}(x)
995 \]
996 $\abs{\langle \wt{D}u,\nu\rangle}$-a.e. in $\symbf{R}^n$.
997
998 Since the function $\abs{\langle \wt{D}u,\nu\rangle }/\abs{\wt{D}u}$
999 is strictly positive $\abs{\langle \wt{D}u,\nu\rangle }$-almost everywhere,
1000 we obtain also
1001 \begin{multline*}
1002 \lim_{h\to 0}\frac{f(\tilde u(x)+h\dfrac{\abs{\langle
1003 \wt{D}u,\nu\rangle }}{\abs{\wt{D}u}}(x)\dfrac{\langle \wt{D}
1004 u,\nu\rangle }{\abs{\langle \wt{D}u,\nu\rangle }}(x))-f(\tilde u(x))}{h}\\
1005 =\frac{\abs{\langle \wt{D}u,\nu\rangle }}{\abs{\wt{D}u}}(x)\frac
1006 {\langle \wt{D}v,\nu\rangle }{\abs{\langle
1007 \wt{D}u,\nu\rangle }}(x)
1008 \end{multline*}
1009 $\abs{\langle \wt{D}u,\nu\rangle }$-almost everywhere in $\symbf{R}^n$.
1010
1011 Finally, since
1012 \begin{align*}
1013 &\frac{\abs{\langle \wt{D}u,\nu\rangle }}{\abs{\wt{D}u}}
1014 \frac{\langle \wt{D}u,\nu\rangle }{\abs{\langle \wt{D}u,\nu\rangle}}
1015 =\frac{\langle \wt{D}u,\nu\rangle }{\abs{\wt{D}u}}
1016 =\left\langle \frac{\wt{D}u}{\abs{\wt{D}u}},\nu\right\rangle
1017 \qquad\abs{\wt{D}u}\text{-a.e. in }\symbf{R}^n\\
1018 &\frac{\abs{\langle \wt{D}u,\nu\rangle }}{\abs{\wt{D}u}}
1019 \frac{\langle \wt{D}v,\nu\rangle }{\abs{\langle \wt{D}u,\nu\rangle}}
1020 =\frac{\langle \wt{D}v,\nu\rangle }{\abs{\wt{D}u}}
1021 =\left\langle \frac{\wt{D}v}{\abs{\wt{D}u}},\nu\right\rangle
1022 \qquad\abs{\wt{D}u}\text{-a.e. in }\symbf{R}^n
1023 \end{align*}
1024 and since both sides of \eqref{alimo}
1025 are zero $\abs{\wt{D}u}$-almost everywhere
1026 on $\abs{\langle \wt{D}u,\nu\rangle }$-negligible sets, we conclude that
1027 \[
1028 \lim_{h\to 0}\frac{f\left(
1029 \tilde u(x)+h\left\langle \dfrac{\wt{D}
1030 u}{\abs{\wt{D}u}}(x),\nu\right\rangle \right)-f(\tilde u(x))}h
1031 =\left\langle \frac{\wt{D}v}{\abs{\wt{D}u}}(x),\nu\right\rangle,
1032 \]
1033 $\abs{\wt{D}u}$-a.e. in $\symbf{R}^n$.
1034 Since $\nu$ is arbitrary, by Remarks \ref{r:dif} and~\ref{r:dif0}
1035 the restriction of $f$ to
1036 the affine space $T^u_x$ is differentiable at $\tilde u(x)$ for $\abs{\wt{D}
1037 u}$-almost every $x\in \symbf{R}^n$ and \eqref{quts} holds.\qed
1038
1039 It follows from \eqref{sum-Di}, \eqref{detK1}, and \eqref{detK2} that
1040 \begin{equation}\label{Dt}
1041 D(t_1,\dots,t_n)=\sum_{I\in\symbf{n}}(-1)^{\abs{I}-1}\abs{I}
1042 \prod_{i\in I}t_i\prod_{j\in I}(D_j+\lambda_jt_j)\det\symbf{A}^{(\lambda)}
1043 (\overline I|\overline I).
1044 \end{equation}
1045 Let $t_i=\hat x_i$, $i=1,\dots,n$. Lemma 1 leads to
1046 \begin{equation}\label{Dx}
1047 D(\hat x_1,\dots,\hat x_n)=\prod_{i\in\symbf{n}}\hat x_i
1048 \sum_{I\in\symbf{n}}(-1)^{\abs{I}-1}\abs{I}\per \symbf{A}
1049 ^{(\lambda)}(I|I)\det\symbf{A}^{(\lambda)}(\overline I|\overline I).
1050 \end{equation}
1051 By \eqref{H-cycles}, \eqref{sum-Di}, and \eqref{Dx},
1052 we have the following result:
1053 \begin{thm}\label{thm-H-param}
1054 \begin{equation}\label{H-param}
1055 H_c=\frac{1}{2n}\sum^n_{l =1}l (-1)^{l -1}A_{l}
1056 ^{(\lambda)},
1057 \end{equation}
1058 where
1059 \begin{equation}\label{A-l-lambda}
1060 A^{(\lambda)}_l =\sum_{I_l \subseteq\symbf{n}}\per \symbf{A}
1061 ^{(\lambda)}(I_l |I_l )\det\symbf{A}^{(\lambda)}
1062 (\overline I_{l}|\overline I_l ),\abs{I_{l}}=l .
1063 \end{equation}
1064 \end{thm}
1065
1066 It is worth noting that $A_l ^{(\lambda)}$ of \eqref{A-l-lambda} is
1067 similar to the coefficients $b_l $ of the characteristic polynomial of
1068 \eqref{bl-sum}. It is well known in graph theory that the coefficients
1069 $b_l $ can be expressed as a sum over certain subgraphs. It is
1070 interesting to see whether $A_l $, $\lambda=0$, structural properties
1071 of a graph.
1072
1073 We may call \eqref{H-param} a parametric representation of $H_c$. In
1074 computation, the parameter $\lambda_i$ plays very important roles. The
1075 choice of the parameter usually depends on the properties of the given
1076 graph. For a complete graph $K_n$, let $\lambda_i=1$, $i=1,\dots,n$.
1077 It follows from \eqref{A-l-lambda} that
1078 \begin{equation}\label{compl-gr}
1079 A^{(1)}_l =\begin{cases} n!,&\text{if }l =1\\
1080 0,&\text{otherwise}.\end{cases}
1081 \end{equation}
1082 By \eqref{H-param}
1083 \begin{equation}
1084 H_c=\frac 12(n-1)!.
1085 \end{equation}
1086 For a complete bipartite graph $K_{n_1n_2}$, let $\lambda_i=0$, $i=1,\dots,n$.
1087 By \eqref{A-l-lambda},
1088 \begin{equation}
1089 A_l =
1090 \begin{cases} -n_1!n_2!\delta_{n_1n_2},&\text{if }l =2\\
1091 0,&\text{otherwise }.\end{cases}
1092 \label{compl-bip-gr}
1093 \end{equation}
1094 Theorem~\ref{thm-H-param}
1095 leads to
1096 \begin{equation}
1097 H_c=\frac1{n_1+n_2}n_1!n_2!\delta_{n_1n_2}.
1098 \end{equation}
1099
1100 Now, we consider an asymmetrical approach. Theorem \ref{thm-main} leads to
1101 \begin{multline}
1102 \det\symbf{K}(t=1,t_1,\dots,t_n;l |l )\\
1103 =\sum_{I\subseteq\symbf{n}-\{l \}}
1104 (-1)^{\abs{I}}\prod_{i\in I}t_i\prod_{j\in I}
1105 (D_j+\lambda_jt_j)\det\symbf{A}^{(\lambda)}
1106 (\overline I\cup\{l \}|\overline I\cup\{l \}).
1107 \end{multline}
1108
1109 By \eqref{H-cycles} and \eqref{sum-ali} we have the following asymmetrical
1110 result:
1111 \begin{thm}\label{thm-asym}
1112 \begin{equation}
1113 H_c=\frac12\sum_{I\subseteq\symbf{n}-\{l \}}
1114 (-1)^{\abs{I}}\per\symbf{A}^{(\lambda)}(I|I)\det
1115 \symbf{A}^{(\lambda)}
1116 (\overline I\cup\{l \}|\overline I\cup\{l \})
1117 \end{equation}
1118 which reduces to Goulden--Jackson's formula when $\lambda_i=0,i=1,\dots,n$
1119 \cite{mami:matrixth}.
1120 \end{thm}
1121
1122 \section{Various font features of the \pkg{amsmath} package}
1123 \label{s:font}
1124 \subsection{Bold versions of special symbols}
1125
1126 In the \pkg{amsmath} package \cn{boldsymbol} is used for getting
1127 individual bold math symbols and bold Greek letters---everything in
1128 math except for letters of the Latin alphabet,
1129 where you'd use \cn{symbf}. For example,
1130 \begin{verbatim}
1131 A_\infty + \pi A_0 \sim
1132 \symbf{A}_{\boldsymbol{\infty}} \boldsymbol{+}
1133 \boldsymbol{\pi} \symbf{A}_{\boldsymbol{0}}
1134 \end{verbatim}
1135 looks like this:
1136 \[A_\infty + \pi A_0 \sim \symbf{A}_{\boldsymbol{\infty}}
1137 \boldsymbol{+} \boldsymbol{\pi} \symbf{A}_{\boldsymbol{0}}\]
1138
1139 \subsection{``Poor man's bold''}
1140 If a bold version of a particular symbol doesn't exist in the
1141 available fonts,
1142 then \cn{boldsymbol} can't be used to make that symbol bold.
1143 At the present time, this means that
1144 \cn{boldsymbol} can't be used with symbols from
1145 the \fn{msam} and \fn{msbm} fonts, among others.
1146 In some cases, poor man's bold (\cn{pmb}) can be used instead
1147 of \cn{boldsymbol}:
1148 % Can't show example from msam or msbm because this document is
1149 % supposed to be TeXable even if the user doesn't have
1150 % AMSFonts. MJD 5-JUL-1990
1151 \[\frac{\partial x}{\partial y}
1152 \pmb{\bigg\vert}
1153 \frac{\partial y}{\partial z}\]
1154 \begin{verbatim}
1155 \[\frac{\partial x}{\partial y}
1156 \pmb{\bigg\vert}
1157 \frac{\partial y}{\partial z}\]
1158 \end{verbatim}
1159 So-called ``large operator'' symbols such as $\sum$ and $\prod$
1160 require an additional command, \cn{mathop},
1161 to produce proper spacing and limits when \cn{pmb} is used.
1162 For further details see \textit{The \TeX book}.
1163 \[\sum_{\substack{i<B\\\text{$i$ odd}}}
1164 \prod_\kappa \kappa F(r_i)\qquad
1165 \mathop{\pmb{\sum}}_{\substack{i<B\\\text{$i$ odd}}}
1166 \mathop{\pmb{\prod}}_\kappa \kappa(r_i)
1167 \]
1168 \begin{verbatim}
1169 \[\sum_{\substack{i<B\\\text{$i$ odd}}}
1170 \prod_\kappa \kappa F(r_i)\qquad
1171 \mathop{\pmb{\sum}}_{\substack{i<B\\\text{$i$ odd}}}
1172 \mathop{\pmb{\prod}}_\kappa \kappa(r_i)
1173 \]
1174 \end{verbatim}
1175
1176 \section{Compound symbols and other features}
1177 \label{s:comp}
1178 \subsection{Multiple integral signs}
1179
1180 \cn{iint}, \cn{iiint}, and \cn{iiiint} give multiple integral signs
1181 with the spacing between them nicely adjusted, in both text and
1182 display style. \cn{idotsint} gives two integral signs with dots
1183 between them.
1184 \begin{gather}
1185 \iint\limits_A f(x,y)\,dx\,dy\qquad\iiint\limits_A
1186 f(x,y,z)\,dx\,dy\,dz\\
1187 \iiiint\limits_A
1188 f(w,x,y,z)\,dw\,dx\,dy\,dz\qquad\idotsint\limits_A f(x_1,\dots,x_k)
1189 \end{gather}
1190
1191 \subsection{Over and under arrows}
1192
1193 Some extra over and under arrow operations are provided in
1194 the \pkg{amsmath} package. (Basic \LaTeX\ provides
1195 \cn{overrightarrow} and \cn{overleftarrow}).
1196 \begin{align*}
1197 \overrightarrow{\psi_\delta(t) E_t h}&
1198 =\underrightarrow{\psi_\delta(t) E_t h}\\
1199 \overleftarrow{\psi_\delta(t) E_t h}&
1200 =\underleftarrow{\psi_\delta(t) E_t h}\\
1201 \overleftrightarrow{\psi_\delta(t) E_t h}&
1202 =\underleftrightarrow{\psi_\delta(t) E_t h}
1203 \end{align*}
1204 \begin{verbatim}
1205 \begin{align*}
1206 \overrightarrow{\psi_\delta(t) E_t h}&
1207 =\underrightarrow{\psi_\delta(t) E_t h}\\
1208 \overleftarrow{\psi_\delta(t) E_t h}&
1209 =\underleftarrow{\psi_\delta(t) E_t h}\\
1210 \overleftrightarrow{\psi_\delta(t) E_t h}&
1211 =\underleftrightarrow{\psi_\delta(t) E_t h}
1212 \end{align*}
1213 \end{verbatim}
1214 These all scale properly in subscript sizes:
1215 \[\int_{\overrightarrow{AB}} ax\,dx\]
1216 \begin{verbatim}
1217 \[\int_{\overrightarrow{AB}} ax\,dx\]
1218 \end{verbatim}
1219
1220 \subsection{Dots}
1221
1222 Normally you need only type \cn{dots} for ellipsis dots in a
1223 math formula. The main exception is when the dots
1224 fall at the end of the formula; then you need to
1225 specify one of \cn{dotsc} (series dots, after a comma),
1226 \cn{dotsb} (binary dots, for binary relations or operators),
1227 \cn{dotsm} (multiplication dots), or \cn{dotsi} (dots after
1228 an integral). For example, the input
1229 \begin{verbatim}
1230 Then we have the series $A_1,A_2,\dotsc$,
1231 the regional sum $A_1+A_2+\dotsb$,
1232 the orthogonal product $A_1A_2\dotsm$,
1233 and the infinite integral
1234 \[\int_{A_1}\int_{A_2}\dotsi\].
1235 \end{verbatim}
1236 produces
1237 \begin{quotation}
1238 Then we have the series $A_1,A_2,\dotsc$,
1239 the regional sum $A_1+A_2+\dotsb$,
1240 the orthogonal product $A_1A_2\dotsm$,
1241 and the infinite integral
1242 \[\int_{A_1}\int_{A_2}\dotsi\]
1243 \end{quotation}
1244
1245 \subsection{Accents in math}
1246
1247 Double accents:
1248 \[\Hat{\Hat{H}}\quad\Check{\Check{C}}\quad
1249 \Tilde{\Tilde{T}}\quad\Acute{\Acute{A}}\quad
1250 \Grave{\Grave{G}}\quad\Dot{\Dot{D}}\quad
1251 \Ddot{\Ddot{D}}\quad\Breve{\Breve{B}}\quad
1252 \Bar{\Bar{B}}\quad\Vec{\Vec{V}}\]
1253 \begin{verbatim}
1254 \[\Hat{\Hat{H}}\quad\Check{\Check{C}}\quad
1255 \Tilde{\Tilde{T}}\quad\Acute{\Acute{A}}\quad
1256 \Grave{\Grave{G}}\quad\Dot{\Dot{D}}\quad
1257 \Ddot{\Ddot{D}}\quad\Breve{\Breve{B}}\quad
1258 \Bar{\Bar{B}}\quad\Vec{\Vec{V}}\]
1259 \end{verbatim}
1260 This double accent operation is complicated
1261 and tends to slow down the processing of a \LaTeX\ file.
1262
1263
1264 \subsection{Dot accents}
1265 \cn{dddot} and \cn{ddddot} are available to
1266 produce triple and quadruple dot accents
1267 in addition to the \cn{dot} and \cn{ddot} accents already available
1268 in \LaTeX:
1269 \[\dddot{Q}\qquad\ddddot{R}\]
1270 \begin{verbatim}
1271 \[\dddot{Q}\qquad\ddddot{R}\]
1272 \end{verbatim}
1273
1274 \subsection{Roots}
1275
1276 In the \pkg{amsmath} package \cn{leftroot} and \cn{uproot} allow you to adjust
1277 the position of the root index of a radical:
1278 \begin{verbatim}
1279 \sqrt[\leftroot{-2}\uproot{2}\beta]{k}
1280 \end{verbatim}
1281 gives good positioning of the $\beta$:
1282 \[\sqrt[\leftroot{0}\uproot{2}\beta]{k}\]
1283
1284 \subsection{Boxed formulas} The command \cn{boxed} puts a box around its
1285 argument, like \cn{fbox} except that the contents are in math mode:
1286 \begin{verbatim}
1287 \boxed{W_t-F\subseteq V(P_i)\subseteq W_t}
1288 \end{verbatim}
1289 \[\boxed{W_t-F\subseteq V(P_i)\subseteq W_t}.\]
1290
1291 \subsection{Extensible arrows}
1292 \cn{xleftarrow} and \cn{xrightarrow} produce
1293 arrows that extend automatically to accommodate unusually wide
1294 subscripts or superscripts. The text of the subscript or superscript
1295 are given as an optional resp.\@ mandatory argument:
1296 Example:
1297 \[0 \xleftarrow[\zeta]{\alpha} F\times\triangle[n-1]
1298 \xrightarrow{\partial_0\alpha(b)} E^{\partial_0b}\]
1299 \begin{verbatim}
1300 \[0 \xleftarrow[\zeta]{\alpha} F\times\triangle[n-1]
1301 \xrightarrow{\partial_0\alpha(b)} E^{\partial_0b}\]
1302 \end{verbatim}
1303
1304 \subsection{\cn{overset}, \cn{underset}, and \cn{sideset}}
1305 Examples:
1306 \[\overset{*}{X}\qquad\underset{*}{X}\qquad
1307 \overset{a}{\underset{b}{X}}\]
1308 \begin{verbatim}
1309 \[\overset{*}{X}\qquad\underset{*}{X}\qquad
1310 \overset{a}{\underset{b}{X}}\]
1311 \end{verbatim}
1312
1313 The command \cn{sideset} is for a rather special
1314 purpose: putting symbols at the subscript and superscript
1315 corners of a large operator symbol such as $\sum$ or $\prod$,
1316 without affecting the placement of limits.
1317 Examples:
1318 \[\sideset{_*^*}{_*^*}\prod_k\qquad
1319 \sideset{}{'}\sum_{0\le i\le m} E_i\beta x
1320 \]
1321 \begin{verbatim}
1322 \[\sideset{_*^*}{_*^*}\prod_k\qquad
1323 \sideset{}{'}\sum_{0\le i\le m} E_i\beta x
1324 \]
1325 \end{verbatim}
1326
1327 \subsection{The \cn{text} command}
1328 The main use of the command \cn{text} is for words or phrases in a
1329 display:
1330 \[\symbf{y}=\symbf{y}'\quad\text{if and only if}\quad
1331 y'_k=\delta_k y_{\tau(k)}\]
1332 \begin{verbatim}
1333 \[\symbf{y}=\symbf{y}'\quad\text{if and only if}\quad
1334 y'_k=\delta_k y_{\tau(k)}\]
1335 \end{verbatim}
1336
1337 \subsection{Operator names}
1338 The more common math functions such as $\log$, $\sin$, and $\lim$
1339 have predefined control sequences: \verb=\log=, \verb=\sin=,
1340 \verb=\lim=.
1341 The \pkg{amsmath} package provides \cn{DeclareMathOperator} and
1342 \cn{DeclareMathOperator*}
1343 for producing new function names that will have the
1344 same typographical treatment.
1345 Examples:
1346 \[\norm{f}_\infty=
1347 \esssup_{x\in R^n}\abs{f(x)}\]
1348 \begin{verbatim}
1349 \[\norm{f}_\infty=
1350 \esssup_{x\in R^n}\abs{f(x)}\]
1351 \end{verbatim}
1352 \[\meas_1\{u\in R_+^1\colon f^*(u)>\alpha\}
1353 =\meas_n\{x\in R^n\colon \abs{f(x)}\geq\alpha\}
1354 \quad \forall\alpha>0.\]
1355 \begin{verbatim}
1356 \[\meas_1\{u\in R_+^1\colon f^*(u)>\alpha\}
1357 =\meas_n\{x\in R^n\colon \abs{f(x)}\geq\alpha\}
1358 \quad \forall\alpha>0.\]
1359 \end{verbatim}
1360 \cn{esssup} and \cn{meas} would be defined in the document preamble as
1361 \begin{verbatim}
1362 \DeclareMathOperator*{\esssup}{ess\,sup}
1363 \DeclareMathOperator{\meas}{meas}
1364 \end{verbatim}
1365
1366 The following special operator names are predefined in the \pkg{amsmath}
1367 package: \cn{varlimsup}, \cn{varliminf}, \cn{varinjlim}, and
1368 \cn{varprojlim}. Here's what they look like in use:
1369 \begin{align}
1370 &\varlimsup_{n\rightarrow\infty}
1371 \symcal{Q}(u_n,u_n-u^{\#})\le0\\
1372 &\varliminf_{n\rightarrow\infty}
1373 \left\lvert a_{n+1}\right\rvert/\left\lvert a_n\right\rvert=0\\
1374 &\varinjlim (m_i^\lambda\cdot)^*\le0\\
1375 &\varprojlim_{p\in S(A)}A_p\le0
1376 \end{align}
1377 \begin{verbatim}
1378 \begin{align}
1379 &\varlimsup_{n\rightarrow\infty}
1380 \symcal{Q}(u_n,u_n-u^{\#})\le0\\
1381 &\varliminf_{n\rightarrow\infty}
1382 \left\lvert a_{n+1}\right\rvert/\left\lvert a_n\right\rvert=0\\
1383 &\varinjlim (m_i^\lambda\cdot)^*\le0\\
1384 &\varprojlim_{p\in S(A)}A_p\le0
1385 \end{align}
1386 \end{verbatim}
1387
1388 \subsection{\cn{mod} and its relatives}
1389 The commands \cn{mod} and \cn{pod} are variants of
1390 \cn{pmod} preferred by some authors; \cn{mod} omits the parentheses,
1391 whereas \cn{pod} omits the `mod' and retains the parentheses.
1392 Examples:
1393 \begin{align}
1394 x&\equiv y+1\pmod{m^2}\\
1395 x&\equiv y+1\mod{m^2}\\
1396 x&\equiv y+1\pod{m^2}
1397 \end{align}
1398 \begin{verbatim}
1399 \begin{align}
1400 x&\equiv y+1\pmod{m^2}\\
1401 x&\equiv y+1\mod{m^2}\\
1402 x&\equiv y+1\pod{m^2}
1403 \end{align}
1404 \end{verbatim}
1405
1406 \subsection{Fractions and related constructions}
1407 \label{fracs}
1408
1409 The usual notation for binomials is similar to the fraction concept,
1410 so it has a similar command \cn{binom} with two arguments. Example:
1411 \begin{equation}
1412 \begin{split}
1413 \sum_{\gamma\in\Gamma_C} I_\gamma&
1414 =2^k-\binom{k}{1}2^{k-1}+\binom{k}{2}2^{k-2}\\
1415 &\quad+\dots+(-1)^l\binom{k}{l}2^{k-l}
1416 +\dots+(-1)^k\\
1417 &=(2-1)^k=1
1418 \end{split}
1419 \end{equation}
1420 \begin{verbatim}
1421 \begin{equation}
1422 \begin{split}
1423 [\sum_{\gamma\in\Gamma_C} I_\gamma&
1424 =2^k-\binom{k}{1}2^{k-1}+\binom{k}{2}2^{k-2}\\
1425 &\quad+\dots+(-1)^l\binom{k}{l}2^{k-l}
1426 +\dots+(-1)^k\\
1427 &=(2-1)^k=1
1428 \end{split}
1429 \end{equation}
1430 \end{verbatim}
1431 There are also abbreviations
1432 \begin{verbatim}
1433 \dfrac \dbinom
1434 \tfrac \tbinom
1435 \end{verbatim}
1436 for the commonly needed constructions
1437 \begin{verbatim}
1438 {\displaystyle\frac ... } {\displaystyle\binom ... }
1439 {\textstyle\frac ... } {\textstyle\binom ... }
1440 \end{verbatim}
1441
1442 The generalized fraction command \cn{genfrac} provides full access to
1443 the six \TeX{} fraction primitives:
1444 \begin{align}
1445 \text{\cn{over}: }&\genfrac{}{}{}{}{n+1}{2}&
1446 \text{\cn{overwithdelims}: }&
1447 \genfrac{\langle}{\rangle}{}{}{n+1}{2}\\
1448 \text{\cn{atop}: }&\genfrac{}{}{0pt}{}{n+1}{2}&
1449 \text{\cn{atopwithdelims}: }&
1450 \genfrac{(}{)}{0pt}{}{n+1}{2}\\
1451 \text{\cn{above}: }&\genfrac{}{}{1pt}{}{n+1}{2}&
1452 \text{\cn{abovewithdelims}: }&
1453 \genfrac{[}{]}{1pt}{}{n+1}{2}
1454 \end{align}
1455 \begin{verbatim}
1456 \text{\cn{over}: }&\genfrac{}{}{}{}{n+1}{2}&
1457 \text{\cn{overwithdelims}: }&
1458 \genfrac{\langle}{\rangle}{}{}{n+1}{2}\\
1459 \text{\cn{atop}: }&\genfrac{}{}{0pt}{}{n+1}{2}&
1460 \text{\cn{atopwithdelims}: }&
1461 \genfrac{(}{)}{0pt}{}{n+1}{2}\\
1462 \text{\cn{above}: }&\genfrac{}{}{1pt}{}{n+1}{2}&
1463 \text{\cn{abovewithdelims}: }&
1464 \genfrac{[}{]}{1pt}{}{n+1}{2}
1465 \end{verbatim}
1466
1467 \subsection{Continued fractions}
1468 The continued fraction
1469 \begin{equation}
1470 \cfrac{1}{\sqrt{2}+
1471 \cfrac{1}{\sqrt{2}+
1472 \cfrac{1}{\sqrt{2}+
1473 \cfrac{1}{\sqrt{2}+
1474 \cfrac{1}{\sqrt{2}+\dotsb
1475 }}}}}
1476 \end{equation}
1477 can be obtained by typing
1478 \begin{verbatim}
1479 \cfrac{1}{\sqrt{2}+
1480 \cfrac{1}{\sqrt{2}+
1481 \cfrac{1}{\sqrt{2}+
1482 \cfrac{1}{\sqrt{2}+
1483 \cfrac{1}{\sqrt{2}+\dotsb
1484 }}}}}
1485 \end{verbatim}
1486 Left or right placement of any of the numerators is accomplished by using
1487 \cn{cfrac[l]} or \cn{cfrac[r]} instead of \cn{cfrac}.
1488
1489 \subsection{Smash}
1490
1491 In \pkg{amsmath} there are optional arguments \verb"t" and \verb"b" for
1492 the plain \TeX\ command \cn{smash}, because sometimes it is advantageous
1493 to be able to `smash' only the top or only the bottom of something while
1494 retaining the natural depth or height. In the formula
1495 $X_j=(1/\sqrt{\smash[b]{\lambda_j}})X_j'$ \cn{smash}\verb=[b]= has been
1496 used to limit the size of the radical symbol.
1497 \begin{verbatim}
1498 $X_j=(1/\sqrt{\smash[b]{\lambda_j}})X_j'$
1499 \end{verbatim}
1500 Without the use of \cn{smash}\verb=[b]= the formula would have appeared
1501 thus: $X_j=(1/\sqrt{\lambda_j})X_j'$, with the radical extending to
1502 encompass the depth of the subscript $j$.
1503
1504 \subsection{The `cases' environment}
1505 `Cases' constructions like the following can be produced using
1506 the \env{cases} environment.
1507 \begin{equation}
1508 P_{r-j}=
1509 \begin{cases}
1510 0& \text{if $r-j$ is odd},\\
1511 r!\,(-1)^{(r-j)/2}& \text{if $r-j$ is even}.
1512 \end{cases}
1513 \end{equation}
1514 \begin{verbatim}
1515 \begin{equation} P_{r-j}=
1516 \begin{cases}
1517 0& \text{if $r-j$ is odd},\\
1518 r!\,(-1)^{(r-j)/2}& \text{if $r-j$ is even}.
1519 \end{cases}
1520 \end{equation}
1521 \end{verbatim}
1522 Notice the use of \cn{text} and the embedded math.
1523
1524 \subsection{Matrix}
1525
1526 Here are samples of the matrix environments,
1527 \cn{matrix}, \cn{pmatrix}, \cn{bmatrix}, \cn{Bmatrix}, \cn{vmatrix}
1528 and \cn{Vmatrix}:
1529 \begin{equation}
1530 \begin{matrix}
1531 \vartheta& \varrho\\\varphi& \varpi
1532 \end{matrix}\quad
1533 \begin{pmatrix}
1534 \vartheta& \varrho\\\varphi& \varpi
1535 \end{pmatrix}\quad
1536 \begin{bmatrix}
1537 \vartheta& \varrho\\\varphi& \varpi
1538 \end{bmatrix}\quad
1539 \begin{Bmatrix}
1540 \vartheta& \varrho\\\varphi& \varpi
1541 \end{Bmatrix}\quad
1542 \begin{vmatrix}
1543 \vartheta& \varrho\\\varphi& \varpi
1544 \end{vmatrix}\quad
1545 \begin{Vmatrix}
1546 \vartheta& \varrho\\\varphi& \varpi
1547 \end{Vmatrix}
1548 \end{equation}
1549 %
1550 \begin{verbatim}
1551 \begin{matrix}
1552 \vartheta& \varrho\\\varphi& \varpi
1553 \end{matrix}\quad
1554 \begin{pmatrix}
1555 \vartheta& \varrho\\\varphi& \varpi
1556 \end{pmatrix}\quad
1557 \begin{bmatrix}
1558 \vartheta& \varrho\\\varphi& \varpi
1559 \end{bmatrix}\quad
1560 \begin{Bmatrix}
1561 \vartheta& \varrho\\\varphi& \varpi
1562 \end{Bmatrix}\quad
1563 \begin{vmatrix}
1564 \vartheta& \varrho\\\varphi& \varpi
1565 \end{vmatrix}\quad
1566 \begin{Vmatrix}
1567 \vartheta& \varrho\\\varphi& \varpi
1568 \end{Vmatrix}
1569 \end{verbatim}
1570
1571 To produce a small matrix suitable for use in text, use the
1572 \env{smallmatrix} environment.
1573 \begin{verbatim}
1574 \begin{math}
1575 \bigl( \begin{smallmatrix}
1576 a&b\\ c&d
1577 \end{smallmatrix} \bigr)
1578 \end{math}
1579 \end{verbatim}
1580 To show
1581 the effect of the matrix on the surrounding lines of
1582 a paragraph, we put it here: \begin{math}
1583 \bigl( \begin{smallmatrix}
1584 a&b\\ c&d
1585 \end{smallmatrix} \bigr)
1586 \end{math}
1587 and follow it with enough text to ensure that there will
1588 be at least one full line below the matrix.
1589
1590 \cn{hdotsfor}\verb"{"\textit{number}\verb"}" produces a row of dots in a matrix
1591 spanning the given number of columns:
1592 \[W(\Phi)= \begin{Vmatrix}
1593 \dfrac\varphi{(\varphi_1,\varepsilon_1)}&0&\dots&0\\
1594 \dfrac{\varphi k_{n2}}{(\varphi_2,\varepsilon_1)}&
1595 \dfrac\varphi{(\varphi_2,\varepsilon_2)}&\dots&0\\
1596 \hdotsfor{5}\\
1597 \dfrac{\varphi k_{n1}}{(\varphi_n,\varepsilon_1)}&
1598 \dfrac{\varphi k_{n2}}{(\varphi_n,\varepsilon_2)}&\dots&
1599 \dfrac{\varphi k_{n\,n-1}}{(\varphi_n,\varepsilon_{n-1})}&
1600 \dfrac{\varphi}{(\varphi_n,\varepsilon_n)}
1601 \end{Vmatrix}\]
1602 \begin{verbatim}
1603 \[W(\Phi)= \begin{Vmatrix}
1604 \dfrac\varphi{(\varphi_1,\varepsilon_1)}&0&\dots&0\\
1605 \dfrac{\varphi k_{n2}}{(\varphi_2,\varepsilon_1)}&
1606 \dfrac\varphi{(\varphi_2,\varepsilon_2)}&\dots&0\\
1607 \hdotsfor{5}\\
1608 \dfrac{\varphi k_{n1}}{(\varphi_n,\varepsilon_1)}&
1609 \dfrac{\varphi k_{n2}}{(\varphi_n,\varepsilon_2)}&\dots&
1610 \dfrac{\varphi k_{n\,n-1}}{(\varphi_n,\varepsilon_{n-1})}&
1611 \dfrac{\varphi}{(\varphi_n,\varepsilon_n)}
1612 \end{Vmatrix}\]
1613 \end{verbatim}
1614 The spacing of the dots can be varied through use of a square-bracket
1615 option, for example, \verb"\hdotsfor[1.5]{3}". The number in square brackets
1616 will be used as a multiplier; the normal value is 1.
1617
1618 \subsection{The \cn{substack} command}
1619
1620 The \cn{substack} command can be used to produce a multiline
1621 subscript or superscript:
1622 for example
1623 \begin{verbatim}
1624 \sum_{\substack{0\le i\le m\\ 0<j<n}} P(i,j)
1625 \end{verbatim}
1626 produces a two-line subscript underneath the sum:
1627 \begin{equation}
1628 \sum_{\substack{0\le i\le m\\ 0<j<n}} P(i,j)
1629 \end{equation}
1630 A slightly more generalized form is the \env{subarray} environment which
1631 allows you to specify that each line should be left-aligned instead of
1632 centered, as here:
1633 \begin{equation}
1634 \sum_{\begin{subarray}{l}
1635 0\le i\le m\\ 0<j<n
1636 \end{subarray}}
1637 P(i,j)
1638 \end{equation}
1639 \begin{verbatim}
1640 \sum_{\begin{subarray}{l}
1641 0\le i\le m\\ 0<j<n
1642 \end{subarray}}
1643 P(i,j)
1644 \end{verbatim}
1645
1646
1647 \subsection{Big-g-g delimiters}
1648 Here are some big delimiters, first in \cn{normalsize}:
1649 \[\biggl(\symbf{E}_{y}
1650 \int_0^{t_\varepsilon}L_{x,y^x(s)}\varphi(x)\,ds
1651 \biggr)
1652 \]
1653 \begin{verbatim}
1654 \[\biggl(\symbf{E}_{y}
1655 \int_0^{t_\varepsilon}L_{x,y^x(s)}\varphi(x)\,ds
1656 \biggr)
1657 \]
1658 \end{verbatim}
1659 and now in \cn{Large} size:
1660 {\Large
1661 \[\biggl(\symbf{E}_{y}
1662 \int_0^{t_\varepsilon}L_{x,y^x(s)}\varphi(x)\,ds
1663 \biggr)
1664 \]}
1665 \begin{verbatim}
1666 {\Large
1667 \[\biggl(\symbf{E}_{y}
1668 \int_0^{t_\varepsilon}L_{x,y^x(s)}\varphi(x)\,ds
1669 \biggr)
1670 \]}
1671 \end{verbatim}
1672
1673 \newpage
1674 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1675 \makeatletter
1676
1677 %% This turns on vertical rules at the right and left margins, to
1678 %% better illustrate the spacing for certain multiple-line equation
1679 %% structures.
1680 \def\@makecol{\ifvoid\footins \setbox\@outputbox\box\@cclv
1681 \else\setbox\@outputbox
1682 \vbox{\boxmaxdepth \maxdepth
1683 \unvbox\@cclv\vskip\skip\footins\footnoterule\unvbox\footins}\fi
1684 \xdef\@freelist{\@freelist\@midlist}\gdef\@midlist{}\@combinefloats
1685 \setbox\@outputbox\hbox{\vrule width\marginrulewidth
1686 \vbox to\@colht{\boxmaxdepth\maxdepth
1687 \@texttop\dimen128=\dp\@outputbox\unvbox\@outputbox
1688 \vskip-\dimen128\@textbottom}%
1689 \vrule width\marginrulewidth}%
1690 \global\maxdepth\@maxdepth}
1691 \newdimen\marginrulewidth
1692 \setlength{\marginrulewidth}{.1pt}
1693 \makeatother
1694
1695 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1696
1697 \appendix
1698 \section{Examples of multiple-line equation structures}
1699 \label{s:eq}
1700
1701 \textbf{\large Note: Starting on this page, vertical rules are
1702 added at the margins so that the positioning of various display elements
1703 with respect to the margins can be seen more clearly.}
1704
1705 \subsection{Split}
1706 The \env{split} environment is not an independent environment
1707 but should be used inside something else such as \env{equation}
1708 or \env{align}.
1709
1710 If there is not enough room for it, the equation number for a
1711 \env{split} will be shifted to the previous line, when equation numbers are
1712 on the left; the number shifts down to the next line when numbers are on
1713 the right.
1714 \begin{equation}
1715 \begin{split}
1716 f_{h,\varepsilon}(x,y)
1717 &=\varepsilon\symbf{E}_{x,y}\int_0^{t_\varepsilon}
1718 L_{x,y_\varepsilon(\varepsilon u)}\varphi(x)\,du\\
1719 &= h\int L_{x,z}\varphi(x)\rho_x(dz)\\
1720 &\quad+h\biggl[\frac{1}{t_\varepsilon}\biggl(\symbf{E}_{y}
1721 \int_0^{t_\varepsilon}L_{x,y^x(s)}\varphi(x)\,ds
1722 -t_\varepsilon\int L_{x,z}\varphi(x)\rho_x(dz)\biggr)\\
1723 &\phantom{{=}+h\biggl[}+\frac{1}{t_\varepsilon}
1724 \biggl(\symbf{E}_{y}\int_0^{t_\varepsilon}L_{x,y^x(s)}
1725 \varphi(x)\,ds -\symbf{E}_{x,y}\int_0^{t_\varepsilon}
1726 L_{x,y_\varepsilon(\varepsilon s)}
1727 \varphi(x)\,ds\biggr)\biggr]\\
1728 &=h\wh{L}_x\varphi(x)+h\theta_\varepsilon(x,y),
1729 \end{split}
1730 \end{equation}
1731 Some text after to test the below-display spacing.
1732
1733 \begin{verbatim}
1734 \begin{equation}
1735 \begin{split}
1736 f_{h,\varepsilon}(x,y)
1737 &=\varepsilon\symbf{E}_{x,y}\int_0^{t_\varepsilon}
1738 L_{x,y_\varepsilon(\varepsilon u)}\varphi(x)\,du\\
1739 &= h\int L_{x,z}\varphi(x)\rho_x(dz)\\
1740 &\quad+h\biggl[\frac{1}{t_\varepsilon}\biggl(\symbf{E}_{y}
1741 \int_0^{t_\varepsilon}L_{x,y^x(s)}\varphi(x)\,ds
1742 -t_\varepsilon\int L_{x,z}\varphi(x)\rho_x(dz)\biggr)\\
1743 &\phantom{{=}+h\biggl[}+\frac{1}{t_\varepsilon}
1744 \biggl(\symbf{E}_{y}\int_0^{t_\varepsilon}L_{x,y^x(s)}
1745 \varphi(x)\,ds -\symbf{E}_{x,y}\int_0^{t_\varepsilon}
1746 L_{x,y_\varepsilon(\varepsilon s)}
1747 \varphi(x)\,ds\biggr)\biggr]\\
1748 &=h\wh{L}_x\varphi(x)+h\theta_\varepsilon(x,y),
1749 \end{split}
1750 \end{equation}
1751 \end{verbatim}
1752 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1753
1754 \newpage
1755 Unnumbered version:
1756 \begin{equation*}
1757 \begin{split}
1758 f_{h,\varepsilon}(x,y)
1759 &=\varepsilon\symbf{E}_{x,y}\int_0^{t_\varepsilon}
1760 L_{x,y_\varepsilon(\varepsilon u)}\varphi(x)\,du\\
1761 &= h\int L_{x,z}\varphi(x)\rho_x(dz)\\
1762 &\quad+h\biggl[\frac{1}{t_\varepsilon}\biggl(\symbf{E}_{y}
1763 \int_0^{t_\varepsilon}L_{x,y^x(s)}\varphi(x)\,ds
1764 -t_\varepsilon\int L_{x,z}\varphi(x)\rho_x(dz)\biggr)\\
1765 &\phantom{{=}+h\biggl[}+\frac{1}{t_\varepsilon}
1766 \biggl(\symbf{E}_{y}\int_0^{t_\varepsilon}L_{x,y^x(s)}
1767 \varphi(x)\,ds -\symbf{E}_{x,y}\int_0^{t_\varepsilon}
1768 L_{x,y_\varepsilon(\varepsilon s)}
1769 \varphi(x)\,ds\biggr)\biggr]\\
1770 &=h\wh{L}_x\varphi(x)+h\theta_\varepsilon(x,y),
1771 \end{split}
1772 \end{equation*}
1773 Some text after to test the below-display spacing.
1774
1775 \begin{verbatim}
1776 \begin{equation*}
1777 \begin{split}
1778 f_{h,\varepsilon}(x,y)
1779 &=\varepsilon\symbf{E}_{x,y}\int_0^{t_\varepsilon}
1780 L_{x,y_\varepsilon(\varepsilon u)}\varphi(x)\,du\\
1781 &= h\int L_{x,z}\varphi(x)\rho_x(dz)\\
1782 &\quad+h\biggl[\frac{1}{t_\varepsilon}\biggl(\symbf{E}_{y}
1783 \int_0^{t_\varepsilon}L_{x,y^x(s)}\varphi(x)\,ds
1784 -t_\varepsilon\int L_{x,z}\varphi(x)\rho_x(dz)\biggr)\\
1785 &\phantom{{=}+h\biggl[}+\frac{1}{t_\varepsilon}
1786 \biggl(\symbf{E}_{y}\int_0^{t_\varepsilon}L_{x,y^x(s)}
1787 \varphi(x)\,ds -\symbf{E}_{x,y}\int_0^{t_\varepsilon}
1788 L_{x,y_\varepsilon(\varepsilon s)}
1789 \varphi(x)\,ds\biggr)\biggr]\\
1790 &=h\wh{L}_x\varphi(x)+h\theta_\varepsilon(x,y),
1791 \end{split}
1792 \end{equation*}
1793 \end{verbatim}
1794 %%%%%%%%%%%%%%%%%%%%%%%%%%%
1795
1796 \newpage
1797 If the option \env{centertags} is included in the options
1798 list of the \pkg{amsmath} package,
1799 the equation numbers for \env{split} environments will be
1800 centered vertically on the height
1801 of the \env{split}:
1802 {\makeatletter\ctagsplit@true
1803 \begin{equation}
1804 \begin{split}
1805 \abs{I_2}&=\left\lvert \int_{0}^T \psi(t)\left\{u(a,t)-\int_{\gamma(t)}^a
1806 \frac{d\theta}{k(\theta,t)}
1807 \int_{a}^\theta c(\xi)u_t(\xi,t)\,d\xi\right\}dt\right\rvert\\
1808 &\le C_6\left\lvert \left\lvert f\int_\Omega\left\lvert \wt{S}^{-1,0}_{a,-}
1809 W_2(\Omega,\Gamma_l)\right\rvert\right\rvert
1810 \left\lvert \abs{u}\overset{\circ}\to W_2^{\wt{A}}
1811 (\Omega;\Gamma_r,T)\right\rvert\right\rvert.
1812 \end{split}
1813 \end{equation}}%
1814 Some text after to test the below-display spacing.
1815
1816 %%%%%%%%%%%%%%%%%%%%%%%%%%%
1817
1818 \newpage
1819 Use of \env{split} within \env{align}:
1820 {\delimiterfactor750
1821 \begin{align}
1822 \begin{split}\abs{I_1}
1823 &=\left\lvert \int_\Omega gRu\,d\Omega\right\rvert\\
1824 &\le C_3\left[\int_\Omega\left(\int_{a}^x
1825 g(\xi,t)\,d\xi\right)^2d\Omega\right]^{1/2}\\
1826 &\quad\times \left[\int_\Omega\left\{u^2_x+\frac{1}{k}
1827 \left(\int_{a}^x cu_t\,d\xi\right)^2\right\}
1828 c\Omega\right]^{1/2}\\
1829 &\le C_4\left\lvert \left\lvert f\left\lvert \wt{S}^{-1,0}_{a,-}
1830 W_2(\Omega,\Gamma_l)\right\rvert\right\rvert
1831 \left\lvert \abs{u}\overset{\circ}\to W_2^{\wt{A}}
1832 (\Omega;\Gamma_r,T)\right\rvert\right\rvert.
1833 \end{split}\label{eq:A}\\
1834 \begin{split}\abs{I_2}&=\left\lvert \int_{0}^T \psi(t)\left\{u(a,t)
1835 -\int_{\gamma(t)}^a\frac{d\theta}{k(\theta,t)}
1836 \int_{a}^\theta c(\xi)u_t(\xi,t)\,d\xi\right\}dt\right\rvert\\
1837 &\le C_6\left\lvert \left\lvert f\int_\Omega
1838 \left\lvert \wt{S}^{-1,0}_{a,-}
1839 W_2(\Omega,\Gamma_l)\right\rvert\right\rvert
1840 \left\lvert \abs{u}\overset{\circ}\to W_2^{\wt{A}}
1841 (\Omega;\Gamma_r,T)\right\rvert\right\rvert.
1842 \end{split}
1843 \end{align}}%
1844 Some text after to test the below-display spacing.
1845
1846 \begin{verbatim}
1847 \begin{align}
1848 \begin{split}\abs{I_1}
1849 &=\left\lvert \int_\Omega gRu\,d\Omega\right\rvert\\
1850 &\le C_3\left[\int_\Omega\left(\int_{a}^x
1851 g(\xi,t)\,d\xi\right)^2d\Omega\right]^{1/2}\\
1852 &\quad\times \left[\int_\Omega\left\{u^2_x+\frac{1}{k}
1853 \left(\int_{a}^x cu_t\,d\xi\right)^2\right\}
1854 c\Omega\right]^{1/2}\\
1855 &\le C_4\left\lvert \left\lvert f\left\lvert \wt{S}^{-1,0}_{a,-}
1856 W_2(\Omega,\Gamma_l)\right\rvert\right\rvert
1857 \left\lvert \abs{u}\overset{\circ}\to W_2^{\wt{A}}
1858 (\Omega;\Gamma_r,T)\right\rvert\right\rvert.
1859 \end{split}\label{eq:A}\\
1860 \begin{split}\abs{I_2}&=\left\lvert \int_{0}^T \psi(t)\left\{u(a,t)
1861 -\int_{\gamma(t)}^a\frac{d\theta}{k(\theta,t)}
1862 \int_{a}^\theta c(\xi)u_t(\xi,t)\,d\xi\right\}dt\right\rvert\\
1863 &\le C_6\left\lvert \left\lvert f\int_\Omega
1864 \left\lvert \wt{S}^{-1,0}_{a,-}
1865 W_2(\Omega,\Gamma_l)\right\rvert\right\rvert
1866 \left\lvert \abs{u}\overset{\circ}\to W_2^{\wt{A}}
1867 (\Omega;\Gamma_r,T)\right\rvert\right\rvert.
1868 \end{split}
1869 \end{align}
1870 \end{verbatim}
1871
1872 %%%%%%%%%%%%%%%%%%
1873
1874 \newpage
1875 Unnumbered \env{align}, with a number on the second \env{split}:
1876 \begin{align*}
1877 \begin{split}\abs{I_1}&=\left\lvert \int_\Omega gRu\,d\Omega\right\rvert\\
1878 &\le C_3\left[\int_\Omega\left(\int_{a}^x
1879 g(\xi,t)\,d\xi\right)^2d\Omega\right]^{1/2}\\
1880 &\phantom{=}\times \left[\int_\Omega\left\{u^2_x+\frac{1}{k}
1881 \left(\int_{a}^x cu_t\,d\xi\right)^2\right\}
1882 c\Omega\right]^{1/2}\\
1883 &\le C_4\left\lvert \left\lvert f\left\lvert \wt{S}^{-1,0}_{a,-}
1884 W_2(\Omega,\Gamma_l)\right\rvert\right\rvert
1885 \left\lvert \abs{u}\overset{\circ}\to W_2^{\wt{A}}
1886 (\Omega;\Gamma_r,T)\right\rvert\right\rvert.
1887 \end{split}\\
1888 \begin{split}\abs{I_2}&=\left\lvert \int_{0}^T \psi(t)\left\{u(a,t)
1889 -\int_{\gamma(t)}^a\frac{d\theta}{k(\theta,t)}
1890 \int_{a}^\theta c(\xi)u_t(\xi,t)\,d\xi\right\}dt\right\rvert\\
1891 &\le C_6\left\lvert \left\lvert f\int_\Omega
1892 \left\lvert \wt{S}^{-1,0}_{a,-}
1893 W_2(\Omega,\Gamma_l)\right\rvert\right\rvert
1894 \left\lvert \abs{u}\overset{\circ}\to W_2^{\wt{A}}
1895 (\Omega;\Gamma_r,T)\right\rvert\right\rvert.
1896 \end{split}\tag{\theequation$'$}
1897 \end{align*}
1898 Some text after to test the below-display spacing.
1899
1900 \begin{verbatim}
1901 \begin{align*}
1902 \begin{split}\abs{I_1}&=\left\lvert \int_\Omega gRu\,d\Omega\right\rvert\\
1903 &\le C_3\left[\int_\Omega\left(\int_{a}^x
1904 g(\xi,t)\,d\xi\right)^2d\Omega\right]^{1/2}\\
1905 &\phantom{=}\times \left[\int_\Omega\left\{u^2_x+\frac{1}{k}
1906 \left(\int_{a}^x cu_t\,d\xi\right)^2\right\}
1907 c\Omega\right]^{1/2}\\
1908 &\le C_4\left\lvert \left\lvert f\left\lvert \wt{S}^{-1,0}_{a,-}
1909 W_2(\Omega,\Gamma_l)\right\rvert\right\rvert
1910 \left\lvert \abs{u}\overset{\circ}\to W_2^{\wt{A}}
1911 (\Omega;\Gamma_r,T)\right\rvert\right\rvert.
1912 \end{split}\\
1913 \begin{split}\abs{I_2}&=\left\lvert \int_{0}^T \psi(t)\left\{u(a,t)
1914 -\int_{\gamma(t)}^a\frac{d\theta}{k(\theta,t)}
1915 \int_{a}^\theta c(\xi)u_t(\xi,t)\,d\xi\right\}dt\right\rvert\\
1916 &\le C_6\left\lvert \left\lvert f\int_\Omega
1917 \left\lvert \wt{S}^{-1,0}_{a,-}
1918 W_2(\Omega,\Gamma_l)\right\rvert\right\rvert
1919 \left\lvert \abs{u}\overset{\circ}\to W_2^{\wt{A}}
1920 (\Omega;\Gamma_r,T)\right\rvert\right\rvert.
1921 \end{split}\tag{\theequation$'$}
1922 \end{align*}
1923 \end{verbatim}
1924 %%%%%%%%%%%%%%%%%%%%%%%%%%%
1925
1926 \newpage
1927 \subsection{Multline}
1928 Numbered version:
1929 \begin{multline}\label{eq:E}
1930 \int_a^b\biggl\{\int_a^b[f(x)^2g(y)^2+f(y)^2g(x)^2]
1931 -2f(x)g(x)f(y)g(y)\,dx\biggr\}\,dy \\
1932 =\int_a^b\biggl\{g(y)^2\int_a^bf^2+f(y)^2
1933 \int_a^b g^2-2f(y)g(y)\int_a^b fg\biggr\}\,dy
1934 \end{multline}
1935 To test the use of \verb=\label= and
1936 \verb=\ref=, we refer to the number of this
1937 equation here: (\ref{eq:E}).
1938
1939 \begin{verbatim}
1940 \begin{multline}\label{eq:E}
1941 \int_a^b\biggl\{\int_a^b[f(x)^2g(y)^2+f(y)^2g(x)^2]
1942 -2f(x)g(x)f(y)g(y)\,dx\biggr\}\,dy \\
1943 =\int_a^b\biggl\{g(y)^2\int_a^bf^2+f(y)^2
1944 \int_a^b g^2-2f(y)g(y)\int_a^b fg\biggr\}\,dy
1945 \end{multline}
1946 \end{verbatim}
1947 %%%%%%%%%%%%%%%%%%%%%%%%%%%
1948
1949 Unnumbered version:
1950 \begin{multline*}
1951 \int_a^b\biggl\{\int_a^b[f(x)^2g(y)^2+f(y)^2g(x)^2]
1952 -2f(x)g(x)f(y)g(y)\,dx\biggr\}\,dy \\
1953 =\int_a^b\biggl\{g(y)^2\int_a^bf^2+f(y)^2
1954 \int_a^b g^2-2f(y)g(y)\int_a^b fg\biggr\}\,dy
1955 \end{multline*}
1956 Some text after to test the below-display spacing.
1957
1958 \begin{verbatim}
1959 \begin{multline*}
1960 \int_a^b\biggl\{\int_a^b[f(x)^2g(y)^2+f(y)^2g(x)^2]
1961 -2f(x)g(x)f(y)g(y)\,dx\biggr\}\,dy \\
1962 =\int_a^b\biggl\{g(y)^2\int_a^bf^2+f(y)^2
1963 \int_a^b g^2-2f(y)g(y)\int_a^b fg\biggr\}\,dy
1964 \end{multline*}
1965 \end{verbatim}
1966 %%%%%%%%%%%%%%%%%%%%%%%%%%%
1967
1968 \iffalse % bugfix needed, error message "Multiple \tag"
1969 % [mjd,24-Jan-1995]
1970 \newpage
1971 And now an ``unnumbered'' version numbered with a literal tag:
1972 \begin{multline*}\tag*{[a]}
1973 \int_a^b\biggl\{\int_a^b[f(x)^2g(y)^2+f(y)^2g(x)^2]
1974 -2f(x)g(x)f(y)g(y)\,dx\biggr\}\,dy \\
1975 =\int_a^b\biggl\{g(y)^2\int_a^bf^2+f(y)^2
1976 \int_a^b g^2-2f(y)g(y)\int_a^b fg\biggr\}\,dy
1977 \end{multline*}
1978 Some text after to test the below-display spacing.
1979
1980 \begin{verbatim}
1981 \begin{multline*}\tag*{[a]}
1982 \int_a^b\biggl\{\int_a^b[f(x)^2g(y)^2+f(y)^2g(x)^2]
1983 -2f(x)g(x)f(y)g(y)\,dx\biggr\}\,dy \\
1984 =\int_a^b\biggl\{g(y)^2\int_a^bf^2+f(y)^2
1985 \int_a^b g^2-2f(y)g(y)\int_a^b fg\biggr\}\,dy
1986 \end{multline*}
1987 \end{verbatim}
1988
1989 %%%%%%%%%%%%%%%%%%%%%%%%%%%
1990
1991 The same display with \verb=\multlinegap= set to zero.
1992 Notice that the space on the left in
1993 the first line does not change, because of the equation number, while
1994 the second line is pushed over to the right margin.
1995 {\setlength{\multlinegap}{0pt}
1996 \begin{multline*}\tag*{[a]}
1997 \int_a^b\biggl\{\int_a^b[f(x)^2g(y)^2+f(y)^2g(x)^2]
1998 -2f(x)g(x)f(y)g(y)\,dx\biggr\}\,dy \\
1999 =\int_a^b\biggl\{g(y)^2\int_a^bf^2+f(y)^2
2000 \int_a^b g^2-2f(y)g(y)\int_a^b fg\biggr\}\,dy
2001 \end{multline*}}%
2002 Some text after to test the below-display spacing.
2003
2004 \begin{verbatim}
2005 {\setlength{\multlinegap}{0pt}
2006 \begin{multline*}\tag*{[a]}
2007 \int_a^b\biggl\{\int_a^b[f(x)^2g(y)^2+f(y)^2g(x)^2]
2008 -2f(x)g(x)f(y)g(y)\,dx\biggr\}\,dy \\
2009 =\int_a^b\biggl\{g(y)^2\int_a^bf^2+f(y)^2
2010 \int_a^b g^2-2f(y)g(y)\int_a^b fg\biggr\}\,dy
2011 \end{multline*}}
2012 \end{verbatim}
2013 %%%%%%%%%%%%%%%%%%%%%%%%%%%
2014 \fi % matches \iffalse above [mjd,24-Jan-1995]
2015
2016 %%%%%%%%%%%%%%%%%%%%%%%%%%%
2017
2018 \newpage
2019 \subsection{Gather}
2020 Numbered version with \verb;\notag; on the second line:
2021 \begin{gather}
2022 D(a,r)\equiv\{z\in\symbf{C}\colon \abs{z-a}<r\},\\
2023 \seg(a,r)\equiv\{z\in\symbf{C}\colon
2024 \Im z= \Im a,\ \abs{z-a}<r\},\notag\\
2025 c(e,\theta,r)\equiv\{(x,y)\in\symbf{C}
2026 \colon \abs{x-e}<y\tan\theta,\ 0<y<r\},\\
2027 C(E,\theta,r)\equiv\bigcup_{e\in E}c(e,\theta,r).
2028 \end{gather}
2029 \begin{verbatim}
2030 \begin{gather}
2031 D(a,r)\equiv\{z\in\symbf{C}\colon \abs{z-a}<r\},\\
2032 \seg(a,r)\equiv\{z\in\symbf{C}\colon
2033 \Im z= \Im a,\ \abs{z-a}<r\},\notag\\
2034 c(e,\theta,r)\equiv\{(x,y)\in\symbf{C}
2035 \colon \abs{x-e}<y\tan\theta,\ 0<y<r\},\\
2036 C(E,\theta,r)\equiv\bigcup_{e\in E}c(e,\theta,r).
2037 \end{gather}
2038 \end{verbatim}
2039 %%%%%%%%%%%%%%%%%%%%%%%%%%%
2040
2041 Unnumbered version.
2042 \begin{gather*}
2043 D(a,r)\equiv\{z\in\symbf{C}\colon \abs{z-a}<r\},\\
2044 \seg (a,r)\equiv\{z\in\symbf{C}\colon
2045 \Im z= \Im a,\ \abs{z-a}<r\},\\
2046 c(e,\theta,r)\equiv\{(x,y)\in\symbf{C}
2047 \colon \abs{x-e}<y\tan\theta,\ 0<y<r\},\\
2048 C(E,\theta,r)\equiv\bigcup_{e\in E}c(e,\theta,r).
2049 \end{gather*}
2050 Some text after to test the below-display spacing.
2051 \begin{verbatim}
2052 \begin{gather*}
2053 D(a,r)\equiv\{z\in\symbf{C}\colon \abs{z-a}<r\},\\
2054 \seg (a,r)\equiv\{z\in\symbf{C}\colon
2055 \Im z= \Im a,\ \abs{z-a}<r\},\\
2056 c(e,\theta,r)\equiv\{(x,y)\in\symbf{C}
2057 \colon \abs{x-e}<y\tan\theta,\ 0<y<r\},\\
2058 C(E,\theta,r)\equiv\bigcup_{e\in E}c(e,\theta,r).
2059 \end{gather*}
2060 \end{verbatim}
2061 %%%%%%%%%%%%%%%%%%%%%%%%%%%
2062
2063 \newpage
2064 \subsection{Align}
2065 Numbered version:
2066 \begin{align}
2067 \gamma_x(t)&=(\cos tu+\sin tx,v),\\
2068 \gamma_y(t)&=(u,\cos tv+\sin ty),\\
2069 \gamma_z(t)&=\left(\cos tu+\frac\alpha\beta\sin tv,
2070 -\frac\beta\alpha\sin tu+\cos tv\right).
2071 \end{align}
2072 Some text after to test the below-display spacing.
2073
2074 \begin{verbatim}
2075 \begin{align}
2076 \gamma_x(t)&=(\cos tu+\sin tx,v),\\
2077 \gamma_y(t)&=(u,\cos tv+\sin ty),\\
2078 \gamma_z(t)&=\left(\cos tu+\frac\alpha\beta\sin tv,
2079 -\frac\beta\alpha\sin tu+\cos tv\right).
2080 \end{align}
2081 \end{verbatim}
2082 %%%%%%%%%%%%%%%%%%%%%%%%%%%
2083
2084 Unnumbered version:
2085 \begin{align*}
2086 \gamma_x(t)&=(\cos tu+\sin tx,v),\\
2087 \gamma_y(t)&=(u,\cos tv+\sin ty),\\
2088 \gamma_z(t)&=\left(\cos tu+\frac\alpha\beta\sin tv,
2089 -\frac\beta\alpha\sin tu+\cos tv\right).
2090 \end{align*}
2091 Some text after to test the below-display spacing.
2092
2093 \begin{verbatim}
2094 \begin{align*}
2095 \gamma_x(t)&=(\cos tu+\sin tx,v),\\
2096 \gamma_y(t)&=(u,\cos tv+\sin ty),\\
2097 \gamma_z(t)&=\left(\cos tu+\frac\alpha\beta\sin tv,
2098 -\frac\beta\alpha\sin tu+\cos tv\right).
2099 \end{align*}
2100 \end{verbatim}
2101 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2102
2103 A variation:
2104 \begin{align}
2105 x& =y && \text {by (\ref{eq:C})}\\
2106 x'& = y' && \text {by (\ref{eq:D})}\\
2107 x+x' & = y+y' && \text {by Axiom 1.}
2108 \end{align}
2109 Some text after to test the below-display spacing.
2110
2111 \begin{verbatim}
2112 \begin{align}
2113 x& =y && \text {by (\ref{eq:C})}\\
2114 x'& = y' && \text {by (\ref{eq:D})}\\
2115 x+x' & = y+y' && \text {by Axiom 1.}
2116 \end{align}
2117 \end{verbatim}
2118 %%%%%%%%%%%%%%%%%%%%%%%%%%%
2119
2120 \newpage
2121 \subsection{Align and split within gather}
2122 When using the \env{align} environment within the \env{gather}
2123 environment, one or the other, or both, should be unnumbered (using the
2124 \verb"*" form); numbering both the outer and inner environment would
2125 cause a conflict.
2126
2127 Automatically numbered \env{gather} with \env{split} and \env{align*}:
2128 \begin{gather}
2129 \begin{split} \varphi(x,z)
2130 &=z-\gamma_{10}x-\gamma_{mn}x^mz^n\\
2131 &=z-Mr^{-1}x-Mr^{-(m+n)}x^mz^n
2132 \end{split}\\[6pt]
2133 \begin{align*}
2134 \zeta^0 &=(\xi^0)^2,\\
2135 \zeta^1 &=\xi^0\xi^1,\\
2136 \zeta^2 &=(\xi^1)^2,
2137 \end{align*}
2138 \end{gather}
2139 Here the \env{split} environment gets a number from the outer
2140 \env{gather} environment; numbers for individual lines of the
2141 \env{align*} are suppressed because of the star.
2142
2143 \begin{verbatim}
2144 \begin{gather}
2145 \begin{split} \varphi(x,z)
2146 &=z-\gamma_{10}x-\gamma_{mn}x^mz^n\\
2147 &=z-Mr^{-1}x-Mr^{-(m+n)}x^mz^n
2148 \end{split}\\[6pt]
2149 \begin{align*}
2150 \zeta^0 &=(\xi^0)^2,\\
2151 \zeta^1 &=\xi^0\xi^1,\\
2152 \zeta^2 &=(\xi^1)^2,
2153 \end{align*}
2154 \end{gather}
2155 \end{verbatim}
2156 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2157
2158 The \verb"*"-ed form of \env{gather} with the non-\verb"*"-ed form of
2159 \env{align}.
2160 \begin{gather*}
2161 \begin{split} \varphi(x,z)
2162 &=z-\gamma_{10}x-\gamma_{mn}x^mz^n\\
2163 &=z-Mr^{-1}x-Mr^{-(m+n)}x^mz^n
2164 \end{split}\\[6pt]
2165 \begin{align} \zeta^0&=(\xi^0)^2,\\
2166 \zeta^1 &=\xi^0\xi^1,\\
2167 \zeta^2 &=(\xi^1)^2,
2168 \end{align}
2169 \end{gather*}
2170 Some text after to test the below-display spacing.
2171
2172 \begin{verbatim}
2173 \begin{gather*}
2174 \begin{split} \varphi(x,z)
2175 &=z-\gamma_{10}x-\gamma_{mn}x^mz^n\\
2176 &=z-Mr^{-1}x-Mr^{-(m+n)}x^mz^n
2177 \end{split}\\[6pt]
2178 \begin{align} \zeta^0&=(\xi^0)^2,\\
2179 \zeta^1 &=\xi^0\xi^1,\\
2180 \zeta^2 &=(\xi^1)^2,
2181 \end{align}
2182 \end{gather*}
2183 \end{verbatim}
2184 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2185
2186 \newpage
2187 \subsection{Alignat}
2188 Numbered version:
2189 \begin{alignat}{3}
2190 V_i & =v_i - q_i v_j, & \qquad X_i & = x_i - q_i x_j,
2191 & \qquad U_i & = u_i,
2192 \qquad \text{for $i\ne j$;}\label{eq:B}\\
2193 V_j & = v_j, & \qquad X_j & = x_j,
2194 & \qquad U_j & u_j + \sum_{i\ne j} q_i u_i.
2195 \end{alignat}
2196 Some text after to test the below-display spacing.
2197
2198 \begin{verbatim}
2199 \begin{alignat}{3}
2200 V_i & =v_i - q_i v_j, & \qquad X_i & = x_i - q_i x_j,
2201 & \qquad U_i & = u_i,
2202 \qquad \text{for $i\ne j$;}\label{eq:B}\\
2203 V_j & = v_j, & \qquad X_j & = x_j,
2204 & \qquad U_j & u_j + \sum_{i\ne j} q_i u_i.
2205 \end{alignat}
2206 \end{verbatim}
2207 %%%%%%%%%%%%%%%%%%%%%%%%%%%
2208
2209 Unnumbered version:
2210 \begin{alignat*}3
2211 V_i & =v_i - q_i v_j, & \qquad X_i & = x_i - q_i x_j,
2212 & \qquad U_i & = u_i,
2213 \qquad \text{for $i\ne j$;} \\
2214 V_j & = v_j, & \qquad X_j & = x_j,
2215 & \qquad U_j & u_j + \sum_{i\ne j} q_i u_i.
2216 \end{alignat*}
2217 Some text after to test the below-display spacing.
2218
2219 \begin{verbatim}
2220 \begin{alignat*}3
2221 V_i & =v_i - q_i v_j, & \qquad X_i & = x_i - q_i x_j,
2222 & \qquad U_i & = u_i,
2223 \qquad \text{for $i\ne j$;} \\
2224 V_j & = v_j, & \qquad X_j & = x_j,
2225 & \qquad U_j & u_j + \sum_{i\ne j} q_i u_i.
2226 \end{alignat*}
2227 \end{verbatim}
2228 %%%%%%%%%%%%%%%%%%%%%%%%%%%
2229
2230 \newpage
2231 The most common use for \env{alignat} is for things like
2232 \begin{alignat}{2}
2233 x& =y && \qquad \text {by (\ref{eq:A})}\label{eq:C}\\
2234 x'& = y' && \qquad \text {by (\ref{eq:B})}\label{eq:D}\\
2235 x+x' & = y+y' && \qquad \text {by Axiom 1.}
2236 \end{alignat}
2237 Some text after to test the below-display spacing.
2238
2239 \begin{verbatim}
2240 \begin{alignat}{2}
2241 x& =y && \qquad \text {by (\ref{eq:A})}\label{eq:C}\\
2242 x'& = y' && \qquad \text {by (\ref{eq:B})}\label{eq:D}\\
2243 x+x' & = y+y' && \qquad \text {by Axiom 1.}
2244 \end{alignat}
2245 \end{verbatim}
2246 %%%%%%%%%%%%%%%%%%%%%%%%%%%
2247
2248 \newpage
2249 \setlength{\marginrulewidth}{0pt}
2250
2251 \begin{thebibliography}{10}
2252
2253 \bibitem{dihe:newdir}
2254 W.~Diffie and E.~Hellman, \emph{New directions in cryptography}, IEEE
2255 Transactions on Information Theory \textbf{22} (1976), no.~5, 644--654.
2256
2257 \bibitem{fre:cichon}
2258 D.~H. Fremlin, \emph{Cichon's diagram}, 1983/1984, presented at the
2259 S{\'e}minaire Initiation {\`a} l'Analyse, G. Choquet, M. Rogalski, J.
2260 Saint Raymond, at the Universit{\'e} Pierre et Marie Curie, Paris, 23e
2261 ann{\'e}e.
2262
2263 \bibitem{gouja:lagrmeth}
2264 I.~P. Goulden and D.~M. Jackson, \emph{The enumeration of directed
2265 closed {E}uler trails and directed {H}amiltonian circuits by
2266 {L}angrangian methods}, European J. Combin. \textbf{2} (1981), 131--212.
2267
2268 \bibitem{hapa:graphenum}
2269 F.~Harary and E.~M. Palmer, \emph{Graphical enumeration}, Academic
2270 Press, 1973.
2271
2272 \bibitem{imlelu:oneway}
2273 R.~Impagliazzo, L.~Levin, and M.~Luby, \emph{Pseudo-random generation
2274 from one-way functions}, Proc. 21st STOC (1989), ACM, New York,
2275 pp.~12--24.
2276
2277 \bibitem{komiyo:unipfunc}
2278 M.~Kojima, S.~Mizuno, and A.~Yoshise, \emph{A new continuation method
2279 for complementarity problems with uniform p-functions}, Tech. Report
2280 B-194, Tokyo Inst. of Technology, Tokyo, 1987, Dept. of Information
2281 Sciences.
2282
2283 \bibitem{komiyo:lincomp}
2284 \bysame, \emph{A polynomial-time algorithm for a class of linear
2285 complementarity problems}, Tech. Report B-193, Tokyo Inst. of
2286 Technology, Tokyo, 1987, Dept. of Information Sciences.
2287
2288 \bibitem{liuchow:formalsum}
2289 C.~J. Liu and Yutze Chow, \emph{On operator and formal sum methods for
2290 graph enumeration problems}, SIAM J. Algorithms Discrete Methods
2291 \textbf{5} (1984), 384--438.
2292
2293 \bibitem{mami:matrixth}
2294 M.~Marcus and H.~Minc, \emph{A survey of matrix theory and matrix
2295 inequalities}, Complementary Series in Math. \textbf{14} (1964), 21--48.
2296
2297 \bibitem{miyoki:lincomp}
2298 S.~Mizuno, A.~Yoshise, and T.~Kikuchi, \emph{Practical polynomial time
2299 algorithms for linear complementarity problems}, Tech. Report~13, Tokyo
2300 Inst. of Technology, Tokyo, April 1988, Dept. of Industrial Engineering
2301 and Management.
2302
2303 \bibitem{moad:quadpro}
2304 R.~D. Monteiro and I.~Adler, \emph{Interior path following primal-dual
2305 algorithms, part {II}: Quadratic programming}, August 1987, Working
2306 paper, Dept. of Industrial Engineering and Operations Research.
2307
2308 \bibitem{ste:sint}
2309 E.~M. Stein, \emph{Singular integrals and differentiability properties
2310 of functions}, Princeton Univ. Press, Princeton, N.J., 1970.
2311
2312 \bibitem{ye:intalg}
2313 Y.~Ye, \emph{Interior algorithms for linear, quadratic and linearly
2314 constrained convex programming}, Ph.D. thesis, Stanford Univ., Palo
2315 Alto, Calif., July 1987, Dept. of Engineering--Economic Systems,
2316 unpublished.
2317
2318 \end{thebibliography}
2319
2320 \end{document}
2321 \endinput