Spacing in Math Mode

In a math environment, LaTeX ignores the spaces you type and puts in the spacing that it thinks is best. LaTeX formats mathematics the way it's done in mathematics texts. If you want different spacing, LaTeX provides the following four commands for use in math mode:

1. \; - a thick space

2. \: - a medium space

3. \, - a thin space

4. \! - a negative thin space