DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations

Trending

  • Develop Hands-Free Weather Alerts To Ensure Safe Backpacking
  • The Ultimate API Development Guide: Strategy, Tools, Best Practices
  • CDNs: Speed Up Performance by Reducing Latency
  • What Is End-To-End Testing? E2E Testing Tutorial With Examples and Best Practices
  1. DZone
  2. Data Engineering
  3. Data
  4. Three Ways to Sum a Divergent Series

Three Ways to Sum a Divergent Series

Could the equations in the post be used in the analysis of big data sets? Read on to learn more about the math and decide!

John Cook user avatar by
John Cook
·
Sep. 11, 18 · Analysis
Like (1)
Save
Tweet
Share
6.43K Views

Join the DZone community and get the full member experience.

Join For Free

There's no direct way to define the sum of an infinite number of terms. Addition takes two arguments, and you can apply the definition repeatedly to define the sum of any finite number of terms. But an infinite sum depends on a theory of convergence. Without a definition of convergence, you have no way to define the value of an infinite sum. And with different definitions of convergence, you can get different values.

In this post, I'll review two ways of assigning a meaning to divergent series that I've written about before, then mention a third way.

Asymptotic Series

A few months ago I wrote about an asymptotic series solution to the differential equation:

You end up with the solution:

This diverges for all x. That is, for each x, the partial sums of the series do not get closer to any number that you could call the sum. In fact, the individual terms of the series eventually get bigger and bigger. Surely this is a useless solution, right?

Actually, it is useful if you change your perspective. Instead of holding x fixed and letting n go to infinity, fix a value of n and let x go to infinity. In that sense, the series converges. For fixed n and large x, this gives accurate approximations to the solution of the differential equation.

Analytic Continuation

At the end of a post on Bernoulli numbers I briefly explain the interpretation of the apparently nonsensical equation:

1 + 2 + 3 + ... = -1/12.

In a nutshell, the Riemann zeta function is defined by a two-step process. First define

for s with real part strictly bigger than 1. Then define the zeta function for the rest of the complex plane (except the point s = 1) by analytic continuation. If the infinite sum for zeta were valid for s = -1, which is it not, then it would equal 1 + 2 + 3 + ...

The analytic continuation of the zeta function is defined at -1, and there the function equals -1/12. So to make sense of the sum of the positive integers, interpret the sum as a sort of pun, a funny way to write ζ(-1).

p-adic Numbers

This is the most radical way to make sense of divergent series: change your number system so that they aren't divergent!

The sum

1 + 2 + 4 + 8 + ...

diverges because the partial sums (1, 3, 7, 15, ...) are not getting closer to anything. But you can make the series converge by changing the way you measure distance between numbers. That's what p-adic numbers do. For any fixed prime number p, define the distance between two numbers as the reciprocal of the largest power of p that divides their difference. That is, numbers are close together if they differ by a large power of p. We can make sense of the sum above in the 2-adic numbers, i.e. the p-adic numbers with p = 2.

The n th partial sum of the series above is 2 - 1. The 2-adic distance between 2 - 1 and -1 is 2, which goes to zero, so the series converges to -1.

1 + 2 + 4 + 8 + ... = -1.

Note that all the partial sums are the same, whether in the real numbers or the 2-adics, but the two number systems disagree on whether the partial sums converge.

If that explanation went by too quickly, here's a 15-minute video expands on the same derivation.

Analytics POST (HTTP) PRIME (PLC) Holding (law) Measure (physics) Sort (Unix)

Published at DZone with permission of John Cook, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Trending

  • Develop Hands-Free Weather Alerts To Ensure Safe Backpacking
  • The Ultimate API Development Guide: Strategy, Tools, Best Practices
  • CDNs: Speed Up Performance by Reducing Latency
  • What Is End-To-End Testing? E2E Testing Tutorial With Examples and Best Practices

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: