8.1 KB · commit a9602da
Srinivasa Ramanujan (1887–1920) described an iterative procedure* to determine the smallest root of the equation f(x)=0,(2.1) where f(x) is of the form f(x)=1−(a1x+a2x2+a3x3+⋯)(2.32) To explain the method of procedure, we consider the quadratic equation f(x)=a0x2+a1x+a2=0, with the roots x1 and x2, such that ∣x1∣<∣x2∣. Then the equation defined by ϕ(x)=a2x2+a1x+a0=0 ⇒1+a0a1x+a0a2x2=0 will have roots x11 and x21 such that ∣x1∣1>∣x2∣1. Now, ϕ(x)1=(1+a0a1x+a0a2x2)−1
*See Berndt [1985], p. 41.
can be written as
(1+a0a1x+a0a2x2)−1=x−x11k1+x−x21k2=1−xx1−k1x1+1−xx2−k2x2=−k1x1(1−xx1)−1−k2x2(1−xx2)−1=i=0∑∞bixi,where bi=−r=1∑2krxri+1Then, bibi−1=k1x1i+1+k2x2i+1k1x1i+k2x2i=k2k1(x2x1)i+1+1k2k1(x2x1)i+1⋅x21 Since x2x1<1, it follows that i→∞limbibi−1=x21, which is the smallest root. This is the basis of Ramanujan's method which is outlined below.
To find the smallest root of f(x)=0, we consider f(x) in the form f(x)=1−(a1x+a2x2+a3x3+⋯), and then write [1−(a1x+a2x2+a3x3+⋯)]−1=b1+b2x+b3x2+⋯(2.33) ⇒1+(a1x+a2x2+a3x3+⋯)+(a1x+a2x2+a3x3+⋯)2+⋯ =b1+b2x+b3x2+⋯(2.34) To find bi, we equate coefficients of like powers of x on both sides of Eq. (2.34). We then obtain
b1b2b3bk=1=a1=a1b1,since b1=1=a2+a12=a2b1+a1b2,since b2=a1⋮⋮⋮⋮=a1bk−1+a2bk−2+⋯+ak−1b1=ak−1b1+ak−2b2+⋯+a1bk−1⎭⎬⎫(2.35)The ratios bibi−1, called the convergents, approach, in the limit, the smallest root of f(x)=0. The method is demonstrated in the following examples.
Therefore,
b5b4b6=0.28800.5007=1.7382.=a1b5+a2b4+a3b3=0.1575Therefore,
b6b5b7=1.8286.=0.0835Therefore,
b7b6b8=1.8862.=0.0434Therefore,
b8b7b9=1.9240.=0.0223Therefore, b9b8=1.9462. The roots of the given equation are 2, 3 and 4 and it can be seen that the successive convergents approach the value 2. ◀
b5b6=a1b4+a2b3+a3b2+a4b1=27+2+21+61=637=6.1667,=24261=10.8750;Hence, we obtain
b1/b2b2/b3b3/b4b4/b5b5/b6=1,=0.5,=0.5714,=0.5676,=0.5670.It can be seen that Newton's method (see Example 2.17) gives the value 0.5671433 to this root. ◀
we then obtain,
b1b3b5b7=1,=2.5,=6.79167,=18.42778,b2b4b6b8=1.5,=4.125,=11.18750,=30.35365The successive convergents are
b2b1b4b3b6b5b8b7=0.66667;=0.60606;=0.60708;=0.607102b3b2b5b4b7b6=0.60000,=0.60736,=0.60710,Hence the required root, correct to four decimal places, is 0.6071. ◀
The successive convergents are:
b2b1b4b3b5b4=1;=1927=1.4210…=1.4408,b3b2=34=1.3333…where the last result is correct to three significant figures. ◀