ChangeBasis - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


OrthogonalSeries

  

ChangeBasis

  

change the expansion basis of a series

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

ChangeBasis(p, P1,.., Pk)

ChangeBasis(S, P1,.., Pk)

Parameters

p

-

polynomial expression

S

-

orthogonal series

P1, .., Pk

-

classical orthogonal polynomials

Description

• 

The ChangeBasis(p, P1, .., Pk) calling sequence creates a series expanded in terms of the polynomials P1, .., Pk that is equal to the polynomial p. The polynomials P1, .., Pk must have distinct indices and variables, and be in the OrthogonalSeries database.

• 

The ChangeBasis(S, P1, .., Pk) calling sequence replaces each polynomial in S by the polynomial Pi that depends on the same variable if it exists. If multiple polynomials Pi, .., Pj share the same variable, the last one is used.

• 

If the series S is infinite, the change of polynomial is not necessarily possible for every Pi. For infinite series, the ChangeBasis routine attempts an iterated derivative representation transform to perform the change of polynomials. If the process fails for some Pi, it is ignored and a warning message is printed.

Examples

withOrthogonalSeries:

SChangeBasis1+2x+3x3,GegenbauerCn,1,x

SGegenbauerC0,1,x+7GegenbauerC1,1,x4+3GegenbauerC3,1,x8

(1)

ChangeBasisS,LaguerreLn,23,x

479LaguerreL0,23,x990LaguerreL1,23,x+66LaguerreL2,23,x18LaguerreL3,23,x

(2)

S1ChangeBasisy2+x21,ChebyshevUm,y,LaguerreLn,1,x

S121ChebyshevU0,yLaguerreL0,1,x46ChebyshevU0,yLaguerreL1,1,x+2ChebyshevU0,yLaguerreL2,1,x+ChebyshevU2,yLaguerreL0,1,x4

(3)

ChangeBasisS1,ChebyshevUn,x,LaguerreLm,1,y

21LaguerreL0,1,yChebyshevU0,x4+LaguerreL0,1,yChebyshevU2,x46LaguerreL1,1,yChebyshevU0,x+2LaguerreL2,1,yChebyshevU0,x

(4)

ChangeBasisS1,Kravchoukn,27,N,x,LaguerreLm,1,y

5+449N2+1049NLaguerreL0,1,yKravchouk0,27,N,x+4N7+37LaguerreL0,1,yKravchouk1,27,N,x+2LaguerreL0,1,yKravchouk2,27,N,x6LaguerreL1,1,yKravchouk0,27,N,x+2LaguerreL2,1,yKravchouk0,27,N,x

(5)

ChangeBasissumxk,k=0..5sumyk,k=0..5,ChebyshevTn,x,ChebyshevTm,y

ChebyshevT4,xChebyshevT2,y8+9ChebyshevT4,xChebyshevT3,y128+ChebyshevT4,xChebyshevT4,y64+ChebyshevT4,xChebyshevT5,y128+15ChebyshevT5,xChebyshevT0,y128+19ChebyshevT5,xChebyshevT1,y128+ChebyshevT5,xChebyshevT2,y16+9ChebyshevT5,xChebyshevT3,y256+ChebyshevT5,xChebyshevT4,y128+ChebyshevT5,xChebyshevT5,y256+225ChebyshevT0,xChebyshevT0,y64+285ChebyshevT0,xChebyshevT1,y64+15ChebyshevT0,xChebyshevT2,y8+135ChebyshevT0,xChebyshevT3,y128+15ChebyshevT0,xChebyshevT4,y64+15ChebyshevT0,xChebyshevT5,y128+285ChebyshevT1,xChebyshevT0,y64+361ChebyshevT1,xChebyshevT1,y64+19ChebyshevT1,xChebyshevT2,y8+171ChebyshevT1,xChebyshevT3,y128+19ChebyshevT1,xChebyshevT4,y64+19ChebyshevT1,xChebyshevT5,y128+15ChebyshevT2,xChebyshevT0,y8+19ChebyshevT2,xChebyshevT1,y8+ChebyshevT2,xChebyshevT2,y+9ChebyshevT2,xChebyshevT3,y16+ChebyshevT2,xChebyshevT4,y8+ChebyshevT2,xChebyshevT5,y16+135ChebyshevT3,xChebyshevT0,y128+171ChebyshevT3,xChebyshevT1,y128+9ChebyshevT3,xChebyshevT2,y16+81ChebyshevT3,xChebyshevT3,y256+9ChebyshevT3,xChebyshevT4,y128+9ChebyshevT3,xChebyshevT5,y256+15ChebyshevT4,xChebyshevT0,y64+19ChebyshevT4,xChebyshevT1,y64

(6)

S2Createun,LaguerreLn,a,x

S2n=0unLaguerreLn,a,x

(7)

ChangeBasisS2,ChebyshevTn,x

Warning : impossible change of basis for this infinite series

n=0unLaguerreLn,a,x

(8)

ChangeBasisS2,LaguerreLn,a+1,x

n=0unun+1LaguerreLn,a+1,x

(9)

S3Create1n!,n=3..,2=1,JacobiPn,2,2,x

S3JacobiP2,2,2,x+n=3JacobiPn,2,2,xn!

(10)

C1ChangeBasisS3,JacobiPn,2,2+1,x

C14JacobiP1,2,3,x9+169JacobiP2,2,3,x198+n=32n+1!n2+2n!n2+17n+1!n+11n!n+35n+1!+15n!JacobiPn,2,3,x2n+7n+1!2n+5n!

(11)

SimplifyCoefficientsC1,simplify

4JacobiP1,2,3,x9+169JacobiP2,2,3,x198+n=32n3+21n2+63n+50JacobiPn,2,3,x4n2+24n+35n+1!

(12)

C2ChangeBasisS3,GegenbauerCn,2+12,x

C22GegenbauerC2,52,x5+n=312GegenbauerCn,52,xn!2n2n3+n4+n

(13)

SimplifyCoefficientsC2,simplify

2GegenbauerC2,52,x5+n=312GegenbauerCn,52,xn!3+n4+n

(14)

S5Createun,m,JacobiPn,1,1,x,LaguerreLm,2,y

S5m=0n=0un,mJacobiPn,1,1,xLaguerreLm,2,y

(15)

C3ChangeBasisS5,LaguerreLn,2+1,y,JacobiPm,2,1,x

C3m=0n=02un+1,m+1n22un,m+1n22un+1,mn2+2un,mn2+7un+1,m+1n11un,m+1n7un+1,mn+11un,mn+6un+1,m+115un,m+16un+1,m+15un,mJacobiPn,2,1,x2n+52n+3LaguerreLm,3,y

(16)

SimplifyCoefficientsC3,collect,u

m=0n=02n2+11n+15un,m2n+52n+3+2n211n15un,m+12n+52n+3+2n27n6un+1,m2n+52n+3+2n2+7n+6un+1,m+12n+52n+3JacobiPn,2,1,xLaguerreLm,3,y

(17)

See Also

ChebyshevT

ChebyshevU

GegenbauerC

JacobiP

LaguerreL

OrthogonalSeries

OrthogonalSeries[Create]

OrthogonalSeries[SimplifyCoefficients]