# Square roots with different heights

What can I do to the square root symbols have the same size. • Use a \mathstrut in each \sqrt. Or, in the first \sqrt apply \vphantom{M_1^2}. – Peter Grill May 22 '18 at 21:53
• @PeterGrill I use often this trick :-) +1 for your comment. – Sebastiano May 22 '18 at 21:56

## 1 Answer

A quick fix:

$\frac{2C_1 p^2 \sqrt{p^2+M_{}^2}\sqrt{p^2+M_1^2}}{1}$ The second square root symbol is higher because of the M_1^2 inside it has both a subscript and a super script. In this case, the super script moves upward a little bit to leave room for the subscript. The simple solution is to add a surplus _{} for the first M^2 inside the first root. If you need the exact same height, then use M_{\phantom{1}}^2.

• This problem arises if you try to centralize the formula by using double sign $$\frac{2C_1 p^2 \sqrt{p^2+M_{}^2}\sqrt{p^2+M_1^2}}{1}$$ – Boris May 22 '18 at 21:46
• @Boris: Don't use $$. See Why is $…$ preferable to$$ … ? – Peter Grill May 22 '18 at 21:56