FactoringDenominator
FactoringDenominator
is an option for Collect2
. It is taken into account only when the option Numerator
is set to True
. If FactoringDenominator
is set to any function f
, this function will be applied to the denominator of the fraction. The default value is False
, i.e. the denominator will be left unchanged.
See also
Overview, Collect2.
Examples
ex = (x1 a^2 + y 1 a^2 + 2 a b + x2 b^2 + y2 b^2)/(a + b + c^2 +
2 c d + d^2)
a+b+c2+2cd+d2a2x1+a2y+2ab+b2x2+b2y2
a+b+c2+2cd+d2a2(x1+y)+a+b+c2+2cd+d2b2(x2+y2)+a+b+c2+2cd+d22ab
Collect2[ex, a, b, Numerator -> True]
a+b+c2+2cd+d2a2(x1+y)+2ab+b2(x2+y2)
Collect2[ex, a, b, Numerator -> True, FactoringDenominator -> Simplify]
a+b+(c+d)2a2(x1+y)+2ab+b2(x2+y2)