# Equation not formatting correctly

• Feb 25th 2011, 04:58 AM
Substince
Equation not formatting correctly
I know I'm doing something wrong but I don't know what.

1. $\displaystyle \frac{(b^{1/2})^2}{(16b^6)^{1/2}} = \frac{b^{1/2*2}}{16^{1/2}b^{6*1/2}}$

The first portion works fine but for some reason the second part $\displaystyle b^{1/2*2}$ will not go directly on top of the horizontal line. Also I have been having difficulty putting the second part of the equation underneath the first part (starting new line) I tried the "\\" but it didn't work for me.

Here's the codes

1. [tex]\frac{(b^{1/2})^2}{(16b^6)^{1/2}}

= \frac{b^{1/2*2}}{16^{1/2}b^{6*1/2}}

Thanks,
• Feb 25th 2011, 05:12 AM
Ackbeet
$\displaystyle \frac{(b^{1/2})^2}{(16b^{6})^{1/2}} = \frac{b^{1/2*2}}{16^{1/2}b^{6*1/2}}.$

Get rid of the extra line in the middle, and it'll work fine.

As for getting the second part below the first part, are you trying to this on MHF? Or in a regular LaTeX environment? If the latter, I'd recommend looking up the align environment from AMS, I believe. There are other multi-line environments, but that'll get you started. If you're trying to do this on MHF, then end one math environment, skip a line, and start a new math environment. That should do it.
• Feb 25th 2011, 05:24 AM
Substince
Thank you Ackbeet! That was very helpful !
• Feb 25th 2011, 05:55 AM
Ackbeet
You're welcome!