1

How can I put brackets under a certain equation like this?

here

This is not a duplicate of this because I've tried the solution and this is what I get:

get

This is my code:

\[\underbrace{\sqrt{2+\sqrt{2+\sqrt{2+...+\sqrt{2}}}}_\text{$n$ nested square roots}} = 2\cos({\frac{\pi}{2^{n+1}}})\]
epR8GaYuh
  • 2,432
  • Welcome to TeX.SX! Please convert your snippet into a complete minimal working example (MWE) including the document class. – epR8GaYuh Sep 25 '20 at 07:08

1 Answers1

1

Welcome to TeX.SE... You almost did, just a small change need to get your output, to keep subscript for the underbrace will meet the requirement, modified MWE is:

\[
\underbrace{\sqrt{2+\sqrt{2+\sqrt{2+...+\sqrt{2}}}}}_{\text{$n$
nested square roots}} = 2\cos\left({\frac{\pi}{2^{n+1}}}\right)
\]

PS: I've introduce \left and \right to increase the bracket size to cover the fraction size...

MadyYuvi
  • 13,693