Edit page History How do I edit this website?

Math Expressions

This page demonstrates how to include mathematical expressions.

This site supports mathematical notation using MathJax, so that you can write expressions with LaTeX syntax, either inline or as a block.

Expressions are delineated by $$ tags before and after the expression.

Block equation example


$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$


\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}\]

Inline equation example


When $$a \ne 0$$, there are two solutions
to $$(ax^2 + bx + c = 0)$$.


When \(a \ne 0\) , there are two solutions to \((ax^2 + bx + c = 0)\).

Further reading

See this excellent guide for a comprehensive introduction to MathJax with lots of examples.