> # Swineshead.mws

> restart;

>

A Maple worksheet devoted to Swineshead's series (as I call it)
John Cosgrave, St. Patrick's College, Drumcondra,
Dublin 9, IRELAND.
[email protected]

Swineshead's series (from C.H.Edwards' The Historical Development of the Calculus : 'Richard Swineshead (known to medievals as the Calculator, as Aristotle was the Philosopher and Paul the Apostle) was part of a group working in Merton College (Oxford) during the second quarter of the 1300's).

Swineshead found the sum of the following series (pay special attention to its formation ), it is

  • partly 'arithmetic' progression: the 1, 2, 3, 4, ... , n , ...
  • partly 'geometric' progression: the 1/2, 1/(2^2), 1/(2^3), 1/(2^4) , ... , 1/(2^n) , ...

Sum(n/(2^n),n = 1 .. infinity) = 1/2+2/(2^2)+3/(2^3... + ... ad infinitum

to be 2 .

Before going any further, you should mentally
consider (think about!) the first few partial sums:

s[1] = 1/2
s[2] = 1/2+2/(2^2) = 1/2+1/2 ( = 1 )
s[3] = 1/2+2/(2^2)+3/(2^3) = 1/2+1/2+3/8 ( = 11/8 )
s[4] = 1/2+2/(2^2)+3/(2^3)+4/(2^4) = 1/2+1/2+3/8+1/4 ( = 13/8 )
s[5] = 1/2+2/(2^2)+3/(2^3)+4/(2^4)+5/(2^5) = 1/2+1/2+3/8+1/4+5/32 ( = 57/32 )
s[6] = 1/2+2/(2^2)+3/(2^3)+4/(2^4)+5/(2^5)+6/(2^6) = 1/2+1/2+3/8+1/4+5/32+3/32 ( = 60/32 = 15/8 )
... ... ...

Question . Can you write a Maple program to produce those partial sums? How about the first 50 of them? At this point I ask you to tell me... (and in this worksheet I place it at the end...).

>

>

[Aside: It is not at all obvious what the infinite sum is!!] Swineshead found the sum to be 2, but by a method ( entirely verbal ) that would not be acceptable today. I will show you how that '2' may be arrived at, again by a method not strictly acceptable; the method is entirely familiar, and is the one already known from school for finding the sum of a geometric series (which the above series is not ), and has already been encountered by you in the purely formal of the sum of the Archimedes series ( 1+1/4+1/(4^2)+1/(4^3) + ... ad infinitum ). With the Archimedes series the trick was to multiply by 1/4 ; here it is to multiply by 1/2 :

Let S = ( 1/2+2/(2^2)+3/(2^3)+4/(2^4)+5/(2^5) + ... ad infinitum ) ... ( i )
then 1/2 S = 1/2 ( 1/2+2/(2^2)+3/(2^3)+4/(2^4)+5/(2^5) + ... ad infinitum )
=
( 1/(2^2)+2/(2^3)+3/(2^4)+4/(2^5)+5/(2^6) + ... ad infinitum ) ... ( ii )

Formal subtraction of ( ii ) from ( i ) gives

S-1/2 S = ( 1/2+1/(2^2)+1/(2^3)+1/(2^4)+1/(2^5) + ... ad infinitum )
(and the right hand side has known sum '1')

giving ( apparently ) 1/2 S = 1 , and ( so ) S = 2 .

________________________

A second (non-rigourous!) way in which one may formally uncover that the sum is 2:

Start as we did above:

Let S = ( 1/2+2/(2^2)+3/(2^3)+4/(2^4)+5/(2^5) + ... ), and then continue:

so, S = 1/2+1/(2^2)+1/(2^2)+1/(2^3)+2/(2^3)+1/(2^4)+3/(... + ...

= (
1/2+1/(2^2)+1/(2^3)+1/(2^4)+1/(2^5) + ... ) + ( 1/(2^2)+2/(2^3)+3/(2^4)+4/(2^5) + ... )
= ( 1 ) +
1/2 *( 1/2+2/(2^2)+3/(2^3)+4/(2^4) + ... )

namely: S = 1 + 1/2 * S , giving S = 2 .

Comment . In fact it is preferable to view that in general terms (without the distraction of the ' 1/2 '):

Let S = x+2*x^2+3*x^3+4*x^4+5*x^5 + ... ad infinitum ) ... ( i )
then x S = x ( x+2*x^2+3*x^3+4*x^4+5*x^5 + ... ad infinitum )
=
x^2+2*x^3+3*x^4+4*x^5+5*x^6 + ... ad infinitum ... ( ii )

Formal subtraction of ( ii ) from ( i ) gives

S-x S = x+x^2+x^3+x^4+x^5 + ... ad infinitum

(and the right hand side has known sum x/(1-x) , provided x lies between -1 and 1)

giving ( actually ) that S(1-x) = x/(1-x) , and so S = x/((1-x)^2) provided -1 < x < 1.

__________________________

According to Edwards' History , page 88: 'The Merton studies spread to France and Italy in the mid-fourteenth century. In his Treatise on the Configurations of Qualities and Motions , written in the 1350s, the Parisian scholastic Nicole Oresme introduced the important concept of graphical representations [my emphasis, JC] ...

and, page 92: 'In his Treatise , Oresme gave a geometric method for summing [the above Swineshead series]...'. This worksheet demonstrates the Oresme method.

> n := 7: s[1] := 1/2:
for k from 2 to n do
s[k] := s[k-1] + 1/2^k od:
seq(s[k], k = 1..n);

1/2, 3/4, 7/8, 15/16, 31/32, 63/64, 127/128

> with(plots): # needed for 'display' in the following

Warning, the name changecoords has been redefined

>

Note . One should reduce the frame speed to 1 in the animations...

One should
notice in the following diagrams that:

  • the areas of the green rectangles (the A's) are given by:

    1. 1 (height) *
    1/2 (base length)
    and that the area of the white rectangle to its right is...
    2. 2 (height) *
    1/(2^2) (base length)
    and that the area of the white rectangle to its right is...
    3. 3 (height) *
    1/(2^3) (base length)
    and that the area of the white rectangle to its right is...
    4. 4 (height) *
    1/(2^4) (base length)
    and that the area of the white rectangle to its right is...

    and that the suggested total area of the
    infinitely many green rectangles is ...
    ..................
  • the areas of the blue rectangles (the B's) are given by:

    1. 1 (height) * 1 (base length)
    2. 1 (height) *
    1/2 (base length)
    3. 1 (height) *
    1/(2^2) (base length)
    4. 1 (height) *
    1/(2^3) (base length)
    ... ...

    The sum of the areas of all the
    infinitely many blue rectangles is...

    Thus one
    sees that Sum(n/(2^n),n = 1 .. infinity) = Sum(1/(2^m),m = 0 ... = 2.

> s[0] := 0: for r to n do
A||r := PLOT(POLYGONS([[s[r-1],0],[s[r],0],[s[r],r],
[s[r-1],r]],COLOUR(RGB,0,1,0))):
B||r := PLOT(POLYGONS([[s[r-1],r-1],[1,r-1],[1,r],
[s[r-1],r]],COLOUR(RGB,0,0,1))):
a||r := PLOT(POLYGONS([[s[r],0],[1,0],[1,r],
[s[r],r]],COLOUR(RGB,1,1,1)))
od:
for r to n do
all_A||r := display(A||(1..r)):
all_B||r := display(B||(1..r)):
G||r := array(1..2):
G||r[1] := display([all_A||r, a||r]):
G||r[2] := all_B||r:
show||r := display(G||r):
od:
display([show||(1..n)], insequence=true);

[Maple Plot]

>

A simple Maple program to find the first 40 partial sums of the Swineshead series:

> s[1] := 1/2^1;
for k from 2 to 40 do
s[k] := s[k-1] + k/2^k
od;

s[1] := 1/2

s[2] := 1

s[3] := 11/8

s[4] := 13/8

s[5] := 57/32

s[6] := 15/8

s[7] := 247/128

s[8] := 251/128

s[9] := 1013/512

s[10] := 509/256

s[11] := 4083/2048

s[12] := 4089/2048

s[13] := 16369/8192

s[14] := 2047/1024

s[15] := 65519/32768

s[16] := 65527/32768

s[17] := 262125/131072

s[18] := 131067/65536

s[19] := 1048555/524288

s[20] := 1048565/524288

s[21] := 4194281/2097152

s[22] := 1048573/524288

s[23] := 16777191/8388608

s[24] := 16777203/8388608

s[25] := 67108837/33554432

s[26] := 33554425/16777216

s[27] := 268435427/134217728

s[28] := 268435441/134217728

s[29] := 1073741793/536870912

s[30] := 67108863/33554432

s[31] := 4294967263/2147483648

s[32] := 4294967279/2147483648

s[33] := 17179869149/8589934592

s[34] := 8589934583/4294967296

s[35] := 68719476699/34359738368

s[36] := 68719476717/34359738368

s[37] := 274877906905/137438953472

s[38] := 68719476731/34359738368

s[39] := 1099511627735/549755813888

s[40] := 1099511627755/549755813888

> for k to 40 do
[k, evalf(s[k])]
od;

[1, .5000000000]

[2, 1.]

[3, 1.375000000]

[4, 1.625000000]

[5, 1.781250000]

[6, 1.875000000]

[7, 1.929687500]

[8, 1.960937500]

[9, 1.978515625]

[10, 1.988281250]

[11, 1.993652344]

[12, 1.996582031]

[13, 1.998168945]

[14, 1.999023438]

[15, 1.999481201]

[16, 1.999725342]

[17, 1.999855042]

[18, 1.999923706]

[19, 1.999959946]

[20, 1.999979019]

[21, 1.999989033]

[22, 1.999994278]

[23, 1.999997020]

[24, 1.999998450]

[25, 1.999999195]

[26, 1.999999583]

[27, 1.999999784]

[28, 1.999999888]

[29, 1.999999942]

[30, 1.999999970]

[31, 1.999999985]

[32, 1.999999992]

[33, 1.999999996]

[34, 1.999999998]

[35, 1.999999999]

[36, 1.999999999]

[37, 2.000000000]

[38, 2.000000000]

[39, 2.000000000]

[40, 2.000000000]

>

There - using 'evalf' - the decimal computations are automatically done to 10 places, but one can do them to 50 places (for example), and for the first 120 of the partial sums, by doing this:

> s[1] := 1/2^1:
for k from 2 to 120 do
s[k] := s[k-1] + k/2^k
od:
for k to 120 do
[k, evalf(s[k], 50)]
od;

[1, .5000000000000000000000000000000000000000000000...

[2, 1.]

[3, 1.375000000000000000000000000000000000000000000...

[4, 1.625000000000000000000000000000000000000000000...

[5, 1.781250000000000000000000000000000000000000000...

[6, 1.875000000000000000000000000000000000000000000...

[7, 1.929687500000000000000000000000000000000000000...

[8, 1.960937500000000000000000000000000000000000000...

[9, 1.978515625000000000000000000000000000000000000...

[10, 1.98828125000000000000000000000000000000000000...

[11, 1.99365234375000000000000000000000000000000000...

[12, 1.99658203125000000000000000000000000000000000...

[13, 1.99816894531250000000000000000000000000000000...

[14, 1.99902343750000000000000000000000000000000000...

[15, 1.99948120117187500000000000000000000000000000...

[16, 1.99972534179687500000000000000000000000000000...

[17, 1.99985504150390625000000000000000000000000000...

[18, 1.99992370605468750000000000000000000000000000...

[19, 1.99995994567871093750000000000000000000000000...

[20, 1.99997901916503906250000000000000000000000000...

[21, 1.99998903274536132812500000000000000000000000...

[22, 1.99999427795410156250000000000000000000000000...

[23, 1.99999701976776123046875000000000000000000000...

[24, 1.99999845027923583984375000000000000000000000...

[25, 1.99999919533729553222656250000000000000000000...

[26, 1.99999958276748657226562500000000000000000000...

[27, 1.99999978393316268920898437500000000000000000...

[28, 1.99999988824129104614257812500000000000000000...

[29, 1.99999994225800037384033203125000000000000000...

[30, 1.99999997019767761230468750000000000000000000...

[31, 1.99999998463317751884460449218750000000000000...

[32, 1.99999999208375811576843261718750000000000000...

[33, 1.99999999592546373605728149414062500000000000...

[34, 1.99999999790452420711517333984375000000000000...

[35, 1.99999999892315827310085296630859375000000000...

[36, 1.99999999944702722132205963134765625000000000...

[37, 1.99999999971623765304684638977050781250000000...

[38, 1.99999999985448084771633148193359375000000000...

[39, 1.99999999992542143445461988449096679687500000...

[40, 1.99999999996180122252553701400756835937500000...

[41, 1.99999999998044586391188204288482666015625000...

[42, 1.99999999998999555828049778938293457031250000...

[43, 1.99999999999488409230252727866172790527343750...

[44, 1.99999999999738520273240283131599426269531250...

[45, 1.99999999999866417965677101165056228637695312...

[46, 1.99999999999931787897367030382156372070312500...

[47, 1.99999999999965183405947755090892314910888671...

[48, 1.99999999999982236431605997495353221893310546...

[49, 1.99999999999990940580119058722630143165588378...

[50, 1.99999999999995381472217559348791837692260742...

[51, 1.99999999999997646327187794668134301900863647...

[52, 1.99999999999998800959133404830936342477798461...

[53, 1.99999999999999389377336456163902767002582550...

[54, 1.99999999999999689137553104956168681383132934...

[55, 1.99999999999999841793218990915192989632487297...

[56, 1.99999999999999919508830714676150819286704063...

[57, 1.99999999999999959060525966947352571878582239...

[58, 1.99999999999999979183318288278314867056906223...

[59, 1.99999999999999989418186796541476724087260663...

[60, 1.99999999999999994622357224471898007323034107...

[61, 1.99999999999999997267810525336528826301218941...

[62, 1.99999999999999998612221219218554324470460414...

[63, 1.99999999999999999295268587884422117895155679...

[64, 1.99999999999999999642213283079783536777540575...

[65, 1.99999999999999999818396136108678007303751655...

[66, 1.99999999999999999907842815338732123109366511...

[67, 1.99999999999999999953243781311562621283428597...

[68, 1.99999999999999999976283077476879590506086969...

[69, 1.99999999999999999987972132148988935185229820...

[70, 1.99999999999999999993901362779769037558708077...

[71, 1.99999999999999999996908329742521803762400622...

[72, 1.99999999999999999998432989047579544372723603...

[73, 1.99999999999999999999205906611949093432123447...

[74, 1.99999999999999999999597659350054207338942546...

[75, 1.99999999999999999999796182697066933980911684...

[76, 1.99999999999999999999896767859553382146176048...

[77, 1.99999999999999999999947722185286648650948126...

[78, 1.99999999999999999999973530220398303114404114...

[79, 1.99999999999999999999986599674076640951667083...

[80, 1.99999999999999999999993217118977065173066054...

[81, 1.99999999999999999999996567200457904935149283...

[82, 1.99999999999999999999998262920713638641882770...

[83, 1.99999999999999999999999121120599162408095449...

[84, 1.99999999999999999999999555390420752747624756...

[85, 1.99999999999999999999999775110270962145600894...

[86, 1.99999999999999999999999886262665773958694705...

[87, 1.99999999999999999999999942485098033422294481...

[88, 1.99999999999999999999999970919431589932620805...

[89, 1.99999999999999999999999985298157081577047184...

[90, 1.99999999999999999999999992568299184093891983...

[91, 1.99999999999999999999999996243759913699630187...

[92, 1.99999999999999999999999998101685117676157191...

[93, 1.99999999999999999999999999040745139251249644...

[94, 1.99999999999999999999999999515323859832210346...

[95, 1.99999999999999999999999999755137575019397935...

[96, 1.99999999999999999999999999876306610061345348...

[97, 1.99999999999999999999999999937522216306495865...

[98, 1.99999999999999999999999999968445563791159527...

[99, 1.99999999999999999999999999984065009714535561...

[100, 1.9999999999999999999999999999195361876674567...

[101, 1.9999999999999999999999999999593736633811178...

[102, 1.9999999999999999999999999999794896164642536...

[103, 1.9999999999999999999999999999896462006189742...

[104, 1.9999999999999999999999999999947737965029107...

[105, 1.9999999999999999999999999999973622463481672...

[106, 1.9999999999999999999999999999986687972224395...

[107, 1.9999999999999999999999999999993282356353977...

[108, 1.9999999999999999999999999999996610363297878...

[109, 1.9999999999999999999999999999998289774209384...

[110, 1.9999999999999999999999999999999137183384914...

[111, 1.9999999999999999999999999999999564739832568...

[112, 1.9999999999999999999999999999999780443986339...

[113, 1.9999999999999999999999999999999889259028197...

[114, 1.9999999999999999999999999999999944148031612...

[115, 1.9999999999999999999999999999999971833274563...

[116, 1.9999999999999999999999999999999985796266660...

[117, 1.9999999999999999999999999999999992837948019...

[118, 1.9999999999999999999999999999999996388881354...

[119, 1.9999999999999999999999999999999998179394349...

[120, 1.9999999999999999999999999999999999082174010...

>

Contact details 

After August 31st 2007 please use the following Gmail address: jbcosgrave at gmail.com


This page was last updated 18 February 2005 15:06:49 -0000