# GegenbauerC

GegenbauerC[n,m,x]

gives the Gegenbauer polynomial .

GegenbauerC[n,x]

gives the renormalized form .

# Details • Mathematical function, suitable for both symbolic and numerical manipulation.
• Explicit polynomials are given for integer n and for any m.
• satisfies the differential equation .
• The Gegenbauer polynomials are orthogonal on the interval with weight function , corresponding to integration over a unit hypersphere.
• For certain special arguments, GegenbauerC automatically evaluates to exact values.
• GegenbauerC can be evaluated to arbitrary numerical precision.
• GegenbauerC automatically threads over lists.
• GegenbauerC[n,0,x] is always zero.
• GegenbauerC[n,m,z] has a branch cut discontinuity in the complex z plane running from to .
• GegenbauerC can be used with Interval and CenteredInterval objects. »

# Examples

open allclose all

## Basic Examples(7)

Evaluate numerically:

Compute the 10 Gegenbauer polynomial:

Compute the 10 renormalized Gegenbauer polynomial:

Plot over a subset of the reals:

Plot over a subset of the complexes:

Series expansion at the origin:

Asymptotic expansion at Infinity:

Asymptotic expansion at a singular point:

## Scope(43)

### Numerical Evaluation(5)

Evaluate numerically:

Evaluate to high precision:

The precision of the output tracks the precision of the input:

Complex number input:

Evaluate efficiently at high precision:

GegenbauerC can be used with Interval and CenteredInterval objects:

### Specific Values(8)

Values of GegenbauerC at fixed points:

Simple cases give exact symbolic results:

GegenbauerC for symbolic n:

Values at zero:

Find the first positive maximum of GegenbauerC[10,x ]:

Compute the associated GegenbauerC[7,x] polynomial:

Compute the associated GegenbauerC[1/2,x] polynomial for half-integer n:

Different GegenbauerC types give different symbolic forms:

### Visualization(4)

Plot the GegenbauerC function for various orders:

Plot the real part of :

Plot the imaginary part of :

Plot as real parts of two parameters vary:

Types 2 and 3 of GegenbauerC function have different branch cut structures:

### Function Properties(14)

Domain of GegenbauerC of integer orders:

The range for GegenbauerC of integer orders:

The range for complex values is the whole plane:

Gegenbauer polynomial of an odd order is odd:

Gegenbauer polynomial of an even order is even:

GegenbauerC has the mirror property :

Gegenbauer polynomials are analytic:

However, the GegenbauerC function is generally not analytic for noninteger parameters:

Nor is it meromorphic: is neither non-decreasing nor non-increasing: is not injective: is not surjective: is neither non-negative nor non-positive: has singularities or discontinuities when is not an integer and : has additional singularities when is noninteger: is convex:

### Differentiation(3)

First derivatives with respect to x:

Higher derivatives with respect to x:

Plot the higher derivatives with respect to x when n=10 and m=1/3:

Formula for the  derivative with respect to x:

### Integration(3)

Compute the indefinite integral using Integrate:

Verify the anti-derivative:

Definite integral:

More integrals:

### Series Expansions(2)

Find the Taylor expansion using Series:

Plots of the first three approximations around :

Taylor expansion at a generic point:

### Function Identities and Simplifications(4)

GegenbauerC is a special case of JacobiP:

Derivative identity of GegenbauerC:

Generating function of Gegenbauer polynomials:

Recurrence relations:

## Generalizations & Extensions(2)

Apply GegenbauerC to a power series:

GegenbauerC can deal with real-valued intervals:

## Applications(2)

Eigenfunctions of the angular part of the four-dimensional Laplace operator:

Radial part of the hydrogen atom eigenfunction in momentum representation:

## Properties & Relations(4)

Use FunctionExpand to expand GegenbauerC into other functions:

GegenbauerC can be represented as a DifferenceRoot:

General term in the series expansion of GegenbauerC:

The generating function for GegenbauerC:

## Possible Issues(1)

Cancellations in the polynomial form may lead to inaccurate numerical results:

Evaluate the function directly: