Numerical Analysis MCQ Quiz - Objective Question with Answer for Numerical Analysis - Download Free PDF
Last updated on Jul 7, 2025
Latest Numerical Analysis MCQ Objective Questions
Numerical Analysis Question 1:
Let f(x) be the polynomial of degree at most 2 that interpolates the data (-1, 2), (0, 1) and (1, 2).
If g(x) is a polynomial of degree at most 3 such that f(x) + g(x) interpolates the data (-1, 2), (0, 1), (1, 2) and (2, 17)
then
Answer (Detailed Solution Below)
Numerical Analysis Question 1 Detailed Solution
Concept:
Polynomial Interpolation:
- A unique polynomial of degree ≤ n passes through (n+1) points.
- We are given that
is degree ≤ 2 interpolating 3 points. - The polynomial
is of degree ≤ 3 interpolating 4 points. - We can compute both
and using interpolation and then evaluate required values.
Calculation:
Given,
From interpolation of
We obtain a cubic polynomial
⇒
⇒
Now evaluate the options:
Option 1:
Option 2:
Option 3:
Option 4:
∴ The correct options are: Option 2 , Option 3 and Option 4.
Numerical Analysis Question 2:
If λ ∈ ℝ and p ∈ ℝ are such that the quadrature formula
is exact for all polynomials of degree as high as possible, then
Answer (Detailed Solution Below)
Numerical Analysis Question 2 Detailed Solution
Concept:
Quadrature Formula and Degree of Exactness:
- A quadrature formula is a numerical method to approximate the definite integral of a function over an interval.
- The degree of exactness of a quadrature formula is the highest degree of polynomial for which the formula integrates exactly.
- Given formula is:
- To determine
and , compare both sides using the Taylor series expansion of around .
Calculation:
Given,
Exact integral of
⇒
Quadrature formula expansion using Taylor series:
Compare coefficients of each term:
For
For
For
⇒
For
⇒
Solving:
From
⇒
Substitute into
⇒
⇒
⇒
⇒
⇒
Substitute back:
Verification of Options:
Option 1:
⇒
Option 2:
⇒
Option 3:
Already verified as 0, not -3. Incorrect
Option 4:
Already verified as 4, not 11. Incorrect
∴ The correct answers are 1 and 2.
Numerical Analysis Question 3:
Let f : ℝ → ℝ be such that
xk+1 = g(xk), k = 0, 1...
where x0 ∈ ℝ. The sequence
Answer (Detailed Solution Below)
Numerical Analysis Question 3 Detailed Solution
Concept:
Fixed Point Iteration Method:
- In numerical analysis, the fixed point iteration method is used to find a solution of the equation x = g(x).
- The method defines a sequence using the recursive formula: xk+1 = g(xk).
- The sequence converges to a fixed point if g(x) is a contraction mapping.
- Contraction Mapping: A function g(x) is a contraction if there exists a constant 0 such that |g(x) − g(y)| ≤ c × |x − y| for all x, y.
- This implies |g'(x)| for convergence.
- Given Functions:
- g(x) = αf(x) + h(x)
- With f(x) being Lipschitz with constant L i.e., |f'(x)| ≤ L
- And h(x) having derivative bound |h'(x)| ≤ 3/4
- Objective: Find the condition on α such that the iteration converges to the solution of x = g(x)
Calculation:
Given,
Lipschitz constant of f(x) = L
Bound on |h'(x)| = 3/4
Function: g(x) = αf(x) + h(x)
Derivative: g'(x) = αf'(x) + h'(x)
⇒ |g'(x)| ≤ |αf'(x)| + |h'(x)|
⇒ |g'(x)| ≤ αL + 3/4
⇒ For convergence, we need |g'(x)|
⇒ αL + 3/4
⇒ αL
⇒ α
∴ The sequence converges to the solution of x = g(x) if α
Numerical Analysis Question 4:
Let
Answer (Detailed Solution Below)
Numerical Analysis Question 4 Detailed Solution
Concept:
Let y' = f(x, y) then using Runge-Kutta method
k1 = hf(x0, y0) and
k2 = h
Explanation:
Given
k1 = hf(x0, y0) = 0.5 × f(0, 1) = 0.5 × 1 = 0.5
k2 = h
= 0.5
= 0.5 × f(0.25, 1.25)
= 0.5 ×
Option (2) and (3) are true.
Numerical Analysis Question 5:
Consider the Newton-Raphson method applied to approximate the square root of a positive number α. A recursion relation for the error en = xn -
Answer (Detailed Solution Below)
Numerical Analysis Question 5 Detailed Solution
Concept:
Iterative formula for NR-method
Explanation
Iterative formula for NR-method
Let f(x) = x3 - α
⇒ f'(x) = 3x2
So, putting in (i) we get
and given en = xn -
hence we get
(2) is correct
Top Numerical Analysis MCQ Objective Questions
Which of the following values of a, b, c and d will produce a quadrature formula
that has degree of precision 3?
Answer (Detailed Solution Below)
Numerical Analysis Question 6 Detailed Solution
Download Solution PDFExplanation:
Given
Let f(x) = 1 then from (i)
⇒ 2 = a + b...(ii)
For f(x) = x ⇒ f'(x) = 1 so from (i)
0 = -a + b + c + d....(iii)
For f(x) = x2 ⇒ f'(x) = 2x so from (i)
and for f(x) = x3 ⇒ f'(x) = 3x2 so from (i)
0 = -a + b + 3c + 3d....(v)
Multiply (iii) by 3 we get
-3a +3b + 3c + 3d = 0...(vi)
Subtract (v) and (vi) we get
2a - 2b = 0 ⇒ a = b...(vii)
Putting a = b in (ii)
2a = 2 ⇒ a = 1
Hence a = b = 1
Putting these values of a and b in (iii) and (iv) we get
c + d = 0 ...(viii) and
2 - 2c + 2d =
2c - 2d =
adding (viii) and (ix) we get
2c =
Hence d = -
Therefore we get a = 1, b = 1, c =
Option (1) is correct
Let f be an infinitely differentiable real-valued function on a bounded interval I. Take n ≥ 1 interpolation points {x0, x1, ....., xn-1}. Take n additional interpolation points
xn+j = xj + ε, j = 0, 1, ....., n - 1
where ε > 0 is such that {x0, x1, ....., x2n-1} are all distinct.
Let p2n-1 be the Lagrange interpolation polynomial of degree 2n - 1 with the interpolation points {x0, x1, ....., x2n-1} for the function f.
Let q2n-1 be the Hermite interpolation polynomial of degree 2n - 1 with the interpolation points {x0, x1, ....., xn-1} for the function f. In the ε → 0 limit, the quantity
Answer (Detailed Solution Below)
Numerical Analysis Question 7 Detailed Solution
Download Solution PDFThe quantity
Option (3) is correct
Consider the linear system 𝑀𝑥 = 𝑏, where 𝑀 =
Suppose 𝑀 = 𝐿𝑈, where 𝐿 and U are lower triangular and upper triangular square matrices, respectively. Consider the following statements:
𝑃: If each element of the main diagonal of 𝐿 is 1, then 𝑡𝑟𝑎𝑐𝑒(𝑈) = 3.
𝑄: For any choice of the initial vector 𝑥(0) , the Jacobi iterates 𝑥(𝑘) , 𝑘 = 1,2,3 … converge to the unique solution of the linear system 𝑀𝑥 = 𝑏.
Then
Answer (Detailed Solution Below)
Numerical Analysis Question 8 Detailed Solution
Download Solution PDFConcept:
A square matrix (aij) is called a diagonally dominant matrix if |aii| ≥
Explanation:
For P,
M =
Let M = LU, where 𝐿 and U are lower triangular and upper triangular square matrices
Each element of the main diagonal of 𝐿 is 1
Let L =
Then
⇒
Comparing both sides
b = 2, c = -1, ab = -4 and ac + d = 3
Substituting b = 2 in ab = -4 we get a = -2
Again substituting a = -2 and c = -1 in ac + d = 3 we get
(-2)(-1) + d = 3 ⇒ 2 + d = 3 ⇒ d = 1
So U =
Hence trace(U) = 1 + 2 = 3
P is TRUE
For Q,
M =
M is not a diagonally dominant matrix as 3
Then HJacobi = D-1(L + U) where
D is diagonal matric ie..e,
So, D-1 =
So HJacobi =
Hence eigenvalues re given by
λ2 - 0λ - 2/3 = 0
⇒ λ =
Since |λ|
Hence for any choice of the initial vector 𝑥(0) , the Jacobi iterates 𝑥(𝑘) , 𝑘 = 1,2,3 … converge to the unique solution of the linear system 𝑀𝑥 = 𝑏.
Q is TRUE
both 𝑃 and 𝑄 are TRUE
(1) is correct
Numerical Analysis Question 9:
Using Euler’s method with the step size 0.05, the approximate value of the solution for the initial value problem
at x = 1.1 (rounded off to two decimal places), is
Answer (Detailed Solution Below)
Numerical Analysis Question 9 Detailed Solution
Concept:
Euler method to solve y' = f(x, y), y(x0) = y0, with step size h is
yn+1 = yn + h.[f(xn, yn)]
Explanation:
x0 = 1, y0 = 1, h = 0.05
x1 = x0 + h = 1 + 0.05 = 1.05
x2 = x0 + 2h = 1 + 2(0.05) = 1 + 0.1 = 1.1
So we need to find y(x2) = y2
y1 = y0 + h. f(x0, y0) = 1 + 0.05 × f(1, 1) = 1.12247
y2 = y1 + h. f(x1, y1) = 1.12247 + 0.05 × f(1.05, 1.12247) = 1.248 ≈ 1.25 rounded off to two decimal places
Hence option (3) is correct
Numerical Analysis Question 10:
Consider the Newton-Raphson method applied to approximate the square root of a positive number α. A recursion relation for the error en = xn -√α is given by
Answer (Detailed Solution Below)
Numerical Analysis Question 10 Detailed Solution
Explanation
Recall: Iterative formula for NR-method
Nos let x = √α ⇒ x2 - α = 0
so assume that f(x) = x2 - α
⇒ f'(x) = 2x
and given en = xn - √α ⇒xn = en + √α
so, by (i)
(3) is correct
Numerical Analysis Question 11:
Let
Answer (Detailed Solution Below)
Numerical Analysis Question 11 Detailed Solution
Concept:
Basic ideas of polynomial .
Calculation:
Given
is exact for all polynomials of degree less than or equal to 2
let f(x) = 1
So from equation (i), we get
2 = a . . . . . . . (ii)
let f(x) = x
now from equation (i) , we get
b + c = 2 . . . . . . (iii)
now adding equation (ii) and (iii) , we get
a + b + c = 2 + 2
a + b + c = 4
Hence option (1) correct
Numerical Analysis Question 12:
Let
Answer (Detailed Solution Below)
Numerical Analysis Question 12 Detailed Solution
Concept:
Let y' = f(x, y) then using Runge-Kutta method
k1 = hf(x0, y0) and
k2 = h
Explanation:
Given
k1 = hf(x0, y0) = 0.5 × f(0, 1) = 0.5 × 1 = 0.5
k2 = h
= 0.5
= 0.5 × f(0.25, 1.25)
= 0.5 ×
Option (2) and (3) are true.
Numerical Analysis Question 13:
Let S denote the set of all 2 × 2 matrices A such that the iterative sequence generated by the Gauss-Seidel method applied to the system of linear equations
Answer (Detailed Solution Below)
Numerical Analysis Question 13 Detailed Solution
We will update the solution later.
Numerical Analysis Question 14:
Let 𝑝(𝑥) = 𝑥3 − 2𝑥 + 2. If 𝑞(𝑥) is the interpolating polynomial of degree less than or equal to 4 for the data
x | -2 | -1 | 0 | 1 | 3 |
q(x) | p(-2) | p(-1) | 2.5 | p(1) | p(3) |
then the value of
Answer (Detailed Solution Below) 2
Numerical Analysis Question 14 Detailed Solution
Concept:
Explanation:
𝑝(𝑥) = 𝑥3 − 2𝑥 + 2
Given
x | -2 | -1 | 0 | 1 | 3 |
q(x) | p(-2) | p(-1) | 2.5 | p(1) | p(3) |
Now, p(-2) = -8 + 4 + 2 = -2; p(-1) = -1 + 2 + 2 = 3
p(1) = 1 - 2 + 2 = 1, p(3) = 27 - 6 + 2 = 23
Then the given data becomes
x | -2 | -1 | 0 | 1 | 3 |
q(x) | -2 | 3 | 2.5 | 1 | 23 |
Then using Lagrange interpolating polynomial
q(x) =
Now,
So,
= -
Hence answer is 2
Numerical Analysis Question 15:
Which of the following values of a, b, c and d will produce a quadrature formula
that has degree of precision 3?
Answer (Detailed Solution Below)
Numerical Analysis Question 15 Detailed Solution
Explanation:
Given
Let f(x) = 1 then from (i)
⇒ 2 = a + b...(ii)
For f(x) = x ⇒ f'(x) = 1 so from (i)
0 = -a + b + c + d....(iii)
For f(x) = x2 ⇒ f'(x) = 2x so from (i)
and for f(x) = x3 ⇒ f'(x) = 3x2 so from (i)
0 = -a + b + 3c + 3d....(v)
Multiply (iii) by 3 we get
-3a +3b + 3c + 3d = 0...(vi)
Subtract (v) and (vi) we get
2a - 2b = 0 ⇒ a = b...(vii)
Putting a = b in (ii)
2a = 2 ⇒ a = 1
Hence a = b = 1
Putting these values of a and b in (iii) and (iv) we get
c + d = 0 ...(viii) and
2 - 2c + 2d =
2c - 2d =
adding (viii) and (ix) we get
2c =
Hence d = -
Therefore we get a = 1, b = 1, c =
Option (1) is correct