Wiris

Documentation / CalcMe

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • LearningLemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Miscellaneous

                      • Wiris Integrations

                        • Home
                        • CalcMe
                        • Commands
                        • Expressions and Polynomials
                        • Expressions and Polynomials

                        Collect

                        Reading time: 1min

                        Collects the terms of an expression with respect to one of the variables.

                        Syntax

                        collect(Expression, Identifier)
                        
                        collect(Expression, List)
                        

                        Description

                        Given an expression and an identifier x in the expression, collects the term of the expression in powers of x.

                        Given an expression and a list with identifiers in the expression, collects the term of the expression in powers of the variables of the list.

                        Was this article helpful?

                        Give feedback about this article

                        Related Articles

                        • All variables
                        • Arguments
                        • Belongs to domain
                        • Bezout
                        • Coefficient domain

                        Collect

                        Syntax Description

                        Empowering STEM education

                        MathType

                        • Office Tools
                        • LMS
                        • XML
                        • HTML

                        WirisQuizzes

                        Learning Lemur

                        Integrations

                        Solutions

                        • Education
                        • Publishing houses – platforms and interactive
                        • Publishing houses – Print and digital
                        • Technical writers

                        Pricing

                        Downloads

                        Blog

                        • Success stories

                        About us

                        • Careers
                        • Partnership

                        Contact Us

                        Contact Sales

                        European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                        • Cookie Policy
                        • Terms of Use
                        • Privacy Policy / GDPR
                        • Student Data Privacy
                        • Compliance
                        • Cookie Settings

                        © Wiris 2026

                        Expand