I'm trying to generate a table, but I don't understand why the inequality in the third line does not appear correctly.
Could you please help me fix this error? Thank you so much!
%
\documentclass[12pt]{extreport}
\usepackage[left = 1in, right = 1in, top = 0.7in, bottom = 0.7in]{dsfont,bbm,geometry,amsmath}
\usepackage{tikz,lipsum,lmodern,amssymb,parskip,hyperref,multirow}
\begin{document}
$$\begin{center}
\begin{tabular}{ |l|c|c| }
\hline
\multirow{3}{*}{W(x,y)}
& & \\
& $ y \ge \dfrac{1}{2} $ & $ y < \dfrac{1}{2} $ \\
& & \\ \hline
\multirow{3}{*}{x \ge \dfrac{1}{2} }
& & \\
& $ \binom{n}{r} $ & $ \left(\!\!{n\choose r}\!\!\right) = \binom{n+r-1}{r} $ \\
& & \\ \hline
\multirow{3}{*}{x < \dfrac{1}{2}}
& & \\
& $ P(n,r) $ & $ n^r $ \\
& & \\ \hline
\end{tabular}
\end{center}$$
\end{document}



centerenvironment should not be placed between$$'s, and if you want to write characters in math mode in themultirowenvironments, you should surround the arguments by$'s. – Vincent Dec 06 '19 at 02:06<) and the greater than symbol (>) appear wrong as upside down exclamation (¡) or question mark (¿)? – Werner Dec 06 '19 at 04:45