1

I've been trying to write p = sqrt2^(sqrt2) like this $p= \sqrt 2^ (\sqrt2)$. And, the output I am getting is not what I am looking for. How can I write this properly?

5
  • 2
    Try $p= \sqrt{2}^{(\sqrt{2})}$. Note that since the exponent is complex it must be placed in braces. Do you need the parenthesis?
    – azetina
    Apr 10 '14 at 20:37
  • Thanks. It worked now. And, thanks for editing. I meant to say output not input.
    – user136422
    Apr 10 '14 at 20:40
  • The expression worked the way I wanted without the parenthesis. But, I think I can still add it though. Thanks again.
    – user136422
    Apr 10 '14 at 20:49
  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Apr 10 '14 at 20:53
  • 1
    @azetina an answer? or too localized? you decide :)
    – cmhughes
    Apr 10 '14 at 21:51
1

The parenthesis in the example provided is not really necessary. The problem here was the fact of forgetting to group the superscripts/subscripts in braces. This is a good practice. Hence the right approach is illustrated below:

enter image description here

\documentclass[letterpaper]{article}
\begin{document}
$p= \sqrt{2}^{(\sqrt{2})}$

$p= \sqrt{2}^{\sqrt{2}}$
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.