Write a proof as simple as possible that pi is irrational.
- User
Write a proof as simple as possible that pi is irrational.
- Assistant
To prove that (\pi) is irrational, we will use a method involving calculus and derive a contradiction by assuming that (\pi) is rational.
Proof by Contradiction:
Step 1: Assume (\pi) is rational.
Suppose (\pi) is a rational number. Then there exist positive integers (p) and (q) such that:
[ \pi = \dfrac{p}{q} ]
Step 2: Define a function involving ( \pi ).
Let ( n ) be a positive integer (which we'll specify later). Define the function:
[ f(x) = \dfrac{x^n (\pi - x)^n}{n!} ]
This function has the following properties:
- ( f(x) \geq 0 ) for all ( x ) in ( [0, \pi] ).
- ( f(0) = f(\pi) = 0 ).
- ( f(x) ) is continuous and differentiable on ( [0, \pi] ).
Step 3: Consider the integral of ( f(x) \sin(x) ).
Define the integral:
[ I = \int_{0}^{\pi} f(x) \sin(x) , dx ]
Step 4: Show that ( I ) is a positive integer.
We will show that ( I ) is an integer by repeated integration by parts and that ( I > 0 ).
Integration by Parts:
First Integration by Parts:
Let:
- ( u_1 = f(x) )
- ( dv_1 = \sin(x) , dx )
Then:
- ( du_1 = f'(x) , dx )
- ( v_1 = -\cos(x) )
Compute:
[ I = \left[ -f(x) \cos(x) \right]0^{\pi} + \int{0}^{\pi} f'(x) \cos(x) , dx ]
Since ( f(0) = f(\pi) = 0 ) and ( \cos(0) = 1 ), ( \cos(\pi) = -1 ), the boundary terms cancel out:
[ \left[ -f(\pi) \cos(\pi) + f(0) \cos(0) \right] = [-0 \cdot (-1) + 0 \cdot 1] = 0 ]
So:
[ I = \int_{0}^{\pi} f'(x) \cos(x) , dx ]
Second Integration by Parts:
Let:
- ( u_2 = f'(x) )
- ( dv_2 = \cos(x) , dx )
Then:
- ( du_2 = f''(x) , dx )
- ( v_2 = \sin(x) )
Compute:
[ I = \left[ f'(x) \sin(x) \right]0^{\pi} - \int{0}^{\pi} f''(x) \sin(x) , dx ]
Again, the boundary terms are zero since ( \sin(0) = \sin(\pi) = 0 ):
[ \left[ f'(\pi) \sin(\pi) - f'(0) \sin(0) \right] = [ 0 - 0 ] = 0 ]
So:
[ I = - \int_{0}^{\pi} f''(x) \sin(x) , dx ]
We continue this process ( n ) times. After ( n ) integrations by parts, we obtain:
[ I = (-1)^n \int_{0}^{\pi} f^{(n)}(x) \sin(x) , dx ]
Step 5: Evaluate ( f^{(n)}(x) ) and show it is an integer.
Because ( f(x) ) is a polynomial of degree ( 2n ), its ( n )-th derivative ( f^{(n)}(x) ) will also be a polynomial with integer coefficients (scaled by ( 1/n! )).
At this point, ( f^{(n)}(x) ) evaluated at ( x = 0 ) and ( x = \pi ) are integers because:
- The terms involving ( x ) raised to powers less than ( n ) will vanish.
- The remaining terms will involve integer multiples due to the structure of ( f(x) ).
Since ( \sin(0) = \sin(\pi) = 0 ), the boundary terms in the integrations by parts vanish.
Step 6: Conclude that ( I ) is an integer.
Because each term in the sequence of integrations involves derivatives of ( f(x) ) evaluated at ( x = 0 ) or ( x = \pi ), which are integers, and the integral involves ( \sin(x) ), which integrates to known values, ( I ) must be an integer.
Step 7: Show that ( I ) is less than 1 for large ( n ).
We will now estimate ( I ) to show that it's less than 1 for sufficiently large ( n ).
Let’s note that:
[ 0 \leq f(x) \leq \dfrac{ \left( \dfrac{\pi}{2} \right)^{2n} }{ n! } ]
because ( x, \pi - x \leq \dfrac{\pi}{2} ) in ( [0, \pi] ).
Thus:
[ I = \int_{0}^{\pi} f(x) \sin(x) , dx \leq \int_{0}^{\pi} \dfrac{ \left( \dfrac{\pi}{2} \right)^{2n} }{ n! } dx = \dfrac{ \left( \dfrac{\pi}{2} \right)^{2n} \pi }{ n! } ]
For large ( n ), ( n! ) grows faster than any exponential function. Therefore, as ( n ) increases:
[ I \leq \dfrac{ \left( \dfrac{\pi}{2} \right)^{2n} \pi }{ n! } \to 0 ]
Step 8: Derive a contradiction.
We have shown two things:
- ( I ) is a positive integer (( I > 0 ) and ( I \in \mathbb{Z} )).
- ( I ) can be made arbitrarily small (less than 1) by choosing sufficiently large ( n ).
However, the only integer between 0 and 1 is 0, which contradicts ( I > 0 ).
Conclusion:
Since assuming ( \pi ) is rational leads to a contradiction, we conclude that ( \pi ) is irrational.
Therefore, ( \pi ) is an irrational number.