# How to write roots other than square roots in MathJax?

I can't find how to write roots other than square root using MathJax. There doesn't seem to be anything about it on the legendary MathJax basic tutorial and quick reference

These are my best attempts, but they don't look right:

3\sqrt{64} $$\rightarrow\text{ } 3\sqrt{64}$$

{3}\sqrt{64} $$\rightarrow\text{ } {3}\sqrt{64}$$

^3\sqrt{64} $$\rightarrow\text{ } ^3\sqrt{64}$$

What I want to display:

How can I properly format it using MathJax? Or is it not possible in MathJax yet?

• \sqrt[3]{64} gives you $$\sqrt[3]{64}$$ – amWhy Oct 12 '20 at 18:45
• It actually is on that legendary page under item $10$ – J. W. Tanner Oct 12 '20 at 23:59
• if the \sqrt[n]m$\sqrt[n]m$ didn't exist you would add negative space to get some approximation of the real deal {}^3\!\!\!\sqrt{64}${}^3\!\!\!\sqrt{64}$ also note that you need {}^3 instead of just ^3 to avoid the previous thing from having a power e.g. a=^3\sqrt b vs a={}^3\sqrt b $a=^3\sqrt b$ vs $a={}^3\sqrt b$. In fact if the previous thing already has a power then you get an error e.g. a^3^3\sqrt b vs a^3{}^3\sqrt b $a^3^3\sqrt b$ vs $a^3{}^3\sqrt b$. This is useful if you like writing $a_{ij}{}^{kl}$, ${}^t\!A$, ${}^n C_r$... – Calvin Khor Oct 13 '20 at 1:47
• @CalvinKhor thanks! – Aryan Beezadhur Oct 13 '20 at 18:33
• @Jyrki yes, that's what I suggested in my comment the other day (on amWhy's answer). – Gerry Myerson Oct 16 '20 at 22:12
• Sorry, @Gerry. Don't know how I missed your comment. – Jyrki Lahtonen Oct 17 '20 at 5:33

Use \sqrt[n]{m} to get the $$n$$th root of m: $$\sqrt[n]{m}.$$
• Or, \root3\of{64} $\root3\of{64}$ – Gerry Myerson Oct 13 '20 at 2:07
• @GerryMyerson $\root{a}\of{x}$ $\root{a}\of{x}$ yes that works too! Thanks – Aryan Beezadhur Oct 16 '20 at 17:47
$$\sqrt[3]{64}$$

$$\sqrt[3]{64}$$