File indexing completed on 2024-11-24 04:34:44
0001 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 0002 <html> 0003 <!-- This document is an unofficial reference manual for LaTeX, a 0004 document preparation system, version of November 2018. 0005 0006 This manual was originally translated from LATEX.HLP v1.0a in the 0007 VMS Help Library. The pre-translation version was written by 0008 George D. Greenwade of Sam Houston State University. The 0009 LaTeX 2.09 version was written by Stephen Gilmore. The 0010 LaTeX2e version was adapted from this by Torsten Martinsen. Karl 0011 Berry made further updates and additions, and gratefully acknowledges 0012 using Hypertext Help with LaTeX, by Sheldon Green, and 0013 LaTeX Command Summary (for LaTeX 2.09) by 0014 L. Botway and C. Biemesderfer (published by the TeX Users 0015 Group as TeXniques number 10), as reference material. We also 0016 gratefully acknowledge additional material appearing in 0017 latex2e-reference by Martin Herbert Dietze. (From these references no 0018 text was directly copied.) 0019 0020 Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013, 0021 2014, 2015, 2016, 2017, 2018 Karl Berry. 0022 0023 Copyright 1988, 1994, 2007 Stephen Gilmore. 0024 0025 Copyright 1994, 1995, 1996 Torsten Martinsen. 0026 0027 Permission is granted to make and distribute verbatim copies of 0028 this manual provided the copyright notice and this permission notice 0029 are preserved on all copies. 0030 0031 0032 Permission is granted to copy and distribute modified versions of this 0033 manual under the conditions for verbatim copying, provided that the entire 0034 resulting derived work is distributed under the terms of a permission 0035 notice identical to this one. 0036 0037 Permission is granted to copy and distribute translations of this manual 0038 into another language, under the above conditions for modified versions. --> 0039 <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ --> 0040 <head> 0041 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 0042 <title>Math functions (LaTeX2e unofficial reference manual (November 2018))</title> 0043 0044 <meta name="description" content="Math functions (LaTeX2e unofficial reference manual (November 2018))"> 0045 <meta name="keywords" content="Math functions (LaTeX2e unofficial reference manual (November 2018))"> 0046 <meta name="resource-type" content="document"> 0047 <meta name="distribution" content="global"> 0048 <meta name="Generator" content="makeinfo"> 0049 <link href="index.html#Top" rel="start" title="Top"> 0050 <link href="IndexDocument.html#Index" rel="index" title="Index"> 0051 <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> 0052 <link href="Math-formulas.html#Math-formulas" rel="up" title="Math formulas"> 0053 <link href="Math-accents.html#Math-accents" rel="next" title="Math accents"> 0054 <link href="Greek-letters.html#Greek-letters" rel="prev" title="Greek letters"> 0055 <style type="text/css"> 0056 <!-- 0057 /* $Id: latex2e.css 690 2018-09-15 15:20:19Z jimhefferon $ 0058 Minor css for latexrefman. Public domain. 0059 Originally written by Jim Hefferon and Karl Berry, 2018. */ 0060 0061 /* So you can style for yourself */ 0062 @import url("/css/latexreflocal.css"); 0063 0064 0065 0066 a.summary-letter {text-decoration: none} 0067 blockquote.indentedblock {margin-right: 0em} 0068 blockquote.smallindentedblock {margin-right: 0em; font-size: smaller} 0069 blockquote.smallquotation {font-size: smaller} 0070 div.display {margin-left: 3.2em} 0071 div.example {margin-left: 3.2em} 0072 div.lisp {margin-left: 3.2em} 0073 div.smalldisplay {margin-left: 3.2em} 0074 div.smallexample {margin-left: 3.2em} 0075 div.smalllisp {margin-left: 3.2em} 0076 kbd {font-style: oblique} 0077 pre.display {font-family: inherit} 0078 pre.format {font-family: inherit} 0079 pre.menu-comment {font-family: serif} 0080 pre.menu-preformatted {font-family: serif} 0081 pre.smalldisplay {font-family: inherit; font-size: smaller} 0082 pre.smallexample {font-size: smaller} 0083 pre.smallformat {font-family: inherit; font-size: smaller} 0084 pre.smalllisp {font-size: smaller} 0085 span.nolinebreak {white-space: nowrap} 0086 span.roman {font-family: initial; font-weight: normal} 0087 span.sansserif {font-family: sans-serif; font-weight: normal} 0088 ul.no-bullet {list-style: none} 0089 BODY { 0090 margin-top: 1em; 0091 margin-left: 1em; /* auto results in two-digit <ol> lost off left */ 0092 margin-right: 1em; 0093 margin-bottom: 1em; 0094 /* the idea is to use the whole window, unless it is ridiculously 0095 wide, probably with too-small fonts, too. */ 0096 max-width: 64em; 0097 } 0098 0099 /* Because we want @math{... @code ...} to be upright, not slanted, 0100 and Texinfo won't fix it. */ 0101 code {font-style:normal; font-family:monospace; } 0102 0103 /* We put a link to our own home page at the bottom. */ 0104 div.referenceinfo {font-size:small;} 0105 0106 --> 0107 </style> 0108 0109 0110 </head> 0111 0112 <body lang="en"> 0113 <a name="Math-functions"></a> 0114 <div class="header"> 0115 <p> 0116 Next: <a href="Math-accents.html#Math-accents" accesskey="n" rel="next">Math accents</a>, Previous: <a href="Math-symbols.html#Math-symbols" accesskey="p" rel="prev">Math symbols</a>, Up: <a href="Math-formulas.html#Math-formulas" accesskey="u" rel="up">Math formulas</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="IndexDocument.html#Index" title="Index" rel="index">Index</a>]</p> 0117 </div> 0118 <hr> 0119 <a name="Math-functions-1"></a> 0120 <h3 class="section">16.3 Math functions</h3> 0121 0122 <a name="index-math-functions"></a> 0123 <a name="index-functions_002c-math"></a> 0124 0125 <p>These commands produce roman function names in math mode with proper 0126 spacing. 0127 </p> 0128 <dl compact="compact"> 0129 <dt><code>\arccos</code> 0130 <a name="index-_005carccos"></a> 0131 </dt> 0132 <dd><p>Inverse cosine 0133 </p> 0134 </dd> 0135 <dt><code>\arcsin</code> 0136 <a name="index-_005carcsin"></a> 0137 </dt> 0138 <dd><p>Inverse sine 0139 </p> 0140 </dd> 0141 <dt><code>\arctan</code> 0142 <a name="index-_005carctan"></a> 0143 </dt> 0144 <dd><p>Inverse tangent 0145 </p> 0146 </dd> 0147 <dt><code>\arg</code> 0148 <a name="index-_005carg"></a> 0149 </dt> 0150 <dd><p>Angle between the real axis and a point in the complex plane 0151 </p> 0152 </dd> 0153 <dt><code>\bmod</code> 0154 <a name="index-_005cbmod"></a> 0155 </dt> 0156 <dd><p>Binary modulo operator, used as in <code>\( 5\bmod 3=2 \)</code> 0157 </p> 0158 </dd> 0159 <dt><code>\cos</code> 0160 <a name="index-_005ccos"></a> 0161 </dt> 0162 <dd><p>Cosine 0163 </p> 0164 </dd> 0165 <dt><code>\cosh</code> 0166 <a name="index-_005ccosh"></a> 0167 </dt> 0168 <dd><p>Hyperbolic cosine 0169 </p> 0170 </dd> 0171 <dt><code>\cot</code> 0172 <a name="index-_005ccot"></a> 0173 </dt> 0174 <dd><p>Cotangent 0175 </p> 0176 </dd> 0177 <dt><code>\coth</code> 0178 <a name="index-_005ccoth"></a> 0179 </dt> 0180 <dd><p>Hyperbolic cotangent 0181 </p> 0182 </dd> 0183 <dt><code>\csc</code> 0184 <a name="index-_005ccsc"></a> 0185 </dt> 0186 <dd><p>Cosecant 0187 </p> 0188 </dd> 0189 <dt><code>\deg</code> 0190 <a name="index-_005cdeg"></a> 0191 </dt> 0192 <dd><p>Degrees 0193 </p> 0194 </dd> 0195 <dt><code>\det</code> 0196 <a name="index-_005cdet"></a> 0197 </dt> 0198 <dd><p>Determinant 0199 </p> 0200 </dd> 0201 <dt><code>\dim</code> 0202 <a name="index-_005cdim"></a> 0203 </dt> 0204 <dd><p>Dimension 0205 </p> 0206 </dd> 0207 <dt><code>\exp</code> 0208 <a name="index-_005cexp"></a> 0209 </dt> 0210 <dd><p>Exponential 0211 </p> 0212 </dd> 0213 <dt><code>\gcd</code> 0214 <a name="index-_005cgcd"></a> 0215 </dt> 0216 <dd><p>Greatest common divisor 0217 </p> 0218 </dd> 0219 <dt><code>\hom</code> 0220 <a name="index-_005chom"></a> 0221 </dt> 0222 <dd><p>Homomorphism 0223 </p> 0224 </dd> 0225 <dt><code>\inf</code> 0226 <a name="index-_005cinf"></a> 0227 </dt> 0228 <dd><p>Infinum 0229 </p> 0230 </dd> 0231 <dt><code>\ker</code> 0232 <a name="index-_005cker"></a> 0233 </dt> 0234 <dd><p>Kernel 0235 </p> 0236 </dd> 0237 <dt><code>\lg</code> 0238 <a name="index-_005clg"></a> 0239 </dt> 0240 <dd><p>Base 2 logarithm 0241 </p> 0242 </dd> 0243 <dt><code>\lim</code> 0244 <a name="index-_005clim"></a> 0245 </dt> 0246 <dd><p>Limit 0247 </p> 0248 </dd> 0249 <dt><code>\liminf</code> 0250 <a name="index-_005climinf"></a> 0251 </dt> 0252 <dd><p>Limit inferior 0253 </p> 0254 </dd> 0255 <dt><code>\limsup</code> 0256 <a name="index-_005climsup"></a> 0257 </dt> 0258 <dd><p>Limit superior 0259 </p> 0260 </dd> 0261 <dt><code>\ln</code> 0262 <a name="index-_005cln"></a> 0263 </dt> 0264 <dd><p>Natural logarithm 0265 </p> 0266 </dd> 0267 <dt><code>\log</code> 0268 <a name="index-_005clog"></a> 0269 </dt> 0270 <dd><p>Logarithm 0271 </p> 0272 </dd> 0273 <dt><code>\max</code> 0274 <a name="index-_005cmax"></a> 0275 </dt> 0276 <dd><p>Maximum 0277 </p> 0278 </dd> 0279 <dt><code>\min</code> 0280 <a name="index-_005cmin"></a> 0281 </dt> 0282 <dd><p>Minimum 0283 </p> 0284 </dd> 0285 <dt><code>\pmod</code> 0286 <a name="index-_005cpmod"></a> 0287 </dt> 0288 <dd><p>Parenthesized modulus, as used in <code>\( 5\equiv 2\pmod 3 \)</code> 0289 </p> 0290 </dd> 0291 <dt><code>\Pr</code> 0292 <a name="index-_005cPr"></a> 0293 </dt> 0294 <dd><p>Probability 0295 </p> 0296 </dd> 0297 <dt><code>\sec</code> 0298 <a name="index-_005csec"></a> 0299 </dt> 0300 <dd><p>Secant 0301 </p> 0302 </dd> 0303 <dt><code>\sin</code> 0304 <a name="index-_005csin"></a> 0305 </dt> 0306 <dd><p>Sine 0307 </p> 0308 </dd> 0309 <dt><code>\sinh</code> 0310 <a name="index-_005csinh"></a> 0311 </dt> 0312 <dd><p>Hyperbolic sine 0313 </p> 0314 </dd> 0315 <dt><code>\sup</code> 0316 <a name="index-_005csup"></a> 0317 </dt> 0318 <dd><p>sup 0319 </p> 0320 </dd> 0321 <dt><code>\tan</code> 0322 <a name="index-_005ctan"></a> 0323 </dt> 0324 <dd><p>Tangent 0325 </p> 0326 </dd> 0327 <dt><code>\tanh</code> 0328 <a name="index-_005ctanh"></a> 0329 </dt> 0330 <dd><p>Hyperbolic tangent 0331 </p> 0332 </dd> 0333 </dl> 0334 0335 <a name="index-package_002c-amsmath-9"></a> 0336 <a name="index-amsmath-package-9"></a> 0337 0338 <p>The <samp>amsmath</samp> package adds improvements on some of these, and also 0339 allows you to define your own. The full documentation is on CTAN, but 0340 briefly, you can define an identity operator with 0341 <code>\DeclareMathOperator{\identity}{id}</code> that is like the ones 0342 above but prints as ‘<samp>id</samp>’. The starred form 0343 <code>\DeclareMathOperator*{\op}{op}</code> sets any limits above and 0344 below, as is traditional with <code>\lim</code>, <code>\sup</code>, or <code>\max</code>. 0345 </p> 0346 0347 0348 0349 <hr/><div class='referenceinfo'> <a href='https://latexref.xyz/'> <i>Unofficial LaTeX2e reference manual</i></a></div> 0350 </body> 0351 </html>