4
\begin{equation}
    \max_{\substack{k , {k^'}}}|{G_k-G_{k^'}}| \leq T_1\\
\end{equation}

I am not getting what are the errors. Please help me.

  • 4
    \max_{k,k'}|G_k-G_{k'}| \leq T_1 should work. Notice that ^' is always wrong. Remove \\. – egreg May 10 at 6:25
  • 2
    Welcome to TeX.SX! – TeXnician May 10 at 6:31
5

The error you get is

! Missing { inserted.
<to be read again> 
                   ^
l.7     \max_{\substack{k , {k^'}}
                                  }|{G_k-G_{k^'}}| \leq T_1\\

which is indeed puzzling.

The problem starts from ^', which is always wrong: ' is by itself equivalent to ^{\prime}, so you're trying to make a second level superscript.

Also \\ at the end is wrong.

Secondary, but still important, is that \substack is not needed, as you've nothing to stack; some of the braces you use are redundant and should better be removed. Instead of the “do-it-all” | it's better to state the precise usage with \lvert and \rvert.

\documentclass{article}
\usepackage{amsmath}

\begin{document}

\begin{equation}
\max_{k , k'} \lvert G_k-G_{k'}\rvert \leq T_1  
\end{equation}

\end{document}

enter image description here

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.