[Tex/LaTex] My prime symbol is not superscript


I'm learning math mode and having an issue here with the prime symbol.


In this inline math formula, the prime symbol is supposed to be superscript, but it shows up at the regular text level and size.

Best Answer

It is not clear what you want the output to be


the \prime is in the superscript along with d. If you want the prime to be on d then just use


which is equivalent to