I got "Missing }and$ inserted" error and I don`t know where should I add one. Could anybody help, please?
\begin{equation}\label{3eq}
A{}^{+}=(a_{i1}\textsuperscript{+},a_{i2}\textsuperscript{+},...,a_{im}{}^{+}),{a_{ij}{\textsuperscript{+}}={$\max$_{1$\leq${i}$\leq${n}}{a_{ij}}}, j=1,2...,m.
\end{equation}
updated
\begin{equation}\label{3eq}
A{}^{+}=(a_{i1}{}^{+},a_{i2}{}^{+},...,a_{im}{}^{+}),{a_{ij}{}^{+}}={\max_{1\leq{i}\leq{n}}{a_{ij}}}, j=1,2...,m.
\end{equation}
\begin{equation}\label{4eq}
A^{-}={(a_{i1}{}^{-},a_{i2}{}^{-},...,a_{im}{}^{-})},{a_{ij}{}^{-}}={\max_{1\leq{i}\leq{n}}{a_{ij}}}, j=1,2...,m.
\end{equation}


\textsuperscriptin math mode?) and also remove all the$you are already in math mode fromequation– David Carlisle Dec 15 '20 at 17:56