# How to write math equations in Blogger

You start a blog for teaching mathematics, and try to find some ways to type maths equations on the blog. After some research, you find that there are many ways to do that.

You can convert your maths equations into images and insert into your post, or you may insert some HTML maths symbols and alternative symbols to represent your equations, such as a backslash "/" for division sign, a star * for multiplication sign.

Many people use Blogger or Wordpress for blogging, and are already familiar with MathML or LaTeX. In this hub, I try to demonstrate how to type maths equations into your Wordpress or blogger post.

## Using LaTeX in WordPress

Wordpress.com supports LaTeX. You type LaTeX code inside two dollar sign, and it converts the code into image for you. It can also change font size and color.

There are no Plugin for self-hosted WordPress, but its really quite straight forward to integrate LaTeX into your post by installing jsMath.

## Using LaTeX in Blogger

Among the top hits of Google Search, I only recommend MathJax, because it works in all modern browsers, very simple to install, and most reliable. MathJax has its own Content Distribution Network (CDN).

WatchMath is recommended by some bloggers, but it's not reliable, because the website was down then moved to another server, and this may happen again in future. And the author himself uses MathJax in his own website.

If you choose Dynamic view, you can't edit HTML, so you have to choose other templates. Ignore the warning, and proceed to put the code into the <head> block.

You type your TeX code within double dollar signs, and it's so beautifully rendered and simple to configure, without installing any plugins or special fonts, Just one line in the template header.

For example, You copy and paste this into the HTML editor:

When $$a \ne 0$$, there are two solutions to \(ax^2 + bx + c = 0\) and they are $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$

And it will render for you into something like this:

## More by this Author

- 2
Stone and mud are the most basic natural building materials. People all over the world have used them together to create homes to suit their local weather conditions. In general stones are used as basic structural...

- 267
Studying at university is an expensive investment. Tuition fees have a disincentive effect on the poor and middle-income students. There has been a general trend towards marked increases in tuition in recent years, even...

- 14
Learn why your gas fire keeps going out even when it still seems on and how to fix this.

## Comments 3 comments

How do you use mathjax on hubpages?

This page which should be helping dummies like me does not help at all. If we dummies understand your post, then we would have already known how to do it. Which defeats the purpose why we dropped here in the first place.