To use display mode, again surround your expression with $$ and place it as a separate paragraph. Here is an example: