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

Online Help

All Products    Maple    MapleSim


FunctionAdvisor/specialize

specialize a given mathematical function into other mathematical functions

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

FunctionAdvisor(specialize, math_function_1)

FunctionAdvisor(specialize, math_function_1(a, b, ..., z))

FunctionAdvisor(specialize, math_function_1, math_function_2)

FunctionAdvisor(specialize, math_function_1(a, b, ..., z), math_function_2)

Parameters

specialize

-

literal name; 'specialize'

math_function_1

-

(Maple) name of mathematical function to be specialized

math_function_1(a, b, ..., z)

-

(Maple) mathematical function to be specialized, evaluated at (a, b, ..., z)

math_function_2

-

(optional) name of mathematical function used to express output

Description

• 

The FunctionAdvisor(specialize, math_function_1) command attempts to specialize this function in terms of every other mathematical function. When the function is given with parameters, as in math_function_1(a, b, ..., z), only specializations valid for those values of the parameters or particular cases of them are returned.

• 

The FunctionAdvisor(specialize, math_function_1, math_function_2) command attempts to specialize the first function, math_function_1 in terms of the other one using Maple algorithms. When the first function is given with parameters, as in math_function_1(a, b, ..., z), only specializations valid for those values of the parameters or particular cases of them are returned. For more information, see convert/to_special_function.

• 

Note the specialization operation typically requires additional constraints for the function parameters involved. These constraints are returned as a boolean function. If no constraints are required, this is explicitly indicated.

Examples

FunctionAdvisorspecialize,sin,hypergeom

sinz=zhypergeom,32,z24,with no restrictions on z

(1)

FunctionAdvisorspecialize,hypergeom,sin

hypergeom,a,z=sin2z2z,a=32

(2)

FunctionAdvisorspecialize,hypergeom,dilog

hypergeoma,b,c,d,e,z=dilog1zz,a=1b=1c=1d=2e=2

(3)

The specialization can be requested for particular values of some or all of the function parameters.

FunctionAdvisorspecialize,hypergeom1,1,a,b,c,1,dilog

hypergeom1,1,a,b,c,1=dilog0,a=1b=2c=2

(4)

Note the difference between using specialize and relate (see FunctionAdvisor/relate). The former computes the required restrictions on the function parameters while the latter only returns a result when it does not require additional constraints on the parameters involved.

The following is a specialization which cannot be obtained using the relate keyword.

FunctionAdvisorspecialize,HermiteH,KummerU

HermiteHa&comma;z=2aKummerUa2&comma;12&comma;z2&comma;0<zz=00<z

(5)

FunctionAdvisorspecialize&comma;KummerU&comma;HermiteH

KummerUa&comma;b&comma;z=HermiteH2a&comma;z22a&comma;b=12,KummerUa&comma;b&comma;z=HermiteH2a+1&comma;z22a2z&comma;b=32

(6)

Knowing the possible specialization of a function is useful when trying to express functions in terms of other functions. Typically, the conversion is not possible unless restrictions on the function parameters are imposed. To perform the transformation (conversion), use the output of the FunctionAdvisor command with convert and assuming. For example, to transform as in the previous example, all KummerU functions entering an expression try the following.

convert2sinz+KummerUa&comma;b&comma;z&comma;HermiteHassumingb=32

2sinz+HermiteH2a+1&comma;z22a2z

(7)

The following example specializes sin into the other mathematical functions.

FunctionAdvisorspecialize&comma;sin

sinz=zπ2BesselJ12&comma;z2&comma;with no restrictions on z,sinz=ChebyshevTb&comma;cosπ2z2b&comma;with no restrictions on z,sinz=ChebyshevUz+arccoscarccosc&comma;cc2+1&comma;with no restrictions on z,sinz=2zEi02Iz+I2&ExponentialE;Iz&comma;with no restrictions on z,sinz=I2Γ1&comma;2Iz1&ExponentialE;Iz&comma;with no restrictions on z,sinz=zHeunB2&comma;0&comma;0&comma;0&comma;2Iz&ExponentialE;Iz&comma;with no restrictions on z,sinz=2Iz2+zHeunC1&comma;1&comma;1&comma;0&comma;12&comma;2Iz&ExponentialE;Iz&comma;with no restrictions on z,sinz=zKummerM1&comma;2&comma;2Iz&ExponentialE;Iz&comma;with no restrictions on z,sinz=I21+&ExponentialE;2Iz&ExponentialE;Iz&comma;with no restrictions on z,sinz=πMeijerG&comma;&comma;12&comma;0&comma;z24&comma;with no restrictions on z,sinz=zStruveH12&comma;zπ22&comma;with no restrictions on z,sinz=I2WhittakerM0&comma;12&comma;2Iz&comma;with no restrictions on z,sinz=cosz+π2&comma;with no restrictions on z,sinz=coshIz+π2&comma;with no restrictions on z,sinz=2cotz2cotz22+1&comma;with no restrictions on z,sinz=2IcothI2zcothI2z21&comma;with no restrictions on z,sinz=1cscz&comma;with no restrictions on z,sinz=−IcschIz&comma;with no restrictions on z,sinz=I2&ExponentialE;Iz1&ExponentialE;Iz&comma;with no restrictions on z,sinz=zhypergeom&comma;32&comma;z24&comma;with no restrictions on z,sinz=1secz+π2&comma;with no restrictions on z,sinz=1sechIz+π2&comma;with no restrictions on z,sinz=−IsinhIz&comma;with no restrictions on z,sinz=2tanz21+tanz22&comma;with no restrictions on z,sinz=2ItanhI2ztanhI2z21&comma;with no restrictions on z

(8)

While the previous specializations do not require restrictions on the function parameters, if you specialize more general functions into simpler ones, restrictions are necessary. For example, for the LegendreQ function you have the following.

FunctionAdvisorspecialize&comma;LegendreQ

LegendreQa&comma;z=πΓa+1AppellF11+a2&comma;0&comma;a2+12&comma;32+a&comma;0&comma;1z22za+1Γ32+a2a&comma;a+1::¬0&comma;32+a::¬0&comma;&comma;LegendreQa&comma;b&comma;z=&ExponentialE;Ibππz+1b2z1b2Γa+b+1AppellF11+a2+b2&comma;0&comma;a2+b2+12&comma;32+a&comma;0&comma;1z22za+b+1Γ32+a2a&comma;a+b+1::¬0&comma;32+a::¬0&comma;&comma;LegendreQa&comma;z=πΓa+1AppellF21+a2&comma;0&comma;a2+12&comma;1&comma;32+a&comma;0&comma;1z22za+1Γ32+a2a&comma;a+1::¬0&comma;32+a::¬0&comma;&comma;LegendreQa&comma;b&comma;z=&ExponentialE;Ibππz+1b2z1b2Γa+b+1AppellF21+a2+b2&comma;0&comma;a2+b2+12&comma;1&comma;32+a&comma;0&comma;1z22za+b+1Γ32+a2a&comma;a+b+1::¬0&comma;32+a::¬0&comma;&comma;LegendreQa&comma;z=πΓa+1AppellF30&comma;1+a2&comma;0&comma;a2+12&comma;32+a&comma;0&comma;1z22za+1Γ32+a2a&comma;a+1::¬0&comma;32+a::¬0&comma;&comma;LegendreQa&comma;b&comma;z=&ExponentialE;Ibππz+1b2z1b2Γa+b+1AppellF30&comma;1+a2+b2&comma;0&comma;a2+b2+12&comma;32+a&comma;0&comma;1z22za+b+1Γ32+a2a&comma;a+b+1::¬0&comma;32+a::¬0&comma;&comma;LegendreQa&comma;z=πΓa+1AppellF41+a2&comma;a2+12&comma;1&comma;32+a&comma;0&comma;1z22za+1Γ32+a2a&comma;a+1::¬0&comma;32+a::¬0&comma;&comma;LegendreQa&comma;b&comma;z=&ExponentialE;Ibππz+1b2z1b2Γa+b+1AppellF41+a2+b2&comma;a2+b2+12&comma;1&comma;32+a&comma;0&comma;1z22za+b+1Γ32+a2a&comma;a+b+1::¬0&comma;32+a::¬0&comma;&comma;LegendreQa&comma;z=z2z21z2342EllipticK2z2+z4z21z212z21z4z2z2+z4z2+1z21z21z2+z4z21z21&comma;a=12&comma;LegendreQa&comma;z=πΓa+1HeunC0&comma;12+a&comma;12&comma;0&comma;14a+38+14a2&comma;1z21z212za+1Γ32+a11z2a2+122a&comma;a+1::¬0&comma;32+a::¬0&comma;&comma;LegendreQa&comma;b&comma;z=&ExponentialE;Ibππz+1b2z1b2Γa+b+1HeunC0&comma;12+a&comma;12&comma;0&comma;14a+3814b2+14a2&comma;1z21z212za+b+1Γ32+a11z2a2+b2+122a&comma;a+b+1::¬0&comma;32+a::¬0&comma;&comma;LegendreQa&comma;z=πΓa+1HeunG0&comma;0&comma;1+a2&comma;a2+12&comma;0&comma;1&comma;1z22za+1Γ32+a2a&comma;a+1::¬0&comma;32+a::¬0&comma;&comma;LegendreQa&comma;b&comma;z=&ExponentialE;Ibππz+1b2z1b2Γa+b+1HeunG0&comma;0&comma;1+a2+b2&comma;a2+b2+12&comma;0&comma;1+b&comma;1z22za+b+1Γ32+a2a&comma;a+b+1::¬0&comma;32+a::¬0&comma;&comma;LegendreQa&comma;z=πJacobiP1a2&comma;12+a&comma;0&comma;z22z221+a4z1+a2asinπ2+a2&comma;with no restrictions on a&comma;z&comma;LegendreQa&comma;b&comma;z=&ExponentialE;Ibππz+1b2z1b2Γ1+b+aΓb2a2JacobiP1a2b2&comma;12+a&comma;b&comma;z22z22z1+b+aΓ12+a2b22a&comma;with no restrictions on a&comma;b&comma;z&comma;LegendreQa&comma;b&comma;z=π&ExponentialE;IbπcscbπLegendrePa&comma;b&comma;zΓa+b+1LegendrePa&comma;b&comma;zΓab+12&comma;b::¬a+b+1::¬0&comma;+ab+1::¬0&comma;+&comma;LegendreQa&comma;z=MeijerGa2&comma;12a2&comma;&comma;0&comma;12a&comma;1z22z1+a&comma;with no restrictions on a&comma;z&comma;LegendreQa&comma;b&comma;z=&ExponentialE;Ibπz+1b2z1b2MeijerGb2a2&comma;12b2a2&comma;&comma;0&comma;12a&comma;1z22b2z1+b+a&comma;with no restrictions on a&comma;b&comma;z&comma;LegendreQa&comma;z=I2π+2arccotIz&comma;a=0&comma;LegendreQa&comma;z=π1+z2z2z+2arccoth1zz2arccoth1z21+z&comma;a=0&comma;LegendreQa&comma;z=arctanh1z&comma;a=0&comma;LegendreQa&comma;z=πΓa+1hypergeom1+a2&comma;a2+12&comma;32+a&comma;1z22za+1Γ32+a2a&comma;a+1::¬0&comma;32+a::¬0&comma;&comma;LegendreQa&comma;b&comma;z=&ExponentialE;Ibππz+1b2z1b2Γa+b+1hypergeom1+a2+b2&comma;a2+b2+12&comma;32+a&comma;1z22za+b+1Γ32+a2a&comma;a+b+1::¬0&comma;32+a::¬0&comma;

(9)

See Also

assuming

convert/to_special_function

FunctionAdvisor

FunctionAdvisor/relate

FunctionAdvisor/topics

sin