Skip to main content

Exploring Calculus with Maple Introductory Calculus

Section 7.2 Expanding Expressions

You can ask Maple to expand any expression with the expand() command, including products of polynomials and rational functions. Maple will also expand various logarithmic and trigonometric expressions.

Aside

> expand((2*x + 3*y)^6);
\begin{equation*} \displaystyle 64\,x^6+576\,x^5y+2160\,x^4y^2+4320\,x^3y^3+4860\,x^2y^4+2916\,xy^5+729\,y^6 \end{equation*}
> expand(cos(2*x));
\begin{equation*} \displaystyle 2\, \left( \cos \left( x \right) \right) ^{2}-1 \end{equation*}
> expand(tan(a + b));
\begin{equation*} \displaystyle {\frac {\tan \left( a \right) +\tan \left( b \right) }{1-\tan \left( a \right) \tan \left( b \right) }} \end{equation*}