Items tagged with expand


The expression is:


suppose I have

g := (x-4)^2+(y-6)^2-144:


                     e := x^2+y^2-8*x-12*y-92

How do I get from the equation of e back to g?



i'm using expand cmd, but surprisingly, not only execute the expand but execute simplify cmd. Is there any cmd only execute expand withoud simplify?

Best wishes,

from China


I am working with the Maple 18.02 version. I just want want to perform a basic polynomial expansion using the command "expand" and it does not respond as it should according to what Maple Programming Help says it would. For example:

Maple Programming Help says:

I get:


Also, one sees that this isn't even true, as x(x+2) + 1 = x^2 +2x +1, which is not equal to x^2 + 3x +2.

Moreover, maple tells me it is equal..:

What is going on here? I woul like to get the full expanded form (without factors). Also, this is obviously not true, or maybe Maple means something else by x(x+2) +1...

Thank you!

Hello people in mapleprimes,


To the following expression, I want to apply applyop so that I want to change its denominator expanded ,

but I don't know how to do it.

So, I am writing now hoping someone  teach me it.

m:= 2*p/(p^2+1)^2;


op(m) brings the result of 2, p, 1/(p^2+1)^2,

And, op(1,m) is 2, op(2,m) is p and op(3,m) is 1/(p^2+1)^2, and

op([3,1],m) is p^2+1 and op([3,2],m) is -2.

So, the tree is `*`{2,p, 1/(p^2+1)^2}, and the tree of 1/(p^2+1)^2 is `^`{p^2+1,-2}.

And, the command expand can't play that rule on 1/{(p^2+1)^2} as its original rule is

to expand the mere numerator. And, anyway, 1/{(p^2+1)^2} is interpleted by maple as (p^2+1)^(-2),

which is not 1 devided by (p^2+1)^2, the latter of which is seen to be expanded to be p^4+2*p^2+1, but

the interpletation by maple of it is not so, and if applyop(`denom`,expand,m) works, even it is good.

But, it doesn't follow the syntax of maple. Then, can't use applyop in this case?

Best wishes.



It might be a silly question but here it goes. I have a sin function in terms of sin(omega*(T0-T)+Phi) and i need to expand it by keeping omega*T0+phi as a single term. One way is by subs omega*T0+phi as a constant 'c' and then after expanding we can back substitute. But is there any option in expand function itself?




Dear all


If its possible in  Maple to change the integral of the sum to  the sum of integrals when I calucle the integral of a function series


Thank you

I would prefer that all the polynomials generated in my workbook by MAPLE were in expanded form.  For instance, it the elements of a matrix are polynomials, I want to see the expanded form for all of them.  What do I type into a workbook to make this happen.  (I am a new user of MAPLE.) 

Hello! Hope every is fine. I want to expand all expression of exp of the attached file like this

exp(c[1]*t+d[1]*n-d) = exp(c[1]*t+d[1]*n)*exp(-d)

waiting your kind response.



Mob #: 0086-13001903838


hey guys Im new client in maple and today I was about check out the resualt of my mathematic quastion with maple.

I need a step by step solution and exact command to give me true resualts 

for example 

how can I expand a factorization like (x^2-y^2) to (x-y)(x+y)

in a little more  complicated form (cd-1)^2-(c-d)^2/(d^2)(c-1)=5 the value of c=?

for solve this problem I need to expand (cd-1)^2-(c-d)^2 than other expands & in the end value of c

I dont have anymore time for my mathemathic exam so know that how maple works in basic and intermadiate mathematic level is important to me

thank you guys


How do I multiply the 4x into the summation to get  (Sum(4*n*a[n]*x^(n), n = 0 .. infinity))  and same idea for the 3rd third?

Also, how do I go from   Sum(a[n-2]*x^(n-2), n = 2 .. infinity)  to  Sum(a[n]*x^(n), n = 0 .. infinity)  by manipulating the indices?

Hello! Hope every is fine. I want to expand the following expression



like this 


i.e., expand exp(2*c*t+2*d*n-d) into exp(2*c*t+2*d*n)*exp(-d) 

waiting your kind response 

It's my first post on this forum so Hi everyone from Poland!

I have the following question.

Is it possible to force the Maple to obtain a result in a particular form? For example instead (a+b)3 I wan to have the result of the form: a3+3a2b+3ab2+b3. And I want to multiply the red brackets to receive a quadratic forms.

Below is a sample result that I get and I want it in a different form.



Wondered if anyone could help with the query below.

Consider f(x,y) defined as:
f := proc (x, y) options operator, arrow; x*y/(x+y) end proc


Then f(A, B); becomes:
(A * B )/(A + B)


now consider the polynomial:(poly2)



This polynomial is just the expansion of the polynomial below (lets call it poly1) which MAPLE does not recognize.


Here you can see that A,B on top and X,Y on the bottom are clearly of the form f(x,y).


Is there a way you can get MAPLE to recognize certain algebraic forms such that the polynomial poly2 could be written either as poly1 (already shown above) or as poly3 below:

poly3:=(f(A, B)+X)/(X+f(Y, X))


I have tried using simplify in the following form but not much luck. It doesn't seem to recognize anything other than the obvious.

simplify(poly2, {A*B/(A+B) = F1}, tdeg(A, B))


(I am still a bit new to the MAPLE syntax and procedures so apologies if I have missed something obvious function that can do this.)




1 2 3 4 Page 1 of 4