ExpandNumerator[expr]
expands out products and powers that appear in the numerator of expr.
ExpandNumerator
ExpandNumerator[expr]
expands out products and powers that appear in the numerator of expr.
Details and Options
- ExpandNumerator works on terms that have positive integer exponents.
- ExpandNumerator applies only to the top level in expr.
- ExpandNumerator automatically threads over lists, as well as equations, inequalities, and logic functions.
- ExpandNumerator takes the following options:
-
Modulus 0 modulus to assume for integers Trig False whether to do trigonometric as well as algebraic transformations
Examples
open all close allBasic Examples (2)
Scope (7)
Expand the numerator of a rational function:
ExpandNumerator[(x - y) ^ 2 / (u - v) ^ 2]ExpandNumerator threads over sums:
ExpandNumerator[(a + b) ^ 2 / x + (c + d)(c - d) / y]ExpandNumerator threads over Boolean combinations of equations and inequalities:
ExpandNumerator[x == (a + b) ^ 2 / c && y ≥ (a - b) ^ 2 / c]ExpandNumerator does not separate the fraction; Expand does:
ExpandNumerator[(x + y) ^ 2 / (z + y) ^ 2]Expand[(x + y) ^ 2 / (z + y) ^ 2]Expand numerator of a fraction involving arbitrary functions:
ExpandNumerator[(Log[x] + 2 ^ x) ^ 3 / (Cos[x] + Sin[x]) ^ 2]Expand the numerator using expansion formulas for trigonometric functions:
ExpandNumerator[Sin[2x] / (x - 1) ^ 2, Trig -> True]Expand the numerator over the integers modulo
:
ExpandNumerator[(2x + 3y) ^ 6 / z, Modulus -> 4]Options (2)
Applications (1)
ExpandNumerator can be used to verify that two expressions are equal:
((1 - x^2)^2/1 + x^4) == ( (1 - x)^2 (1 + x)^2/1 + x^4)ExpandNumerator[%]Properties & Relations (5)
ExpandNumerator leaves the denominator unexpanded:
ExpandNumerator[(a + b)(a - b) / ((c + d)(c - d))]ExpandDenominator expands the denominator, leaving the numerator unexpanded:
ExpandDenominator[(a + b)(a - b) / ((c + d)(c - d))]Expand expands the numerator and expands the fraction into a sum of fractions:
Expand[(a + b)(a - b) / ((c + d)(c - d))]ExpandAll expands the numerator, the denominator, and the fraction:
ExpandAll[(a + b)(a - b) / ((c + d)(c - d))]Use Factor, Numerator, and Denominator to factor the numerator back:
Factor[Numerator[#]] / Denominator[#]&[(a ^ 2 - b ^ 2) / (c ^ 2 - d ^ 2)]See Also
Tech Notes
Related Guides
History
Introduced in 1988 (1.0) | Updated in 2007 (6.0)
Text
Wolfram Research (1988), ExpandNumerator, Wolfram Language function, https://reference.wolfram.com/language/ref/ExpandNumerator.html (updated 2007).
CMS
Wolfram Language. 1988. "ExpandNumerator." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/ExpandNumerator.html.
APA
Wolfram Language. (1988). ExpandNumerator. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ExpandNumerator.html
BibTeX
@misc{reference.wolfram_2026_expandnumerator, author="Wolfram Research", title="{ExpandNumerator}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ExpandNumerator.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_expandnumerator, organization={Wolfram Research}, title={ExpandNumerator}, year={2007}, url={https://reference.wolfram.com/language/ref/ExpandNumerator.html}, note=[Accessed: 13-June-2026]}