﻿ MathML in HTML5

# MathML in HTML5

$- b 2 + b 2 - 4 a c 2 a$

### Basic Elements

$4x+4=\left(2+2\right)x+2·2$

### Symbols, Constants and Blank Spaces

$\alpha \phantom{\rule{10px}{0ex}}\pi \phantom{\rule{20px}{0ex}}\infty \phantom{\rule{30px}{0ex}}±\phantom{\rule{40px}{0ex}}\mp \phantom{\rule{50px}{0ex}}\hslash$

### Superscripts, Subscripts, Fractions

${y}_{0}={x}^{2}$

$y={x}^{2k+1}$

$\frac{2}{x}$

$\frac{2}{x+3}$

### Square Root, Sum, Limit, Integral

$\sqrt{1-\frac{x}{2}}$

$x=-\frac{p}{2}±\frac{1}{2}\sqrt{{p}^{2}-4q}$

$\sqrt[3]{1-\frac{x}{2}}$

$\underset{x\to {2}^{+}}{lim}\left({x}^{2}-4\right)$

$\underset{1}{\overset{e}{\int }}\frac{dx}{x}=1$

$\sum _{1}^{2}\frac{1}{k}=1,5$

### Functions

$f:ℝ\to \left[-1,1\right]$ , $f\left(x\right)=\mathrm{sin}x$

$f\left(x,y,z\right)={x}^{2}+{y}^{2}+{z}^{2}$

### Matrices

${\sigma }_{y}=\left(\begin{array}{cc}0& -i\\ i& 0\end{array}\right)$

$R\left(x\right)=\left[\begin{array}{cc}\mathrm{cos}x& -\mathrm{sin}x\\ \mathrm{sin}x& \mathrm{cos}x\end{array}\right]$

### Indented Formulas

Inline mode: here is some text and $- b 2 + b 2 - 4 a c 2 a$ text is continued here.

Display mode: here is some text and $- b 2 + b 2 - 4 a c 2 a$ text is continued here.