Using $$ will put the equation inside its own paragraph

$$x = 2$$ %(will output)