Mathsend Blog

Mathsend Blog

Algebraic Manipulations with Mathsend

How to handle mathematical expansion, factorization, collect like terms, fractional reduction, and trigonometric simplifications with Mathsend chatbot

Algebraic Manipulations with Mathsend

Mathsend can engage in several simplification tasks and solve systems of equations by wrapping expressions with the right keywords.

In this post, we shall be taking a look at the following keywords:


MathSend expands any given expression by the implementation of the famous triangular representation of numbers. Though the pattern of numbers that forms Pascal's triangle was known to the Chinese well before Pascal's time, its uses were first mathematically attested to by Blaise Pascal, in his Traité du triangle arithmétique (1654), later published in 1665.

Given an expression that conforms to a form like (ax+b)n The "elementary" method is to write the expression within the bracket n times after which the brackets are then opened through multiplication.
For example, \( (2x+3)^2 = (2x+3)*(2x+3) = 4x^2+ 12x + 9 \)
But this method gets more cumbersome with increasing power (n), okay, try \( (3x-7)^9 \) within one minute and compare your answer with our console output^9)... That's where Pascal's triangle comes handy. You may read more about it.

The chatbot uses Pascal's triangle for expansion tasks, to expand any given expression just type in the required expression within the EXPAND() keyword. You can also solve it by going to the expression direct link as all expressions have a Mathsend direct link.
For example: \((2x+3)^2\)=*x+3)^2)
\((3x-7)^9\) =^9)


Factorization may be referred to as the decompositions of a mathematical object into the product of smaller or simpler objects. Given any polynomial expression, for a factorization operation to be referred to as successful, the resulting form must be further irreducible.
For example, to factorize \(x^4 - 3x^2 + 1\), we type factor(x^4 - 3*x^2 + 1)


whenever you only need polynomial coefficients and not the full expression, the collect keyword takes care of that. It must be noted that the reported solution will be in descending power of the variable where the missing powers are represented with zero.
For example, it's obvious that the coefficient of collect(11x^4 - 36x^3+x +3) = [11 -36 0 1 3].


Given a rational expression a/b, the cancel keyword tries to cancel-out all common factors in the supplied fraction to give an irreducible rational expression as x/y.
For example, cancel(18x/12) = 3x/2.


For any given rational function, Mathsend computes the partial fraction decomposition of the function when supplied with the apart keyword.


used to convert trigonometric expressions to their simplest and smallest reducible terms. Just as factor is to polynomial expression, the output of the operation will be the smallest irreducible form of the supplied expression.
For example: trigsimplify(sin(x)^2+cos(x)^2) = 1


It's the opposite of trigsimplify and the trigonometric counterpart the expand keyword for trigonometric function.


supplying an algebraic expression with this keyword forces MATHSEND to apply several methods to the expression in order to come up with a reasonably simplified solution.
For example: simplify(2x^2 + 3x + 4x) = x(2x + 7)

Share this