Unit 3QB
Unit 3QB
NOV/DEC-
Solution:
2017
𝑓(𝑥𝑛)
𝑥𝑛+1 = 𝑥𝑛 − , 𝑛 = 0,1,2, … … …
𝑓 ′ (𝑥𝑛 )
2 Find a real of the equation 𝑥 = 𝑒 −𝑥 , using Newton Raphson method.
Solution:
𝑓(𝑥) = 𝑥 − 𝑒 −𝑥
𝑓 ′ (𝑥) = 1 + 𝑒 −𝑥
𝑓(0) = −1
𝑓(1) = 0.6321
The root lies between 0 and
NOV/DEC 2014
Take 𝑥0 = 1
𝑓(𝑥𝑛)
𝑥𝑛+1 = 𝑥𝑛 − , 𝑛 = 0,1,2, … … …
𝑓 ′ (𝑥𝑛 )
Put n=0,
𝑓(𝑥0) 𝑓(1) 0.6321
𝑥1 = 𝑥0 − ′
=1− ′ =1− = 0.5379
𝑓 (𝑥0 ) 𝑓 (1) 1.3679
𝑓(𝑥1 ) = 𝑓(0.5379) = −0.0461
𝑓(𝑥1) 𝑓(0.5379) (−0.461)
𝑥2 = 𝑥1 − = 1 − = 1 − = 0.5670
𝑓 ′ (𝑥1 ) 𝑓 ′ (0.5379) 1.584
The root is 𝒙 = 𝟎. 𝟓𝟔𝟕𝟎
3 How will you find a negative root of a polynomial equation by Iteration method?
APR/MAY-
Solution:
2017
Let 𝑓(𝑥) = 0 be the polynomial. The negative root of the polynomial can be obtained by finding
the positive root of 𝑓(−𝑥) = 0.
APR/MAY-
Solution:
2017
The order of convergence of Newton Raphson method is 2 (quadratic) and convergence condition
is |𝑓(𝑥)𝑓"(𝑥)| < |𝑓 ′ (𝑥)|2
5 1 𝑎
Show the Newton Raphson formula to find √𝑎 can be expressed in the form 𝑥𝑛+1 = 2 (𝑥𝑛 + 𝑥 )
𝑛
Solution:
Let 𝑥 = √𝑎 𝑥 2 = 𝑎
NOV/DEC-2017
(ie) 𝑓(𝑥) = 𝑥 2 − 𝑎 𝑓(𝑥𝑛 ) = 𝑥𝑛2 − 𝑎, 𝑓 ′ (𝑥𝑛 ) = 2𝑥𝑛
By Newton Raphson method,
𝑓(𝑥𝑛 ) (𝑥𝑛2 − 𝑎)
𝑥𝑛+1 = 𝑥𝑛 − = 𝑥𝑛 −
𝑓 ′ (𝑥𝑛 ) 2𝑥𝑛
𝑛 𝑥 2 +𝑎 1 𝑎
= 2𝑥 =2 (𝑥𝑛 + 𝑥 )
𝑛 𝑛
APR/MAY-2010
𝑥𝑝 = 𝑁 𝑥𝑝 − 𝑁 = 0
(ie) 𝑓(𝑥) = 𝑥 𝑝 − 𝑁 𝑓(𝑥𝑛 ) = 𝑥𝑛𝑝 − 𝑁, 𝑓 ′ (𝑥𝑛 ) = 𝑝𝑥𝑛𝑝−1
By Newton Raphson method,
𝑓(𝑥𝑛 ) 𝑥𝑛𝑝 − 𝑁
𝑥𝑛+1 = 𝑥𝑛 − ′ = 𝑥𝑛 −
𝑓 (𝑥𝑛 ) 𝑝𝑥𝑛𝑝−1
𝑝−1
(𝑝−1)𝑥𝑛 +𝑁
= 𝑝−1
𝑝𝑥𝑛
7 Establish an iteration formula to find the reciprocal of a positive number N by Newton Raphson
method.
Solution:
1
Let 𝑥 = 𝑁
APR/MAY-2010
1 1
𝑁=𝑥 −𝑁 =0
𝑥
1 1 1
(ie) 𝑓(𝑥) = 𝑥 − 𝑁 𝑓(𝑥𝑛 ) = 𝑥 − 𝑁, 𝑓 ′ (𝑥𝑛 ) = − 𝑥 2
𝑛 𝑛
[𝐴, 𝐵] = [5 −2 1
]
4 28 23
𝑅2 5 −2 1
Step1: 𝑅2 → = [1 7 23]
4
4
NOV/DEC 2016
Step 2: 𝑅2 → 5𝑅2 − 𝑅1
5 −2 1
=[ 111]
0 37
4
111
By back substitution 37𝑦 = 4
𝟑
𝒚=
𝟒
3
Put 𝑦 = 4 in (1)we get
(3) 3
5𝑥 − 2 = 1 5𝑥 = 1 +
4 2
𝟏
𝒙=
𝟐
9 Write the procedure involved in Gauss elimination method.
MAY/JUNE 2014
Solution:
In this method the given system is transformed into an equivalent system with upper-triangular
coefficient matrix. (ie) a matrix in which all elements below the diagonal elements are zero
which can be solved by back subsititution.
10 State the principle used in Gauss Jordan methods.
MAY/JUNE
Solution:
In the equation 𝐴𝑋 = 𝐵, the matrix A is transformed into a Diagonal matrix. Here we get the 2014
solution without using the back substitution method.
11 Give the sufficient condition of convergence of Gauss Seidel method (or) Gauss Jacobi method.
Solution:
The absolute value of the leading diagonal element is greater than the sum of the absolute values
of the other elements in that row, which is called diagonally dominant.
MAY/JUNE 2013
3 3 4 20
𝑅2 → 𝑅2 − 2𝑅1 ; 𝑅3 → 𝑅3 − 3𝑅1
1 1 1 6
= (0 −1 1 1)
0 0 1 2
By back substitution,
𝐶=2
−𝐵 + 𝐶 = 1 𝐵 = 𝐶 − 1 = 1
𝐴+𝐵+𝐶 =6
𝐴+1+2= 6
𝐴 = 3, 𝐵 = 1, 𝐶 = 2
13 Write down the iterative formula of Gauss-seidel method.
Solution:
Let the rearranged form of a given set of equations be,
1
𝑥= (𝑑 − 𝑏1 𝑦 − 𝑐1 𝑧) … … … … (1)
𝑎1 1
1
𝑦= (𝑑 − 𝑎2 𝑥 − 𝑐2 𝑧) … … … … (2)
1
𝑦 (1) = (𝑑2 − 𝑎2 𝑥 (1) − 𝑐2 𝑧 (0) )
𝑏2
1
𝑧 (1) = 𝑐 (𝑑3 − 𝑎3 𝑥 (1) − 𝑏3 𝑦 (1) )
3
The process may be continued until convergence is assured to all the solutions.
MAY/JUNE-
Solution:
2016
As soon as a new value for a variable is found by iteration it is used immediately in the following
equations. This method is called Gauss Seidal method.
15 Why Gauss Seidal method is a better method than Jacobi’s iterative method?
NOV/DEC-2015
Solution:
Since the immediately calculated values in Gauss Seidel of the unknowns are used, the
convergence in Gauss Seidel method will be more rapid than in Gauss Jacobi method. The rate of
convergence of Gauss Seidel method is roughly twice that of Gauss Jacobi method.
16 Write the first iteration values of x, y, z when the equations 27𝑥 + 6𝑦 − 𝑧 = 85, 6𝑥 + 15𝑦 +
2𝑧 = 72, 𝑥 + 𝑦 + 5𝑧 = 110 are solved by Gauss Seidel method.
Solution:
Here the coefficient matrix is diagonally dominant. Then
1
𝑥= (85 − 6𝑦 + 𝑧) … … … … … . (1)
NOV/DEC-2015
27
1
𝑦= (72 − 6𝑥 − 2𝑧) … … … … … . (2)
15
1
𝑧 = (110 − 𝑥 − 𝑦) … … … … … … … … . (3)
5
First iteration
Put y=0, z=0 in (1), we get x=3.148
Put x=3.148, z=0 in (2), we get y=3.451
Put x=3.148, y=3.451 in (3), we get z=20.662
17 Distinguish between direct and iteration method of solving simultaneous equations.
APR/MAY-2015
Solution:
Direct method Iterative method
i) We get exact solution i) Approsimates solution
ii) Simple, take less time ii) Time consuming
laborious
18 On what type of equation Newton’s method can be applicable?
NOV/DEC-
Solution:
2014
Newton’s method can be applicable to the solution of both algebraic and transcendental equation
and can be also used when the roots are complex
MA 2266/NOV/DEC
AX=B
Solution:
2012
In Gauss Elimination method, the coefficient matrix reduced to upper triangular matrix and we
get the solution by back substitution whereas in Gauss Jordan method, the coefficient matrix
reduces to an unit or identity matrix and we get the solution without using back substitution.
20 What are the merits of Newton’s method of iteration?
NOV/DEC 2017
Solution:
Newton’s method is successfully used to improve the result obtained by other methods. It is
applicable to the solution of equations involving algebraical functions as well as transcendental
function .
21 Compare Gauss Elimination with Gauss Seidel method.
Solution:
Sl.no Gausss elimination method Gauss-Seidel methods
NOV/DEC 2017
Direct method for solving linear Iterative method for solving linear
1
simultaneous equations simultaneous equations
Give the exact solution in finite number Successive approximations approach the
2
of steps solution
Applicable in the coefficient matrix is Applicable if the coefficient matrix is
3
non-singular diagonally dominant
22 Define a diagonally dominant system of equations.
APR/MAY-2014
Solution:
A matrix is diagonally dominant if the numerical value of the leading diagonal element in each
row, is greater than or equal to the sum of the numerical values of the other elements in that row.
5 1 −1
For example the matrix (1 4 2 ) is diagonally dominant.
1 −2 5
23 Compare Gauss elimination and Gauss Jacobi methods.
APR/MAY-2014
Solution:
Gauss Elimination Gauss Jacobi
i) It gives exact value i. It gives only
approximate solution
ii. Simple, takes less time ii. Time consuming and
labourious
MAY/JUNE-2013
Gauss Jordan Gauss Jacobi
1) It gives exact value 1. It gives only approximate
solution
2) Simple, takes less time 2. Time consuming and
labourious
3) This method determine 3. This method determine only
all the roots at the same one root at a time
time.
25 4 1
Find the dominant eigen value of the matrix [ ] by power method.
APR/M
2011
1 4
AY
Answer: The dominant eigen value is 5. (Use power or Jacobi method)
26 Arrive a formula to find the value of 3√𝑁, where 𝑁 ≠ 0, using Newton Raphson method.
MAY/JU
NE-2013
3 +𝑁
2𝑥𝑛
Answer: 2 .
3𝑥𝑛
NOV/D
2011
EC-
Answer: 𝑥1 = 1, 𝑥2 = 1
28 Explain the power method to determine the eigenvalue of a matrix.
Solution:
It is used to find the numerically largest and the corresponding eigen vector, eigen value. Let A
be a matrix and 𝑥0 be an arbitrary vector which is taken as the initial approximation to an eigen
NOV/DEC-2011
value suppose we normalize 𝑥0 by choosing one of its components as unity. We form the
product 𝐴𝑥0 and express it as 𝜆𝑥1 where 𝑥1 has been normalized in the same manner as 𝑥0
Now we have 𝐴𝑥1 = 𝜆𝑥2
Now we form 𝐴𝑥2 = 𝜆𝑥3
Here the approximate eigen value is 𝜆, and approximate eigen vector is 𝑥2
Clearly 𝜆 is an eigen value of the matrix and 𝑥 is the eigen vector,
Where 𝑥3 is normalized in the same manner. Thus we have the sequence of iterations.
29 Why Gauss-Seidel method is better than Jacobi’s iterative method?
NOV/DEC-2010
Solution:
In Jacobi’s method at each iteration the values of the variables in the previous iteration are used,
where as in Gauss-Seidel method in each iteration the latest available values of the variables are
used. Hence the convergence of Gauss –Seidel method is twice faster than Jacobi’s method.
30 4 1
Find the dominant eigen value of the matrix [ ] by power method
APR/MA
T 2011
1 3
1
Answer: the dominant eigenvalue is 4.62 and the corresponding eigen vector is ( )
0.62
APR/MAY-2010
3
𝑒 0.82
𝑥3 = 𝑔(𝑥2 ) = = 0.76
3
𝑒 0.76
𝑥4 = 𝑔(𝑥3 ) = = 0.71
3
𝑒 0.71
𝑥5 = 𝑔(𝑥4 ) = = 0.68
3
𝑒 0.68
𝑥6 = 𝑔(𝑥5 ) = = 0.66
3
𝑒 0.66
𝑥7 = 𝑔(𝑥6 ) = = 0.64
3
𝑒 0.64
𝑥8 = 𝑔(𝑥7 ) = = 0.63
3
𝑒 0.63
𝑥9 = 𝑔(𝑥8 ) = = 0.63
3
Since 𝑥8 = 𝑥9 = 0.63, the solution of 𝑒 𝑥 − 3𝑥 = 0 is 0.63
radians.
𝜋
Also the magnitude of f( 3 ) < 𝑓(0). here the root is nearer to 1.047.
NOV/DEC 2017
𝒇′ (𝒙𝒏 )
1st approximation to the root is
𝑓(𝑥0 ) 3(1.047) − 𝑐𝑜𝑠(1.047) − 1
𝑥1 = 𝑥0 − ′
= 1.047 −
𝑓 (𝑥0 ) 3 + +𝑠𝑖𝑛(1.047)
3.141−1.5002
= 1.047 − 3.8659
𝒙𝟏 = 𝟎. 𝟔𝟐𝟐𝟔
2nd approximation to the root is
𝑓(𝑥1 ) 3(0.6226) − cos(0.6226) − 1
𝑥2 = 𝑥1 − ′
= 0.6226 −
𝑓 (𝑥1 ) 3 + sin(0.6226)
0.0554
= 0.6226 − 3.5831
𝒙𝟐 = 𝟎. 𝟔𝟎𝟕𝟏
3rd approximation to the root is
NOV/DEC-2017
3𝑙𝑜𝑔10 3 − 1.2
=3−
𝑙𝑜𝑔10 3 + 0.4343
𝒙𝟏 = 𝟐. 𝟕𝟒𝟔
The second approximation to the root is given by
𝑓(𝑥1 ) 𝑥1 𝑙𝑜𝑔10 𝑥1 − 1.2
𝑥2 = 𝑥1 − ′
= 𝑥1 −
𝑓 (𝑥1 ) 𝑙𝑜𝑔10 𝑥1 + 0.4343
2.746𝑙𝑜𝑔10 2.746 − 1.2
= 2.746 −
𝑙𝑜𝑔10 2.746 + 0.4343
𝒙𝟐 = 𝟐. 𝟕𝟒𝟏
The third approximation to the root is given by
𝑓(𝑥2 ) 𝑥2 𝑙𝑜𝑔10 𝑥2 − 1.2
𝑥3 = 𝑥2 − ′
= 𝑥2 −
𝑓 (𝑥2 ) 𝑙𝑜𝑔10 𝑥2 + 0.4343
2.741𝑙𝑜𝑔10 2.741 − 1.2
= 2.741 −
𝑙𝑜𝑔10 2.741 + 0.4343
𝒙𝟑 = 𝟐. 𝟕𝟒𝟏
Hence the real root of 𝒇(𝒙) = 𝟎 correct to three decimal places is 2.741
Table
Iteration 𝒙𝒓 𝒇(𝒙𝒓 )
1 2.746 0.00467
2 2.741 0.000309
3 2.741 0.000309
NOV/DEC-2017
Step 4: 𝑅2 → −10
1 9 4 16
24
(0 1 3 )
10
0 −7 −17 −22
Step 5: 𝑅3 → 𝑅3 + 7𝑅2
1 4
9 16
24
0 1 3
10
−1
0 0 −1
( 5 )
Step 6: Use back substitute to find the solution the system,
−1
Here, 𝑧 = −1 𝑧 = 5
5
12 12
𝑦+ 𝑧 = 3 𝑦 + (5) = 3
5 5
𝑦 = −9
𝑥 + 4𝑦 + 9𝑧 = 16
𝑥 − 36 + 45 = 16
𝑥 = 16 − 9
𝑥=7
𝑥 = 7, 𝑦 = −9, 𝑧 = 5
NOV/DEC-2016
[ 2 ]
0 −25 4 −46
0 9 −9 9
Step 5: 𝑹𝟑 → 𝑹𝟑 ÷ 9
1
1 2 6
[ 2 ]
0 −25 4 −46
0 1 −1 1
Step 6: 𝑹𝟐 → 𝑹𝟐 + 𝟐𝟓𝑹𝟑
1
1 2 6
[ 2 ]
0 0 −21 −21
0 1 −1 1
Step 7: Interchanging 𝑹𝟐 𝒂𝒏𝒅 𝑹𝟑
1
1 2 6
[ 2 ]
0 1 −1 1
0 0 −21 21
Step 8:
Use back substitution to find the solution to the system.
Here, −21𝑧 = −21
𝒛=𝟏
y-z=1
y-1=1
y=2
𝑦
𝑥 + 2 + 2𝑧 =6
𝑥+1+1= 6
𝒙=𝟑
NOV/DEC-2016
0 −3 1 0 −4
0 0 −0.5 0.5 0
Step 5: Add multiples of the second row to the other rows to make all the other components in the second column equal
to zero.
1 0 −0.5 0.5 0
0 1 −1 0 2
[ ]
0 0 −2 0 2
0 0 −0.5 0.5 0
Step 6: make the element in the third row and third column as 1.
𝑅3 → 𝑅3 ÷ (−2)
1 0 0.5 0.5 0
0 1 −1 0 2
[ ]
0 0 1 0 −1
0 0 −0.5 0.5 0
Step 7: Add multiples of the third row to the other rows to make all the other components in the third column equal to
zero.
𝑅1 → 𝑅1 − 0.5𝑅3 ; 𝑅2 → 𝑅2 + 𝑅3 ; 𝑅4 → 𝑅4 + 0.5𝑅3
1 0 0 0.5 0.5
0 1 0 0 1
[ ]
0 0 1 0 −1
0 0 0 0.5 −0.5
Step 8: make the element in the fourth row and fourth column as 1.
𝑅4 → 𝑅4 ÷ (0.5)
1 0 0 0.5 0.5
0 1 0 0 1
[ ]
0 0 1 0 −1
0 0 0 1 −1
Step 9: 𝑅1 → 𝑅1 − 0.5𝑅4
finally the matrix reduces to the form
1 0 0 0 𝑥1 1
0 1 0 0 𝑥2 1
( ) (𝑥 ) = ( )
0 0 1 0 3 −1
0 0 0 1 𝑥4 −1
Therefore the matrix 𝑥1 = 1, 𝑥2 − 1, 𝑥3 = −1, 𝑥4 = −1
1 1 1 1 2
[𝐴, 𝐵] = [2 −1 2 −1 −5]
3 2 3 4 7
1 −2 −3 2 5
Step 2: 𝑅2 → 𝑅2 − 2𝑅1 ; 𝑅3 → 𝑅3 − 3𝑅1 ; 𝑅4 → 𝑅4 − 𝑅1
1 1 1 1 2
0 −3 0 −3 −9
[ ]
0 −1 0 1 1
0 −3 −4 1 3
step 3: 𝑅3 → 3𝑅3 − 𝑅2 ; 𝑅4 → 𝑅4 − 𝑅2
1 1 1 1 2
MAY/JUNE-2016
0 −3 0 −3 −9
[ ]
0 0 0 6 2
0 0 −4 4 12
𝑅2 𝑅3 𝑅4
Step 4: 𝑅2 → −3 ; 𝑅3 → 6 ; 𝑅4 → 4 ; 𝑅3 → 𝑅4
1 1 1 1 2
0 1 0 1 3
[ ]
0 0 −1 1 3
0 0 0 1 2
Step 5: 𝑅3 → 𝑅3 − 𝑅4 ; 𝑅2 → 𝑅2 − 𝑅4 ; 𝑅1 → 𝑅1 − 𝑅4
1 1 1 0 0
0 1 0 0 1
[ ]
0 0 −1 0 1
0 0 0 1 2
Step 6: 𝑅1 → 𝑅1 + 𝑅3
1 1 0 0 1
0 1 0 0 1
[ ]
0 0 −1 0 1
0 0 0 1 2
Step 7: 𝑅1 → 𝑅1 − 𝑅2
1 0 0 0 0
0 1 0 0 1
[ ]
0 0 −1 0 1
0 0 0 1 2
By back substitution
𝒘 = 𝟐, 𝒛 = −𝟏, 𝒚 = 𝟏, 𝒙=𝟎
MAY/JUNE-2016
1 3 −1 0.104 0.559 0.047
𝐴𝑥2 = ( 3 2 4 ) (0.485) = ( 5.282 ) = 11.836 (0.446) = 11.836𝑥3
−1 4 10 1 11.836 1
1 3 −1 . 0470 0.385 0.032
𝐴𝑥3 = ( 3 2 4 ) ( 0.446 ) = ( 5.033 ) = 11.737 (0.429) = 11.737𝑥4
−1 4 10 1 11.737 1
1 3 −1 0.032 0.319 0.027
𝐴𝑥4 = ( 3 2 4 ) (0.429) = ( 4.954 ) = 11.684 (0.423) = 11.684𝑥5
−1 4 10 1 11.684 1
Solution:
1 1 1
Let 𝑥 = 𝑥2 = 𝑁 𝑥2 − 𝑁 = 0
√𝑁
1
Let 𝑓(𝑥) = 𝑥 2 − 𝑁 then 𝑓 ′ (𝑥) = 2𝑥
Newton’s formula is
𝑓(𝑥𝑛)
𝑥𝑛+1 = 𝑥𝑛 = , 𝑛 = 0,1,2, … … …
𝑓 ′ (𝑥𝑛 )
MAY/JUNE-2016
1
(𝑥𝑛2 − 𝑁)
= 𝑥𝑛 −
2𝑥𝑛
1 1
2𝑥𝑛2 − 𝑥𝑛2 + 𝑁 𝑥𝑛2 + 𝑁 1 1
𝑥𝑛+1 = = = (𝑥𝑛 + ), 𝑛 − 0,1,2,3 ….
2𝑥𝑛 2𝑥𝑛 2 𝑁𝑥𝑛
1
To find , here N=15.
√15
1 1 1
Since close to = 4 = 0.25, we shall take 𝑥0 = 0.25 𝑡ℎ𝑒𝑛
√15 √16
1 1 1
𝑥1 = 2 (0.25 + 15×0.25) = 2 (0.25 + 0.26666=0.25833
1 1
𝑥2 = (0.25833 + )=0.25819
2 15×0.25833
1 1
𝑥3 = 2 (0.25819 + 15×0.25819)=0.25819889
1
The value of is 0.25819 to 5 places of decimals.
√15
10 Solve 5𝑥 − 𝑦 + 𝑧 = 10
APR/MA
Y-2015
2𝑥 + 4𝑦 = 12 𝑎𝑛𝑑
𝑥 + 𝑦 + 5𝑧 = −1 using Gauss seidel method
11 1 6 1
NOV/DEC
Find all the Eigen value of 𝐴 = [1 2 0]using power method, using 𝑥1 = (1 0 0)𝑇 as -2014
0 0 3
initial vector.
12 Find the positive root of 𝑥 3 + 𝑥 2 − 100 = 0 correct to 4 decimal places by fixed point
APR/MA
Y-2010
iteration method.
Answer: 𝑥 =4.33105
APR/MAY-2015
17
1
𝑧 (2) = (24 − 𝑥 (2) − 3𝑦 (2) ) = 1.842837
10
III iteration
1
𝑥 (3) = (32 − 4𝑦 (2) + 𝑧 (2) ) = 1.075964
28
1
𝑦 (3) = (35 − 2𝑥 (3) − 4𝑧 (2) ) = 1.498631
17
1
𝑧 (3) = (24 − 𝑥 (3) − 3𝑦 (3) ) = 1.842814
10
IV iteration
1
𝑥 (4) = (32 − 4𝑦 (3) + 𝑧 (3) ) = 0.994582
28
1
𝑦 (4) = (35 − 2𝑥 (4) − 4𝑧 (3) ) = 1.508211
17
1
𝑧 (4) = (24 − 𝑥 (4) − 3𝑦 (4) ) = 1.848079
10
V iteration
1
𝑥 (5) = (32 − 4𝑦 (4) + 𝑧 (4) ) = 0.993401
28
1
𝑦 (5) = (35 − 2𝑥 (5) − 4𝑧 (4) ) = 1.507111
17
1
𝑧 (5) = (24 − 𝑥 (5) − 3𝑦 (5) ) = 1.84853
10
VI iteration
1
𝑥 (6) = (32 − 4𝑦 (5) + 𝑧 (5) ) = 0.9935745
28
1
𝑦 (6) = (35 − 2𝑥 (6) − 4𝑧 (5) ) = 1.50698
17
1
𝑧 (6) = (24 − 𝑥 (6) − 3𝑦 (6) ) = 1.84855
10
From the 5th and 6th iteration values we have
𝑥 = 𝟎. 𝟗𝟗𝟒, 𝒚 = 𝟏. 𝟓𝟎𝟕, 𝒛 = 𝟏. 𝟖𝟒𝟗
NOV/DEC 2017
𝑥 = 3.148, 𝑦 = 3.5408, 𝑧 = 1.913
2nd iteration:
Putting 𝑦 = 3.5408, 𝑧 = 1.913 in (5) we get
1
𝑦= (72 − 6(2.4332) − 2(1.913)) = 3.572
15
Putting x=2.4322, y=3.572 in (6) we get
1
𝑧= (110 − 2.4322 − 3.572) = 1.9285
54
nd
In 2 iteration we get
𝒙 = 𝟐. 𝟒𝟑𝟐𝟐, 𝒚 = 𝟑. 𝟓𝟕𝟐, 𝒛 = 𝟏. 𝟗𝟐𝟓𝟖𝟓
3rd iteration:
Putting 𝒚 = 𝟑. 𝟓𝟕𝟐, 𝒛 = 𝟏. 𝟗𝟐𝟓𝟖𝟓 in(4) we get
1
𝑥= (85 − 6(3.572) + 1.92585) = 2.42569
27
Putting 𝑥 = 2.42569, 𝑧 = 1.92585 in (5) we get
1
𝑦= (72 − 6(2.42569) − 2(1.92585)) = 3.5729
15
Putting 𝑥 = 2.42569, 𝑦 = 3.5729 in (6) we get
1
𝑧= (110 − 2.42569 − 3.5769) = 1.92595
54
rd
In 3 iteration we get
𝑥 = 2.42569, 𝑦 = 3.5729, 𝑧 = 1.92565
4th iteration:
We get
𝒙 = 𝟐. 𝟒𝟐𝟓𝟓𝟎, 𝒚 = 𝟑. 𝟓𝟕𝟑, 𝒛 = 𝟏. 𝟗𝟐𝟓𝟗𝟓
5th iteration:
We get
𝒙 = 𝟐. 𝟒𝟐𝟓𝟒𝟕, 𝒚 = 𝟑. 𝟓𝟕𝟑𝟎, 𝒛 = 𝟏. 𝟗𝟐𝟓𝟗𝟓
6th iteration:
We get
𝒙 = 𝟐. 𝟒𝟐𝟓𝟒𝟕, 𝒚 = 𝟑. 𝟓𝟕𝟑𝟎, 𝒛 = 𝟏. 𝟗𝟐𝟓𝟗𝟓
Checking:
𝟐𝟕𝒙 + 𝟔𝒚 − 𝒛 = 𝟖𝟓
𝟐𝟕(𝟐. 𝟒𝟐𝟓𝟒𝟕) + 𝟔(𝟑. 𝟕𝟓𝟑𝟎) − 𝟏. 𝟗𝟐𝟓𝟗𝟓 = 𝟖𝟒. 𝟗𝟗𝟗
APR/MAY 2017
−9 + 0.3 + 1.56 + 2(2.886)
𝑥4 = = −0.1368
10
𝒙𝟏 = 𝟎. 𝟑, 𝒙𝟐 = 𝟏. 𝟓𝟔, 𝒙𝟑 = 𝟐. 𝟖𝟖𝟔, 𝒙𝟒 = −𝟎. 𝟏𝟑𝟔𝟖
2nd iteration:
Putting 𝑥2 = 1.56, 𝑥3 = 2.886, 𝑥4 = −0.1368 we get
3 + 2(1.56) + 2.886 − 0.1368
𝑥1 = = 0.8869
10
putting 𝑥1 = 0.8869, 𝑥3 = 2.886, 𝑥4 = −0.1368 in (6) we get
NOV/DEC-2014
𝐴𝑥7 = (1 2 0) (0.5001)=(2.0002) = 𝟒. 𝟎𝟎𝟎𝟔 (𝟎. 𝟓) = 4.0006𝑥8
0 0 3 0 0 𝟎
1 6 1 1 4 𝟏
𝐴𝑥8 = (1 2 0) (0.5)=(2) = 𝟒 (𝟎. 𝟓) = 4𝑥9
0 0 3 0 0 𝟎
𝟏
Therefore dominant eigen value is 𝜆1 = 4 corresponding eigen vector is (𝟎. 𝟓)
𝟎
To find the least eigen value,
Let 𝐵 = 𝐴 − 4𝐼, 𝑠𝑖𝑛𝑐𝑒 𝜆1 = 4
1 6 1 4 0 0 −3 6 1
Therefore 𝐵 = (1 2 0) − (0 4 0) = ( 1 −2 2 )
0 0 3 0 0 4 0 0 −2
We will find the dominant eigen value of B.
1
Let 𝑦1 = (0)be the initial vector.
0
−3 6 1 1 −3 1
𝐵𝑦1 = ( 1 −2 2 ) (0) = ( 1 ) = −3 (−0.3333) = −3𝑦2
0 0 −2 0 0 0
−3 6 1 1 −4.9998 𝟏
𝐵𝑦2 = ( 1 −2 2 ) (−0.3333) = ( 1.6666 ) = −𝟒. 𝟗𝟗𝟗𝟖 (−𝟎. 𝟑𝟑𝟑𝟑) = −4.9998𝑦3
0 0 −2 0 0 𝟎
−3 6 1 1 −4.9998 𝟏
𝐵𝑦3 = ( 1 −2 2 ) (−0.3333) = ( 1.6666 ) = −𝟒. 𝟗𝟗𝟗𝟖 (−𝟎. 𝟑𝟑𝟑𝟑)
0 0 −2 0 0 𝟎
Therefore dominant eigen value of B is -5.
Smallest eigen value of of 𝑨 = −𝟓 + 𝟒 = −𝟏 = 𝝀𝟐
Trace of the matrix =sum of the eigen value.
1 + 2 + 3 = 4 − 1 + 𝜆3
6 = 3 + 𝜆3
𝜆3 = 3
All the eigen values are −𝟏, 𝟑, 𝟒
NOV/DEC 2017
𝐴𝑥1 = ⌈ 1 3 0 ⌉ ⌈0.04⌉ = ⌈1.12⌉ = 25.2 [0.0444] = 25.2 𝑥2
2 0 −4 0.08 1.68 0.0667
25 1 2 1 25.1778 1
𝐴𝑥2 = ⌈ 1 3 0 ⌉ ⌈0.0444⌉ = ⌈ 1.1332 ⌉ = 25.1778 [ 0.0450 ] = 25.1778 𝑥3
2 0 −4 0.0667 1.7337 0.06884
25 1 2 1 25.1826 1
𝐴𝑥3 = ⌈ 1 3 0 ⌉ ⌈ 0.0450 ⌉ = ⌈ 1.135 ⌉ = 25.1826 [0.0450] = 25.1826 𝑥4
2 0 −4 0.06884 1.7248 0.0685
25 1 2 1 25.1821 1
𝐴𝑥4 = ⌈ 1 3 0 ⌉ ⌈0.0451⌉ = ⌈ 1.1353 ⌉ = 25.1821 [0.0450] = 25.1821𝑥5
2 0 −4 0.0685 1.7260 0.0685
Here 𝑥4 = 𝑥5
∴The dominant eigen value is 25.1821
1
The corresponding eigen vector is [0.0451]
0.0685
2 −1 0 1 0 0
(0 3 −2 1 2 0)
0 0 4 1 2 0
Step 4: 𝑅1 → 3𝑅1 + 𝑅2
6 0 −2 4 2 0
(0 3 −2 1 2 0)
0 0 4 1 2 3
Step 5: 𝑅1 → 2𝑅1 + 𝑅3 ; 𝑅2 → 2𝑅2 + 𝑅3
12 0 0 9 6 3
(0 6 0 3 6 3)
0 0 4 1 2 3
Step 6: 𝑅1 → 𝑅1 ÷ 12; 𝑅2 → 𝑅2 ÷ 6; 𝑅3 → 𝑅3 ÷ 4
9 6 3
1 0 0
12 12 12
3 6 3
Apr/May 2015
0 1 0
6 6 6
1 2 3
(0 0 1
4 4 4)
Hence the inverse of the given matrix is
9 6 3
12 12 12
3 6 3 0.75 0.5 0.25
= ( 0.5 1 0.5 ) = 𝐵(𝑠𝑎𝑦)
6 6 6 0.25 0.5 0.75
1 2 3
(4 4 4)
Inverse power method:
0.75 0.5 0.25
Let 𝐵 = ( 0.5 1 0.5 )
0.25 0.5 0.75
1
and 𝑥0 = (1) be the initial eigen vector.
1
0.75 0.5 0.25 1 1.5 0.75
Then 𝑥1 = 𝐵𝑥′0 = ( 0.5 1 0.5 ) (1) = ( 2 ) = 2 ( 1 ) = 2𝑥1′
0.25 0.5 0.75 1 1.5 0.75
0.75 0.5 0.25 0.75 1.25 0.7143
𝑥2 = 𝐵𝑥1′ ( 0.5 1 0.5 ) ( 1 ) = (1.75) = 1.75 ( 1 ) = 1.75𝑥2′
0.25 0.5 0.75 0.75 1.25 0.7143
0.75 0.5 0.25 0.7143 1.2143 0.7083
𝑥3 = 𝐵𝑥′2 ( 0.5 1 0.5 ) ( 1 ) = (1.7143) = 1.7143 ( 1 ) = 1.7143𝑥3′
0.25 0.5 0.75 0.7143 1.2143 0.7083
0.75 0.5 0.25 0.7083 1.2083 0.7073
𝑥4 = 𝐵𝑥3′ ( 0.5 1 0.5 ) ( 1 ) = (1.7083) = 1.7083 ( 1 )
0.25 0.5 0.75 0.7.83 1.2083 0.7073
0.7073
Thus the dominant eigen values of 𝐵 = 𝐴−1 is 1.7083 and the corresponding eigen vector is ( 1 ). therefore, by
0.7073
0.7073
1
inverse power method, the least eigen value of A is = 0.5854 and its corresponding eigen vector is ( 1 )
1.7083
0.7073
PREPARED BY : DEPARTMENT OF H&S (MATHEMATICS) RIT Page 24
19 Obtain by the power method, the dominant eigen value and the corresponding eigen vector correct
2 2 2
2 5 5 1
to two decimal places, for the matrix ( 3 3 3 ) taking (0) as the initial approximation to the
5 11
1 2 2 0
eigen vector.
1
Solution: Let the initial eigenvector be 𝑋0 = (0)
0
2 2 2 2 2 1
2 5 5 1 1
2 2
Now, 𝐴𝑋0 = ( 3 3 3 ) (0) = ( 3 ) = ( 3 ) = 2 ( 3 ) = 2𝑋1
5 11 1
1 0 1 1
2 2 2
11
2 2 2 1 3
2 5 5 1 3.67 0.80
37
𝐴𝑋1 = ( 3 3 3 ) (3) = 18
= (2.06) = 4.58 (0.45) = 4.58𝑋2
5 11 1
1 55 4.58 1
2 2 2
(12)
2 2 2
2 5 5 0.80 4.5 0.61
𝐴𝑋2 = ( 3 3 3 ) (0.45) = (2.95) = 7.43 (0.40) = 7.43𝑋3
5 11
1 2 1 7.43 1
2
2 2 2
2 5 5 0.61 4.02 0.57
APR/MAY-2014
𝐴𝑋3 = ( 3 3 3 ) (0.40) = (2.74) = 7.11 (0.39) = 7.11𝑋4
5 11
1 2 2 1 7.11 1
2 2 2
2 5 5 0.57 3.92 0.56
𝐴𝑋4 = ( 3 3 3 ) (0.39) = (2.70) = 7.05 (0.38) = 7.05𝑋5
5 11
1 2 2 1 7.05 1
2 2 2
2 5 5 0.56 3.88 0.55
𝐴𝑋5 = ( 3 3 3 ) (0.38) = (3.01) = 7.01 (0.43) = 7.01𝑋6
5 11
1 2 2 1 7.01 1
2 2 2
2 5 5 0.55 3.96 0.56
𝐴𝑋6 = ( 3 3 3 ) (0.43) = (2.75) = 7.13 (0.39) = 7.13𝑋7
5 11
1 2 2 1 7.13 1
2 2 2
2 5 5 0.56 3.9 0.55
𝐴𝑋7 = ( 3 3 3 ) (0.39) = (2.69) = 7.04 (0.38) = 7.04𝑋8
5 11
1 1 7.04 1
2 2
2 2 2
2 5 5 0.55 3.86 0.55
𝐴𝑋8 = ( 3 3 3 ) (0.38) = (2.67) = 7 (0.38) = 7𝑋9
5 11
1 1 7 1
2 2
2 2 2
2 5 5 0.55 3.86 0.55
𝐴𝑋9 = ( 3 3 3 ) (0.38) = (2.67) =7 (0.38)
5 11
1 1 7 1
2 2
0.55
Hence the dominant eigenvalue = 7 Corresponding eigenvector = (0.38)
1
NOV/DEC-2013
𝑃= 0 1 0 .
1 1
0
(√2 √2 )
1 1
0
√2 √2
𝑃𝑇 = 0 1 0 .
1 1
− 0
( √2 √2)
Step 4:
1 1 1 1
0 0 −
√2 √2 5 0 1 √2 √2
𝑇
𝐵 = 𝑃 𝐴𝑃 = 0 1 0 . (0 −2 0) . 0 1 0 .
1 1 1 0 5 1 1
− 0 0
( √2 √2) (√2 √2 )
6 0 0
𝐵 = (0 −2 0)
0 0 4
The eigen values are 6, −2, 4 and corresponding eigen vectors be the column of p matrix
1 1
−
√2 0 √2
𝑋1 = 0 , 𝑋 2 = (1) , 𝑋3 = 0
1 0 1
(√2) ( √2 )
NOV/DEC-2013
( √2 √2) ( √2 √2 )
4 √2 0
𝐵1 = (√2 3 0 ) (non- diagonal matrix)
0 0 −1
Step 5: Repeat the step 1 to step 4 for matrix 𝐵1
4 √2 0
𝐵1 = (√2 3 0)
0 0 −1
choose the largest non-diagonal element of the given matrix.
Here the largest non-diagonal element is 𝑎12 = √2 = 𝑎21 & 𝑎11 = 4, 𝑎22 = 3
1 2𝑎12 1
𝜃 = 𝑡𝑎𝑛−1 ( ) = 𝑡𝑎𝑛−1 (2√2) = 35.26°
2 𝑎11 − 𝑎22 2
Step 6: choose appropriate orthogonal matrix
𝑐𝑜𝑠𝜃 −𝑠𝑖𝑛𝜃 0 0.817 −0.577 0 0.817 0.577 0
𝑝2 = ( 𝑠𝑖𝑛𝜃 𝑐𝑜𝑠𝜃 0) ⇒ 𝑝2 = (0.577 0.817 0) ; 𝑝2 𝑇 = (−0.577 0.817 0).
0 0 1 0 0 1 0 0 1
5 0 0
𝐵2 = (0 2 0)
0 0 −1
Here the eigen values are 5, 2, −1
To find the eigen vectors
1 0 0
1 1 2 −1 0
0 − 0.817 −0.577 0
𝑩 = 𝑝1 𝑝2 = √2 √2 . (0.577 0.817 0) = (1 1 −1).
1 1 0 0 1 1 1 1
0
( √2 √2 )
𝟐 −𝟏 𝟎
𝑿𝟏 = (𝟏), 𝑿𝟐 = ( 𝟏 ) , 𝑿𝟑 = (−𝟏)
𝟏 𝟏 𝟏
28 Using Jacobi method, find all the eigen values and eigen vectors of the matrix 𝐴 =
1 0 0 1 0 0 1 0 0
[0 3 −1]. Ans : 𝐵 = [ 0 1/√2 1/√2], 𝐶 = (0 4 0)
0 −1 3 0 −1/√2 1/√2 0 0 2
10 1 1 12 𝑅1 → 𝑅1 /0.1
0 0.08 1 1.08 𝑅2 → 𝑅2 /12.3
0 0 1 1 𝑅3 → 𝑅3 /−6.8
10 1 0 11 𝑅1 → 𝑅1 − 𝑅3
0 0.08 0 0.08 𝑅2 → 𝑅2 − 𝑅3
0 0 1 1
10 1 0 11
0 1 0 1 𝑅2 → 𝑅2 /0.08
0 0 1 1
10 0 0 10 𝑅1 → 𝑅1 − 𝑅2
0 1 0 1
0 0 1 1
1 0 0 1 𝑅1 → 𝑅1 /10
0 1 0 1
0 0 1 1
1 -2 9 8 𝑅1 ↔ 𝑅3
= 3 1 -1 3
2 -8 1 -5
1 -2 9 8
= 0 7 -28 -21 𝑅2 → 𝑅2 − 3𝑅1
0 -4 -17 -21 𝑅3 → 𝑅3 − 2𝑅1
1 -2 9 8
= 0 7 -28 -21
0 0 -231 -231 𝑅3 → 7𝑅3 + 4𝑅2
By back substitutions −231𝑧 = −231 ⇒ 𝑧 = 1; 7𝑦 − 28𝑧 = −21 ⟹ 7𝑦 = −21 + 28𝑦 =
1; 𝑥 − 2𝑦 + 9𝑧 = 8 ⇒ 𝑥 = 8 + 2 − 9 ⇒ 𝑥 = 1.
11 1 4 1 1 −1
𝐷 = 2[ ][ ][ ]
−1 1 1 4 1 1
1 1 1 5 −3
𝐷 = 2[ ][ ]
−1 1 5 3
1 10 0 5 0
𝐷= [ ]⇒𝐷=[ ]
2 0 6 0 3
∴ 𝐷 is a diagonal matrix.
1 −1
The eigen values are 5 & 3 whose corresponding eigen vectors are 𝑋1 = [ ], 𝑋2 = [ ]
1 1
Ans : Let 𝑓(𝑥) = 𝑥𝑙𝑜𝑔10 𝑥 − 1.2 = 0, 𝑓(1) = 0, 𝑓(2) = −0.59, 𝑓(3) = 0.23
By intermediate value theorem the root lies between 2 & 3. Let 𝑥0 = 2.5
𝑓(𝑥 )
By Newton’s Method 𝑥𝑛+1 = 𝑥𝑛 − 𝑓′ (𝑥𝑛 ) , 𝑓 ′ (𝑥) = 0.4343 + 𝑙𝑜𝑔10 𝑥
𝑛
20 x y 2 z 17;
3 x 20 y z 18;
2 x 3 y 20 z 25
41 1 √2 2
Find all the eigenvalues and eigenvectors of the matrix = [√2 3 √2] , by Jacobi’s
2 √2 1
method.
1 1
0 − 3 2 0
√2 √2
𝜋 𝜋
Ans : 𝜆 = 5,1, −1, 𝜃 = , 𝑆1 = [ 0 1 0 ] , 𝐵1 = [2 3 0 ] ,𝜃 = 4 ,
4 1 1
0 0 0 −1
√2 √2
1 1 1
1 1 − −
− 0 √2 √2 √2
√2 √2 5 0 0 1 1
𝑆2 = 1 1 , 𝐵2 = [0 1 0 ] 𝑆 = 𝑆1 𝑆2 = 0
0 0 0 −1 √2 √2
√2 √2 1 1 1
[0 0 1] −
[2 2 √2 ]