Pi is irrational

The number π, the ratio of a circle's circumference to its diameter, is known to be irrational since Lambert's proof (1761). The following reasoning for the irrationality is based on the famous "simple proof" by Niven (published in 1947).[br]We consider the function [math]f(x)=x^n\cdot(a-b\cdot x)^n\cdot \sin(x)[/math] for [math]n=0,1,2,\ldots[/math] and [math]a/b[/math] is a rational approximation of π:
The area between this function and the [i]x[/i]-axis is usually "close" to an integer number. Surprisingly if we assume that [math]\pi=a/b[/math], then the area will be exactly an integer number, what is more, it is always a multiple of [i]n[/i]!:
It seems quite straightforward that this area gets bigger and bigger when [i]n[/i] goes to infinity, like a huge elephant inside a snake in Exupery's [url=https://en.wikipedia.org/wiki/The_Little_Prince]The Little Prince[/url]:
This is no longer true when the function is divided by [i]n[/i]!, as we will see below. For simplicity, we will refer to this new situation if the elephant was digested by the snake:
Now when [math]n\to\infty[/math], the area of the elephant (being inside the snake) can be upper bounded by [math]\pi\cdot(\pi\cdot a)^n[/math], where the first factor [math]\pi[/math] is the length of interval [0,π] and [math](\pi\cdot a)^n[/math] is a trivial upper bound for [i]f[/i]:
Since in general the sequence [math]\frac{c^n}{n!}[/math] converges to 0 for an arbitrary positive number [i]c[/i], the upper bound divided by [i]n[/i]! will also converge to 0. That is, after a division the snake (without the elephant) will have a "very small" area (if [i]n[/i] is big enough).[br]But this is actually not possible: the area of the snake must be an [i]integer[/i] (see above in GeoGebra's CAS View), namely a [i]positive [/i]one (since it is still an area), thus it cannot converge to 0.[br]This contradiction assures that the assumption [math]\pi=a/b[/math] was false, that is, π is irrational.[br]Credits: Niven's original paper can be found at [url=https://projecteuclid.org/download/pdf_1/euclid.bams/1183510788]Project Euclid[/url]. Integrals in GeoGebra are computed with Bernard Parisse's [url=https://www-fourier.ujf-grenoble.fr/~parisse/giac.html]Giac[/url] CAS.[br]Note: Here we did not prove that the area of the snake is an integer. See Niven's proof for completing this.

Information: Pi is irrational