Solved: mathjax notation for a matrix in Blogger page


I am trying to produce below equation in my blogger page
enter image description here
using Mathjax notation :
but above Mathjax renders as
enter image description here
Please suggest how to structure Mathjax so that it renders in one line.

Best Answer:

Remove all the dollar signs except the one at the beginning and the end. You might want to use double dollars at the beginning and end, as this is better as a display equation than an in-line one.

I have used MathJax version 3, here, but you can use version 2.7 just as well. Note that I removed your dollar signs, and used $$ at the beginning and end of the expression, so that the entire equation is within (double) dollar signs.

If you have better answer, please add a comment about this, thank you!