Variables[poly]
gives a list of all independent variables in a polynomial.
Variables
Variables[poly]
gives a list of all independent variables in a polynomial.
Examples
open all close allScope (4)
Properties & Relations (2)
Use CoefficientList to find coefficients of polynomials:
Use NonCommutativeVariables to find variables in a noncommutative polynomial:
Possible Issues (1)
Variables looks for variables only inside sums, products, and rational powers:
Tech Notes
Related Guides
History
Introduced in 1988 (1.0)
Text
Wolfram Research (1988), Variables, Wolfram Language function, https://reference.wolfram.com/language/ref/Variables.html.
CMS
Wolfram Language. 1988. "Variables." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Variables.html.
APA
Wolfram Language. (1988). Variables. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Variables.html
BibTeX
@misc{reference.wolfram_2025_variables, author="Wolfram Research", title="{Variables}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/Variables.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_variables, organization={Wolfram Research}, title={Variables}, year={1988}, url={https://reference.wolfram.com/language/ref/Variables.html}, note=[Accessed: 08-August-2025]}