Sei sulla pagina 1di 4

below

MA QUANTO VALE π ?
Leonardo Rubino
Marzo 2024

Magari 3000 anni fa si faceva prima a prendere un pezzo di corda lunga quanto il diametro 2R,
adagiandolo sulla circonferenza e vedendo che ci volevano 3 corde e un pezzo (virgola 14) per
coprire tutta la circonferenza appunto. Ma noi invece partiamo dall’equazione di un cerchio con
centro nell’origine (Fig. 1): x 2  y 2  R 2
y y

R A

0 x x
0

Fig. 1 Fig. 2

Se ora al raggio diamo valore R=1, l’equazione implicita diventerà: x 2  y 2  1 . L’arco di cerchio
del primo quadrante sarà espresso da una y ricavata dall’equazione precedente:
y   1  x 2 . Sviluppando quest’ultima in serie di Taylor/MacLaurin, si ha:

( f ( x )   f ( k ) ( 0)  x k )
n
1
k 0 k!
1 1 1 5 8 7 10 21 12
1  x 2  (1  x 2 ) 2  1  x 2  x 4  x 6  x  x  x  ..........
1

2 8 16 128 256 1024


L’area A sottesa da tale curva (quella rossa in Fig. 2, dove R=1) varrà:
A    R 2    12     1  x 2 dx   (1  x 2  x 4  x 6 
1 1 1 1 1 1 5 8 7 10 21 12
x  x  x  ...)dx 
1 1

4 4 4 0 0 2 8 16 128 256 1024


1 1 1 7 5 9 7 11 21 13 1 1 1 5 7 21
1

 x  x3  x5  x  x  x  x  ...  1        ...
6 40 112 1152 2816 13312 0 6 40 112 1152 2816 13312
1 1 1 5 7 21
da cui:   4(1        ...)
6 40 112 1152 2816 13312

Utilizzando ora solo i 7 termini contenuti in quest’ultima formula per π , otteniamo, giusto come
esempio, π = 4 x 0,791001164633977….. = 3,164004658535908….. , che non è ancora una
soddisfacente approssimazione per il noto 3,141…. . Chi lo volesse, può considerare sviluppi di
Taylor/MacLaurin più lunghi e soddisfacenti ed ottenere, per π , quante cifre vuole.
π CALCOLATO TRAMITE PRODUTTORIA

sin x
Se vogliamo esprimere π come produttoria, allora sapendo che p ( x)  vale zero in
x
  , ,2 ,2 ,...., n , n , possiamo scrivere che:

)..........  (1  2 )(1  2 ).....  [1  ( ) 2 ] , ossia:


sin x x x x x x2 x2 
x
p( x)   (1  )(1  )(1  )(1 
x   2 2  4 n 1 n

  [1  ( ) 2 ] . Ponendo adesso x= π/2 , dalla precedente si ha:


sin x 
x
x n 1 n
sin( )  
  
2  [1  ( 2 ) 2 ] , ossia: 2  [1  ( 1 ) 2 ] e cioè:   2
 
1
 n  n1 2n n 1 [1  (
1 2
2 n 1 ) ]
2n
Consideriamo adesso venti termini (n=20):
  2
20
1 1 1 1 1 1 1 1
 2{       
n 1 [1  (
1 1 1 1 1 1 1 1
)2 ] [1  ( ) 2 ] [1  ( ) 2 ] [1  ( ) 2 ] [1  ( ) 2 ] [1  ( ) 2 ] [1  ( ) 2 ] [1  ( ) 2 ]
2n 2 4 6 8 10 12 14
1 1 1 1 1 1 1 1 1
         
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2
[1  ( ) ] [1  ( ) ] [1  ( ) ] [1  ( ) ] [1  ( ) ] [1  ( ) ] [1  ( ) ] [1  ( ) ] [1  ( ) ]
16 18 20 22 24 26 28 30 32
1 1 1 1 4 16 36 64 100 144 196 256 324 400
    }  2(          
1 2 1 2 1 2 1 2 3 15 35 63 99 143 195 255 323 399
[1  ( ) ] [1  ( ) ] [1  ( ) ] [1  ( ) ]
34 36 38 40
484 576 676 784 900 1024 1156 1296 1444 1600
          )  2 1,5517584807696  3,1035169615392
483 575 675 783 899 1023 1155 1295 1443 1599
che non è ancora una soddisfacente approssimazione per il noto 3,141…. . Chi lo volesse, può
considerare produttorie più lunghe e soddisfacenti ed ottenere, per π , quante cifre vuole.
WHAT’S THE VALUE OF π ?
Leonardo Rubino
March 2024

Perhaps in a 3000 years ago situation, we’d better take a rope 2R long and lay it down repeatedly on
the circumference of the circle and see that 3 ropes and another piece of it were needed to cover the
whole circumference. But now we start from the equation of a circle whose centre is in the origin of
axes (Fig. 1): x 2  y 2  R 2
y y

R S

0 x x
0

Fig. 1 Fig. 2

If now we give the radius a value R=1, the implicit equation will become: x 2  y 2  1 . The arc of
circle of the top right sector will be given by a y obtained from the previous equation:
y   1  x 2 . By developing the last one in series of Taylor/MacLaurin, we have:

( f ( x )   f ( k ) ( 0)  x k )
n
1
k 0 k!
1 1 1 5 8 7 10 21 12
1  x 2  (1  x 2 ) 2  1  x 2  x 4  x 6  x  x  x  ..........
1

2 8 16 128 256 1024


The surface S under such an arc (that red one in Fig. 2, where R=1) will be:
S    R 2    12     1  x 2 dx   (1  x 2  x 4  x 6 
1 1 1 1 1 1 5 8 7 10 21 12
x  x  x  ...)dx 
1 1

4 4 4 0 0 2 8 16 128 256 1024


1 1 1 7 5 9 7 11 21 13 1 1 1 5 7 21
1

 x  x3  x5  x  x  x  x  ...  1        ...
6 40 112 1152 2816 13312 0 6 40 112 1152 2816 13312
1 1 1 5 7 21
and so:   4(1        ...)
6 40 112 1152 2816 13312

Now, by using just those 7 terms in the last equation for π , we get, just as an example:
π = 4 x 0,791001164633977….. = 3,164004658535908….. , which is not yet a satisfactory
approximation for the well-known 3,141…. . Whoever wants to calculate more terms of the
Taylor/MacLaurin development, can do it and get for π a better approximation and more figures.
π CALCULATED THROUGH A PRODUCT

sin x
If we want to express π as a product, then by knowing that p ( x)  is zero in
x
  , ,2 ,2 ,...., n , n , we can write that:

)..........  (1  2 )(1  2 ).....  [1  ( ) 2 ] , that is:


sin x x x x x x2 x2 
x
p( x)   (1  )(1  )(1  )(1 
x   2 2  4 n 1 n

  [1  ( ) 2 ] . Now, after fixing x= π/2 , from the previous equation we have:


sin x 
x
x n 1 n
sin( )  
  
2  [1  ( 2 ) 2 ] , that is: 2  [1  ( 1 ) 2 ] , so:   2
 
1
 n  n1 2n n 1 [1  (
1 2
2 n 1 ) ]
2n
Now we take twenty terms (n=20):
  2
20
1 1 1 1 1 1 1 1
 2{       
n 1 [1  (
1 1 1 1 1 1 1 1
)2 ] [1  ( ) 2 ] [1  ( ) 2 ] [1  ( ) 2 ] [1  ( ) 2 ] [1  ( ) 2 ] [1  ( ) 2 ] [1  ( ) 2 ]
2n 2 4 6 8 10 12 14
1 1 1 1 1 1 1 1 1
         
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2
[1  ( ) ] [1  ( ) ] [1  ( ) ] [1  ( ) ] [1  ( ) ] [1  ( ) ] [1  ( ) ] [1  ( ) ] [1  ( ) ]
16 18 20 22 24 26 28 30 32
1 1 1 1 4 16 36 64 100 144 196 256 324 400
    }  2(          
1 2 1 2 1 2 1 2 3 15 35 63 99 143 195 255 323 399
[1  ( ) ] [1  ( ) ] [1  ( ) ] [1  ( ) ]
34 36 38 40
484 576 676 784 900 1024 1156 1296 1444 1600
          )  2 1,5517584807696  3,1035169615392
483 575 675 783 899 1023 1155 1295 1443 1599
which is not yet a satisfactory approximation for the well-known 3,141…. . Whoever wants to
calculate more terms of the product, can do it and get for π a better approximation and more
figures.

Potrebbero piacerti anche