Simplify the following expression:
\dfrac{NUMERATOR}{DENOMINATOR}
You can assume X \neq 0.
Find the greatest common factor of the numerator and denominator.
NUMERATOR = getFactoredExpression(FACTOR, COEFFICIENT1, X, DEGREE, CONSTANT1)
DENOMINATOR = getFactoredExpression(FACTOR, COEFFICIENT2, X, DEGREE, CONSTANT2)The greatest common factor of all the terms is FACTORDEGREE.
Factoring out FACTORDEGREE gives us:
\qquad \dfrac{(FACTORDEGREE)(NUMERSOL)}
{(FACTORDEGREE)(DENOMSOL)}
Dividing both the numerator and denominator by FACTORDEGREE gives:
\qquad \dfrac{NUMERSOL}{DENOMSOL} or more simply,
NUMERSOL
\qquad \dfrac{NUMERSOL}{DENOMSOL}