Two marks Questions with Answers for Numerical Methods(unit-1)

TWO MARKS QUESTIONS WITH ANSWERS
UNIT-1
1. State the iterative formula for Regula falsi method to solve f  x   0 .
Solution: The iteration formula to find a root of the equation f  x   0 which lies between
x  a and y  b is x1 
af  b   bf  a 
f b  f  a 
.
2. Give an example of a) algebraic b) transcendental equation.
Solution:
a) Algebraic equation: The equation f  x   0 is called Algebraic if f  x  is a polynomial.
Example: (1) x 2  5 x  6  0
(2) x5  x3  3x  3  0
b) Transcendental equation: The equation f  x   0 is called Transcendental if f  x 
contains logarithmic, exponential and trigonometric functions.
Example: (1) cos x  3x 1  0
(2) e x  3x  0
3. Mention the methods to solve the equation which is either, algebraic or transcendental.
Solution:
a) Bisection method
a) Regula Falsi method
b) Iteration method
c) Newton Raphson method.
4. What are the two types of errors involving in the numerical computation?
Solution:
(1) Round off Error
(2) Truncation Error
5. Define Round off Error.
Solution: While dealing with decimal numbers, it is very inconvenient to work with all
decimal places. So we take approximates to facilitate calculation work. These
approximations lead to error in the final result, known as Round off error.
6. Define Truncation Error.
Solution: The error caused by using approximate formula in computations is known as
Truncation Error.
1 1 1
1 1 1
  ........ . If we are writing e  1    (approximately).
1! 2! 3!
1! 2! 3!
Example: e  1  
We get Truncation Error.
7. What is the criterion for the convergence in Newton Raphson method?
Solution: The sequence x1 , x2 , x3 ,.... converges to the exact value if    x   1 .
i.e., if f  x  f   x   f   x  .
2
8. Write the iterative formula of Newton Raphson method.
Solution: The iterative formula of Newton Raphson method is xn 1  xn 
f  xn 
.
f   xn 
9. Show that the iterative formula for finding the reciprocal of N is xn  1  xn  2  Nxn  .
1
1
i.e., N  .
N
x
1
1
Let f  x    N , f   x   2
x
x
Solution: Let x 
f x

n
W.K.T., xn 1  xn  f  x
 n
 1

x N

 xn   n
 1 
 x 2 
1

 xn1  xn  xn 2   N   xn  xn  Nxn 2
 xn

 xn1  xn  2  Nxn  .
10.Derive Newton’s algorithm for finding the p
1
p
th
root of a number N.
Solution: If x  N then x  N  0 is the equation to be solved.
Let f  x   x p  N , f   x   px p1 .
By Newton Raphson method, if xn is the nth iterate then
p
p
f  xn 
xn p  N  p  1 xn  N
xn1  xn 
 xn 

f   xn 
pxn p 1
pxn p 1
11.What is the condition for applying the fixed point iteration method(successive
approximation method) to find the real root of the equation x  f  x  ?
(OR) If g  x  is continuous in a, b , then under what condition the iterative method x  g  x  has
a unique solution in a, b ?
Solution: Let x  r be a root of x  g  x  . Let I be an interval combining the point x  r . If
g   x   1 for all x in I, the sequence of approximation x1 , x2 , x3 ,....xn will converge
to the root r , provided that the initial approximation x0 is chosen in I.
12.What is the order of convergence for fixed point iteration?
Solution: The convergence is Linear and the convergence is of order one.
13.In what form is the coefficient matrix transformed into when AX=B is solved by GaussElimination method.
Solution: Upper Triangular Matrix.
14.In what form is the coefficient matrix transformed into when AX=B is solved by GaussJordan method.
Solution: Diagonal Matrix.
15.State the principle used in Gauss-Jordan method.
Solution: Coefficient matrix is transformed into Diagonal matrix.
16.When Gauss Elimination method fails?
Solution: This method fails if the element in the top of the first column is zero. We can
rectify this by interchanging the rows of the matrix.
17.Write a sufficient condition for Gauss-Seidel method to converge.
Solution: The process of iteration by Gauss-Seidel method will converge if in each
equation of the system, the absolute value of the largest coefficient is greater than
the sum of the absolute values of the remaining elements in that row.
[ i.e., The Coefficient of matrix should be Diagonally dominant].
18.Give two indirect methods to solve a system of linear equations.
Solution: (1) Gauss-Jacobi method
(2) Gauss-Seidal method.
19.Give two direct methods to solve a system of linear equations.
Solution: (1) Gauss-Elimination method
(2) Gauss-Jordan method.
20.Why Gauss-Seidal method is a better method than Jacobi’s iterative method?
Solution: Since the current value of the unknowns at each stage of iteration are used in
proceeding to the next stage of iteration, the convergence in Gauss-Seidal method
will be more rapid than in Gauss-Jacobi method.
21.Solve by Gauss-Seidal method 3x  y  2, x  3 y  2 correct to four decimal places.
Answer: x  1, y  1
22.What do you mean by “Diagonally dominant”?
Solution: A matrix is diagonally dominant if the absolute value of the leading diagonal
element in each row is greater than or equal to the sum of the absolute values of
the remaining elements in that row.
23.Find the inverse of the coefficient matrix by Gauss-Jordan elimination method
5 x  2 y  10, 3x  4 y  12
Answer: A1 
1  4 2
26  3 5 
24.What type of eigen value can be obtained using power method?
Solution: The dominant eigen value can be obtained by power method.
1 2 
25.Find the dominant eigen value of A  
 by power method.
3 4 
0.46 
Answer: The dominant eigen value  5.38 and the corresponding eigen vector  

 1 
26.Determine the largest eigen value and the corresponding eigen vector of the matrix
1 1
1 1 correct to two decimal places using power method.


1
Answer: The largest eigen value = 2 and the corresponding eigen vector   
1

27.How to reduce the number of iterations while finding the root of an equation by Regula falsi
method?
Solution: The number of iterations to get a good approximation to the real root can be
reduced, if we start with a smaller interval for the root.
28.What are the merits of Newton’s method of iteration?
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 functions.
29.Define order of convergence.
Solution: Let x1 , x2 , x3 ,....xn be the successive approximations of the root  of f  x   0 .
Let ei be the error in the root xi , i  1, 2,3,.... .
If  is the exact root, ei  xi   and ei 1  xi 1   .
If p  1 can be found out such that ei 1  ei k where k is a positive constant for
every i, then p is called the order of convergence.
p
Note: If P = 1, the convergence is linear.
If P = 2, the convergence is quadratic.
30.Is the iteration method, a self correcting method always?
Solution: In general, iteration is a self correcting method, since the round off error is
smaller.
31.Explain power method of finding the eigenvalues of a matrix.
Solution: The power method is an iterative technique. The method may not converge very
fast. We can accelerate the convergence as well as get eigenvalues of magnitude
intermediate between the largest and smallest by shifting. The power method with
its variations is fine for small matrices. However, if a matrix has two eigenvalues
of equal magnitude, the method fails in the successive normalization factors
alternate between two numbers. The duplicated eigenvalues in this case is the
square root of the product of the alternating normalization factors. If we want all
the eigenvalues for a larger matrix, there is a better way.
32.Write the types of Pivoting.
Solution: There are two types of Pivoting
(1) Partial Pivoting,
(2) Complete Pivoting.
*******************************************************