# Thread: what am i doing wrong?

1. ## what am i doing wrong?

\begin{deff}
Given the two polynomials $f, g \in k [x_1, x_2 , \dots , x_n].$ Let $J = lcm(LM(f), LM(g))$. We define the S-polynomial of $f$ and $g$ as the linear combination

$S-poly(f, g) = dfrac{J}{LT(f)} \cdot f - \dfrac{J} {LT( g)} \cdot g$

\end{deff}

i want the section of my definition that i have bolded to show up as an equation in the center
i can't seem to figure out how to make the fractions display properly....

HELP!!!!!!!

2. Originally Posted by mlemilys
i want the section of my definition that i have bolded to show up as an equation in the center
i can't seem to figure out how to make the fractions display properly....
What do you mean by "display properly" ?
Code:
$$S-poly(f, g) = \frac{J}{LT(f)} \cdot f - \frac{J} {LT( g)} \cdot g$$
Is that what you want ? (see attached picture).

3. no that is not what i was seeing but now it is correct
thanks a million!!!!