Divergent series
Subject classification: this is a physics resource. 
Even though, 1+2+3+... = –1/12, is not really true, the result can be arrived at through a number of different arguments. The simplest uses the termbyterm manipulations found at the bottom of Wikipedia: 1 +2 +3 +4 + .... This "result" has applications in physics: See Quantum mechanics/Casimir effect in one dimension, where a careful analysis shows that the "result" is actually achieved by taking the difference between two very large quantities, both related to this series. And, the physical analysis gives a plausible explanation of why neither term is actually infinity. Instead, both quantities are represented by very large numbers that are finite, due to the fact that at above some threshold energy, metal becomes transparent to Xrays. From a physics point of view, and for the Casimir effect, there is no mystery, except for the fact that this weird result (that Σ n = –1/12) seems to arise in a wide variety of different mathematical arguments.
N. H. Abel, letter to Holmboe, January 1826, reprinted in volume 2 of his collected papers.
Divergent series are used in physics
editAre these mathematical arguments valid or correct? It depends on how one defines "valid" or "correct". Higher mathematics is less about achieving the truth than it is about deducing the consequences of assumptions. Viewed in this way, the fact that such mathematics can be useful is astonishing. Also astonishing, is the fact that this calculation of the experimentally observable Casimir effect seems to suggest that empty space is full of energy in the form of light waves. Does this "prove" that space is not empty ... that these light waves actually exist? Certainly not. In fact, the goal of modern physics is not to prove that anything exists, but is instead restricted to merely making predictions that can be tested by experiments. What does or does not actually exist is more the subject of philosophy than of physics.
Can two wrongs make a right?
editThis section attempts to illustrate how a divergent series can seem to solve a calculus problem, even though it contains two "errors" that mysteriously cancel each other.
Statement of problem
editEvaluate the function at if the following information is known about the function and all its derivatives at :
 , and , and , and , and , and so forth...
Using to denote the nth derivative, we require that the function obeys the following condition for all n:
Solution
editSince 2 is a moderately small number and , it is reasonable to seek a solution of the form,
where the constants, , have yet to be determined. It is not hard to convince yourself that
obeys the condition that the nth derivative equals n! (at x=0). Setting yields:
Note that which implies that
Solving this equation for yields the solution:
Two flaws in the mathematics?
editApparently this solution contains two false steps:
 The desired function may be written in the form
... or is it possible that both statements are somehow correct? In mathematics, a blatantly false statement can be changed into a true statement by redefining the meaning of "equals". See for example MATLAB/Divergent_series_investigations or this solution to the Casimir effect. The latter suggests that,
Verify solution
editTo verify that , note that
This function satisfies the condition that at , the nth derivative must equal .

 ...
The complex plane
editThe infinite series could have been converted to while was small enough for the series to converge, rendering it unnecessary to employ the divergent series. The two regions on the real axis, x<1 and x>1 seem less disconnected if the function is viewed on the complex plane because analytic continuation allows one to connect the regions x<1 and x>1 in a way that students familiar with realvariable functions might not realize. This is one of many reasons why calculus is far more interesting and beautiful if extended into the complex plane.
Links
editYoutube
edit Youtube video ASTOUNDING: 1 + 2 + 3 + 4 + 5 + ... = 1/12 (Numberphile) This video has been properly critisized for claiming that (1) the formula (1+2+3+...=1/12) is actually true, and (2) experimental evidence confirms this socalled "fact". Both statements are probably false. A careful analysis of the Casimir effect in one dimension uncovers the fact that if anything, 1+2+3+... = ∞  1/12. (But keep in mind that this is not a proper mathematical equation).