ExpandDenominator


Description

  • ExpandDenominator expands out products and powers that appear as denominators in expressions.
  • ExpandDenominator[transformations] additionally applies transformations at each level of expand procedure.
  • ExpandDenominator works only on negative integer powers.
  • ExpandDenominator applies only to the top level in expressions.

Examples


Expand the denominator of a fraction:

println ExpandDenominator  >> '(x - 1) * (x - 2)/((x - 3) * (x - 4))'.t
   > (x-1)*(x-2)/(x**2 - 7*x +12)


Expand the denominator in each term:

println ExpandDenominator  >> '1/(1 + x) + 2/(2 + x)**2 + 3/(3 + x)**3'.t
   > 1/(1 + x) + 2/(4 + 4*x + x**2) + 3/(27 + 27*x + 9*x**2 + x**3)


Details

ExpandDenominator[transformations] additionally applies transformations at each level of expand procedure:

def t = '1/((k_a - p_a)*(k^a + p^a))'.t
println ExpandDenominator['k_a*k^a = 0'.t] >> t
   > -1/(p_a*p^a)
For more examples see Expand.

See also