Simplifica a su mínima expresión.
\dfrac{NUM}{DENOM}
NUM / DENOM
Hay varias maneras de abordar el problema.
¿Cuál es el máximo común divisor (MCD) de NUM y DENOM?
NUM = getPrimeFactorization( NUM ).join( "\\cdot" )DENOM = getPrimeFactorization( DENOM ).join( "\\cdot" )
\mbox{GCD}(NUM, DENOM) = GCD_FACTORS.join( "\\cdot" ) = GCD
\dfrac{NUM}{DENOM}
= \dfrac{NUM / GCD \cdot GCD}{ DENOM / GCD\cdot GCD}
\hphantom{\dfrac{NUM}{DENOM}}
= \dfrac{NUM / GCD}{DENOM / GCD} \cdot \dfrac{GCD}{GCD}
\hphantom{\dfrac{NUM}{DENOM}}
= \dfrac{NUM / GCD}{DENOM / GCD} \cdot 1
\hphantom{\dfrac{NUM}{DENOM}}
= \dfrac{NUM / GCD}{DENOM / GCD}
Otra forma de solucionar el problema es dividiendo repetidamente el numerador y el denominador en factores comunes.
Por ejemplo:
HINT