[Tex/LaTex] How to Write Math Equation in LaTeX

math-mode

I am new in LaTex and need your help to write the following math equation in LaTeX.

enter image description here

Best Answer

One of the simplest ways to input an equation into LaTeX is to write something like

\documentclass{article}

\begin{document}

\begin{equation}
H_{k_p}=\frac{Y_{k_p}}{X_{k_p}}
\end{equation}

\end{document}

enter image description here

Notice how I've used the syntax of LaTeX to format the equation into the way you want - subscripts need the _ key, and I've used { } to indicate "k_p" should itself be a subscript. Also note how to make fractions by using the \frac{}{} command.

Related Question