\documentclass[12pt]{article}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage[latin1]{inputenc}
\begin{document}
\begin{equation}
u_{k}^{i} = \frac{\sqrt[k]{\Pi_{j=1}^{k}a_{ij}}}{\sum_{i=1}^{k}\sqrt[k]{\Pi_{j=1}^{k}a_{ij}}}
\end{equation}
\end{document}
The result I get is this
what I want is this
somehow inside equation, the subscript & superscript positioned at the side not on top and bottom as I wanted them. How can I do that?



\dfracinstead of\frac. – mickep Mar 27 '24 at 07:49\Pito denote the product symbol. Instead, please use\prod. – Mico Mar 27 '24 at 18:48