...
Create a Confluence page.
Edit the page and include the LaTeX Math Block macro.
Add a formula as shown below inside this box. You need to add a backslash (\) before the underscore(_) to render the formula in a Latex Math block.
Click Save
Click Publish
...