With MathMl, we can specify the domain and range of a function.
<!doctype html>
<html>
<head>
<title>XoaX.net's MathML: A Function with Domain and Range</title>
</head>
<body>
<p>
If the function <math><mi>f</mi><mtext>(</mtext><mi>x</mi><mtext>)</mtext></math> is given by
<math>
<mrow>
<mi>f</mi><mtext>(</mtext><mi>x</mi><mtext>)</mtext><mo>=</mo><mi>sin</mi><mtext> </mtext><mi>x</mi>
</mrow>
</math>
then <math><mi>f</mi></math> is a function
<math>
<mrow>
<mi>f</mi><mo>:</mo><mn>ℝ</mn><mo>→</mo><mn>[-1,1]</mn>
</mrow>
</math>
</p>
</body>
</html>© 20072025 XoaX.net LLC. All rights reserved.