PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
Mathematics and Algorithms
>
Mathematical Functions
>
Special Functions
>
Zeta Functions & Polylogarithms
>
Zeta
>
Mathematica
>
Mathematics and Algorithms
>
Number Theory
>
Analytic Number Theory
>
Zeta Functions & Polylogarithms
>
Zeta
>
Mathematica
>
Mathematics and Algorithms
>
Number Theory
>
Multiplicative Number Theory
>
Zeta Functions & Polylogarithms
>
Zeta
>
BUILT-IN MATHEMATICA SYMBOL
Special Functions
Tutorials »
|
PolyLog
HarmonicNumber
LerchPhi
HurwitzZeta
RiemannSiegelZ
ZetaZero
StieltjesGamma
Glaisher
PrimePi
DirichletL
RamanujanTauL
PrimeZetaP
DirichletTransform
See Also »
|
Analytic Number Theory
Discrete Calculus
Mathematical Functions
Multiplicative Number Theory
Number Theoretic Functions
Number Theory
Prime Numbers
Recurrence and Sum Functions
Special Functions
Zeta Functions & Polylogarithms
More About »
Zeta
Zeta
[
s
]
gives the Riemann zeta function
.
Zeta
gives the generalized Riemann zeta function
.
MORE INFORMATION
Mathematical function, suitable for both symbolic and numerical manipulation.
For
,
.
, where any term with
is excluded.
For
, the definition used is
.
Zeta
[
s
]
has no branch cut discontinuities.
For certain special arguments,
Zeta
automatically evaluates to exact values.
Zeta
can be evaluated to arbitrary numerical precision.
Zeta
automatically threads over lists.
EXAMPLES
CLOSE ALL
Basic Examples
(3)
Generalized (Hurwitz) zeta function:
In[1]:=
Out[1]=
In[1]:=
Out[1]=
Generalized (Hurwitz) zeta function:
In[1]:=
Out[1]=
Scope
(14)
Evaluate for complex arguments:
Evaluate to high precision:
The precision of the output tracks the precision of the input:
Simple exact values are generated automatically:
Zeta
threads element-wise over lists and matrices:
Series expansions at special points:
Evaluate derivatives exactly:
Evaluate derivatives numerically:
TraditionalForm
formatting:
Evaluate for complex arguments:
Evaluate to high precision:
Simple exact values are generated automatically:
Use
FunctionExpand
to generate formulas for other cases:
Formula for a derivative:
TraditionalForm
formatting:
Applications
(7)
Plot the real part of the zeta function on the critical line:
Plot the real part across the critical strip:
Find a zero of the zeta function:
Find several zeros:
Use
ZetaZero
:
Find what fraction of pairs of the first 100 integers are relatively prime:
Compare with a zeta function formula:
Define the
function:
Test the Pustyl'nikov form of the Riemann hypothesis:
Plot real and imaginary parts in the vicinity of two very nearby zeros:
Plot the generalized zeta function:
Properties & Relations
(7)
Sum involving a zeta function:
Use
FullSimplify
to prove the functional equation:
The ordinary zeta function is a special case:
In certain cases,
FunctionExpand
gives formulas in terms of other functions:
Possible Issues
(4)
Real and imaginary parts can have very different scales:
Evaluating the imaginary part accurately requires higher internal precision:
Machine-number inputs can give high-precision results:
Giving 0 as an argument does not define the precision required:
Including an accuracy specification gives enough information:
In
TraditionalForm
,
is not automatically interpreted as the zeta function:
Neat Examples
(2)
Play the real part of the zeta function on the critical line as a sound:
Animate the zeta function on the critical line:
SEE ALSO
PolyLog
HarmonicNumber
LerchPhi
HurwitzZeta
RiemannSiegelZ
ZetaZero
StieltjesGamma
Glaisher
PrimePi
DirichletL
RamanujanTauL
PrimeZetaP
DirichletTransform
TUTORIALS
Special Functions
MORE ABOUT
Analytic Number Theory
Discrete Calculus
Mathematical Functions
Multiplicative Number Theory
Number Theoretic Functions
Number Theory
Prime Numbers
Recurrence and Sum Functions
Special Functions
Zeta Functions & Polylogarithms
RELATED LINKS
Implementation notes: Numerical and Related Functions
MathWorld
The Wolfram Functions Site
NKS|Online
(
A New Kind of Science
)
New in 1