Content MathML: Quick List
The specification of MathML seems to contain two distinct languages: Presentation MathML and Content MathML.
Not to put too fine a point on it, Presentation MathML is intended for marking up the look of expressions, while Content MathML is intended for marking up the meaning of expressions.
This page is a handy list of the elements in the latter. The list is based on MathML 2.0 elements. It also includes new elements in MathML 3.0. The deprecated elements ( reln
, fn
, declare
) are excluded.
Structure of Expressions
Structure of Expressions
Name |
Usage |
cn |
|
ci |
|
csymbol |
|
cs |
|
cbytes |
|
cerror |
- ×
<cerror> ...
DivisionByZero
divide
x
0
]]>
|
sep |
|
apply |
xy]]>
- ×
<apply><and/> ...
0t
t1
]]>
|
bind |
- ×
<bind><exists/> ...
x
xy
x
]]>
|
bvar |
- ×
<apply><forall/> ...
a
b
a
b
ab
ba
]]>
|
interval |
- ×
<interval closure="open-closed"> ...
0
1
]]>
- ×
<apply><int/> ...
-11
f
]]>
|
condition |
- ×
<interval> ...
x
0x
]]>
- ×
<condition> ...
x5
3
]]>
- ×
<apply><int/> ...
x
xC
fx
]]>
|
domainofapplication |
- ×
<apply><int/> ...
A
B
f
]]>
|
share |
- ×
<apply><ci>f</ci> ... f
f
f
a
a
]]>
|
Functions and Inverses
Functions and Inverses
Name |
Usage |
lambda |
|
compose |
fgh]]>
- ×
<apply><eq/> ...
fg
x
fgx
]]>
|
ident |
- ×
<apply><eq/> ...
f
f
]]>
|
inverse |
- ×
<apply> ...
f
]]>
- ×
<apply> ...
A
a
]]>
|
domain |
|
codomain |
|
image |
- ×
<apply><eq/> ...
-11
]]>
|
piecewise |
- ×
<piecewise> ...
x
x0
0
x0
x
x0
]]>
|
piece |
|
otherwise |
- ×
<piecewise> ...
0
x0
1
x1
x
]]>
|
Logic
Logic
Name |
Usage |
and |
ab]]>
- ×
<apply><and/> ...
i
0
n
ai
0
]]>
|
or |
|
xor |
|
not |
|
implies |
|
equivalent |
- ×
<apply><equivalent/> ...
a
a
]]>
|
forall |
- ×
<bind><forall/> ...
x
xx
0
]]>
- ×
<bind><forall/> ...
p
q
p
q
pq
p
q2
]]>
|
exists |
- ×
<bind><exists/> ...
x
fx
0
]]>
- ×
<apply><exists/> ...
x
fx
0
]]>
|
Set theory
Set theory
Name |
Usage |
set |
- ×
<set> ...
abc
]]>
- ×
<set> ...
x
x5
x
]]>
- ×
<set> ...
S
ST
S
]]>
- ×
<set> ...
x
x5
x
x
]]>
|
list |
- ×
<list> ...
abc
]]>
- ×
<list order="numeric"> ...
x
x5
]]>
|
in |
|
notin |
|
subset |
- ×
<apply><subset/> ...
A
B
]]>
|
notsubset |
- ×
<apply><notsubset/> ...
A
B
]]>
|
prsubset |
- ×
<apply><prsubset/> ...
A
B
]]>
|
notprsubset |
- ×
<apply><notprsubset/> ...
A
B
]]>
|
union |
AB]]>
- ×
<apply><union/> ...
S
L
S
]]>
|
intersect |
- ×
<apply><intersect/> ...
A
B
]]>
- ×
<apply><intersect/> ...
S
L
S
]]>
|
setdiff |
- ×
<apply><setdiff/> ...
A
B
]]>
|
cartesianproduct |
|
card |
- ×
<apply><eq/> ...
A
5
]]>
|
Arithmetic and Algebra
Arithmetic and Algebra
Name |
Usage |
plus |
|
minus |
|
times |
|
divide |
- ×
<apply><divide/> ...
a
b
]]>
|
quotient |
|
rem |
|
power |
|
root |
x]]>
- ×
<apply><root/> ...
n
a
]]>
|
factorial |
|
gcd |
|
lcm |
|
abs |
|
conjugate |
- ×
<apply><conjugate/> ...
x
ⅈy
]]>
|
real |
- ×
<apply><real/> ...
x
y
]]>
|
imaginary |
- ×
<apply><imaginary/> ...
x
y
]]>
|
arg |
- ×
<apply><arg/> ...
x
y
]]>
|
floor |
|
ceiling |
|
max |
235]]>
- ×
<apply><max/> ...
y
y
01
y3
]]>
|
min |
ab]]>
- ×
<apply><min/> ...
x
xB
x2
]]>
|
Relations
Relations
Name |
Usage |
eq |
- ×
<apply><eq/> ...
24
12
]]>
|
neq |
|
gt |
|
lt |
|
geq |
|
leq |
|
approx |
- ×
<apply><approx/> ...
227
]]>
|
factorof |
|
Sequences and Series
Sequences and Series
Name |
Usage |
sum |
- ×
<apply><sum/> ...
i
0
100
xi
]]>
|
product |
- ×
<apply><product/> ...
x
a
b
f
x
]]>
|
limit |
- ×
<apply> ...
x
0
x
]]>
- ×
<apply><limit/> ...
x
x0
x
]]>
|
tendsto |
- ×
<apply> ...
x
2
a
2
]]>
- ×
<apply> ...
x
y
f
x
y
g
x
y
]]>
|
Calculus and Vector calculus
Calculus and Vector calculus
Name |
Usage |
diff |
- ×
<apply> ...
f
]]>
- ×
<apply> ...
x
f
x
]]>
|
partialdiff |
- ×
<apply><partialdiff/> ...
xm
yn
k
f
x
y
]]>
- ×
<apply><partialdiff/> ...
x
y
f
x
y
]]>
- ×
<apply><partialdiff/> ...
113
f
]]>
|
degree |
- ×
<apply> ...
x
n
y
m
x
y
]]>
- ×
<apply> ...
n
a
]]>
- ×
<apply> ...
3
X
]]>
|
int |
- ×
<apply> ...
]]>
- ×
<apply> ...
a
b
]]>
|
lowlimit |
|
uplimit |
- ×
<apply> ...
x
0
a
f
x
]]>
|
grad |
|
curl |
|
divergence |
|
laplacian |
|
Linear algebra
Linear algebra
Name |
Usage |
vector |
- ×
<vector> ...
1
2
3
x
]]>
|
matrix |
- ×
<matrix> ...
010
001
100
]]>
|
matrixrow |
- ×
<matrixrow> ...
1
2
3
x
]]>
|
determinant |
|
transpose |
|
selector |
|
vectorproduct |
- ×
<apply> ...
A
B
a
b
θ
N
]]>
|
scalarproduct |
- ×
<apply> ...
A
B
a
b
θ
]]>
|
outerproduct |
|
Statistics
Statistics
Name |
Usage |
mean |
|
sdev |
|
variance |
|
median |
|
mode |
|
moment |
|
momentabout |
|
Transcendental functions
Transcendental functions
Name |
Usage |
exp |
|
ln |
|
log |
|
sin |
- ×
<apply> ...
x
]]>
- ×
<apply> ...
x
x
3
]]>
|
cos |
|
tan |
|
sec |
|
csc |
|
cot |
|
sinh |
|
cosh |
|
tanh |
|
sech |
|
csch |
|
coth |
|
arcsin |
|
arccos |
|
arctan |
|
arcsec |
|
arccsc |
|
arccot |
|
arcsinh |
|
arccosh |
|
arctanh |
|
arcsech |
|
arccsch |
|
arccoth |
|
Constants and Symbols
Constants and Symbols
Name |
Usage |
primes |
|
naturalnumbers |
|
integers |
|
rationals |
|
reals |
|
complexes |
|
imaginaryi |
- ×
<apply><eq/> ...
2
-1
]]>
|
emptyset |
|
exponentiale |
|
pi |
|
eulergamma |
|
infinity |
|
true |
|
false |
|
notanumber |
- ×
<apply><eq/> ...
0
0
]]>
|
Semantic mappings
Semantic mappings
Name |
Usage |
semantics |
- ×
<semantics> ...
123
456
N[123/456, 39]
$0.269736842105263157894736842105263157894\ldots$
evalf(123/456, 39);
0.269736842105263157894
736842105263157894
‾
123
456
]]>
|
annotation |
- ×
<semantics> ...
x
5
\sin x + 5
]]>
|
annotation-xml |
- ×
<semantics> ...
C2
C2
]]>
- ×
<semantics> ...
x
5
5
]]>
|
References
More pragmatic in Probability and Statistics, see:
The language specifications:
Content dictionaries: