Cyclotomic Polynomial - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Algebra : Polynomials : Cyclotomic Polynomial

NumberTheory

  

CyclotomicPolynomial

  

minimal polynomials of primitive roots of unity with rational coefficients

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

CyclotomicPolynomial(n, x)

 

Phi(n, x)

Φ⁡n

Parameters

n

-

positive integer

x

-

name

Description

• 

The CyclotomicPolynomial('n', 'x') command computes the nth cyclotomic polynomial in x.

• 

The roots of the nth cyclotomic polynomial are exactly the nth primitive roots of unity.

• 

The degree of the nth cyclotomic polynomial is given by Euler's totient function, NumberTheory[Totient].

• 

Phi is an alias for CyclotomicPolynomial.

• 

You can enter the command Phi using either the 1-D or 2-D calling sequence. For example, Phi(8, x) is equivalent to Φ⁡8,x.

Examples

> 

with⁡NumberTheory:

> 

CyclotomicPolynomial⁡1,x

x−1

(1)
> 

Φ⁡2,x

x+1

(2)

The one hundred and fifth cyclotomic polynomial is the first with a coefficient greater than 1.

> 

CyclotomicPolynomial⁡105,x

x48+x47+x46−x43−x42−2⁢x41−x40−x39+x36+x35+x34+x33+x32+x31−x28−x26−x24−x22−x20+x17+x16+x15+x14+x13+x12−x9−x8−2⁢x7−x6−x5+x2+x+1

(3)
> 

Totient⁡105

48

(4)
> 

p≔CyclotomicPolynomial⁡7,x

p≔x6+x5+x4+x3+x2+x+1

(5)
> 

r≔solve⁡p=0,x

r≔cos⁡2⁢π7+I⁢sin⁡2⁢π7,−cos⁡3⁢π7+I⁢sin⁡3⁢π7,−cos⁡π7+I⁢sin⁡π7,−cos⁡π7−I⁢sin⁡π7,−cos⁡3⁢π7−I⁢sin⁡3⁢π7,cos⁡2⁢π7−I⁢sin⁡2⁢π7

(6)
> 

plots:-complexplot⁡r,style=point

Compatibility

• 

The NumberTheory[CyclotomicPolynomial] command was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

NumberTheory

NumberTheory[IsCyclotomicPolynomial]

NumberTheory[Totient]