Enhancements to Symbolic Capabilities in Maple 13 - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Information : Updates : Maple 13 : updates/Maple13/symbolics

Enhancements to Symbolic Capabilities in Maple 13

Maple 13 includes enhancements to its symbolic capabilities in the following areas.

 

New calling sequences for int

Improved Integration of erf, Ci, and Si functions

Extended functionality of lcoeff, tcoeff, and sort

Solve Enhancements

Improved performance in evala/Gcd

Improved performance in mod/Expand and mod/Divide

New calling sequences for int

• 

Multiple definite integrals can be computed with a single call to int using a list or a sequence.  A list and sequence are generally treated the same, but a list is safer for indefinite integrals to make sure variables are not confused for other integration options.

int(x+y, [x=0..1, y=0..1]);

1

(1)

int(x+y, x=0..1, y=0..1);

1

(2)

int((x,y)->x+y, [0..1, 0..1]);

1

(3)

int((x,y)->x+y, 0..1, 0..1);

1

(4)
• 

Multiple indefinite integrals can also be computed using a similar notation to diff

diff(int(x+y, x, y), x, y);

x+y

(5)

int(x+y, [x,y]);

12x2y+12y2x

(6)
• 

Ability to select internal integration routines with the method option. See int,methods for more information about available methods.

int(1/sqrt((1-t^2)*(1-2*t^2)), t=0..1, method=FTOC);

EllipticK2

(7)

int(1/sqrt((1-t^2)*(1-2*t^2)), t=0..1, method=Elliptic);

I2EllipticK222+2EllipticK222

(8)
• 

If a method does not return a result, an unevaluated int call will be returned with the given method option.

int(1/sqrt((1-t^2)*(1-2*t^2)), t=0..1, method=Polynomial);

int1t2+12t2+1,t=0..1,method=Polynomial

(9)
• 

There is also a new option to int to perform numeric integration.  See Numerics Updates in Maple 13 for more information.

Improved Integration of erf, Ci, and Si functions

• 

Maple 13 includes improved handling of integrals involving erf, Ci, Si, FresnelS, and FresnelC integrals.

• 

The following definite integrals could not be computed by previous versions of Maple.

int(x*erf(x)*exp(-x^2), x);

erfxⅇx22+2erf2x4

(10)

int(x^3*erf(x)*exp(-x^2), x);

erfxx22ⅇx212ⅇx252πerf2x16+x4ⅇx22π

(11)

int(Ci(x)*sin(x), x);

Cixcosx+lnx2+Ci2x2

(12)

int(Si(x)*cos(x), x);

Sixsinxlnx2+Ci2x2

(13)

int(FresnelS(2*x)^2, x);

FresnelS2x2x+FresnelS2xcos2πx2π2FresnelS22x4π

(14)

int(FresnelC(2*x)*cos(2*Pi*x^2)*x, x);

FresnelC2xsin2πx24π2FresnelS22x16π

(15)

Extended functionality of lcoeff, tcoeff, and sort

• 

Support for the monomial orders plex, grlex, and tdeg was added to these three commands. They can be specified using a second argument of the form order=mo(x,y,...), where mo is one of the three names above and x, y, ... are variable names. For more details, see lcoeff and sort.

f := 4*x^3 + 5*x^2*z^2 + 2*x*y^2*z + 1;

f5x2z2+2xy2z+4x3+1

(16)

(lcoeff,tcoeff)(f, order=grlex(x,y,z));

5,1

(17)

sort(f, order=tdeg(x,y,z));

2xy2z+5x2z2+4x3+1

(18)
• 

The efficiency of lcoeff and tcoeff was improved as well. For information, see Efficiency Improvements in Maple 13.

Solve Enhancements

• 

solve will accept as options all of the environment variables that affect its behavior.  See solve,details for a complete list.

solve(x^4-1);

1,−1,I,−I

(19)

solve(x^4-1,MaxSols=1);

1

(20)
• 

solve now accepts the new option UseAssumptions which will cause solve to process any assumptions on the independent variables into additional equations and inequations.

solve(x^4-1, 'UseAssumptions') assuming x>0;

1

(21)

solve(x^4-1, 'UseAssumptions') assuming abs(x)<>1;

• 

solve will now return solutions to inequalities containing trig and arctrig functions.

solve(sin(x)>0);

2π&comma;π,0&comma;π

(22)

solve(arcsin(1/x)>0);

1&comma;

(23)

solve(arcsin(1/x)*sin(x-3)*cos(x+3)>0);

33π2&comma;3π+3,3π2&comma;2π+3,3+π2&comma;−1,1&comma;3+3π2,3&comma;3+5π2,π+3&comma;3+7π2

(24)
• 

RealDomain:-solve uses the new SemiAlgebraicSetTools subpackage of RegularChains to solve systems of polynomials and rational functions which have finitely many solutions.  This allows it to produce much better solutions than those produced by previous versions of Maple.

RealDomain:-solve({x^9+x+y,1/y^2-1},{x,y});

x=RootOf_Z9+_Z+1&comma;−0.824300766..−0.8242998123&comma;y=1,x=RootOf_Z9+_Z1&comma;0.8242998123..0.824300766&comma;y=−1

(25)

Improved performance in evala/Gcd

  

The efficiency of the evala/Gcd command has been improved. See Efficiency Improvements in Maple 13.

Improved performance in mod/Expand and mod/Divide

  

The efficiency of the Expand and Divide commands for modular multivariate polynomial expansion and division has been improved. See Efficiency Improvements in Maple 13.

See Also

Index of New Maple 13 Features