When MathJax is used inline in a paragraph it does not get rendered correctly. You can see an example of this here http://neuralnetworksanddeeplearning.com/chap1.html