Skip to content

Instantly share code, notes, and snippets.

View ahmedazizkhelifi's full-sized avatar
🍉

KHELIFI Ahmed Aziz ahmedazizkhelifi

🍉
View GitHub Profile
Plain:
\begin{matrix}
1 & 2 & 3\\
a & b & c
\end{matrix}
Round brackets:
\begin{pmatrix}
1 & 2 & 3\\
To insert a mathematical formula we use the dollar symbol $, as follows:
Euler's identity: $ e^{i \pi} + 1 = 0 $
To isolate and center the formulas and enter in math display mode, we use 2 dollars symbol:
$$
...
$$
Simple integral:
$$\int_{a}^b f(x)dx$$
Double integral:
$$\int_{a}^b\int_{c}^d f(x,y)\,dxdy$$
Triple integral:
$$\iiint$$
Quadruple integral:
Product:
$$\prod_{j=1}^k A_{\alpha_j}$$
Double product:
$$\prod^k_{i=1}\prod^l_{j=1}\,A_i A_j$$
Sum from 0 to +inf:
$$\sum_{j=0}^{+\infty} A_{j}$$
Double sum:
$$\sum^k_{i=1}\sum^{l+1}_{j=1}\,A_i A_j$$
Taylor expansion of $e^x$:
$$ e^x = \sum_{k=0}^{n}\, \frac{x^k}{k!} + o(x^n) $$
#limit
Limit at plus infinity : $$\lim_{x \to +\infty} f(x)$$
Limit at minus infinity : $$\lim_{x \to -\infty} f(x)$$
Limit at $\alpha$ : $$\lim_{x \to \alpha} f(x)$$
Max : $$\max_{x \in [a,b]}f(x)$$
Min : $$\min_{x \in [\alpha,\beta]}f(x)$$
Sup : $$\sup_{x \in \mathbb{R}}f(x)$$
Inf : $$\inf_{x > s}f(x)$$
First order derivative : $$f'(x)$$
K-th order derivative : $$f^{(k)}(x)$$
Partial firt order deivative : $$\frac{\partial f}{\partial x}$$
Partial k-th order derivative : $$\frac{\partial^{k} f}{\partial x^k}$$
$$
\underbrace{\ln \left( \frac{5}{6} \right)}_{\simeq -0.1823}
< \overbrace{\exp (2)}^{\simeq 7.3890}
$$
$$
sign(x) = \left\{
\begin{array}\\
1 & \mbox{if } \ x \in \mathbf{N}^* \\
0 & \mbox{if } \ x = 0 \\
-1 & \mbox{else.}
\end{array}
\right.
$$
<blockquote>
<p>This is a blockquote.</p>
<p>This is part of the same blockquote.</p>
</blockquote>
<p>Quote break</p>
<blockquote>
<p>This is a new blockquote.</p>
</blockquote>