Symbolics - Maple Help

Enhancements to Symbolic Capabilities in Maple 8

 Maple 8 includes a number of enhancements to its symbolic capabilities.

Differential Equations (DE)

 Differential equation solving capabilities (for exact and numeric solutions) have been greatly enhanced by new algorithms. To learn about the DE updates, including the dsolve and pdsolve commands, see updates,Maple8,differential_equations.

New Network of Conversion Routines for Mathematical Functions

 A flexible conversion facility in the mathematical language is as important as a dictionary in spoken languages. Maple 8 introduces such a tool in a computer algebra system for the first time, implemented as a net of conversion routines permitting the expression of any mathematical function in terms of another one, whenever that is possible as a finite sum of terms. When the parameters of the functions being converted depend on symbols in a rational manner, any assumptions on these symbols made by the user are taken into account at the time of performing the conversions (see assuming).
 Example:
 > ee := exp(1/2*z)* WhittakerM(0,1/2,z);
 ${\mathrm{ee}}{≔}{{ⅇ}}^{\frac{{z}}{{2}}}{}{\mathrm{WhittakerM}}{}\left({0}{,}\frac{{1}}{{2}}{,}{z}\right)$ (1)
 > convert( (1), MeijerG );
 ${z}{}{\mathrm{MeijerG}}{}\left(\left[\left[{0}\right]{,}\left[\right]\right]{,}\left[\left[{0}\right]{,}\left[{-1}\right]\right]{,}{-}{z}\right)$ (2)
 > convert( (2), exp );
 ${\left({{ⅇ}}^{\frac{{z}}{{2}}}\right)}^{{2}}{-}{1}$ (3)
 > convert( (3), hypergeom, include=exp );
 ${{\mathrm{hypergeom}}{}\left(\left[\right]{,}\left[\right]{,}\frac{{z}}{{2}}\right)}^{{2}}{-}{1}$ (4)
 Converting the original expression $\mathrm{ee}$ directly to hypergeom we arrive at an identity for hypergeometric functions
 > (4) = convert(ee, hypergeom);
 ${{\mathrm{hypergeom}}{}\left(\left[\right]{,}\left[\right]{,}\frac{{z}}{{2}}\right)}^{{2}}{-}{1}{=}{z}{}{\mathrm{hypergeom}}{}\left(\left[{1}\right]{,}\left[{2}\right]{,}{z}\right)$ (5)
 > simplify( (lhs-rhs)((5)) );
 ${0}$ (6)
 • The main idea behind the Maple 8 conversion network is to split the set of mathematical functions into three main subsets, according to their hypergeometric representation as 2F1, 1F1 and 0F1 hypergeometric functions. Then, generally speaking, conversions - when possible - can be performed among functions of the same class. The Maple 8 routines allow you to convert to any of 58 mathematical functions, including all the elementary transcendental ones and most of the special functions of mathematical physics:

 Example: Conversions between 2F1 functions
 > JacobiP(1/2,0,-1,z);
 ${\mathrm{JacobiP}}{}\left(\frac{{1}}{{2}}{,}{0}{,}{-1}{,}{z}\right)$ (7)
 > convert((7),EllipticE);
 $\frac{{2}{}{\mathrm{EllipticE}}{}\left(\frac{\sqrt{{-}{2}{}{z}{+}{2}}}{{2}}\right)}{{\mathrm{\pi }}}$ (8)
 > convert((8),LegendreP);
 $\frac{\left({1}{+}{z}\right){}\left({\mathrm{LegendreP}}{}\left({-}\frac{{1}}{{2}}{,}{z}\right){+}{\mathrm{LegendreP}}{}\left(\frac{{1}}{{2}}{,}\frac{{3}{-}{z}}{{1}{+}{z}}\right){}\sqrt{{2}}{}\sqrt{\frac{{1}}{{1}{+}{z}}}\right)}{{4}}$ (9)
 > convert((9),GegenbauerC);
 $\frac{\left({1}{+}{z}\right){}\left({\mathrm{GegenbauerC}}{}\left({-}\frac{{1}}{{2}}{,}\frac{{1}}{{2}}{,}{z}\right){+}{\mathrm{GegenbauerC}}{}\left(\frac{{1}}{{2}}{,}\frac{{1}}{{2}}{,}\frac{{3}{-}{z}}{{1}{+}{z}}\right){}\sqrt{{2}}{}\sqrt{\frac{{1}}{{1}{+}{z}}}\right)}{{4}}$ (10)
 > convert((10),hypergeom);
 $\frac{\left({1}{+}{z}\right){}\left({\mathrm{hypergeom}}{}\left(\left[\frac{{1}}{{2}}{,}\frac{{1}}{{2}}\right]{,}\left[{1}\right]{,}\frac{{1}}{{2}}{-}\frac{{z}}{{2}}\right){+}{\mathrm{hypergeom}}{}\left(\left[{-}\frac{{1}}{{2}}{,}\frac{{3}}{{2}}\right]{,}\left[{1}\right]{,}\frac{{z}{-}{1}}{{1}{+}{z}}\right){}\sqrt{{2}}{}\sqrt{\frac{{1}}{{1}{+}{z}}}\right)}{{4}}$ (11)
 Example: Conversions between 1F1 functions
 > erf(z);
 ${\mathrm{erf}}{}\left({z}\right)$ (12)
 > convert((12),HermiteH);
 ${-}\frac{{2}{}{\mathrm{HermiteH}}{}\left({-1}{,}{z}\right)}{\sqrt{{\mathrm{\pi }}}{}{{ⅇ}}^{{{z}}^{{2}}}}{+}{1}$ (13)
 > convert((13),KummerU);
 ${-}\frac{{z}{}{\mathrm{KummerU}}{}\left({1}{,}\frac{{3}}{{2}}{,}{{z}}^{{2}}\right){}\sqrt{{{z}}^{{2}}}{-}\sqrt{{\mathrm{\pi }}}{}{{ⅇ}}^{{{z}}^{{2}}}{}\left({z}{-}\sqrt{{{z}}^{{2}}}\right)}{\sqrt{{{z}}^{{2}}}{}\sqrt{{\mathrm{\pi }}}{}{{ⅇ}}^{{{z}}^{{2}}}}{+}{1}$ (14)
 > normal(convert((14),WhittakerW));
 ${-}\frac{{z}{}\left({-}\sqrt{{\mathrm{\pi }}}{}{{ⅇ}}^{{{z}}^{{2}}}{}{\left({{z}}^{{2}}\right)}^{{1}}{{4}}}{+}{\mathrm{WhittakerW}}{}\left({-}\frac{{1}}{{4}}{,}\frac{{1}}{{4}}{,}{{z}}^{{2}}\right){}{{ⅇ}}^{\frac{{{z}}^{{2}}}{{2}}}\right)}{\sqrt{{\mathrm{\pi }}}{}{{ⅇ}}^{{{z}}^{{2}}}{}{\left({{z}}^{{2}}\right)}^{{3}}{{4}}}}$ (15)
 • Taking into account the possible split of the set of mathematical functions into hypergeometric classes as well as their classification found in typical handbooks like Abramowitz and Stegun, the Maple 8 routines also permits converting to a function class; that is, attempting to rewrite a given expression by using any of the functions of a specified class.
 Example:
 > 1/2*LegendreP(-1/2,-1/2,-1-2*z^2+4*z)*(-2*z^2+4*z)^(1/4)/(-2-2*z^2+4*z)^(1/4)*(z-1);
 $\frac{{\mathrm{LegendreP}}{}\left({-}\frac{{1}}{{2}}{,}{-}\frac{{1}}{{2}}{,}{-}{2}{}{{z}}^{{2}}{+}{4}{}{z}{-}{1}\right){}{\left({-}{2}{}{{z}}^{{2}}{+}{4}{}{z}\right)}^{{1}}{{4}}}{}\left({z}{-}{1}\right)}{{2}{}{\left({-}{2}{}{{z}}^{{2}}{+}{4}{}{z}{-}{2}\right)}^{{1}}{{4}}}}$ (16)
 > convert((16),arctrig);
 $\frac{{\left({-}{2}{}{\left({z}{-}{1}\right)}^{{2}}\right)}^{{1}}{{4}}}{}{\mathrm{arcsin}}{}\left({z}{-}{1}\right)}{\sqrt{{\mathrm{\pi }}}{}{\left({-}{2}{}{{z}}^{{2}}{+}{4}{}{z}{-}{2}\right)}^{{1}}{{4}}}}$ (17)
 The function classes understood by the Maple 8 mathematical function conversion network are:

 • The new conversion routines also introduce the concept of "rule conversion", that is, a conversion where the input and output are expressed using the same function but applying identity rules to it. For example, the HermiteH function
 > H1 := HermiteH(a,z);
 ${\mathrm{H1}}{≔}{\mathrm{HermiteH}}{}\left({a}{,}{z}\right)$ (18)
 can have its (first) parameter raised or lowered by one. Below, "raise a" stands for "raise the first parameter":
 > H2 := convert(H1, HermiteH, "raise a");
 ${\mathrm{H2}}{≔}\frac{{2}{}{z}{}{\mathrm{HermiteH}}{}\left({a}{+}{1}{,}{z}\right){-}{\mathrm{HermiteH}}{}\left({a}{+}{2}{,}{z}\right)}{{2}{}{a}{+}{2}}$ (19)
 For functions depending on more parameters, for example, LegendreP or JacobiP, you can raise the second or third parameters using "raise b" or "raise c". The rules known by the Maple 8 conversion routines are:

 • The mathematical identities which can be derived using the new conversion routines can be checked visually in Maple 8 using the new plotcompare routine, which draws four 3-D plots, comparing the real and imaginary parts of two expressions when evaluated over a complex variable $z=x+Iy$.
 • All the Maple 8 conversion routines listed in the tables above understand a uniform set of optional arguments for restricting the conversion process in varied manners, for example, performing (or excluding) the conversion process only for some functions (see convert,to_special_function), therefore providing the necessary flexibility for optimal symbolic manipulation.

Special Functions and Assumptions

 More Maple functions now take assumptions into account (see assuming).
 > binomial(a,b) assuming a::fraction, b::integer, b<0;
 ${0}$ (20)
 > binomial(a,2) assuming a::fraction;
 $\frac{\left({a}{-}{1}\right){}{a}}{{2}}$ (21)
 > GAMMA(a,z) assuming a=1/2;
 $\sqrt{{\mathrm{\pi }}}{}{\mathrm{erfc}}{}\left(\sqrt{{z}}\right)$ (22)

Simplification

Enhancements

 In Maple 8, when simplifying definite integrals or sums, the integration range simplifies the integrand assuming the integration variable has its value inside the given range. Example:
 > Int((1+sinh(x)^2)^(1/2), x=1..4);
 ${{\int }}_{{1}}^{{4}}\sqrt{{1}{+}{{\mathrm{sinh}}{}\left({x}\right)}^{{2}}}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (23)
 > simplify((23));    # <- deduces that x::RealRange(1,4)
 ${{\int }}_{{1}}^{{4}}{\mathrm{cosh}}{}\left({x}\right)\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{ⅆ}{x}$ (24)
 A more precise check to recognize hidden invalid expressions of the form 0/0 is now performed during simplification processes. When an indeterminate form is detected an appropriate exception is raised. Example:
 > (tan(x)^2 + 1 - sec(x)^2)/(sin(x)^2 + cos(x)^2 - 1);
 $\frac{{{\mathrm{tan}}{}\left({x}\right)}^{{2}}{+}{1}{-}{{\mathrm{sec}}{}\left({x}\right)}^{{2}}}{{{\mathrm{sin}}{}\left({x}\right)}^{{2}}{+}{{\mathrm{cos}}{}\left({x}\right)}^{{2}}{-}{1}}$ (25)
 > simplify((25));

MeijerG Functions

 The simplify command can now simplify generalized hypergeometric MeijerG functions.
 > MeijerG([[], [1/2*(4*nu-5)/(nu-1)]],[[1/2*(2*nu-3)/(nu-1)], [-1/2*(2*nu-3)/(nu-1)]], 3*1/(z*(nu-1)));
 ${\mathrm{MeijerG}}{}\left(\left[\left[\right]{,}\left[\frac{{4}{}{\mathrm{\nu }}{-}{5}}{{2}{}\left({\mathrm{\nu }}{-}{1}\right)}\right]\right]{,}\left[\left[\frac{{2}{}{\mathrm{\nu }}{-}{3}}{{2}{}\left({\mathrm{\nu }}{-}{1}\right)}\right]{,}\left[{-}\frac{{2}{}{\mathrm{\nu }}{-}{3}}{{2}{}\left({\mathrm{\nu }}{-}{1}\right)}\right]\right]{,}\frac{{3}}{{z}{}\left({\mathrm{\nu }}{-}{1}\right)}\right)$ (26)
 > simplify((26));
 $\frac{{{3}}^{\frac{{2}{}{\mathrm{\nu }}{-}{3}}{{2}{}{\mathrm{\nu }}{-}{2}}}{}{\left(\frac{{1}}{{z}{}\left({\mathrm{\nu }}{-}{1}\right)}\right)}^{\frac{{2}{}{\mathrm{\nu }}{-}{3}}{{2}{}{\mathrm{\nu }}{-}{2}}}}{{\mathrm{\Gamma }}{}\left(\frac{{3}{}{\mathrm{\nu }}{-}{4}}{{\mathrm{\nu }}{-}{1}}\right)}$ (27)
 > MeijerG([[1/2], [-1/2]], [[0, v], [-1/2, -v]], x) + MeijerG([[], [1/2]], [[0, v], [-v]], x);
 ${\mathrm{MeijerG}}{}\left(\left[\left[\frac{{1}}{{2}}\right]{,}\left[{-}\frac{{1}}{{2}}\right]\right]{,}\left[\left[{0}{,}{v}\right]{,}\left[{-}\frac{{1}}{{2}}{,}{-}{v}\right]\right]{,}{x}\right){+}{\mathrm{MeijerG}}{}\left(\left[\left[\right]{,}\left[\frac{{1}}{{2}}\right]\right]{,}\left[\left[{0}{,}{v}\right]{,}\left[{-}{v}\right]\right]{,}{x}\right)$ (28)
 > simplify((28));
 ${0}$ (29)

Kummer Functions

 The simplify command now has the ability to simplify confluent hypergeometric Kummer functions.
 > KummerU(a,b,z)+(a+1)*(a+2-b)*KummerU(a+2,b,z)-2*(a+1+1/2*z-1/2*b)*KummerU(a+1,b,z);
 ${\mathrm{KummerU}}{}\left({a}{,}{b}{,}{z}\right){+}\left({a}{+}{1}\right){}\left({a}{+}{2}{-}{b}\right){}{\mathrm{KummerU}}{}\left({a}{+}{2}{,}{b}{,}{z}\right){-}{2}{}\left({a}{+}{1}{+}\frac{{z}}{{2}}{-}\frac{{b}}{{2}}\right){}{\mathrm{KummerU}}{}\left({a}{+}{1}{,}{b}{,}{z}\right)$ (30)
 > simplify((30));
 ${0}$ (31)

Orthogonal Polynomials and Associated Functions

 • Maple is now able to efficiently simplify Legendre functions of integer degree and order to elementary form (integer and fractional powers).
 > LegendreP(5,3,x): (31) = simplify((31),'LegendreP');
 ${0}{=}{0}$ (32)
 > LegendreP(48,24,2): (32) = simplify((32),'LegendreP');
 $\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)$ (33)
 > LegendreQ(5,10,x): (33) = simplify((33),'LegendreQ');
 $\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)$ (34)
 > LegendreQ(50,100,2): (34) = simplify((34),'LegendreQ');
 $\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right){=}\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right)$ (35)
 • Other functions can be simplified to elementary form.
 > GegenbauerC(2,7/2,x): (35) = simplify((35));
 $\left(\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right){=}\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right)\right){=}\left(\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right){=}\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right)\right)$ (36)
 > JacobiP(2,3,3,x): (36) = simplify((36));
 $\left(\left(\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right){=}\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right)\right){=}\left(\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right){=}\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right)\right)\right){=}\left(\left(\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right){=}\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right)\right){=}\left(\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right){=}\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right)\right)\right)$ (37)
 > ChebyshevT(3,z): (37) = simplify((37));
 $\left(\left(\left(\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right){=}\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right)\right){=}\left(\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right){=}\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right)\right)\right){=}\left(\left(\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right){=}\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right)\right){=}\left(\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right){=}\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right)\right)\right)\right){=}\left(\left(\left(\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right){=}\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right)\right){=}\left(\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right){=}\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right)\right)\right){=}\left(\left(\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right){=}\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right)\right){=}\left(\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right){=}\left(\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right){=}\left(\left({0}{=}{0}\right){=}\left({0}{=}{0}\right)\right)\right)\right)\right)\right)$ (38)
 • The names ChebyshevT(0,x) and other index-0 orthogonal polynomials no longer simplify automatically to 1.  Similarly with some index-1 orthogonal polynomials.

Improvements in Square Root Computations

 We have made two improvements to sqrt simplification. One is to take the square root of an exponential. The other is to simplify square roots of integers by, without factoring the integers, pulling out squares of small primes and taking the exact square root of the other component. This significantly reduces the size of the formulae computed by solve.
 > sqrt(exp(2));
 ${ⅇ}$ (39)
 > sqrt(exp(2*x)) assuming x > 0;
 ${{ⅇ}}^{{x}}$ (40)
 > sqrt(3^2*997);
 ${3}{}\sqrt{{997}}$ (41)
 > sqrt(997^2*3);
 ${997}{}\sqrt{{3}}$ (42)
 > q5 := x^5-10*x^4+9*x^3-4*x^2-1;
 ${\mathrm{q5}}{≔}{{x}}^{{5}}{-}{10}{}{{x}}^{{4}}{+}{9}{}{{x}}^{{3}}{-}{4}{}{{x}}^{{2}}{-}{1}$ (43)
 > sol := solve(q5): sol[1];
 ${\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{5}}{-}{10}{}{{\mathrm{_Z}}}^{{4}}{+}{9}{}{{\mathrm{_Z}}}^{{3}}{-}{4}{}{{\mathrm{_Z}}}^{{2}}{-}{1}{,}{\mathrm{index}}{=}{1}\right)$ (44)
 $\frac{{{5}}^{{1}}{{5}}}{}{{4}}^{{4}}{{5}}}{}{\left(\frac{{13205}{}\sqrt{{5}}{}\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}{+}{54725}{}\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}{-}{974827}{}\sqrt{{5}}{-}{2532595}}{\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}}\right)}^{{1}}{{5}}}}{{20}}{+}\frac{\left({6285}{+}\frac{{1265}{}\sqrt{{5}}}{{2}}{-}\frac{{2255}{}\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}}{{386}}{-}\frac{{20331965}{}\sqrt{{5}}}{{193}{}\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}}\right){}{{5}}^{{2}}{{5}}}{}{{4}}^{{3}}{{5}}}}{{25}{}{\left(\frac{{13205}{}\sqrt{{5}}{}\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}{+}{54725}{}\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}{-}{974827}{}\sqrt{{5}}{-}{2532595}}{\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}}\right)}^{{3}}{{5}}}}{+}\frac{\left(\frac{{1375}}{{2}}{+}{35}{}\sqrt{{5}}{+}\frac{{11}{}\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}}{{386}}{-}\frac{{1767012}{}\sqrt{{5}}}{{193}{}\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}}\right){}{{5}}^{{3}}{{5}}}{}{{4}}^{{2}}{{5}}}}{{25}{}{\left(\frac{{13205}{}\sqrt{{5}}{}\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}{+}{54725}{}\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}{-}{974827}{}\sqrt{{5}}{-}{2532595}}{\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}}\right)}^{{2}}{{5}}}}{+}\frac{\left(\frac{{155}}{{2}}{+}\frac{{13}{}\sqrt{{5}}}{{2}}\right){}{{5}}^{{4}}{{5}}}{}{{4}}^{{1}}{{5}}}}{{25}{}{\left(\frac{{13205}{}\sqrt{{5}}{}\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}{+}{54725}{}\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}{-}{974827}{}\sqrt{{5}}{-}{2532595}}{\sqrt{{45355}{-}{16826}{}\sqrt{{5}}}}\right)}^{{1}}{{5}}}}{+}{2}$ (45)

index/Circulant and index/Vandermonde

 • A new Matrix indexing function, index/Circulant, for circulant matrices (which are diagonalizable by the Fourier matrix of the appropriate size, and thus easy to use) has been added.  Also, index/Vandermonde has been improved to handle the confluent Vandermonde matrix case. By default, a Vandermonde matrix with repeated interpolation points is singular (because this is what is needed in teaching), but with the option confluent, a nonsingular matrix that demands derivative data is produced.

assume

 Procedure hasassumptions has been added to the assume facility. It can be used to check whether some assumptions were made on a variable.
 > a := 'a';
 ${a}{≔}{a}$ (46)
 > hasassumptions(a);
 ${\mathrm{false}}$ (47)
 > assume(a, real);
 > hasassumptions(a);
 ${\mathrm{true}}$ (48)
 > a := 'a';
 ${a}{≔}{a}$ (49)
 > hasassumptions(a);
 ${\mathrm{false}}$ (50)
 > assume(a+b, real);
 > hasassumptions(a);
 ${\mathrm{true}}$ (51)

Symbolic Summation

 Symbolic summation capabilities have been enhanced by algorithms based on ideas from integral representations. Maple can now handle new types of sums, for example Abel-type definite sums and some hypergeometric sums involving polynomials of unknown degree.
 Examples:
 > F:=(x+k)^(k-1)*(y+n-k-a)^(n-k-1)*binomial(n,k);
 ${F}{≔}{\left({x}{+}{k}\right)}^{{k}{-}{1}}{}{\left({y}{+}{n}{-}{k}{-}{\mathrm{a~}}\right)}^{{n}{-}{k}{-}{1}}{}\left(\genfrac{}{}{0}{}{{n}}{{k}}\right)$ (52)
 > sum(F,k=1..n);
 ${\mathrm{\Gamma }}{}\left({n}{+}{1}\right){}\left(\frac{{\left({x}{+}{y}{-}{\mathrm{a~}}{+}{n}\right)}^{{n}}}{{n}{!}{}{x}{}\left({y}{-}{\mathrm{a~}}\right)}{-}\frac{{\left({x}{+}{y}{-}{\mathrm{a~}}{+}{n}\right)}^{{n}{-}{1}}}{\left({n}{-}{1}\right){!}{}{x}{}\left({y}{-}{\mathrm{a~}}\right)}\right){+}\frac{{\left({y}{+}{n}{-}{\mathrm{a~}}\right)}^{{n}}}{{x}{}{\mathrm{a~}}{-}{x}{}{n}{-}{x}{}{y}}$ (53)
 > F:=(2+k)^(k-2)*(1+n-k)^(n-k)/(k!*(n-k)!);
 ${F}{≔}\frac{{\left({2}{+}{k}\right)}^{{k}{-}{2}}{}{\left({n}{-}{k}{+}{1}\right)}^{{n}{-}{k}}}{{k}{!}{}\left({n}{-}{k}\right){!}}$ (54)
 > sum(F,k=0..n);
 $\frac{{\left({3}{+}{n}\right)}^{{n}}}{{4}{}{n}{!}}{-}\frac{{\left({3}{+}{n}\right)}^{{n}{-}{1}}}{{6}{}\left({n}{-}{1}\right){!}}$ (55)
 > F:=(-1)^x/x!/(y-x)!*(x^n)/(x+1)/(x+7);
 ${F}{≔}\frac{{\left({-1}\right)}^{{x}}{}{{x}}^{{n}}}{{x}{!}{}\left({y}{-}{x}\right){!}{}\left({x}{+}{1}\right){}\left({x}{+}{7}\right)}$ (56)
 > sum(F,x=0..y) assuming n::posint;
 ${-}\frac{{120}{}{\left({-1}\right)}^{{n}}{}{{7}}^{{n}}}{{\mathrm{\Gamma }}{}\left({y}{+}{8}\right)}{+}\frac{{\left({-1}\right)}^{{n}}}{{6}{}{\mathrm{\Gamma }}{}\left({y}{+}{2}\right)}$ (57)
 > F:=(-1)^x/x!/(y-x)!*ChebyshevU(2*n-1,x)/(x^2+3*x+2);
 ${F}{≔}\frac{{\left({-1}\right)}^{{x}}{}{\mathrm{ChebyshevU}}{}\left({2}{}{n}{-}{1}{,}{x}\right)}{{x}{!}{}\left({y}{-}{x}\right){!}{}\left({{x}}^{{2}}{+}{3}{}{x}{+}{2}\right)}$ (58)
 > sum(F,x=1..y) assuming n::posint;
 ${-}\frac{{2}{}{n}{}{y}{+}{\mathrm{ChebyshevU}}{}\left({2}{}{n}{-}{1}{,}{-2}\right){+}{4}{}{n}}{{\mathrm{\Gamma }}{}\left({y}{+}{3}\right)}{-}\frac{{\mathrm{ChebyshevU}}{}\left({2}{}{n}{-}{1}{,}{0}\right)}{{2}{}{y}{!}}$ (59)

Partial Fractions

 • Both parfrac and fullparfrac partial fraction conversions have been enhanced.
 • The $\mathrm{convert}\left(...,\mathrm{parfrac},...\right)$ routine has been rewritten. Additional detail on the new routine can be found in updates/Maple8/efficiency.
 • $\mathrm{convert}\left(...,\mathrm{fullparfrac},...\right)$ has been modified to be able to produce full partial fraction decompositions in a new form that is far more efficient when additional variables (other than the main variable) are present in the input. The default has also changed for this class of problems. Additional detail can be found in convert,fullparfrac.

Division ($\mathrm{/}$)

 • The division procedure $\mathrm{/}$, when called as a function, now accepts 1 argument, in which case it returns the reciprocal of that argument. When used as an operator, however, two operands are still required.
 > s / t;
 $\frac{{s}}{{t}}$ (60)
 > /( s, t );
 $\frac{{s}}{{t}}$ (61)
 > /( t );
 $\frac{{1}}{{t}}$ (62)