AMT_Final
AMT_Final
(b): CH#2(From Lagranges, Newton’s, Least square methods Part only, Applied)
(Hermite’s and Cubic Spline methods are not included)
Note:-
(i): Definition, Derivation and theory are not included in Exam.
(ii): However, all questions from Exercises are all included in Exam, whether their nature is
definition/derivation/theoretical type.
Q#1 (a): The voltage across a resistor is measured with error , and the resistance is measured (06)
with an error . Show that the error in calculating the power generated in the (CLO-2)
resistor is . If can be measured to an accuracy of and to an
accuracy of . What is the approximately possible Percentage Error in .
(b): The pressure drop that occurs when water flows through an orifice meter is measured using a (06)
differential pressure transmitter. The output current is converted to voltage drop by a resister. (CLO-2)
The objective is to correlate the flow rate with the voltage drop . The
following data were collected from an experiment:
3 5 6 9
293 508 585 764
(i): Derive a polynomial passing through these data points using Newton’s Divided interpolation method
(ii): Write Polynomial in simplest form.
(iii): Use this Polynomial to estimate at flow rate.
(iv): Interpret and conclude your results.
Q#2 (a): A slider in a machine moves along a fixed straight rod. Its distance along the rod is (06)
given below for various values of the time Find the velocity of the slider and (CLO-2)
its acceleration when
(i): Write some interesting/scientific/philosophical discussion on you method you have applied.
(ii): List the best conclusions you drawn from your findings.
(b): The speed of an electric train at various times are given in following data: (06)
0 13 33 39.5 40 40 36 15 10
PTO
Q#3: (a): The current in an circuit is given by (06)
{ } (CLO-2)
where is the voltage at time is the resistance, and is the inductance. At time
Compute at using the fourth-order RK-Method. Take
and
b): Discrete Mathematical Modeling of Electrical System leads to the following Nonhomogeneous (06)
Difference Equation of the form: (CLO-2)
Q4: (a): Test the convergence of the following improper integral and give explanation (06)
on your final results. (CLO-1)
i): ∫ . ii): ∫ .
√
(b): The study of some mechanical system leads to the following integral: (06)
1): Express this integral into Elliptic integral (if possible) (CLO-1)
2): Give some scientific explanation (may be physical/mechanical) and concluding remarks.
∫
( )√( )( )
Q#5 (a): Show that does not exist even though this function approaches the same limit (03)
along every straight line through the origin. (CLO-1)
(b): Prove that the function is harmonic. Also find the conjugate harmonic (04)
function “v” and express the corresponding analytic function in term (CLO-1)
of z. .
Q#1 (a): The study of some natural phenomena yield the following Definite Integral: (06)
∫ (CLO-1)
(i): Prove that, this integral can be express in term of the Elliptic Integral as:
{ (√ ) (√ )}
(ii): Give some interesting explanation may be physical/mechanical and concluding remarks
on this equivalency.
(b): The Mathematics/geometry of the certain Applied Mathematical Problems provide the (06)
following Improper integrals: (i): ∫ (ii): ∫ (CLO-1)
{ √ (CLO-1)
(b): The application of Contour Integral is to evaluate of certain type of Definite Integrals. (06)
In view of this definition/application either solve the following integral by some previous (CLO-1)
methods that you know OR by Residue Theorem:
∫
Q#3 (a): The Mathematical modeling of four measurable quantities leads to the following relation: (06)
(CLO-2)
Find an upper limit to the Relative Error in the measurement of
OR
Integration provides a means to compute how much mass enters or leaves a reactor over a specified
time period, as in ∫
where the initial and final times, respectively. This formula makes intuitive sense if you
recall the analogy between integration and summation. Thus, the integral represents the summation
of the product of flow times concentration to give the total mass entering or leaving from .
If the flow rate is constant, Q can be moved outside the integral:
Use numerical integration to evaluate this equation for the data listed below. Note that .
PTO
(b): The following ordinary differential equation(ODE) is used to describe a Population of Fish: (06)
(CLO-2)
Where and are +ve constants; is known as the intrinsic growth constant. It measures the
differences between the birth and death rates per population unit in the absence of overcrowding.
The ratio is called saturation constant. Take and . Use initial condition,
Find , using Modified Euler’s Formula for step size . Compare your
results with the analytical solution of the above differential equation:
Q#4 (a): The Chemical Oxygen Demand(COD) is found to increase downstream a river. The data (06)
collected from the experiment are tabulated below: (CLO-2)
0 1 2 5
2 3 12 147
(i): Design a Mathematical Model through Polynomial using Lagrange interpolation method,
(ii): Write Polynomial in simplest form.
(iii): Use this Polynomial to estimate COD at 3km downstream.
(iv): Interpret and conclude your results.
(b): The following table gives the results of the measurement of Train resistance; is the Velocity (06)
in miles per hours, is the Resistance in pounds per ton: (CLO-2)
10 20 30 40 50
8 10 15 21 30
(i): Use the method of Least square to fit the a curve of the form to the above data.
(ii): Predict at via above relation.
(iii): How do you see this Exponential relation to fitting this data(It is good!).
(iv): Give some suitable remarks on your estimation.
Q#5 (a): The Discrete Mathematical Modeling of Forced Vibrating System of particular oscillation (06)
Phenomena leads to the following Nonhomogeneous Difference Equation of the form: (CLO-2)
(b): A rod is rotating in a plan. The following table given the angle in radian through which the (06)
rod has turned for various values of the time in second. (CLO-2)
0 0.2 0.4 0.6 0.8 1.0 1.2
0 0.12 0.49 1.12 2.02 3.20 4.67
𝟏 𝟏
𝑬𝒂 ≤ 𝟐 × 𝟏𝟎−𝒏 = 𝟎. 𝟓 × 𝟏𝟎−𝒏 (Theorem -1) , 𝑬𝒓 ≤ 𝑲×𝟏𝟎𝒏−𝟏 (𝒏 ≠ 𝟏): (Theorem -2)
𝝏𝒖 𝝏𝒖 ∆𝒙𝒊
𝒖 = 𝒇(𝒙𝟏 , 𝒙𝟐 , 𝒙𝟑 , … , 𝒙𝒏 ) , ∆𝒖 = ∑𝒏𝒊=𝟏 𝝏𝒙 ∆𝒙𝒊 , 𝑷𝒓 = 𝑬𝒓 × 𝟏𝟎𝟎 = ∑𝒏𝒊=𝟏 𝝏𝒙 × 𝟏𝟎𝟎 (General Error Formula)
𝒊 𝒊 𝒖
𝒚(𝒙) = 𝑷(𝒙) = ∑𝒏𝒊=𝟎 𝑨𝒊 (𝒙)𝒚𝒊 + ∑𝒏𝒊=𝟎 𝑩𝒊 (𝒙)𝒚′𝒊 , 𝑨𝒊 (𝒙) = [𝟏 − 𝟐𝑳′ 𝒊 (𝒙𝒊 )(𝒙 − 𝒙𝒊 )][𝑳𝒊 (𝒙)]𝟐 , 𝑩𝒊 (𝒙) = (𝒙 − 𝒙𝒊 )[𝑳𝒊 (𝒙)]𝟐 (Hermite)
𝒑(𝒑−𝟏) 𝒑(𝒑−𝟏)(𝒑−𝟐) 𝒑(𝒑−𝟏)(𝒑−𝟐)…(𝒑−𝒏+𝟏) 𝒙−𝒙𝟎
𝑷(𝒙) = 𝒚𝟎 + 𝒑𝜟𝒚𝟎 + 𝚫𝟐 𝒚𝟎 + 𝚫𝟑 𝒚𝟎 +. . . + 𝜟𝒏 𝒚𝟎 where 𝒑 = (Newton’s Forward)
𝟐! 𝟑! 𝒏! 𝒉
𝒑(𝒑+𝟏) 𝒑(𝒑+𝟏)(𝒑+𝟐) 𝒑(𝒑+𝟏)(𝒑+𝟐)…(𝒑+𝒏−𝟏) 𝒙−𝒙𝒏
𝑷(𝒙) = 𝒚𝒏 + 𝒑𝛁𝒚𝒏 + 𝛁 𝟐 𝒚𝒏 + 𝛁 𝟑 𝒚𝒏 +. . . + 𝛁 𝒏 𝒚𝒏 where 𝒑 = (Newton’s Backward)
𝟐! 𝟑! 𝒏! 𝒉
𝟏 𝟏 𝒉𝟐 𝟏 𝒉𝟐
𝒚(𝒙) = 𝑺(𝒙) = )𝟑
[(𝒙𝒊 − 𝒙 𝑴𝒊−𝟏 + (𝒙 − 𝒙𝒊−𝟏 𝑴𝒊 ] + (𝒙𝒊 − 𝒙) [𝒚𝒊−𝟏 − )𝟑 𝑴𝒊−𝟏 ] + (𝒙 − 𝒙𝒊−𝟏 ) [𝒚𝒊 − 𝑴𝒊 ] (Cubic Spline
𝟔𝒉 𝒉 𝟔 𝒉 𝟔 Formula)
𝟔
𝑴𝒊−𝟏 + 𝟒𝑴𝒊 + 𝑴𝒊+𝟏 = 𝒉𝟐 [𝒚𝒊−𝟏 − 𝟐𝒚𝒊 + 𝒚𝒊+𝟏 ], 𝐢 = 𝟏, 𝟐, 𝟑, … . . , 𝐧 − 𝟏 and 𝑴𝟎 = 𝑴𝒏 = 𝟎
1): Let 𝒚 = 𝒂𝒙 + 𝒃 be the best fit straight line to the data. Then the normal equations are:
2): Let 𝒚 = 𝒂𝒙𝟐 + 𝒃𝒙 + 𝒄 be the best fit parabola. Then the normal equations are:
𝒂 ∑ 𝒙𝟐𝒊 + 𝒃 ∑ 𝒙𝒊 + 𝒏𝒄 = ∑ 𝒚𝒊 , 𝒂 ∑ 𝒙𝟑𝒊 + 𝒃 ∑ 𝒙𝟐𝒊 + 𝒄 ∑ 𝒙𝒊 = ∑ 𝒙𝒊 𝒚𝒊 , a∑ 𝒙𝟒𝒊 + 𝒃 ∑ 𝒙𝟑𝒊 + 𝒄 ∑ 𝒙𝟐𝒊 = ∑ 𝒙𝟐𝒊 𝒚𝒊 (Least Square Formulae for Parabola)
𝒅𝒚 𝟏 𝟏 𝟏 𝟏 𝟏 𝟏
⇒ 𝒅𝒙| = 𝒉
[∆𝒚𝟎 − 𝟐 ∆𝟐 𝒚𝟎 + 𝟑 ∆𝟑 𝒚𝟎 − 𝟒 ∆𝟐 𝒚𝟎 + 𝟓 ∆𝟓 𝒚𝟎 − 𝟔 ∆𝟔 𝒚𝟎 + ⋯ ] (F1X0)
𝒙=𝒙𝟎
𝒅𝟐 𝒚 𝟏 𝟏𝟏 𝟒 𝟓
⇒ |
𝒅𝒙𝟐 𝒙=𝒙𝟎
=
𝒉𝟐
[∆𝟐 𝒚𝒐 – ∆𝟑 𝒚𝒐 +
𝟏𝟐
∆ 𝒚𝒐 − ∆𝟓 𝒚𝒐 … ] (F2X0)
𝟔
𝒅𝟐 𝒚 𝟏 𝟏
⇒ | = [∆𝟐 𝒚−𝟏 − ∆𝟒 𝒚−𝟐 + ⋯ . ] (C2X0)
𝒅𝒙𝟐 𝒙=𝒙𝒐 𝒉𝟐 𝟏𝟐
𝒃 𝒉
∫𝒂 𝒇(𝒙) = 𝟑 [𝒇(𝒙𝟎 ) + 𝟒𝒇(𝒙𝟏 ) + 𝟐𝒇(𝒙𝟐 ) + 𝟒𝒇(𝒙𝟑 ) + 𝟐𝒇(𝒙𝟒 ) + 𝟒𝒇(𝒙𝟓 ) + ⋯ + 𝟐𝒇(𝒙𝟐𝒏−𝟐 ) + 𝟒𝒇(𝒙𝟐𝒏−𝟏 ) + 𝒇(𝒙𝟐𝒏 )] (Simpson 1/3rd Formula)
𝒃 𝟑𝒉
∫𝒂 𝒇(𝒙) = [𝒇(𝒙𝟎 ) + 𝟑𝒇(𝒙𝟏 ) + 𝟑𝒇(𝒙𝟐 ) + 𝟐𝒇(𝒙𝟑 ) + 𝟑𝒇(𝒙𝟒 ) + 𝟑𝒇(𝒙𝟓 ) + 𝟐𝒇(𝒙𝟔 ) + ⋯ + 𝟑𝒇(𝒙𝟐𝒏−𝟐 ) + 𝟑𝒇(𝒙𝒏−𝟏 ) + 𝒇(𝒙𝒏 )](Simpson 3/8th)
𝟖
𝟏
𝒚𝒏+𝟏 = 𝒚𝒏 + 𝟔
(𝒌𝟏 + 𝟐𝒌𝟐 + 𝟐𝒌𝟑 + 𝒌𝟒 ), 𝒏 = 𝟎, 𝟏, 𝟐, (RK-Methods of 4th order)
𝒉 𝒌𝟏 𝒉 𝒌𝟐
where, 𝒌𝟏 = 𝒉𝒇(𝒙𝒏 , 𝒚𝒏 ), 𝒌𝟐 = 𝒉𝒇(𝒙𝒏 + , 𝒚𝒏 + ) , 𝒌𝟑 = 𝒉𝒇(𝒙𝒏 + , 𝒚𝒏 + ) , 𝒌𝟒 = 𝒉𝒇(𝒙𝒏 + 𝒉, 𝒚𝒏 + 𝒌𝟑 )
𝟐 𝟐 𝟐 𝟐
2):Difference Equations:-
𝟏 𝟏 𝒆∓𝒊𝒂 +𝒃
𝑪𝒐𝒔𝒃𝒌 = 𝑹𝒆(𝒆𝒊𝒃𝒌 ), 𝑺𝒊𝒏𝒃𝒌 = 𝑰𝒎(𝒆𝒊𝒃𝒌 ) , 𝒆±𝒊𝒂 +𝒃
= 𝒆±𝒊𝒂 +𝒃 × 𝒆∓𝒊𝒂 +𝒃,
𝒌(𝒏) = 𝒌(𝒌 − 𝒉)(𝒌 − 𝟐𝒉)(𝒌 − 𝟑𝒉) … . [𝒌 − (𝒏 − 𝟏)𝒉] (Factorial Formula) (i): 𝒌(𝟏) = 𝒌 (i): 𝒌(𝟐) = 𝒌(𝒌 − 𝟏) = 𝒌𝟐 − 𝒌
(i): ∆𝒌(𝒏) = 𝒏𝒌(𝒏−𝟏) (Derivative Formula) (ii): ∆𝒏 𝒌(𝒏) = 𝒏! (Power Formula) (iii): ∆𝒏+𝟏 𝒌(𝒏) = 𝟎 (Zero Formula)
𝟏 𝟏
1): (𝟏 − 𝒙)−𝟏 = 𝟏−𝒙 = 𝟏 + 𝒙 + 𝒙𝟐 + 𝒙𝟑 + ⋯ … 2): (𝟏 + 𝒙)−𝟏 = 𝟏+𝒙 = 𝟏 − 𝒙 + 𝒙𝟐 − 𝒙𝟑 + ⋯ …
𝝎 = 𝒖(𝒙, 𝒚) + 𝒊𝒗(𝒙, 𝒚) = 𝒖 + 𝒊𝒗 , 𝐥𝐢𝐦 𝒇(𝒛) = 𝒇(𝒛𝒐 )[𝐢. 𝐞. 𝐥𝐢𝐦𝐢𝐭 = 𝐯𝐚𝐥𝐮𝐞 𝐨𝐟 𝐭𝐡𝐞 𝐟𝐮𝐧𝐜𝐭𝐢𝐨𝐧](Definition of Continuity)
𝒛→𝒛𝒐
𝝏𝒖 𝝏𝒗 𝝏𝒖 𝝏𝒗 𝒅𝝎 𝒅𝒇(𝒛) 𝝏𝒖 𝝏𝒗
= , =− ⇒ 𝒖𝒙 = 𝒗𝒚 , 𝒖𝒚 = −𝒗𝒙 (CR-Equations) , = = 𝒇′ (𝒛) = +𝒊 = 𝒖𝒙 + 𝒊𝒗𝒙 (Derivative Formula)
𝝏𝒙 𝝏𝒚 𝝏𝒚 𝝏𝒙 𝒅𝒛 𝒅𝒛 𝝏𝒙 𝝏𝒙
𝝏𝒖 𝟏 𝝏𝒗 𝝏𝒖 𝝏𝒗 𝒅𝝎 𝒅𝒇(𝒛) 𝝏𝒖 𝝏𝒗
𝝎 = 𝒇(𝒛) = 𝒖(𝒓, 𝜽) + 𝒊𝒗(𝒓, 𝜽) = 𝒖 + 𝒊𝒗 , 𝝏𝒓 = 𝒓 𝝏𝜽 , 𝝏𝜽 = −𝒓 𝝏𝒓 (CR-Eq. in Polar), 𝒅𝒛 = 𝒅𝒛
= 𝒇′ (𝒛) = 𝒆−𝒊𝜽 ( 𝝏𝒓 + 𝒊 𝝏𝒓) = 𝒆−𝒊𝜽 (𝒖𝒓 + 𝒊𝒗𝒓 )
𝝏𝒖 𝝏𝒖
𝒗 = ∫ 𝒅𝒗 = − ∫ 𝒅𝒙 + ∫ 𝒅𝒚 + 𝒄
𝝏𝒚 𝝏𝒙
𝒚−𝒄𝒐𝒏𝒔𝒕𝒂𝒏𝒕 𝑫𝒆𝒍𝒆𝒕𝒆 𝒙−𝒕𝒆𝒓𝒎𝒔
1): |𝒛 − 𝒂| = 𝒓, represents a circle with center (𝒂, 𝟎) and radius is 𝒓, in complex plane.
Residue theorem:-
CHAPTER # 1
ERROR ANALYSIS
&
DIFFERENCE OPERATORS
CHAPTER # 1
PART-I: ERROR ANALYSIS
1.1 Nature or types of errors:-
The problems in applied mathematics, engineering and sciences ultimately converge to the
problems for finding the numerical results or numbers satisfying some kind of equations
under prescribed data. The checking procedures are adopted to eliminate all mistakes
whether these are human, due to the computer or technical, due to the calculating device.
Even when all such mistakes have been eliminated from a computation, the solution is not
generally exact on account of inherent errors of various types. The error in numerical
computation can enter in three different ways:
1): Inherent or propagation error,
2): Truncation errors,
3): Round-off errors.
1.1.1 Inherent Errors (Propagation or inherited errors):-
( )
( )
Then , the remainder after terms (from Maclaurin’s theorem), constitute the
truncation error given by
( ) ( )
Example #2:-
Let ( ) be a continuously differentiable function in the domain. Then by definition
of derivative, we have
( ) ( )
( )
( ( ))
( )
So, if we write
( ) ( )
( )
( ) ( )
( ) ( )
Significant Figures
Numerical Value Significant Figures
Rule-3:- If zeros are not between non-zero digits, then they are not significant:
Miscellaneous Examples:-
Example # 1:-
Consider almost two equal numbers of eight significant figures as and
, then
Now it is clear that has only two significant figures namely and .
Therefore losses six significant digits though and are both of eight significant
digits. If this value of be used in further computation the subsequent result must be
affected by a serious amount of errors.
Example #2:-
As another example, we consider a function
( )
( )
( )
( )
( )
From above two calculations, it is clear that the error in computed value of ( ) occur in
the significant digit corresponding to the error in at the place. This error ccurs
due to the loss of significant figures.
1.3.2 Remarks:-
In modern arithmetical computation, the following rules should be followed.
1): For addition:-
a): The numbers which are least number of correct significant figures should be kept
unchanged.
b): The rest numbers should be rounded-off to one or two decimal places relative to those
which are least number of correct significant figures.
c): Then the number so obtained be added and then rounded-off the added number by
retaining as many significant figures as there are in the least accurate number among the
given numbers.
Solution:-
The least accurate numbers are Rounding-off the remaining numbers
to two decimal places, we have
Example # 2:-
Subtract the approximate number from .
Solution:-
We first round-off the number correct to two decimal places, then
Example # 3:-
Find the Product of
Solution:-
We have:
× ×
| |
| |
| |
Example:-
If , then its 3-Decimal Places Round-off number is
( )
( )
This Example yields that in general the 3 Decimal Places Round-off number is NOT equal
to 3 Significant Digits Round-off number.
Theorem - 1:-
If is a true number and its -Decimal Places Rounding-off number is (
| |) the Absolute Error is given by
Theorem - 2:-
If is a true number and its -Significant Digits Rounding-off number is (
| | ) the Relative Error is given by
( )
where is the First Significant Digit in the number (either in true or approximate
number ).
Note:-
1): ( ) 2): ( ) 3): ( ) 4): ( )
Example # 1:-
Let a number be rounded to correct to decimal places, then
absolute error is
Verification:-
From theorem -1, we have (here ):-
) | | | |
Verification:-
From theorem – 1, we have (here ): -
Solution:-
a): Here
Thus, by theorem -1, the Approximate number is correct to three decimal places is
. Thus, the number of significant figures in is 4.
c): Here
Thus, by theorem – 1 the number is correct to two decimal places. Hence the number of
significant figures is two.
Example # 4:-
If and be the absolute error in and , find the
( )
Example # 5:-
If ( ) , find the Percentage Error in at , if the error in is
Solution:-
We have
( )
At and , we have
( ( ) )
and
( ) ( )
Thus, percentage error in is (note that we are interested in only quantity of error.
| | | |
Example # 6:-
If ( ) , find the relative and percentage error in ( ) for , if error
in .
Solution:-
The error in computation of ( ) is given by
( ) ( )
( )
( ) ( )
At , the absolute error is computation ( )
( ) ( ( ) )
and
( ) ( ) ( ) at
Example #7:-
The exponential function ( ) can be expand as
( )
Find , the number of terms, such that their sum yields the value of correct to 8 decimal
places at .
Solution:-
The error term (i.e., remainder term): is given by
The least value of the that satisfy above equation is Thus, we need to take
terms of the exponential series in order that its sum is correct to decimal places.
With the help of total differential coefficient, we can calculate change, error, accuracy and
increment etc. For example in the language of Error analysis, we can write it as:
( )
Example # 8:-
Solution:-
We have given
and
where,
Then
In general, the error and may be or , and hence, we take the absolute
values of the terms on right side and using
(| | | | | | | | | | | || || |).
This gives
| | | |
| | | | | |
At and we have
( )
Since
( )( )
Example # 9:-
If the kinetic energy , find the Maximum Error and Percentage Error in as
changes from 49 to 49.5 and changes from to .
Solution:-
We have given
and
( ) ( )
In general, the error and may be or , and hence, we take the absolute
values of the terms on right side and using
(| | | | | | | | | || |).
This gives
| | |( ) ( ) |
|( ) | |( ) |=|( )| | | |( )|| |
( )
|( )| | | |( )( )||( )|
and
( )( )
Example # 10:-
The power required to propel a ship of length with a velocity is given by
where is constant. Find the Percentage Error in Power if percentage error in
velocity is and in length is .
Solution:-
We have given
, and
Absolute Error in as
( ) ( )
( ) ( )
( ) ( )
Example # 11:-
If , find the Maximum Percentage Error in when error in
respectively are equal to .
Solution:-
We have given
and .
where,
Then
In general, the error and may be or , and hence, we take the absolute
values of the terms on right side and using
(| | | | | | | | | | | || || |).
This gives
| | | |
| | | | | |
At and we have
( )( )( ) ( )( )( ) ( )( )( )
* +( ) * +( )* +( )
( )( ) ( )( ) ( )( )
and
( )( )( )
Example # 12:-
Find the possible Percentage Error in computing the parallel resistance of these resistance
from the formula . If are each in the error by plus .
Solution:-
We have given
Since
( ) ( )
Similarly, we get
Then
( ) ( ) ( ) ( )
( ) ( ) ( ) ( )
( ) ( )( )
( ) ( )
Example # 13:-
The voltage across a resistor is measured with error , and the resistance is measured
with an error . Show that the error in calculating the power generated in the
resistor is ( ). If can be measured to an accuracy of and to an accuracy
of . What is the approximately possible Percentage Error in .
Solution:-
We have given
Since we have
( )
( )
( )
Question # 14(HW):-
The Deflection at the centre of a road of length and the diameter of supported at its
ends and loaded at the centre with a weight varies as
( ).What is the Percentage
Error in the deflection corresponding to the percentage error in and of and
respectively.
Answer:-
Question # 15(HW):-
The diameter and altitude of a can in the shape of a right circular cylinder are measured as
and respectively. The possible error in each measurement is . Find
approximately the Maximum Percentage Error in the computed value for the Volume and
the Lateral Surface. (Note:- )
Answer:-
.
( )
| |
( ) ( )
| |
( )
| ( )
|
Since
( ) ( )
( )
( )
( )
| |
( )
A large value of the condition indicates that ( ) is highly sensitive near , and it is termed
ill-condition.
Note that a function may be ill-condition near a particular point but well-conditioned at
other points.
Example #1:-
The function ( ) , is ill-conditioned near and well-conditioned at .
At :-
Since ( ) then
( )
| | | | | |
( )
| | | | | |
( ) ( )
At :-
We have
| | | | | |
( ) ( )
Example #2:-
Check whether ( ) and ( ) are well-conditioned or ill-conditioned at
and
Solution:-
1): For ( ) :-
We have ( ) , then
( )
| | | |
( )
| |
At :-
At , form therefore apply L’hopital theorem, we get
| | | |
| | | |
Hence ( ) is well-conditioned at .
At :-
| | | |
Hence ( ) is well-conditioned at
2): For ( ) :-
We have ( ) , then
( )
| |
( )
( )
| | | |
| |
At :-
| |
Hence ( ) is well-conditioned at
At :-
| |
Hence ( ) is ill-conditioned at .
An algorithm for solving a problem is a finite sequence of simple instruction which, when
followed yields the solution of the problem.
1. Start/End
2. Process or
task
3.
Decision
s
Input/
4.
Output
5. Sequence
Example #1:-
Given a real number , to compute the absolute value | |.
Solution:-
Algorithm: Absolute Value Computation:-
Input :
Output : | |
Method :
1. Test if true, then , terminate.
Otherwise
2.
Start
Input 𝒙
NO YES
𝒙 𝟎
𝑬 𝒙 𝑬 𝒙
Print 𝑬
End
Example # 2:-
“Input Output flow chart”
Start
Input
Temp
NO YES
Temp 𝟑𝟐
End
Example #3:-
“Order Processing”
Start
Receive order
via e-mail
Shipping YES
involved
Print invoice
NO and UPS lable.
End
CHAPTER # 1
PART-II: DIFFERENCE OPERTORS
1.6.1 Introduction:-
Let us consider a function ( ) , defined in . Let us consider the consecutive
values of differing by equal length i.e.
OR
( ) ( )
( ) ( )
( ) ( )
( ) ( ( ) )
( ) ( )
Then the values of are called the arguments or nodes and the values of the function
( ) corresponding to the arguments are called entries. Let the following data, we
have given:
“Table of values”
. .
. .
. .
( ) ( ) ( ) ( ) . ( ) . ( ) ( ) ( )
. .
. .
(What about )
The second order forward difference operator is defined by:
In the same way, the order forward difference operator is defined as follows:
In general,
Important Note:-
In forward difference table the upper diagonal is conserved/constant with respect to initial
value
Example #1:-
Construct forward difference table for the following data:
( )
Solution:-
“Forward difference table”
Example #2:-
Express and , in terms of the value of the function .
Solution:-
We have
( ) ( )
( )
and
( ) ( )
( ) ( ) ( ) ( )
( )
( ) ( ) ( ) ( )
where
( )
( )
(What about )
In general,
Important note:-
In forward difference table the lower diagonal is conserved/constant with respect to final
value .
Example #1:-
Construct backward difference table for the following data:
( )
Solution:-
“Backward difference table”
Example#2 (H.W):-
Construct:
a): Forward difference table for:
( )
b): Backward difference table for:
( )
=
Similarly, higher order central differences are defined as follows:
= -
= -
. .
=
( ) ( ) ( ) ( )
( ) ( ) ( ) ( )
( ) ( )
( ) ( )
In general
( ) ( )
We have
( ) ( ) ( )
, ,…, =
And
, and so on.
The inverse operator is defined as:
( ) ( )
and
( ) ( )
( ) [ ( ) ( )]
Similarly,
( ) [ ( ) ( )]
( )
( ) ( )
( )
( ) ( )
( )
( ) ( )
( ) ( )
( )
( ) ( ) ( ) ( )
Examples:-
Differential and integral operators are linear. Since
( ) ( )
1): ( ) ( ) +
) ∫ ( ) ( ) ∫ ( ) + ∫ ( )
( ) ( ) ( ) ( )
( ) ( ) ( )
( ) ( ) ( )
( ) ( ) ( )
Thus
We have
( ) ( ) ( )
( ) ( ) ( )
( ) ( ) ( )
Thus,
( ) ∫
( )
( )
( ) ( ) ( )
( ) ( ) ( )
( ) ( ) ( )
Thus
Now
( )
and
( )
Hence
( ) [ ( ) (( )]
( ) [ ( ) ( )]
( ) [ ] ( )
Thus
[ ]
( )
( ) ( )
And so on.
Using Taylor’s series expression, we have
( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( )
( ) ( )
( ) * + ( )
( ) ( )
Thus
Again
( )
Now consider,
( )
Since ( )
* +
Example# 1:-
Prove that:
( ) ( )
Proof:
We know that:
( )
Hence
( )
Now
[ ][ ]
( )
( )
( )
Hence
( ) ( )
Example # 2:-
Show that the operators and are Commutative.
Proof:-
By the definition of operators and , we have
[ ] ( )
( ) * ( ) ( )+
While
[ ] [ ] ( )
Thus
Example # 3:-
Prove that:
) ( )
) √
Proof (1):-
By the definition of operators, we have
[ ][ ]
Therefore
1+( ) ( ) 1+ ( )
( ) ( )
Now, consider
1+ ( )
( )
( ) ( ) ( )
( )
Proof (2):-
( ) ( )
Proof (3):-
( ) √ ( )
( )
( )√
√( )
( )
( )( )
Hence
Proof 4):-
We have
( )( )=
( ) * +
Proof (5):-
We have
( )( )=
( ) ( )
( ) ( )
Example # 4:-
Find:
)
)
Proof (a):-
By definition of forward operator, we have
( )
[ ]
Proof (b):-
By definition of forward operator, we have
( )
Since * +
[ ]
( )
[ ]
Example # 5:-
Evaluate (taking 1 as the interval of differencing):
) [ ]
) [ ]
Solution (a):-
( ) ( )
[ ] [ ]
( )( )
[ ] [ ]
[ ] [ ] [ ]
[ ] [ ] [ ]
[ ] [ ]
( ) ( ) ( )( )
Solution (b):-
By the definition of forward operator, we have
[ ]
( )
Then
[ ]
( )( ) ( )
[ ]
( )( ) ( )
( )
[ ]
( )( )
( )
[ ]
( )( ) ( )
Example # 6:-
Evaluate:
( )
Solution:-
Let be the interval of differencing, then
( ) ( )
( ) ( )
( ) ( )
( ) ( )
( )
( ) ( ) ( )
( )
( )
Note:-
If , then
( )
Example # 7:-
Prove that: ( ) ( ) ( ) ( ) ( )
Proof:-
By the definition of forward operator, we have
( ) ( ) ( )
( ) ( ) ( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( ) ( )
Hence
( ) ( ) ( ) ( ) ( )
Example # 8:-
Given . Find
Solution:-
We have
( )
[ ( ) ( ) ( ) ]
Example # 9:-
Given Find
Solution:-
We have
( )
[ ( ) ( ) ( ) ( ) ]
[ ]
Hence
Example # 10:-
Prove that:
) ( ) ( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( ) ( )
) [ ]
( ) ( ) ( )
Proof (a):-
By the definition of forward operator, we have
( ) ( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )
Hence
( ) ( ) ( ) ( ) ( ) ( )
Proof (b):-
( ) ( ) ( )
[ ]
( ) ( ) ( )
( ) ( ) ( ) ( ) ( )
[ ]
( ) ( ) ( )
( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )
[ ]
( ) ( ) ( )
( ) ( ) ( ) ( ) ( ) ( ) ( )
[ ]
( ) ( ) ( )
Hence
( ) ( ) ( ) ( ) ( )
[ ]
( ) ( ) ( )
EXCERCISE -1
Question # 1:-
Round off the following numbers correct up to 4-significant figures:
a): 2.56235 b): 0.34026 c): 4.50089
d): 0.000243468 e): 2456.782 f): 1.3456
g): 2.5555 h): 8.0008
Answer:-
a): 2.562 b): 0.3403 c): 4.501
d): 0.0002435 e): 2457 f): 1.346
g): 2.226 h): 8.001
Question # 2:-
Round-off the following numbers correct up to 3-decimal places
a): 2.46289 b): 0.46999 c): 0.0035869
d): 0.0015 e): 1.46294 f): 1.35008
Answer:-
a): 2.463 b): 0.470 c): 0.004
d): 0.002 e): 1.463 f): 1.350
Question # 3:-
The following numbers are correct up to last digit. Find the sum
a): 1.3526, 2.00462, 1.532, 28.201, 31.0012
b): 0.532, 7.46571, 1.501, 3.62102
c): 5.2146, 20.12, 11.2356, 1.8948
Answer:-
a): 64.091 b): 13.120 c): 38.46
Question # 4:-
If are true value, approximate value, absolute error, relative error
and percentage error respectively:
a): Given . Find
Answer:-
a): ,
b):
c):
Question # 5:-
Find the Relative Error in computation of for having
absolute errors respectively.
Answer:-
Question # 6:-
If 5/6 be represented approximately by 0.8333, find
a): Absolute error
b): Relative error
c): Percentage error and also verify theorem-1 and theorem-2.
Answer:-
.00004,
Question # 7:-
Find the Relative Percentage Error in approximate representation of 4/3 by 1.33.
Answer:-
Question # 8:-
Let a number 345.26132 be rounded to 345.261 correct to 3-decimal places, then find
1): Absolute error
2): Relative error
3): Percentage errors and also verify theorem-1 and theorem-2.
Answer:-
Question # 9:-
Write down the approximate representation of 2/3 correct to 4 significant figures and then
find:
1): Absolute error
2): Relative error
3): Percentage error and verify theorem-1 and theorem-2
Answer:-
Question # 10:-
Find the number of Significant Figures in:
a): given its absolute error as
b): given its relative error as
c): given its absolute error as
Answer:-
a): 4-significant figures
b): 4-significant figures
c): 2-significant figures
Question # 11:-
If be the absolute error in , find the
Relative Error in computation of .
Answer:-
Question # 12:-
Determine the number of correct Significant Digits in the numbers given its absolute
error
a):
b):
c):
Answer:-
a): 2
b): 3
c): 4
Question # 13:-
Determine the number of correct digits in the number given its relative error
a):
b):
c)
Answer:-
a): b): c):
Question # 14:-
Find the number of Significant Figures in , given its relative error as
.
Answer:-
3-signifcant figures
Question # 15:-
If , find the Percentage Error in at if the error in is
Answer:-
Question # 16:-
If ( ) , find the Relative Percentage Error in ( ) for if error in
Answer:-
Question # 17:-
Answer:-
Question # 18:-
Question # 19:-
If the kinetic energy , find the Maximum Error and Percentage Error in as
changes from 49 to 49.5 and changes from to .
Answer:-
Error in
Question # 20:-
The power required to propel a ship of length with a velocity is given by
where is constant. Find the Percentage Error in Power if percentage error in
Answer:-
Percentage increase in =
Question # 21:-
Suppose is a function of five different measurable quantities and is given by
| | | | | | | | | |
Question # 22:-
The exponential function ( ) can be expanded as
( )
Find , the number of terms, such that their sum yields the value of correct up to 9
decimal places at .
Answer:-
We need to take terms of the exponential series in order that its sum is correct to 9
decimal places.
Question # 23:-
Check whether the function ( ) is well-conditioned or ill-conditioned at and
⁄
Answer:-
At :-
At
Question # 24:-
Answer:-
For ( ) :-
Well-conditioned at and
Well-conditioned at
For ( ) :-
Well-conditioned at and
Ill-conditioned at
Question # 25:-
Write:
1): Algorithm
2): Draw flow charts for each of the following:
a): Absolute value computation
b): Input and output flow chart
c): Order processing
Question # 26:-
Draw a flow chart of (Factorial):
Answer:-
“Flow chart of Factorial”
Question # 27:-
Draw a flow chart of software development.
Answer:-
Flow chart of software development
Question # 28:
Draw a flow chart of “Accounts Receivable.”
Answer:
“Flow chart of Accounts Receivable”
Question # 29:-
Construct:
a): Forward difference table for:
0 2 4 6 8
( ) 40 51.68 67.04 86.56 110.72
10 20 30 40 50
( ) 1 1.3010 1.4771 1.6021 1.6990
Question # 30:-
Construct:
0 1 2 3 4 5 6
( ) 0 7 26 63 124 342 511
Question # 31:-
Construct:
a): Forward difference table for:
Question # 32:-
Express and in terms of the values of the function
Answer:-
Question # 33:-
Express and in terms of the values of the function .
Answer:-
Question # 34:-
Prove that:
a):
)
) ( ) ( )
Question # 35:-
Show that the operator and Commute.
Question # 36:-
Prove that:
a): 1+ ( )
) √
) ( )( )
)
Question # 37:-
Prove that:
)
) √
) ( ) ( )
) +
) ( )
)
)
Question # 38:-
Prove that:
) ( )
) ( )
Question # 39:-
Evaluate:
) ( )
) ( )
)
) [ ]
Answer:-
) ( )
)
( ) ( )
) ( )
) ( )
Question # 40:-
Prove that:
) ( ) ( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( ) ( )
) * +
( ) ( ) ( )
( )
) [ ]
( ) ( ) ( )
) ( ) ( ) taking
Question # 41:-
Prove that:
) √
√
) ( )
Question # 42:-
Evaluate (Taking 1 as the interval of differencing):
a): * +
) [ ]
Answer:-
) [ ]
( ) ( ) ( ) ( )
( )
) [ ]
( )( ) ( )
Question # 43:-
Evaluate: ( )
Answer:-
( )
Question # 44:-
Prove that: ( ) ( ) ( ) ( ) ( )
Question # 45:-
Given . Find
Answer:-
Question # 46:-
Given Find
Answer:-
Question # 47:-
Taking 1 as the interval of differencing, Prove that:
( )
Question # 48:-
Given: , , , and .
Show that .
Question # 50:-
If ( ). Find the Percentage Error in at , if the percentage error in is .
Answer:-
Question # 51:-
The error in the measurement of the Area of the circle is not allowed to exceed . How
accurately should the Diameter be measured?
Answer:-
Question # 52:-
If , find the Maximum Percentage Error in when error in
respectively are equal to .
Answer:-
Question # 53:-
If and error in are respectively, at
. Calculate the Absolute and Percentage Error in the calculation of it.
Answer:-
Question # 54:-
Find the number of terms of the Exponential Series such that their sum gives the value of
correct to decimal places for all the value of in the range .
Answer:-
The number of terms in the exponential series should be
Question # 55:-
Find the possible Percentage Error in computing the parallel resistance of these resistance
from the formula . If are each in the error by plus .
Answer:-
Question # 56:-
The Deflection at the centre of a road of length and the diameter of supported at its ends
and loaded at the centre with a weight varies as
( ).What is the Percentage
Error in the deflection corresponding to the percentage error in and of and
respectively.
Answer:-
Question # 57:-
The Power dissipated in a resistor is given by . Find the Percentage Error in when
percentage error in is and is .
Answer:-
.
Question # 58:-
The diameter and altitude of a can in the shape of a right circular cylinder are measured as
and respectively. The possible error in each measurement is . Find
approximately the Maximum Percentage Error in the computed value for the Volume and
the Lateral Surface. (Note:- )
Answer:-
.
Question # 59:-
In determining the Specific Gravity by the formula , where is the weight in air and
is the weight in water. can be read within and within . Find the
Maximum Error in if the error are and .
Answer:-
.
Question # 60:-
The voltage across a resistor is measured with error , and the resistance is measured
with an error . Show that the error in calculating the power generated in the
Question # 61:-
Find the possible Percentage Error in computing parallel resistance of two resistance
and from the formula , where and are both in error by each.
Answer:-
( )
( ) ( )
| |
| |
| |
Theorem - 1:-
If a number be rounded to decimal places, the absolute error is given by
Theorem - 2:-
If a number be rounded to correct significant figures, then the relative error is given by
( )
( )
Note:-
1): | | | | | | | |
2): | | | || || |
Numerical stability & ill-condition:-
Well-conditioned or stability:-
A problem is well- conditioned if small errors in the data produce small errors in the
solution.
Ill-conditioned or instability:-
A problem is well- conditioned if small errors in the data produce large errors in the
solution.
The condition:-
( )
| |
( )
Algorithms:-
An algorithm for solving a problem is a finite sequence of simple instruction which, when
followed yields the solution of the problem.
Flow charts:-
Graphical or diagrammatic representation of an algorithm is a flow chart, which its
representation in a programming language is a program.
Difference Operators:-
= Increase-Copy
= Copy-Decrease
( ) ( ) ( ) ( )
( ) [ ( ) ( )]
( ) ( )
( )
Properties of Operators:-
1): Linear Property
2): Distributive over addition property
( )
[ ]
* +
Deadline:
The day completion of CH#1 + 2 DAYS(MAX. SUNDAY 3rd WEEK)
SEMESTER ASSIGNMET
FROM CHPTER#1
1): FOR GROUP A:-
Solve the following Problems:-
Q#: 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 49, 53, 57, 61.
2): FOR GROUP B:-
Solve the following Problems:-
Q#: 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58.
3): FOR GROUP C:-
Solve the following Problems:-
Q#: 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 51, 55, 59.
4): FOR GROUP D:-
Solve the following Problems:-
Q#: 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60.
CHAPTER # 2
INTERPOLATION
&
CURVE FITTING
CHAPTER # 2
PART-I: INTERPOLATION
2.1 Introduction:-
In this chapter we will discuss the problem of approximating a given function by a class of
simpler function especially polynomial. Let us suppose a function ( ) ( ) is not
known explicitly and only the values of ( ) at a set of points are known.
Let ( ) is known at the distinct points , , ,...., i.e.
“Table of values”
2.1.1 Interpolation:-
Interpolation is the process of finding the value of a function for any value of argument or
independent variable in an interval ( )
Thus interpolation is the art of reading between the lines in a given table.
2.1.2 Extrapolation:-
Extrapolation is the process of finding the value of a function outside an interval
( )
2.1.4 Theorem:-
Let ( ) ( ) be known at the distinct points . Then there exists a unique
polynomial ( ) of degree less than or equals to and satisfying the condition:
( ) ( )
( ) ( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ∑ ( )
( )( ) ( )( ) ( )
( ) [ ( )]
( )( ) ( )( ) ( )
Example # 1:-
Determine the Lagrange’s interpolation polynomial for the data:
( ) 5
Solution :-
The Lagrange’s interpolation polynomial formula of degree at most 2 is given by (here
):
( ) ( ) ( ) ∑ ( )
( ) ( ) ( ) ( ) ( ) ( ) ( )
Now
( )( ) ( )( )
( ) = = ( )
( )( ) ( )( )
( )( ) ( )( )
( ) = = ( )
( )( ) ( )( )
( )( ) ( )( )
( ) = ( )
( )( ) ( )( )
( ) ( )( ) ( )( ) ( )( )
( ) ( )
( ) ( ) ( ) ( ) ( )
Example # 2:-
Find the missing value from the following data using Lagrange’s interpolation formula:
( ) ( )
Solution:-
Consider the following data:
( ) ( )
( ) ( ) ( ) ∑ ( )
( ) ( ) ( ) ( ) ( ) ( ) ( ) (1)
Now
( )( )( ) ( )( )( )
( )
( )( )( ) ( )( )( )
( ) ( )
( )( )( ) ( )( )( )
( ) ( )
( )( )( ) ( )( )( )
( )( )( ) ( )( )( )
( ) ( )
( )( )( ) ( )( )( )
( )( )( ) ( )( )( )
( ) ( )
( )( )( ) ( )( )( )
( ) ( ) ( )( ) ( )( )
( )( )
( ) ( )
Hence
( ) ( ) ( ) ( ) ( ) ( )
Example # 3:-
Find ( ) using Lagrange’s interpolation polynomial:
( )
Solution:-
The Lagrange’s interpolation polynomial formula of degree at most 3 is given by (here
):
( ) ( ) ( ) ∑ ( )
( ) ( ) ( ) ∑ ( ) ( ) ( ) ( ) ( ) (1)
Now
( )( )( ) ( )( )( )
( ) = =
( )( )( ) ( )( )( )
( )( )( ) [ —( )]( )( )
( ) = =
( )( )( ) , ( )-( )( )
( )( )( ) [ —( )]( )( )
( ) = =
( )( )( ) , ( )-( )( )
( )( )( ) , —( )-( )( )
( ) = =
( )( )( ) , ( )-( )( )
( ) ( ) ( ) ( )( ) ( )( ) ( )( ) ( )( )
Let ( ) and ( ) are known at the distinct points i.e there are ( )
points are given as in the following table:
“Table of values”
…
( ) ( ) …
( ) ( ) …
( ) ( ) ( ) ∑ ( ) ∑ ( )
where
( ) , ( )( )-, ( )-
( ) ( ), ( )-
Example # 1:-
Using Hermite’s interpolation formula find ( ) ( ), and obtain ( ) and
( ) from the following table:
( )
( )
Solution:-
The Hermite’s interpolation polynomial formula of degree at most 5 is given by (here
)
( ) ( ) ( ) ∑ ( ) ∑ ( )
where
( ) , ( )( )-, ( )-
( ) ( ), ( )-
we have:
( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )
( ) (1)
( ) , ( )( )-, ( )-
( ) , ( )( )-, ( )-
( ) , ( )( )-, ( )-
( ) ( ), ( )-
( ) ( ), ( )-
( ) ( ), ( )-
( )( ) ( )( )
( ) ( )
( )( ) ( )( )
( ) ( ) ( ) ( )
( )( ) ( )( )
( )
( )( ) ( )( )
( ) ( ) ( )
( )( ) ( )( )
( ) ( )
( )( ) ( )( )
( ) ( ) ( ) ( )
( ) ( )
( ) [ ( )( )] ( )
( )
( ) , ( )( )-( )
( ) ( )
( ) [ ( )( )] ( )
( ) ( )
( )
( ) ( ) ( )
( ) ( )( )
( )
( ) ( ) ( )
( ) ( )( ) ( )( )
( )( ) ( )( )
( )( ) ( )( )
( ) ( )
Hence
( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( ) ( )
Example # 2:-
From the following data find ( ) using Hermite’s interpolation formula and hence
determine ( ) ( ).
( ) ( )
Solution:-
The Hermite’s interpolation polynomial formula of degree at most 5 is given by (here
)
( ) ( ) ( ) ∑ ( ) ∑ ( )
where
( ) , ( )( )-, ( )-
( ) ( ), ( )-
we have:
( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )
( ) (1)
Since the values of given are same as in the (Example#1) there is no change in
and . Hence
( ) ( ) ( )
( )( ) ( )( )
( )( ) ( )( )
( )( ) ( )( )
( ) ( ) ( ) ( )
Therefore
( ) ( ) ( ) [ ( ) ( ) ( ) ( ) ( )]
( ) ( ) ( )
Example # 3 (HW):-
Using Hermite’s interpolation, find a cubic polynomial from the data below, also find
( ) ( )
a):-
( )
( )
Answer:-
( ) ( ) ( )
Example # 4 (HW):-
Using Hermite’s interpolation, find ( ) given in the table below and obtain ( )
( ).
b):-
0 1
( ) 1 1
( ) 0 1
Answer:-
( )
( ) ( ) ( ) ( ) ( )
( ) ( )
( ) ( )( ) ( )( ) ( )
( )
where
( ) ( ) ( ) ( ) ( )
( ) ( ) ( )
( ) ( )( ) ( )( ) ( )
( )
where
Important note:-
a): Newton’s forward interpolation formula is used for interpolating the values of the
function near the beginning of the table.
b): Newton’s backward interpolation formula is used for interpolating the values of the
function near the end of the table.
Example # 1:-
Estimate ( ) from the following data using Newton’s forward interpolation formula:
Solution:-
“Forward Difference Table”
2 3 4
y y y
3.1 0
0.6
3.2 0.6 -0.2
0.4 0
3.3 1.0 -0.2 0.1
0.2 0.1
3.4 1.2 -0.1
0.1
3.5 1.3
( ) ( )( ) ( )( )( )
( )
( )
( ) ( )( ) ( )
( )( ) ( )( )( )
( ) ( )
( ) ( ) ( )
Thus
( ) ( ) ( )
Example # 2:-
Find the Newton’s forward interpolation polynomial for the data:
-1 0 1 2
( ) ( ) 4 2 2 4
and estimate ( ).
Solution:-
“Forward Difference Table”
-1 4
-2
0 2 2
0 0
1 2 2
2
2 4
Here , , , then
( ) ( )( )
( )
( )
( ) ( )( ) ( )
( ) ( )
Hence
( ) ( )
( ) ( ) ( ) ( )
Example # 3:-
Estimate ( ) from the following data using Newton’s backward interpolation formula
20 25 30 35 40 45
( ) ( ) 354 332 291 260 231 204
Solution:-
“Backward Difference Table”
204
, , , ,
As the point is near the end of the table. We use Newton’s backward interpolation
formula
( ) ( )( )
( )
( )( )( ) ( )( )( )( )
( )( ) ( )( )( )
( ) ( )( ) ( ) ( )
( )( )( )( ) ( )( )( )( )( )
( ) ( )
( ) ( ) ( )
Example # 4:-
Given the following table
1 2 3 4 5 6 7 8
( ) 1 8 27 64 125 216 343 512
( ) ( )( )
( )
( )( ) ( )( )( )
( ) ( )( ) ( ) ( )
( )
Hence
( ) ( ) ( )
( ) ( )( )
( )
( )( ) ( )( )( )
( ) ( )( ) ( ) ( )
( )
Hence
( ) ( ) ( )
Dr. Jamil Book Series 2 Page 16
Advanced Mathematical Techniques Chapter#2 Interpolation & Curve Fitting
Example # 5(HW):-
Evaluate ( ) and ( ) from the table:
0 1 2 3 4 5
( ) ( ) 0 3 8 15 24 35
Answer:-
( ) ( )
Example # 6(HW):-
Compute ( ) and ( ) from the table:
0 1 2 3 4 5 6 7
( ) ( ) 0 7 26 63 124 215 342 511
Answer:-
( ) ( )
( ) ( )
, -
( ) ( )
, -
. . .
. . .
. . .
( ) ( )
, -
These are called first divided differences and is devoted by . Higher divided differences
operators are defined as:
, - , -
, -
, - , -
, -
, - , -
, -
. . . . .
. . . . .
. . . . .
, - , -
[ ] for
( )
( ) ( )
, -
, - , -
( ) , -
( ) ( ) , - , -
, - , -
( )
, - , -
, -
( ) ( )
, -
( )
Example:-
Make divided difference table for the data:
-1 0 1 3
( ) ( ) 2 1 0 -1
Solution:-
“Divided Difference Table”
( )
( ) , -
( )
( ) ( ) , -
, - ( ) , -
( )
( )
, -
, -
( )
( ) ( ) ( ) ( ) , - ( )( ) , -
( )( )( ) , - ( ) ( ) , -
Example # 1:-
For the data:
-1 0 2 5
( ) ( ) 7 10 22 235
-1 7
3
0 10 1
6 2
2 22 13
71
5 235
( ) ( ) ( ) , - ( )( ) , -
( )( )( ) , -
( ) ( )( ) ( )( )( ) ( )( )( )( )
( ) ( ) ( )
Hence
( ) ( ) ( ) ( ) ( )
Dr. Jamil Book Series 2 Page 20
Advanced Mathematical Techniques Chapter#2 Interpolation & Curve Fitting
Example # 2:-
Using Newton’s divided difference formula find the value of ( ), ( ) and ( ) given the
following table:
4 5 7 10 11 13
( ) ( ) 48 100 294 900 1210 2028
Solution:-
“Divided difference table”:-
4 48
52
5 100 15
97 1
7 294 21 0
202 1 0
10 900 27 0
310 1
11 1210 33
409
13 2028
From the above table, we have
( ) , - , - , -
, - , -
( ) ( ) ( ) ( ) , - ( )( ) , -
( )( )( ) , -
( ) ( ) ( )( ) (( )( )( ) ( )( )( )( )
( ) ( ) ( ) ( )( ) ( )( )( )
Then
( ) ( )
( ) ( ) ( ) ( )( ) ( ) ( )( )
( ) ( ) ( ) ( )( ) ( )( )( )
Example # 3(HW):-
Find the Newton’s divided difference polynominal of the following data, and find ( )
0 1 3 4
( ) ( ) 1 4 40 85
Ans:-
( ) ( ) ( )
Example # 4(HW):-
Find the missing values in the following data using Newton’s divided
difference formula:
3 6 7 8 9 10
( ) ( ) 168 - 120 - 72 63
Answer:-
( ) ( )
4): ( )
( ) ,( ) ( ) - ( )[ ]
( )[ ], (1)
, - (2)
And
(3)
Examples
Example #1:-
From the following table:
1 2 3
( ) -8 -1 18
, -
For , we get:-
, -
, ( ) -
( ) ,( ) ( ) - ( )[ ]
( )[ ] ( )
( ) ,( ) ( ) - ( )[ ]
( )[ ]
( ) [ ( )( ) ( ), ( )]
( ) , ( ) - ( )( ) ( )( )
( ) ( ) , for
( ) , for
Hence
( ) ( ) ( ) ( ) ( )
( )
and
( ) ( )
Therefore
( ) ( ) ( ) ( )
Note:-
We can also find ( ) in the interval ( )using equation (1) for Since ( ) is
required, we have not cared to find ( ) in ( ).
Example # 2:-
Using cubic spline, find ( ) and ( ) given that and the table:
0 1 2
( ) -5 -4 3
Solution:-
We have
, -
For , we get:-
, -
, ( ) -
( ) ,( ) ( ) - ( )[ ]
( )[ ] ( )
( ) ,( ) ( ) - ( )[ ]
( )[ ]
( ) , ( ) ( )- ( )( ) ( )( )
( ) ( ) ( )
( ) ( ) , for
( ) ( ) ( ) ( )( )
and
( ) ( ) ( ) ( )
Therefore
( ) ( ) ( ) ( )
Example#3:-
Find the cubic spline interpolation polynomial for the data given below under the
conditions ( ) ( ) and valid in the sub-interval , -. Hence find ( ):
( )
Answer:-
Here and
We have
, -,
, -
, -
( ( ) )
( ( ) )
( ) ,( ) ( ) - ( )[ ]
( )[ ] ( )
( ) ,( ) ( ) - ( )[ ] ( )[
( ) ,( ) ( ) ( )- ( )[ ] ( )[ ]
( ) ( ) ( ) ( ) ( )
( ) ( ) * ( ) ( ) ( ) +
Example # 4:-
Find the cubic spline polynomial in each interval for the function given below:
0 1 2 3
( ) 1 2 33 244
Assume ( ) ( ) ( )
Solution:-
Here and
We have
, -,
, -
, -
( )
( )
( ) ,( ) ( ) - ( )[ ]
( )[ ] ( )
We get
( ) ,( ) ( ) - ( )[ ] ( )[
( )
( ) ,( ) ( ) ( ) ( )+( )[ ( )] ( ), -
( ) ( ) (2)
( )
( ) ,( ) ( ) - ( )[ ] ( )[
( ) ,( ) ( ) ( )( )- ( ), ( )-
( ), -
( ) (3)
We get
( ) ,( ) ( ) - ( )[ ] ( )[
( ) ,( ) ( ) ( ) ( )- ( )[ ( )] ( ), ( )-
( ) ( ) ( ) ( )
( ) , -
( ) , (4)
Equations (2), (3) and (4) give the cubic Spline Polynomial in each sub-interval.
For ( ) we use eq (4), therefore
( ) ( ) ( ) ( ) ( )
( ) ( )
Example#5:-
Find the cubic spline polynomial in , - for the following data:
( )
Also find ( ) and ( )
Answer:-
, - ( ) ( )
( ) ( )
Example#6:-
Find the cubic spline polynomial for the data:
( )
( ) ( )
CHAPTER # 2
PART-II: CURVE FITTING
2.6 Least squares method for curve fitting
Introduction:-
Let
̅ ( ) ̅ ( )
Least square approximation is the most commonly used method for finding an approximate
curve for the given data dealing with science and engineering. This method was developed
by Legendre. Suppose we have given the following data:
“Table of values”
( )
( )
OR
( )
( )
Since the error can be either or– . We will consider . Then sum of squares of
errors or total error is given by
∑ ∑[ ( )]
The basic least square principle is “to find ̅ ( ) such that the sum of the squares of the
errors is minimum.”
( ) ( )
[ ( )]
∑ ∑[ ( )]
The principle of least squares, minimum condition provides the following normal
equations.
By solving these equations, we can determine and to obtain the best fit ( ) ( )
.
∑ ∑ ∑
∑ ∑
OR
∑ ∑ ∑
∑ ∑
Example #1:-
By the method of least squares find the best fitting straight line to the data given below:
5 10 15 20 25
( ) 16 19 23 26 30
Solution:-
∑ ∑ (1)
∑ ∑ ∑ (2)
“Table of Values”
5 16 25 80
10 19 100 190
15 23 225 345
20 26 400 520
25 30 625 750
∑ ∑ ∑ ∑
1 2 3 4 5
( ) 16 19 23 26 30
Answer:-
Example # 3:-
Fit a straight line to the data using least squares method. Hence find ( ).
0 1 2 3 4
Answer:-
( )
Example # 4:-
Fit a straight line to the data using least squares method. Hence find ( ).
0 5 10 15 20
( ) 7 11 16 20 26
Answer:-
( )
2.6.2 Fitting a Parabola or fitting a second degree curve by the method of least
squares: OR Second degree approximation:-
Let
( )
be the given data. Suppose the approximate second degree curve be given by ( )
( ) . Now we have to select and so that the second degree curve is
the best fit to the data. The error is given by
( ) ( )
[ ( )]
∑ ∑[ ( )]
By the principle of least squares, minimum condition provides the following normal
equations:
∑ ∑ ∑
∑ ∑ ∑ ∑
∑ ∑ ∑ ∑
By solving these equations, we can determine and to obtain the best fit second degree
polynomial ( ) ( )
Example # 1:-
Fit a parabola, by the method of least squares, to the following data; also estimate ( ).
1 2 3 4 5
( ) 5 12 26 60 97
Solution:-
Let be the best fit parabola. Then the normal equations are:
∑ ∑ ∑ → (1)
∑ ∑ ∑ ∑ → (2)
∑ ∑ ∑ ∑ → (3)
“Tables of values”
1 5 1 1 1 5 5
2 12 4 8 16 24 48
3 26 9 27 81 78 234
( )
and
( ) ( ) ( )
( )
Example#2:- (HW)
Fit a Parabola to the data; and find ( )
Answer:-
( )
Example # 3:-
Fit a second degree Polynomial (Parabola) for the given data
Answer:-
( )
, where
This being linear in and , we can find , since and are known. From ,
we can get and hence is found out.
Let the curve to be fitted be given by .Then applying logarithm (of base 10) on both
sides, we get
, where , ,
Again using this linear fit, we find . Hence are known. Thus is found out.
Example # 1:-
Fit a curve of the form to the data
( )
Solution:-
, where , ,
The normal equations are: (Here slope=B and y-intercept=A)
∑ ∑ → ( )
∑ ∑ ∑ →( )
1 2.1790 1 2.1790
2 2.0 4 4.0
3 1.7853 9 5.3559
4 1.6990 16 6.7960
5 1.3010 25 6.5050
6 0.9031 36 5.4186
21 - 9.8674 91 30.2545
Since
( ) ( )
Example # 2:-
Fit a curve of the to the data
Solution:-
Since , Applying logarithm on both sides;
, where Y , ,
∑ ∑ →( )
∑ ∑ ∑ →( )
“Tables of values”
( )
Answer:-
( )
Answer:-
( )
EXERCISE-2
Question # 1:-
Determine the Lagrange’s interpolation Polynomial for the data:
( )
Answer:-
( ) ( ) and ( )
Question # 2:-
Find the missing value from the following data using Lagrange interpolation Polynomial:
( )
Answer:-
( ) ( ) ( ) and ( )
Question # 3:-
Use Lagrange interpolation Polynomial, find ( ) :
( )
Answer:-
( )
Question # 4:-
Find Lagrange’s interpolation Polynomial fitting the Points ( ) , ( ) , ( )
, ( ) Hence find ( )
Answer:-
( ) ( ) ( )
( ) ( )
Question # 5:-
Given the following data, evaluate ( ) using Lagrange’s interpolation Polynomial:
( )
Answer:-
( )
Question # 6:-
Determine by Lagrange’s method the percentage number of patients over 40 years, using
the following data:
patients 148 96 68 34
Answer:-
( ) ( )
Question # 7:-
Obtain the Lagrange’s interpolation Polynomial of ( ) from the following data; and
obtain ( ):
( )
Answer:-
( ) ( ) ( )
Question # 8:-
The following data give the percentage of criminals for different age groups:
( )
Using Lagrange’s formula, estimate the percentage of criminals under the age of 35.
Answer:-
( ) ( )
Question # 9:-
Use Lagrange’s interpolation formula to fit a Polynomial to the following data:
( )
Answer:-
( ) ( ) ( )
Question # 10:-
From the following table of values of ( ) and ( ) obtain ( ) and ( ), using
hermit’s interpolation formula:
( )
( )
Answer:-
( ) ( ) and ( ) , ( )
Question # 11:-
From the following data find ( ) using hermit’s interpolation formula and find ( )
( ) ( )
Answer:-
( ) ( ) ( ) and ( )
Question # 12:-
Using hermit’s interpolation, find cubic Polynomial from the data, also find ( )
( )
( )
Answer:-
( ) , ( )
Question # 13:-
Find ( ) from the data below by hermit’s interpolation formula:
( )
’( )
Answer:-
( )
Question # 14:-
Express as a Polynomial in from the following data, using hermit’s interpolating
formula:
0 1
( ) -4 −2
( ) 3 2
Answer:-
( ) ( )
Question # 15:-
Express ( ) as a Polynomial in from the following data, using hermit’s interpolation
formula.
0 1 2
( ) 1 2 33
( ) 0 4 64
Answer:-
( ) ( )
Question # 16:-
Express y as a polynomial in from the following data, using interpolation method.
-2 0 1
( ) 13 -1 1
( ) -31 1 5
Answer:-
( ) ( ) ( )
Question # 17:-
Express y as a polynomial in from the following data, using hermit’s interpolation
method:
1 2 3
( ) -4 5 60
( ) 0 24 96
Answer:-
( ) ( )
Question # 19:-
Estimate ( ) from the following data using newton’s forward interpolation formula:
3.1 3.2 3.3 3.4 3.5
Answer:-
( )
Question # 20:-
Answer:-
( )
Question # 21:-
Express ( ) from the following data using newton’s backward interpolation formula:
20 25 30 35 40 45
( ) 354 332 291 260 231 204
Answer:
( )
Question # 22:-
Given:
1 2 3 4 5 6 7 8
( ) 1 8 27 64 125 216 343 512
Find
a): ( ) b): ( )
Answer:-
( ) ( )
Question # 23:-
Evaluate ( ) and ( ) from the table:
0 1 2 3 4 5
( ) 0 3 8 15 24 35
Answer:-
( ) ( )
Question # 24:-
Compute ( ) and ( ) using the following data:
0 1 2 3 4 5 6 7
( ) 0 7 26 63 124 215 342 511
Answer:-
( ) ( )
Question # 25:-
Compute ( ) and ( ) using the data:
0.20 0.22 0.24 0.26 0.28 0.30
( ) 1.6596 1.6698 1.6804 1.6912 1.7024 1.7139
Answer:-
( ) ( )
Question # 26:-
For the data find the divided difference polynomial and estimate ( )
-1 0 2 5
( ) 7 10 22 235
Answer:-
( ) ( ) ( ) ( )
Question # 27:-
Using Newton’s divided difference formula, find the value of ( ) ( ) and ( ) given
the following table:
4 5 7 10 11 13
( ) 48 100 294 900 1210 2028
Answer:-
( ) ( ) ( ) ( )( ) ( )( ) ( )
( ) ( ) ( )
Question # 28:-
Use Newton’ s divided difference formula to find ( ) and ( ) from the table:
4 5 7 10 11 13
( ) 48 100 294 900 1210 2028
Answer:-
( ) ( )
Question # 29:-
Find the Newton’s divided difference polynomial of the following data: and find ( )
0 1 3 4
( ) 1 4 40 85
Answer:-
( ) ( ) ( )
Question # 30:-
For the following data, find the cubic polynomial using Newton’s divided difference
formula:
0 1 2 5
( ) 2 3 12 147
Answer:-
( ) ( ) ( ) –
Question # 31:-
From the following data, find the Newton’s divided difference polynomial:
0 2 3 4 7 9
( ) 4 26 58 112 466 922
Answer:-
( ) ( ) ( )
Question # 32:-
Find the missing values in the following data:
45 50 55 60 65
( ) 3.0 2.0 -2.4
Answer:-
( ) ( )
Question # 33:-
The following table gives pressure of a steam at a given temperature. Using Newton’s
formula, compute the pressure for a temperature of
Temperature C. 140 150 160 170 180
Pressure, Kgf/cm2 3.685 4.854 6.302 8.076 10.225
Answer:-
( )
Question # 34:-
Find the missing values in the following data, using Newton’s divided difference formula:
3 6 7 8 9 10
( ) 168 120 72 63
Answer:-
( ) ( )
Question # 35:-
Express y as a polynomial in powers of ( ) from the following data:
0 2 3 6 9 10
( ) 3 7 24 207 714 983
Answer:-
( ) ( ) ( ) ( ) ( ) ( )
Question # 36:-
Find ( ) as a polynomial in powers of ( ) from the following data:
-1 0 2 3 7 10
( ) -11 1 1 1 141 561
Answer:
( ) ( ) ( ) ( )
Question # 37:-
From the following table, compute ( ) and ( ) using cubic spline.
1 2 3
( ) -8 -1 18
Answer:-
( ) ( ) ( )
( ) ( ) ( )
Question # 38:-
Using cubic spline, find ( ) and ( ) given that , and the table:
0 1 2
( ) -5 -4 3
Answer:-
( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( )
Question # 39:-
Find the cubic spline polynomial in each interval for the function given below:
Assume that . Also find ( )
0 1 2 3
( ) 1 2 33 244
Answer:-
( ) ( )
( ) ( )
( ) ( )
Question # 40:-
Find the cubic spline given the table:(assume that )
0 2 4 6
( ) 1 9 41 41
Answer:-
( ) ( )
( ) ( )
( ) ( )
Question # 41:-
Obtain the cubic spline approximation for the function ( ) from the following data,
given by . Find ( ).
-1 0 1 2
( ) 0 1 2 18
Answer:-
( ) ( )
( ) ( )
( ) ( )
Question # 42:-
Find the cubic spline interpolation polynomial for the data given below under the condition
and valid in the sub-interval [ ] Hence, find ( )
0 1 2 3
( ) 1 4 10 8
Answer:-
( ) ( ) ( )( )
Question # 43:-
Find the cubic spline polynomial in [ ] for the following data:
Also find ( ) and ( )
0 1 2
( ) 0 2 6
Answer:-
( ) ( ) ( )( )
( ) ( )
Question # 45:-
Find the cubic spline polynomial for the data. Also find ( ) and ( )
0 1 2
( ) 0 1 0
Answer:-
( ) ( ) ( )( )
( ) ( )
Question # 46:-
Find the natural cubic spline in the range [ ] for the following data. Also find ( ) and
( )
0 6 12
( ) 1 3 11
Answer:-
( ) ( ) ( )( )
( ) ( )
Question # 47:-
Find the cubic spline for the following data with and
-1 0 1
( ) 1 0 1
Answer:-
( ) ( )
( ) ( )
Question # 49:-
By the method of least squares find the best fitting straight line to the data given below:
5 10 15 20 25
( ) 16 19 23 26 30
Answer:-
( )
Question # 50:-
Find a straight line to the data, using least square method. Hence find ( )
1 2 3 4 5
( ) 16 19 23 26 30
Answer:-
( )
Question # 51:-
Fit a straight line to the data using least square method. Hence find ( ).
0 1 2 3 4
( ) 1 1.8 3.3 4.5 6.3
Answer:-
( ) ( )
Question # 52:-
Fit a straight line to the data using least square method. Hence find ( )
0 5 10 15 20
( ) 7 11 16 20 26
Answer:-
( ) ( )
Question # 53:-
Fit a straight line of the form to the following data:
1 3 5 7 9
( ) 1.5 2.8 4.0 4.7 6.0
Answer:-
( )
Question # 54:-
Fit a parabola to the data using least square method. Also estimate ( )
1 2 3 4 5
( ) 5 12 26 60 97
Answer:-
( )
( )
Question # 55:-
Fit a parabola to the data and find y(4.5).
1 2 3 4 5
( ) 2 3 5 8 10
Answer:-
( )
Question # 56:-
Fit a second-degree polynomial (parabola) for the given data:
5 10 15 20 25
( ) 16 19 23 26 30
Answer:-
( )
Question # 57:-
Fit a curve of the form y=ax + bx2 to the following data by the method of least square:
1 2 3 4 5
( ) 1.8 5.1 8.9 14.1 19.8
Hint:-
Put (straight line case)
Answer:-
( )
Question # 58:-
Fit a curve of the form to the following data by the method of least square:
1 2 4 6 8
( ) 5.43 6.28 10.32 14.86 19.51
Hint:-
Put (straight line case)
Answer:-
Question # 59:-
Fit a curve of the form to the data:
1 2 3 4 5 6
( ) 151 100 61 50 20 8
Answer:-
( ) ( )
Question # 60:-
Fit a curve of the form to the data:
1 2 3 4 5 6
( ) 1200 900 600 200 110 50
Answer:-
( )
Question # 61:-
Fit a curve of the form to the data:
1 2 3 4 5
( ) 7.1 27.8 62.1 110 161
Answer:-
( )
Question # 62:-
Fit a curve of the form to the data by the method of least squares:
0 5 8 12 20
( ) 3.0 1.5 1.0 0.55 0.18
Answer:-
( )
Question # 63:-
Determine the values of and so that the equation best fit the following data by
the method of least squares:
25 20 12 9 7 5
0.22 0.20 0.15 0.13 0.12 0.10
Answer:-
Question # 64:-
The following table gives the results of measuring the electrical conductivity C of glass at
temperature Fahrenheit:
86 148 166 188 202 210
0.004 0.018 0.029 0.051 0.073 0.090
If find the values of and .
Answer:-
Question # 65:-
Number of bacteria “y” in a culture after hours is given in the following table:
0 1 2 3 4 5 6
( ) 32 47 65 92 132 190 275
Fit a curve of the form y=abx by the method of least square.
Answer:-
( ) ( )
Question # 66:-
An experiment on the life of a cutting tool at different cutting speeds are given below:
Speed V 350 400 500 600
Life T 61 26 7 2.6
Fit a relation of the form
Answer:-
V = 682.3T (-0.1558)
Question # 67:-
Given the following table:
0 1 2 3 4
( ) 1 5 10 22 38
Find the straight line and the parabola of best fit and calculate the sum of the squares of the
residual in both cases. Which curve is more appropriate and why?
Answer:-
( ) ( )
Estraight = 70.7, Eparabola = 2.5, parabola is better
SUMMARY
1. Interpolation:-
Interpolation is the process of finding the value of a function for any value of argument or
independent variable in an interval ( )
2. Extrapolation:-
Extrapolation is the process of finding the value of a function outside an interval
( )
3. Polynomial Interpolation:-
Approximation by the polynomial of least degree satisfying the given data is called
Polynomial Interpolation.
( ) ( ) ( ) ∑ ( ) ∑ ( )
Where
( ) [ ( )( )][ ( )]
( ) ( )[ ( )]
( ) ( ) ( ) ( ) ( )
( ) ( )
( ) ( )( ) ( )( ) ( )
( )
where
( ) ( ) ( ) ( ) ( )
( )
( ) ( )
( ) ( )( ) ( )( ) ( )
( )
where
( ) ( )
[ ]
These are called first divided differences and is devoted by . Higher divided differences
operators are defined as:
[ ] [ ]
[ ]
for
( ) ( ) ( ) [ ] ( )( ) [ ]
( )( )( ) [ ]
( )( ) ( ) [ ]
and
[ ]
and
∑ ∑[ ( )]
12. Fitting a Parabola or fitting a second degree curve by the method of least
squares: OR Second degree approximation:-
∑ ∑[ ( )]
By the principle of least squares, minimum condition provides the following normal
equations:
∑ ∑ ∑
∑ ∑ ∑ ∑
∑ ∑ ∑ ∑
By solving these equations, we can determine and to obtain the best fit second-degree
polynomial ( ) ( )
Let the curve to be fitted be given by .Then applying logarithm on both sides, we
get
, where
This being linear in and , we can find , since and are known. From ,
we can get and hence is found out.
, where , ,
Again, using this linear fit, we find . Hence are known. Thus is found out.
CHAPTER # 3
NUMERICAL
DIFFERENTIATION
& INTEGRATION
CHAPTER # 3
PART-I: NUMERICAL DIFFERENTIATION
“Table of values”
( ) ( ) ( ) 𝟏 ( 𝟏) 𝟏 ( ) ( )
( 𝟏) ( 𝟏)( )
( ) ( )
( 𝟏)( ) ( 𝟏)
where
𝟏 𝟏 𝟏
,
𝟏 𝟏
- (F1X)
𝟏
𝟏 𝟏 𝟏 𝟏
( ) ( ) ( ) ( )
𝟏 𝟏 𝟏𝟏
, ( 𝟏)
𝟏
𝟏 𝟏 𝟏
- (F2X)
𝟏
and so on.
𝟏 𝟏 𝟏 𝟏 𝟏 𝟏
| 0
1 (F1X0)
𝟏 𝟏𝟏
| 0 – 1 (F2X0)
𝟏
and so on.
“Table of values”
( ) ( ) ( ) 𝟏 ( 𝟏) 𝟏 ( ) ( )
( 𝟏) ( 𝟏)( )
( ) ( )
( 𝟏)( ) ( 𝟏)
where
𝟏 𝟏 𝟏
,
𝟏 𝟏
- (B1X)
𝟏
𝟏 𝟏 𝟏 𝟏
( ) ( ) ( ) ( )
𝟏 𝟏 𝟏𝟏
, ( 𝟏)
𝟏
𝟏 𝟏 𝟏
- (B2X)
𝟏
and so on.
𝟏 𝟏 𝟏 𝟏 𝟏 𝟏
| 0
1 (B1XN)
𝟏 𝟏𝟏
| 0 1 (B2XN)
𝟏
and so on.
“Table of values”
( ) ( ) ( ) 𝟏 ( 𝟏) 𝟏 ( ) ( )
For differentiation in the central part of the table, we can use sterling or Bessel’s
( 𝟏) ( 𝟏) 𝟏
( ) 𝟏 ( )
( 𝟏)
where
and is the central point of the table. Differentiating this formula two times using chain
rule, we get
𝟏 ( 𝟏) 𝟏 𝟏 ( )
0. / 𝟏 . / 1 (C1X)
𝟏 𝟏 (𝟏 )
0 𝟏 . / 1 (C2X)
and so on.
𝟏 ( 𝟏) 𝟏 𝟏
| = *( ) ( ) + (C1X0)
𝟏 𝟏
| = 0 𝟏 1 (C2X0)
𝟏
and so on.
Example 1 :-
Find the first two derivative at 𝟏 𝟏 and 𝟏 from the following data :
Solution :-
1.0 0.000
0.1280
1.2 0.1280 0.2880
0.4160 0.0480
1.4 0.5440 0.3360 0
0.7520 0.0480
0
1.6 1.2960 0.386 0
1.1360 0.0480
1.8 2.4320 0.4320
1.5680
2.0 4.000
𝟏𝟏
𝟏𝟏 𝟏
𝟏𝟏 𝟏
𝟏 𝟏
* +
𝟏
, ( 𝟏) -
𝟏 ( ) 𝟏 ( ) ( )
| = 0 𝟏 ( ) ( )1
𝟏𝟏
(𝟏 𝟏)
|
𝟏𝟏
and
𝟏
| = , 𝟏 ( 𝟏)( )-
𝟏𝟏 ( )
(𝟏 𝟏)
|
𝟏𝟏
𝟏 𝟏 𝟏
| = 0 1
𝟏
𝟏
| 0 𝟏 1
𝟏
(𝟏)
| = =0
𝟏
and
𝟏
| = , -
𝟏
𝟏
| ( )
, -
𝟏
(𝟏)
| =
𝟏
Example 2:-
The following table gives the displacement in meters at different times. Find the velocities
and accelerations at 𝟏
Solution :-
We have to use Newton’s back ward differentiation formula at 𝟏 sec is near the end
of the table.
( )
8.75 𝟏
21.25
𝟏
41.25
𝟏 𝟏
𝟏
𝟏
𝟏
Now the newton’s formulae for backward differentiation are
𝟏 ( 𝟏) ( )
* +
𝟏
, ( 𝟏) -
(𝟏 )
| 𝟏
𝟏
and
𝟏
| , ( 𝟏)( )-
𝟏
( )
(𝟏 )
| 𝟏
𝟏
Now
( )
| 𝟏
Also
𝟏
| , -
𝟏
| , -
( )
| 𝟏
Example 3:-
Solution:-
We have to use central difference formula because is the centre point of the given
data.
0 0
0.2 𝟏
𝟏 𝟏
𝟏 0.4 𝟏
𝟏 𝟏
0.6 𝟏𝟏 𝟏 𝟏
𝟏 𝟏 𝟏
𝟏 0.8 𝟏 𝟏 𝟏
𝟏𝟏 𝟏
1.0 𝟏
1.2
We have
𝟏 , , 𝟏 , 𝟏 , 𝟏 𝟏 ,
, , 𝟏 and 𝟏
𝟏 𝟏 𝟏 𝟏 𝟏
| * ( ) +
𝟏 𝟏 𝟏 𝟏 𝟏 𝟏
| 0 1
| 𝟏
Also
𝟏 𝟏 𝟏
| 0 𝟏 1
𝟏
𝟏 𝟏 𝟏
| [ ( ) ( 𝟏)]
( ) 𝟏
Example 4:-
From the following table:
Calculate at 𝟏 𝟏 .
Answer:-
Example 5:-
𝟏
𝟏 𝟏𝟏 𝟏 𝟏 𝟏 𝟏
Answer:-
CHAPTER # 3
Area of Trapezium:-
𝟏
( ) ( )
( ( ) ( )) ( ( ) ( 𝟏 ))
The numerical value of this definite integral ∫ ( ) the simple trapezoid rule when the
curve ( ) is approximated by lines (linear on first degree approximation and the
number of points are two o and 𝟏 and the number of subinterval 𝟏 and
is given by
Exact area under the curve Area under the Line or Trapezium
∫ ( ) , ( ) ( )- , ( ) ( 𝟏 )- (Area of Trapezium)
Divide the interval , - into n sub interval , i i- of equal length or step size
as shown in the figure above, Then
𝟏 𝟏
OR
( ) ( 𝟏) ( ) ( )
Let the area under the curve ( ) between these points 𝟏 and be denoted by i,
then
∫ 𝟏
( )
, ( 𝟏) ( )- 𝟏
∫ ( ) 𝟏
Exact area under the curve Area under the Lines or Trapeziums
Using simple Trapezoid rule for each above integral that is approximate the curve ( )
∫ ( ) , ( ) ( 𝟏 )- , ( 𝟏) ( )- , ( ) ( )-
, ( 𝟏) ( )-
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( 𝟏) ( )-
This is called generalized or Composite Trapezoid formula for ( 𝟏) points and sub
intervals.
Note:-
The accuracy of the approximate solutions can be increased n (number of Trapezium or
sub intervals) or by decreasing step size h.
Example#1:-
𝟏
𝟏
“Table of values”
1
𝟏
( ) 𝟏 𝟏𝟏
( ) ( 𝟏) ( )
∫ ( ) , ( ) ( 𝟏) ( )-
𝟏 𝟏 𝟏
∫ ,𝟏 ( ) 𝟏𝟏 -
𝟏
𝟏 𝟏
“Table of values”
𝟏 𝟏
𝟏
( ) 𝟏 𝟏 𝟏𝟏
( ) ( 𝟏) ( ) ( ) ( )
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( )-
( 𝟏)
∫ ,𝟏 ( ) ( ) ( 𝟏) 𝟏𝟏 -
𝟏
𝟏 𝟏
𝟏 𝟏
“Table of values”
∫ ( ) , ( ) * ( 𝟏) ( ) ( ) ( ) ( ) ( )
( ) ( ) ( )+ ( 𝟏 )]
∫𝟏 ,𝟏 ( ) ( 𝟏 ) ( ) ( ) ( )
( 𝟏) ( 𝟏 𝟏) ( 𝟏 ) ( 𝟏 𝟏) 𝟏𝟏 -
(𝟏 𝟏 𝟏 𝟏)
𝟏
Exact value:-
𝟏 𝟏
∫ | | [ 𝟏]
𝟏 𝟏
Comment:-
It is clear that as the number of trapezium or sub intervals are increased then the
approximate solution become closer to the exact value.
Example#2:-
𝟏
Evaluate the integral: ∫ using trapezoidal rule for
𝟏
1): 5- points
2): 11- points
Also calculate the exact value and comment on your result.
Solutions:-
1): For 5- points:-
We have
𝟏
( )= , 𝟏
𝟏
𝟏
h =𝟏
“Table of values”
𝟏
𝟏
( ) 𝟏
( ) ( 𝟏) ( ) ( ) ( )
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( )-
𝟏
( )
∫ ,𝟏 ( ) ( ) ( ) -
𝟏 𝟏
𝟏
=𝟏 𝟏
“Table of values”
∫ ( ) , ( ) * ( 𝟏) ( ) ( ) ( ) ( ) ( )
( ) ( ) ( )+ ( 𝟏 )]
( ) ( 𝟏) ( ) -
𝟏(𝟏 𝟏 )
Exact value:-
𝟏
𝟏 𝟏 𝟏( 𝟏
∫ | | , 𝟏) ( )-
𝟏
Comment:-
The absolute error on above calculations are
𝟏) | |
) 𝟏𝟏 | |
The error can be futher minimized by increasing sub interval n or decreasing step size by
h.
, ( ) ( 𝟏) ( )-
The numerical value of the definite integral ∫ ( ) by simple simpson’s 3rd rule when
the curve ( ) approximated by parabola (quadratic or second degree approximation)
the number of points are three(odd) 𝟏 and number of interval
(even) and the step size is given by (without proof)
∫ ( ) , ( ) ( 𝟏) ( )-
The formula is known as simple simpson’s 1/3rd rule for numerical integration.
We shall divide the level of integration , - into an even number of sub –intervals
( ) of equal length o step-size . The number of
points are ( 𝟏) (odd) given by:
𝟏 𝟏
Or
Then the numerical value of definite integral ∫ ( ) or area under the curve ( )
from to from generalized or composite Simpson’s 1/3rd rule is given by:
∫ ( ) ∫ ( )
∫ ( ) ∫ ( ) ∫ ( ) ∫ ( ) ∫ ( )
Using simple Simpson’s 1/3rd rule for each above integrals that is approximate the curve
( ) by parabolas to each of these integrals, we have,
∫ ( ) , ( ) ( 𝟏) ( )- , ( ) ( ) ( )-
, ( ) ( ) ( )- , ( ) ( 𝟏) ( )-
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( ) ( ) ( 𝟏)
( ) ( )-
∫ ( )
, * +
* + -
This is called generalized or composite Simpson’s 1/3rd formula for ( 𝟏) points and
sub-intervals.
Note:-
In Simpson’s 1/3rd rule, the number of sub-intervals must be even or the number of
points must be odd otherwise it is not applicable.
Example # 3:-
Apply 5-Points Simpson’s 1/3rd rule to evaluate:
𝟏
∫ 𝟏
, compare your answer with the exact value and obtained value by trapezoidal rule.
Solution:-
5- Points trapezoidal rule:-
We have
𝟏
( )= , 𝟏
𝟏
(𝟏 ) 𝟏
h =
“Table of values”
𝟏 𝟏
( ) ( )𝟏 ( 𝟏) ( ) ( ) ( )
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( )-
𝟏
( )
∫ ,𝟏 ( ) ( ) ( ) -
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( )-
𝟏
( )
∫
𝟏
Exact value:-
𝟏
, 𝟏 - 𝟏 𝟏( 𝟏( 𝟏(
∫ 𝟏) 𝟏) )
𝟏
𝟏
𝟏 𝟏
∫
𝟏
Comment:-
The solution obtained by Simpson’s 1/3rd rule is better than Trapezoid rule. So we refer
Simpson’s 1/3rd rule.
Example # 4:-
𝟏
Evaluate the integral:∫ , using
1): 5-Points trapezoidal rule:-
2): 5 -Points Simpson’s 1/3rd rule and compare your results with the exact value and
comment on the superiority of the method applied.
Solution:-
We have,
( ) 𝟏
“Table of Values”
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( )-
𝟏 ( )
∫ , -
𝟏
∫ 𝟏 𝟏
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( )-
𝟏
∫ ,𝟏 - ( ) 𝟏
Exact value:-
𝟏
𝟏
∫ , - 𝟏 𝟏
Comment:-
The (absolute) error in above two, methods are:
1): 𝟏 𝟏 𝟏 𝟏
2): 𝟏 𝟏 𝟏
We are thankful to Simpson’s 1/3rd rule because it is far better than Trapezoidal rule.
, ( ) ( 𝟏) ( ) ( )-
The numerical value of the definite integral ∫ ( ) , by simple simpson’s 3/8th rule, when
the curve ( ) approximated by cubic curve( third degree approximation) and number
of points are four 𝟏 and number of sub-intervals by (without proof).
∫ ( ) , ( ) ( 𝟏) ( ) ( )-
This formula is known as simple Simpson’s 3/8th rule for numerical integration.
given by:
𝟏 𝟏
or
𝟏
Then numerical value of definite integral ∫ ( ) or area under the curve ( ) from
from generalized or composite Simpson’s 3/8th rule is given by
Exact area under the curve Area under all Cubic curves
∫ ( ) ∫ ( )
∫ ( ) ∫ ( ) ∫ ( ) ∫ ( ) ∫ ( )
Using simple Simpson’s 3/8th rule for each above integrals that is approximate the curve
( ) by cubic curves to each of these integral, we have
∫ ( ) , ( ) ( 𝟏) ( ) ( )- , ( ) ( ) ( )
( )- , ( ) ( ) ( ) ( )- , ( ) ( )
( 𝟏) ( )
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( ) ( ) ( )
( ) ( ) ( 𝟏) ( )-
∫ ( ) , ( ) * ( 𝟏) ( ) ( ) ( 𝟏 )+ * ( )
( ) ( )+ ( )-
This is called generalized or composite Simpson’s 3/8th formula for ( 𝟏) points and n
sub-interval.
Note:-
In Simpson’s 3/8th rule, the number of sub-intervals “n” must be multiple of 3, otherwise it
is not applicable.
Example # 5:-
Evaluate: ∫ , when , using
𝟏
1): Trapezoidal rule
2): Simpson’s 1/3rd rule
3): Simpson’s 3/8th rule and compare your result with exact value and comment.
Solution:-
Trapezoidal rule:-
We have,
𝟏
( )
𝟏
“Table of Values”
0 1 2 3 4 5 6
0 1 3 4 5 6 7
( ) 1 ½ 1/3 ¼ 1/5 1/6 1/7
( ) ( 𝟏) ( ) ( ) ( ) ( ) ( )
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( ) ( ) ( )-
𝟏 𝟏 𝟏 𝟏 𝟏 𝟏 𝟏
∫ [𝟏 { } ]
𝟏
𝟏 𝟏 𝟏
∫ [𝟏 ] , 𝟏 -
𝟏
𝟏
∫ , 𝟏 𝟏-
𝟏
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( ) ( ) ( )-
𝟏 𝟏𝟏 𝟏 𝟏
∫ [𝟏 ]
𝟏 𝟏
𝟏
∫ , 𝟏 - 𝟏 𝟏
𝟏
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( ) ( ) ( )-
𝟏
∫ , 𝟏 - 𝟏 𝟏
𝟏
Exact value:-
∫ (𝟏 ) 𝟏
𝟏
Comment:-
The (absolute) error in above three, methods are:
1): 𝟏 𝟏 𝟏 𝟏
2): 𝟏 𝟏 𝟏 𝟏
3): 𝟏 𝟏 𝟏 𝟏
From above three methods, we note that the error in Simpson’s rules are less than the error
in Trapezoidal rule, and Simpson’s 1/3rd rule is much better than the Trapezoidal and
Simpson’s 3/8th rules.
Example # 6:-
Evaluate: ∫ , when , using
𝟏
1): Trapezoidal rule
2): Simpson’s 1/3rd rule
3): Simpson’s 3/8th rule and compare your result with exact value and comment.
Solution:-
Trapezoidal rule:-
we have,
𝟏
( )
𝟏
For seven points 𝟏 we have and step size is :
“Table of Values”
0 1 2 3 4 5 6
0 1 2 3 4 5 6
( ) 1 0.5 0.2 0.1 0.05882 0.03846 0.02702
( ) ( 𝟏) ( ) ( ) ( ) ( ) ( )
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( ) ( ) ( )-
𝟏
∫ ,𝟏 * 𝟏 𝟏 + -
𝟏
𝟏
∫ ,𝟏 𝟏 𝟏 -
𝟏
𝟏
∫ , 𝟏 𝟏 𝟏- ,𝟏 𝟏 𝟏-
𝟏
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( ) ( ) ( )-
𝟏
∫ ,𝟏 𝟏 -
𝟏
𝟏
∫ , - 𝟏 𝟏 𝟏
𝟏
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( ) ( ) ( )-
∫ ,𝟏 * 𝟏 + ( 𝟏)
𝟏
∫ ,𝟏 𝟏 𝟏 -
𝟏
𝟏
∫ , 𝟏 - 𝟏
𝟏
Exact value:-
, 𝟏 - 𝟏( ) 𝟏( )
∫ 𝟏
𝟏
Comment:-
The (absolute) error in above three, methods are:
1): 𝟏 𝟏 𝟏 𝟏
2): 𝟏 𝟏 𝟏 𝟏 𝟏
3): 𝟏 𝟏 𝟏 𝟏
It is clear that solution obtained by Trapezoidal rule is close to exact value
3 n is multiple of 1 2 3
4 Function y=f(x) is Lines Parabolas Cubic curves
approximated by
6 Initial coefficients
8 Error ( ) ( ) ( )
𝟏 𝟏
EXERCISE- 3
PART-I: NUMERICAL DIFFERENTIATION
Question # 1:-
Find the first two derivative at 𝟏 𝟏 and 𝟏 from the following table:
𝟏 𝟏 𝟏 𝟏 𝟏
( ) 𝟏 𝟏
Answer:-
(1.1) = 0.630 , (1.1) = 6.60, (1) = 0 , (1) = 6.000
Question # 2:-
𝟏 𝟏 𝟏
( ) 𝟏
Answer:-
( ) , ( ) , (𝟏 ) , (𝟏 )
Question # 3:-
( ) 𝟏 𝟏
Answer:-
-2, 0, 117, 16, 192, 498, 288, 12
Question # 4:-
Compute the second and third derivatives of the function tabulated below at the point
.
𝟏 𝟏
( ) 𝟏 𝟏
Answer:-
( ) 𝟏 , ( )
Question # 5:-
( ) 𝟏 𝟏 𝟏 𝟏 𝟏 𝟏𝟏 𝟏𝟏
Answer:-
( )
Question # 6:-
( )
Answer:-
( ) , ( ) , ( ) , ( )
Question # 7:-
A roc et is launched from the ground and its velocity during first 10 seconds is given below.
Find its acceleration at t = 5 sec.
𝟏 𝟏 𝟏 𝟏 𝟏 𝟏 𝟏
Answer:-
Question # 8:-
The Population of a certain town shown in following table :
The following table gives corresponding values of Pressure and Specific volume of supper
heated steam:
𝟏 𝟏 𝟏
Find the rate of change of Pressure with respect to volume, when and 𝟏 .
Answer:-
6.2333, -12.6833
Question # 10:-
A road is rotating in a plane about one of its ends. The table given below gives the values of
the angle radians through which the rod has turned. for various values of time seconds.
Find its angular velocity and angular acceleration when .
𝟏 𝟏
Answer:-
Question # 11:-
The specific heats of silica glass at various temperature are as follows:
( ) 𝟏
( ) 𝟏
Find the rate of change of specific heat with respect to temperature at 120°C and 450°C.
Answer:-
0.00004429 ; 0.00004125.
Question #12:-
Find the values of sinx at from the following data using numerical
differentiation.
35 40 45 50 55
Answer:-
0.5101 ; 0.7066 ; 0.8619
Question # 13:-
In a certain machine a slider moves along a fixed straight rod. Its distance X cms along the
rod is given in the following table for various values of time t seconds. Find the velocity
and acceleration of the slider when t = 0.3 sec.
𝟏 𝟏 𝟏
Answer:-
⁄ ⁄
Question # 14:-
Find the value of x for which f(x) is maximum in the range of x given, using the following
table; Find also the maximum value of f(x).
𝟏 𝟏
( )
Answer:-
92.11 ; 43.27
Question # 15:-
Find the maximum value of ( ) in the given range of , from the following table:
Answer:-
𝟏 𝟏
Question # 16:-
In the range of ; given in the following data. Find also the minimum value of ( ).
2 3 4 5 6
Answer:-
4.416 ; 1.9999
Question # 17 :-
For what value of is the following tabulated function a minimum? Find also the minimum
value of the function.
0 2 4 6
( ) 3 2 11 27
Answer:-
0.58 ; 1.029
Question # 18 :-
A rod is rotating in a plan. The following table given the angle in radian through which
the rod has turned for various values of the time in second.
Question # 19 :-
The population of a certain town is given below. Find the rate of growth of the population
in 1941 and 1961.
Year 1931 1941 1951 1961 1971
Answer:-
Question # 20 :-
The table below gives the result of an observation. is the observed temperature in degrees
centigrade of a vessel of cooling water, is the time of minutes from the beginning of the
observations.
1 3 5 7 9
Answer:-
𝟏𝟏 𝟏
Question # 21 :-
A slider in a machine moves along a fixed straight rod. Its distance along the rod is
given below for various values of the time Find the velocity of the slider and its
acceleration when
Answer:-
Question # 22 :-
Given the following table of values of and
Answer:-
a): 𝟏𝟏 b): 𝟏 c):
EXERCISE- 3
PART-II: NUMERICAL INTEGRATION
Question # 23:-
Evaluate the integral ∫𝟏 using trapezoidal rule for
1): three points
2): five points
3): eleven points
Also calculate the exact value and comment on your results.
Question # 24:-
Evaluate the integral ∫𝟏 using trapezoid rule with step size and
calculate the exact value and comment on your result.
Question # 25:-
𝟏
Evaluate the integral ∫ using trapezoidal rule for
𝟏
1): five points
2): eleven points
Also calculate the exact value and comment on your results.
Question # 26:-
𝟏
Apply 3-points Simpsons 1/3 rule to evaluate ∫ 𝟏
, compare your answer with exact
value
Question # 27:-
𝟏
Evaluate the integral ∫ , using
1): five points trapezoidal rule
2): five points Simpson’s rule
And compare your result with the exact value and comment on the superiority of the
method applied.
Question # 28:-
Question # 29:-
Evaluate ∫ 𝟏
, where using
1): trapezoidal rule
2): Simpsons 1/3 rule
3): Simpsons 3/8 rule
and compare your result with exact value and comment.
Question # 30:-
Evaluate ∫ 𝟏
, where using
1): trapezoidal rule
2): Simpsons 1/3 rule
3): Simpsons 3/8 rule
and compare your result with exact value and comment.
Question # 31:-
𝟏
Evaluate ∫ 𝟏
, where using
Question # 32:-
𝟏
Evaluate ∫ , where using
(𝟏 )
Question # 33:-
Evaluate ∫ by
1): trapezoidal rule
2): Simpsons 1/3 rule
Taking 6 equal interval correct to decimal places.
Question # 34:-
Evaluate ∫𝟏 by
1): trapezoidal rule
2): Simpsons 1/3 rule
Taking 6 equal interval correct to decimal places.
Question # 35:-
Evaluate ∫ 𝟏
where using
1): trapezoidal rule
2): Simpsons 1/3 rule
3): Simpsons 3/8 rule
And compare your result with exact value and comment.
Question # 36:-
𝟏
Evaluate ∫ 𝟏
, using Simpsons 3/8 rule with
Answer:-
0.2310846
Question # 37:-
𝟏
Compute the value of ∫ ( ) taking and using trapezoidal rule
, Simpsons y 3rd rule and 3/8 rule , compare your result by integration.
Question # 38:-
Evaluate ∫ using
Question # 39:-
𝟏
Evaluate ∫ dividing the range into 4 equal parts by
Question # 40:-
𝟏
Evaluate ∫ dividing the range into 8 equal parts.
𝟏
Question # 41:-
Evaluate ∫ , taking h= .
Question # 42:-
𝟏
Evaluate ∫ approximately by using a suitable formula and at least five
points.
Question # 43:-
𝟏
Calculate the value of by finding ∫ ,using Simpsons rule by dividing into 4
𝟏
equal parts.
Question # 44:-
𝟏
Evaluate ∫ ( )𝟏 , correct to two decimal places using seven coordinates.
V(Kmph) 0 13 33 39.5 40 40 36 15 0
Question # 45:-
𝟏
Evaluate: ∫ √𝟏 , using Simpson’s 1/3 rule with 8 subintervals.
Answer:-
0.6479
Question # 46:-
Using Simpson’s 1/3 rule with 6 subintervals to find the Area contained between the
and the curve 4
Answer:-
9.156
Question # 47:-
A reservoir is the form of a surface of revolution and D is the diameter in meters at a depth
of P meters beneath the surface of the water. Find the amounts of water in , that the
reservoir holds when full, from the following data using Simpson’s 1/3rd rule.
P 0 5 10 15 20 25 30
D 36 35 33 29 22 16 9
Hint:- ∫ . /
Answer:-
𝟏
Question # 48:-
𝟏
Compute ∫ . / from the following data using Simpson’s rule:
0 1 2 3 4 5 6
Answer:-
Question # 49:-
A river is 45m wide, The depth d in meters at a distance meters from one bank is given in
the following data:
I 5 10 15 20 25 30 35 40 45
0 3 6 8 7 7 6 4 3 0
Question # 50:-
The velocity of an electric train which starts from
T(minutes) 0 1 2 3 4 5 6 7 8 9 10 11 12
V( ) 0 10 25 40 55 60 62 57 42 30 20 13 0
Question # 51:-
Integration provides a means to compute how much mass enters or leaves a reactor over a
specified time period, as in
∫
𝟏
where 𝟏 the initial and final times, respectively. This formula makes intuitive
sense if you recall the analogy between integration and summation. Thus, the integral
represents the summation of the product of flow times concentration to give the total mass
entering or leaving from 𝟏 . If the flow rate is constant, Q can be moved outside the
integral:
∫
𝟏
Use numerical integration to evaluate this equation for the data listed below. Note that
.
( ) 𝟏
( ) 𝟏
Summary Of Ch#3
PART-I: NUMERICAL DIFFERENTIATION
𝟏): Newton’s Forward differentiation formulae:-
1a): Newton’s Forward differentiation formulae at general point :-
𝟏 𝟏 𝟏
,
𝟏 𝟏
- (F1X)
𝟏
𝟏 𝟏 𝟏𝟏
, ( 𝟏)
𝟏
𝟏 𝟏 𝟏
- (F2X)
𝟏
𝟏 𝟏𝟏
| 0 – 1 (F2X0)
𝟏
𝟏 𝟏 𝟏
,
𝟏 𝟏
- (B1X)
𝟏
𝟏 𝟏 𝟏𝟏
, ( 𝟏)
𝟏
𝟏 𝟏 𝟏
- (B2X)
𝟏
𝟏 𝟏𝟏
| 0 1 (B2XN)
𝟏
𝟏 ( 𝟏) 𝟏 𝟏 ( )
0. / 𝟏 . / 1 (C1X)
𝟏 𝟏 (𝟏 )
0 𝟏 . / 1 (C2X)
𝟏 ( 𝟏) 𝟏 𝟏
| = *( ) ( ) + (C1X0)
𝟏 𝟏
| = 0 𝟏 1 (C2X0)
𝟏
∫ ( ) , ( ) ( )- , ( ) ( 𝟏 )-
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( 𝟏) ( )-
∫ ( ) , ( ) ( 𝟏) ( )-
Step size is
Generalized or composite Simpson’s 1/3rd rule for (2n+1) points and 2n sub-intervals, is
given by
∫ ( ) , ( ) ( 𝟏) ( ) ( ) ( ) ( ) ( )
( 𝟏) ( )-
∫ ( ) , ( ) ( 𝟏) ( ) ( )-
Step size is
Generalized or composite Simpson’s 3/8th rule for (n+1) points and n sub-intervals, is given
by
∫ ( ) , ( ) * ( 𝟏) ( ) ( ) ( 𝟏 )+ * ( )
( 𝟏 )+ ( )-
CHAPTER # 4
CHAPTER # 4
PART-I: NUMERICAL DIFFERENTIAL EQUATIONS
1): Euler’s Method:-
Aim:-
……………………..(1)
Procedure:-
or
∫ ∫
……………… (2)
This is called Euler’s iteration formula for finding numerical solution of first order first
degree differential equation.
For , we have:-
For we have:-
For , we have:-
, and so on.
This Euler’s iteration formula (2) can be used to find , where is known. On
substituting the value of in (2) we get . Similarly putting the value of
in (2), we obtain and so on.
Note
… ………………………….. ……………………………………….
Example# 1:-
Using Euler’s method, find an approximate value of y corresponding to , given that:
Solution:-
We have
“Table of values”
2.0 9.55
Example# 2(HW):-
Evaluate by Euler’s method from differential equation with
.
Answer:-
……………………..(1)
Procedure:-
OR
∫ ∫
∫ ∫
………… (2)
This is called Modified Euler’s iteration formula for finding numerical solution of first
order first degree differential equation.
Since which occurs on the right hand of eq. (2) can not be calculated since
Example# 3 :-
Solution :-
we have
“Table of values”
10 1.0 21.081
Example# 4(HW) :-
is given by:
where,
( )
( )
This is known as Runge –Kutta iteration formula. The error in this formula is of order .
This method have greater accuracy. No derivatives are required to be tabulated. It requires
only functional values at some selected points on the sub-intervals.
Example #5 :-
Apply Runge – Kutta method to find an approximate value of when , given that;
Solution:-
we have,
we have
( )
( )
We have,
( )
( )
and
Example# 6(HW) :-
Apply Runge – Kutta method (fourth order), to find an approximate value of when
, given that:
Answer:-
Example# 7(HW) :-
Find
Answer:-
CHAPTER # 4
PART-II: DIFFERENCE EQUATIONS
Difference Equation:-
function.
The order of a difference equation is the difference between the largest and smallest
The degree of the highest differences function appearing in a difference equation free
from radicals and functions is called the degree of the difference equation.
Examples
1 1 1
2 2 1
3 3 1
4 2 2
5 3 1
6 4 3
7 2 3
8 5 4
Solution of a difference equation is an expression for which satisfies the given difference
equation.
The general solution of a difference equation is that in which the number of arbitrary
A particular solution or particular integral is that solution which is obtained from the
general solution by giving particular values to the constants (using IVP & BVP).
In linear difference equations, occur in the first degree only and are not
multiplied together.
OR
where,
Auxillary Equation :-
Replace by in and equate it to zero, we get
This is called auxiliary equation. Let be the roots of the Eq. The
following cases will arise:
given by
where
√ ( )
3±i4
√ ( )
2,3,3,4,4,4,5,6
2,3,3,5,6,3±i4
√ ( )
Example 1:-
Solve: – .
Solution:-
The given equation can be written as
Example 2:-
Solve: –
Solution:-
The given equation can be written as
Example 3:-
Solve:
Solution:-
√ √ √
⇒
⇒ √
⇒
where,
√
√ ( )
Example 4:-
Solve: –
Solution:-
⇒ – , –
⇒ –
⇒ –
⇒ – –
⇒ –
Example 5:-
Solve: – –
Solution:-
– –
– –
Practice Problems:-
– – –
where,
⇒ is a function of
where,
and
There is no general procedure to find the particular solution of a difference equation. The
method depends on the form of the function i.e. In some simple cases we give the rules
(Exponential Case):-
1): Case-I: :-
1):
2):
3):
4):
5):
and so on.
If, we have
– –
⇒ But
⇒ etc.
– and ( – )
Ponit-3: The Remaining factor w.r.t. root 2 is ( – ) and Remaining factor w.r.t. root 4
(actually it is -2) and the Remaining factor w.r.t. root 4 is ( – ), never be equal to
Note:-
This means that have the factor – and can be written as:
1):
2):
3):
4):
5):
6):
7):
Note:-
1):
2):
3):
Example 1:-
Solve: –
Solution:-
The given equation can be written as
–
For :-
The auxiliary equation is
–
⇒
Roots are distinct and real. Hence the homogeneous solution is
( ) ( )
For :-
We have
⇒ ( ) ( )
Example 2:-
Solve: –
Solution:-
The given equation can be written as
For :-
⇒
⇒
Roots are repeated and real. Hence the homogeneous solution is
For :-
We have
(Here )
(Quadratic Case)
Example 3:-
Solve:
Solution:-
The given equation can be written as
For :-
The auxiliary equation is
⇒
⇒
Roots are distinct and real. Hence the homogeneous solution is
For :-
We have
⇒ (Here )
We have
⇒ (Linear Case)
Note:-
If
⇒ ( ) and ( )
(Oscillating Case):-
Then
OR
can be written as
and solve as in Case-I with . At the end separate real and imaginary parts
We have
Hence in general
Example 1:-
–
Solution:-
The given equation can be written as
:-
⇒
The homogenous solution is
For :-
( )
⇒
⇒
( )
Example 2:-
Solution:-
:-
⇒ ⇒
⇒ √ ⇒ ( )
⇒ = ( ) 1
⇒ =
For :-
We have
( )
⇒
⇒ =
Example 3:-
1):
2):
( )
4):
Factorial Polynomial :-
Derivative Formula
Power Formula
Zero Formula
2):
⇒ ( ) [ ]
⇒ ( )
3):
⇒ [ ]
⇒
⇒
⇒
(Polynomial Case):-
We have
Expansion Formulae of :-
1):
2):
Example-1:-
Solution:-
The given equation can be written as
:-
⇒ ⇒
:-
⇒ * +
⇒ [ ( ) ]
⇒ * +( )
⇒ [ ]( )
⇒ [ ( ) ]
⇒ [ ]
⇒ [ ]
⇒ [ ]
Example-2:-
:
Solution:-
The given equation can be written as
:-
⇒ ⇒ ⇒
Roots are distinct and real. Hence the homogeneous solution is
:-
We have
⇒ ( ) ( )
⇒ ( )
⇒ * + ( )
⇒ * ( ) +
⇒ * +( )
⇒ * +( )
⇒ [ ( )
( )]
⇒ [ ( ) ]
⇒ * +
⇒ ( )
⇒ ( )
, :-
(Mixture/Combine Case)
We have
Example-1:-
Solution:-
The given equation can be written as
:-
⇒ ⇒
Roots are distinct and real. Hence the homogeneous solution is
We have
Replace by , we get
⇒ * +
⇒ [ ( ) ]
⇒ [ ]
⇒ [ ]
⇒ [ ( ) ]
⇒ [ ]
⇒ [ ]
⇒ * +
Example-2:-
–
Solution:-
:-
⇒ ⇒
We have
⇒ =
Replace by , we get
⇒ ( )
⇒ ( )
⇒ ( )
⇒ ( )
⇒ ( ) ( )
⇒ [ ( ) ]
Example-3:-
–
Solution:-
:-
We have
⇒ ( )
⇒ ( ) ( ) ( )
1):
2): –
– ( )
4): ( – )
⇒
⇒
⇒
⇒
EXERCISE-4
PART-I: NUMERICAL DIFFERENTIAL EQUATIONS
Question # 1:-
Using Euler’s method find an approximate value of corresponding to , given that
.
Answer:-
Question # 2:-
Using Euler’s method find an approximate value of corresponding to , given that
Answer:-
Question # 3:-
Apply modified Euler’s method to solve and hence find
an approximate value of
Answer:-
Question # 4:-
Using Euler’s modified formula, find an approximate value of
taking the interval 0.02.
Answer:-
Question # 5:-
Apply RK method to find an approximate value of 0.2, given that:
.
Answer:-
Question # 6:-
Apply RK method to find an approximate value of 0.2, given that:
.
Answer:-
Question # 7:-
Use Euler’s method to compute from the differential equation
when
Answer:-
Question # 8:-
Given that with initial condition that find by Euler’s
modified method , , correct up to three decimal Places.
Answer:-
Question # 9:-
Use Euler’s method to evaluate correct up to two decimal Places, from
.
Answer:-
Question # 10:-
Given that by
Euler’s method.
Answer:-
Question # 11:-
Evaluate by modified Euler’s method from differential equation with
.
Answer:-
Question # 12:-
Evaluate by modified Euler’s method from differential equation with
.
Answer:-
Question # 13:-
Evaluate by modified Euler’s method from differential equation with
.
Answer:-
Question #15:-
Use RK-method to compute from .
Answer:-
Question # 16:-
Compute using RK-method
with step-size
Answer:-
Question # 17:-
Use RK-method to compute from .
Answer:-
Question # 18:-
Use RK-method to compute from .
Answer:-
Question # 19:-
Compute by RK-method correct to five decimal Places, from the equation
Answer:-
Question # 20:-
Find the values of using modified Euler’s method with , given
that:
Answer:-
Question # 21:-
Find the values of by using modified Euler’s method
given that:
Answer:-
Question # 22:-
Find the values of by using modified Euler’s method with
given that:
Answer:-
Question # 23:-
Find the values of by using Euler’s and modified Euler’s
methods respectively if:
Answer:-
Question # 24:-
Find
Answer:-
Question # 25:-
Find
Answer:-
Question # 26:-
Find
Answer:-
Question # 27:-
Find
Answer:-
Question # 28:-
Find
Answer:-
.
Question # 29:-
Find
Answer:-
Question # 30:-
Find
Answer:-
Question # 31:-
Find
Answer:-
Question # 32:-
Find
Answer:-
Question # 33:-
Find
.
Answer:-
Question # 34:-
The following ordinary differential equation(ODE) is used to describe a Population of Fish:
Where and are +ve constants; is known as the intrinsic growth constant. It measures
the differences between the birth and death rates per population unit in the absence of
overcrowding. The ratio is called saturation constant. Take and .
Use initial condition, Find , using Modified Euler’s Formula for step size
. Compare your results with the analytical solution of the above differential equation:
EXERCISE-4
PART-II: DIFFERENCE EQUATIONS
Solve the following difference equations
Question # 39:-
Answer:-
Question # 40:-
Answer:-
Question # 41:-
Answer:-
{ ( ) ( )}
Question # 42:-
,
Answer:-
Question # 43:-
, ,
Answer:-
Question # 44:-
Answer:-
√ √
( ) ( )
Question # 45:-
Answer:-
{ ( ) ( )}
Question # 46:-
Answer:-
Question # 47:-
Answer:-
Question # 48:-
Answer:-
Question # 49:-
Answer:-
Question # 50:-
Answer:-
(√ )
Question # 51:-
Answer:-
Question # 52:-
Answer:-
Question # 53:-
Answer:-
Question # 54:-
–
Answer:-
( ) ( )
Question # 55:-
Answer:-
Question # 56:-
Answer:-
Question # 57:-
Answer:-
Question # 58:-
Answer:-
( )
Question # 59:-
.
Answer:-
( )
Question # 60:-
–
Answer:-
( )
Question # 61:-
Answer:-
Question # 62:-
Answer:-
Question # 63:-
Answer:-
Question # 64:-
Answer:-
( √ ) ( √ )
Question # 65:-
Answer:-
Question # 66:-
Answer:-
Question # 67:-
Answer:-
Question # 68:-
.
Answer:-
Question # 69:-
Answer:-
( )
Question # 70:-
Answer:-
Question # 71:-
Answer:-
( )
Question # 72:-
.
Answer:-
Question # 73:-
Answer:-
( )
Question # 74:-
.
Answer:-
Question # 75:-
The Discrete Mathematical Modeling of Forced Vibrating System of particular oscillation
Phenomena leads to the following Nonhomogeneous Difference Equation of the form:
Question # 76:-
The Discrete Mathematical Modeling of Forced Vibrating System of particular oscillation
Phenomena leads to the following Nonhomogeneous Difference Equation of the form:
Answer:-
( )
Question # 77:-
The Discrete Mathematical Modeling of Forced Vibrating System of particular oscillation
Phenomena leads to the following Nonhomogeneous Difference Equation of the form:
Question # 78:-
The Discrete Mathematical Modeling of Some Vibrating System of particular oscillation
Phenomena leads to the following Nonhomogeneous Difference Equation of the form:
Answer:-
( )
SUMMARY OF CH#4
PART-I: NUMERICAL DIFFERENTIAL EQUATIONS
1): Euler’s Method:-
Aim:-
The Euler’s iteration formula for finding numerical solution of first order first degree
differential equation.
where,
Step-2:-
Write auxiliary equation:
Auxillary Equation :-
Step-3:-
Write the solutions according to the nature of the roots of auxiliary equation.
Case-I (Distinct Real Roots)
If all the roots be real and distinct, the general solution of ) is
given by
( )
where
√ ( )
where,
is the homogeneous solution o
and
= is the particular solution which satisfy,
:-
1): Case-I:
Note:-
If
⇒ ( ) and ( )
OR
can be written as
and solve as in Case-I with . At the end separate real and imaginary parts
according to the cosine and sine case.
Factorial Polynomial :-
Derivative Formula
Power Formula
Zero Formula
We have
Expansion Formulae of :-
1):
2):
,
We have
CHAPTER # 5
IMPROPER &
ELLIPTIC
INTEGRLAS
CHAPTER # 5
PART-I: IMPROPER INTEGRLAS
Improper Integral of first kind:-
The improper integral of first kind has three types and is defined or written as:
1st Type: ∫ ( ) ∫ ( ) , -
2nd Type: ∫ ( ) ∫ ( ) , -
3rd Type: ∫ ( ) = ∫ ( ) , -
∫ ( ) ∫ ( ) +∫ ( )
∫ ( ) ∫ ( ) + ∫ ( )
( ) = ( ) ( )
Important Note:-
The improper integral of second kind has three types and is defined or written as:
1st Type: ∫ ( ) ∫ ( ) 0 ( ) 1
2nd Type: ∫ ( ) ∫ ( ) 0 ( ) 1
3rd Type ∫ ( ) =∫ ( ) ∫ ( ) 0 ( ) 1
∫ ( ) ∫ ( ) ∫ ( )
( ) = ( ) ( )
Exercise #1:-
Solution:-
This improper integral of 1st kind and 1st type and can be written as:
∫ = ∫ = 0 1
[ ]
Exercise #2:-
Solution:-
This improper integral of 1st kind and 1st type and can be written as:
∫ ∫ [ ]
, -
Exercise #3:-
Solution:-
This improper integral of 1st kind and 3rd type and can be written as:
∫ ∫
( ) ( )
∫ [ ]
( )
∫ [ ]
( )
∫ , -
( )
Exercise #4:-
Solution:-
This improper integral of 1st kind and 3rd type and can be written as:
∫ ∫
∫ ∫
∫ , - , -
∫ ⌈ ( ) ( )⌉ , -
Exercise #5 (H.W):-
Exercise #6:-
Solution:-
This improper integral of 2nd kind and 2nd type and can be written as:
∫ ∫ , -
√ √
∫ , - ( )=
√
Exercise #7:-
Solution:-
This improper integral of 2nd kind and 1st type and can be written as:
∫ ∫
√ √
⁄
∫ ∫ ( ) ( )
√
⁄
( )
∫ [ ]
√ ⁄
∫ 0 √ 1
√
Exercise #8:-
Solution:-
This improper integral of 2nd kind and 3rd type and can be written as:
∫ ∫ ∫
∫ ∫ ∫
∫ [ ] [ ]
∫ [ ] [ ]
∫ , - , -
Exercise #9:-
Solution:-
∫ ∫ ∫
( ) ( ) ( )
∫ ∫ ∫
( ) ( ) ( )
∫ [ ]
( ) (
∫ [ ]* +
( )
∫ , -
( )
Since the first integral is divergent between the two. Hence the given integral is also
divergent.
Example:-
The integrals:
Example:-
The integrals:
) ∫ ( ) ) ∫ ( ) are Divergent.
√
Exercise #1:-
Solution:-
Since for
then for
Exercise #2:-
Solution:-
Since for
Then for .
Theorem – 2:-
Let ( ) , then
Exercise #3:-
Solution:-
We have,
. /
∫ converges.
Exercise #4:-
Solution:-
We have,
√
√
Exercise #5: -
) ∫ b):∫
√
Solution (a):-
We have,
0 1
∫ converges.
Solution (b):-
We have,
. /
√
√
diverges.
Exercise #6(HW): -
) ∫ ) ∫ 3) ∫
√
Answer:-
Theorem-3:-
Exercise#7:-
Solution:-
| |
∫ | | ∫ ∫ ∫
| |
Exercise #8(HW):-
) ∫ converges with
√
) ∫ converges with .
√
) ∫ diverges with
( )
Exercise #1:-
Solution:-
Since for
for
√ √ for
for
√ √
Exercise #1:-
Solution:-
Since for
for ,
( ) ( )
Let ( ) ( ) then
Let ( ) ( ) then
Theorem-3:-
Exercise #3:-
Solution: -
We have,
⁄
( ) √
√ ( )( )
⁄
( ) √( =√
√ )( )( )
Exercise #4:-
Solution:-
We have,
( )
( )√ √
∫ diverges.
( )√
Exercise #5:-
Solution:-
We have,
| |
∫ | | ∫ ∫
√ |√ | √
Important Note:-
Exercise #6(HW):-
1): ∫ 2): ∫
3): ∫ 4): ∫
√( )( )
Answer:-
CHAPTER # 5
PART-II: ELLIPTIC NTEGRLAS
( ) ∫ ,
√
( ) ∫ √ ,
Also called Legendre’s form for the elliptic integral of the second kind. If the
integral is called the complete elliptic integral of the second kind and is denoted by ( ) or
simply .
( ) =∫ , .
( )√
Also called Legendre’s from for the elliptic integral of the third kind. Here is a constant
assumed different from zero since if third kind reduces to first kind. If the
integral is called the complete elliptic integral of the third kind.
Examples:-
1): ∫ (√ )
√
2): ∫ (√ )= (√ ) (√ )
√
3): ∫ . / = . / . /
√
4): ∫ √ . /
5): ∫ √ (√ ) = (√ )
6): ∫ √ . /= ( )
7): ∫ = . /
. /√
8): ∫ = (√ ) (√ )
. /√
Example #1 :-
Prove that if :
( ) =∫ = { . / . / . / }.
√
Solution:-
. /. / . /. /. /
( ) . /( ) ( ) ( ) +...
+…
√
Putting , we have
+…
√
∫ ∫ ∫ ∫ ∫
√
( )( )( )
( )( )
∫
( )( )( )
{ ( )( )
Then,
∫ | ∫
( ) =∫
√
( ) =∫ = { . / . / . / }.
√
Example # 2 :-
integral.
Solution:-
Let, –
Then,
∫ ∫ ∫
√ √
√ . /
Let
√ √
√ √ √ √
when, and,
∫ √
∫ =∫
√ √ √
∫ ∫ ∫
√ √ √
∫ ∫ √ (√ ) √ (√ )
√ √
√
∫ √ { ( ) (√ ) ( ) (√ ) ( ) (√ ) }
√
∫
√
Example # 3 :-
Solution:-
Let
√ √
=
√ √ √ √
when, and,
∫ √ =∫ √ ∫
√ √
( )
∫ √ =2∫
√
∫ √ ∫ √ ∫
√
∫ √ ∫ √ ∫
√
∫ √ √ ∫ √ √ ∫
√
∫ √ √ (√ ) √ (√ )
∫ √ √ (√ ) √ (√ )
Example # 4 :-
Evaluate: ∫ √ .
Solution:-
We have,
∫ √ ∫ √( ( )) ∫ √
Since, . /
∫ √ ∫ √ ( ) ∫ √
∫ √ √ ∫ √ √ S (√ )
Example # 5 :-
Solution:-
Let,
√ √
when, and ( )
Then,
∫ √ ∫ √
√
∫ √ ∫ ∫
√ √
. /
∫ √ ∫
√
∫ √ ∫ ∫ √
√
∫ √ ( ) ( ) ( )
Example # 6 :-
Prove that: ∫ (√ ) (√ ).
√ √
Solution:-
We have,
. /
Then,
∫ ∫ ∫
√ √
√ √
Let, –
∫ ∫ ∫
√ √ √
√ . – / √
∫ ( ) ∫ ( ) ∫ ( )
∫ ∫ ∫
√ √
√ √
[ ]
∫ * (√ ) (√ )+
√ √
Example # 7 :-
Solution:-
Arc-length ∫ √ . / ∫ √
Since, ∫ ( ) ∫ ( ) , if ( ) is even
Arc-length ∫ √ ∫ √
Arc-length √ ∫ √ √ (√ )
Example # 8 :-
Solution:-
Arc-length = ∫ √. / . /
Arc-length = ∫ √
Arc-length = ∫ √
Arc-length = ∫ √ ( )
Arc-length = ∫ √
Arc-length = ∫ √
This integral can not be evaluated in the form of the elementary functions (
). It is define a new function, called elliptic functions. This integral is called
the elliptic integral as it is derived from the determination of the Perimeter of the ellipse.
This integral can not be evaluated by standard methods of integration. First the integrand
√ is expanded as power series and integrated term by term
Arc-length ( ) ,
Example # 9 :-
Solution:-
Let,
When,
and,
∫ ∫ ∫
√( )( ) √( )( ) √
∫ ∫ ( ) ( ) ( )
√( )( ) √
Example # 10 :-
Solution:-
Let,
When,
and,
Then,
∫ ∫ ∫
√( )( ) √
√
∫ ∫ ∫ √
√( )( ) √
Let,
When,
and, . /
∫ ∫ ∫
√( )( ) √ √ √
∫ *∫ ∫ +
√( )( ) √ √ √
∫ * (√ ) (√ )+
√( )( ) √
Example # 11 :-
Solution :-
Let,
When,
and,
∫ ∫
√( )( ) √( )( )
∫ ∫ ∫
√
√( )( ) √
∫ ∫ ∫
√ √
√( )( )
√ √
∫ ∫ ( ) ( )
√( )( ) √
Example # 12 :-
Solution:-
Let,
When,
and,
Then,
∫ ∫
( )√( )( ) ( )√( )( )
∫ ∫
( )√( )( ) √
∫ ∫
( )√( )( ) ( )√ )
( )
∫ ∫
( )√( )( ) ( )√ )
∫ ∫ ∫
( )√( )( ) √ ( )√ )
∫ ∫ ∫
( )√( )( ) √ ) ( )√ )
∫ ∫ ∫
( )√( )( ) √ . /√ )
√ √
∫ ( ) ( )
( )√( )( )
Example # 13 :-
Solution:-
Let, . Then,
∫
√( )( )
∫
√* ( ) +* ( ) +
Then,
∫
√( )( )
Let,
Then,
∫
√( )( )
Choose so that the coefficient of in each quadratic is equal to the term i.e = 9
or = 3. Then,
∫
√( )( )
Let ( )
,
Then,
√ ∫
√( )( )
Example #14 :-
Solution:-
We have,
∫
√
EXERCISE- 5
PART-I: IMPROPER INTEGRALS
“Evaluate the following improper integral”
1): ∫ 2): ∫ ( )
3): ∫ 4): ∫
√
5): ∫ ⁄
6): ∫
( )
7): ∫ 8): ∫
( )
9): ∫ 10): ∫
( ) ( )
11): ∫ 12): ∫
13): ∫ 14): ∫
15): ∫ 16): ∫
√ √
17): ∫ 18): ∫
√ ( )
⁄ ( )
19): ∫ 20): ∫
⁄
21): ∫ 22): ∫
23): ∫ 24): ∫
Answers:-
1): 1 2): 0
3): 4):
5): 6):
7): 8):
9): 10): 0
11): 0 12):
13): 14): 0
15): -4 16): 2
17): 18):
19): 20):
21): 22): 6
23): 24):
25): ∫ 26): ∫
27): ∫ 28): ∫
√
29): ∫ 30): ∫
√
31): ∫ 32): ∫
√
33): ∫ 34): ∫
35): ∫ 36): ∫
37): ∫ 38): ∫
39): ∫ ( ) 40): ∫
41): ∫ 42): ∫
√ ( )
43): ∫ 44): ∫
( )√ √
45): ∫ 46): ∫
√ ( ) ⁄
47): ∫ 48): ∫
⁄
49): ∫ 50): ∫
√( )( )
Answers:-
EXERCISE- 5
PART-II: ELLIPTIC INTEGRALS
Example # 51 :-
Prove that if :
( ) =∫ = { . / . / . / }.
√
Example # 52 :-
Answer:-
∫
√
Example # 53 :-
Answer:-
∫ √ √ (√ ) √ (√ )
Example # 54 :-
Evaluate: ∫ √ .
Answer:-
∫ √ √ S (√ )
Question # 55:-
Express ∫ √ in terms of incomplete elliptic integrals, where .
Answer:-
∫ √ ( ) ( ) ( )
Example # 56 :-
Prove that: ∫ (√ ) (√ ).
√ √
Example # 57 :-
Answer:-
Arc-length √ ∫ √ √ (√ )
Example # 58 :-
Answer:-
Arc-length ( )
Example # 59 :-
Answer:-
∫ ( ) ( ) ( )
√( )( )
Question # 60:-
Evaluate in term of Elliptical Integrals:∫ .
√( )( )
Answer:-
∫ * (√ ) (√ )+
√( )( ) √
Example # 61 :-
Answer:-
√ √
∫ ∫ ( ) ( )
√( )( ) √
Example # 62 :-
Answer:-
√ √
∫ ( ) ( )
( )√( )( )
Example # 63 :-
Answer:-
√ ∫
√( )( )
Question # 64:-
Question # 65:-
a): Use the binomial theorem to show that if | | .
√ ( ) ( ) ( )
. /=∫ √
. /= { . / (. / . / }
Question # 66:-
Evaluate:
√ √ √
a): . / b): . / c): S(0.5) d): . /
Answer:-
Question # 67:-
Show that:
a): ( )
b): ( ) ( ) . /
Question # 68 :-
Find the perimeter of the ellipse .
Answer:-
15.865
Question # 69:-
Answer:-
∫ ( )
√ √ √
Question # 70:-
Answer:-
( ) (√ )
√ √
Question # 71:-
√
Show that: ∫ ( √ )
√
Question # 72:-
Evaluate: ∫ .
√ ( )( )
Answer:-
∫ √ ( )
√ ( )( ) √
Question # 73:-
∫ . /.
√ √ √
Question # 74:-
a): ∫
√( )( )
b): ∫ √
c): ∫
√( )( )
Answer:-
a): . / b): . / c): √ . /
√
Question # 75:-
Evaluate:
a): ∫
√( )( )( )
b): ∫
√( )( )( )
Answer :-
√ √
a): ( )
√ √
b): . / . /
Question # 76:-
√
Show that:∫ . /.
√
Summary Of CH # 5
PART-I: IMPROPER INTEGRLAS
Improper Integral of first kind:-
1st Type: ∫ ( ) ∫ ( ) , -
2nd Type: ∫ ( ) ∫ ( ) , -
3rd Type: ∫ ( ) = ∫ ( ) , -
∫ ( ) ∫ ( ) +∫ ( )
∫ ( ) ∫ ( ) + ∫ ( )
( ) = ( ) ( )
1st Type: ∫ ( ) ∫ ( ) 0 ( ) 1
2nd Type: ∫ ( ) ∫ ( ) 0 ( ) 1
3rd Type ∫ ( ) =∫ ( ) ∫ ( ) 0 ( ) 1
∫ ( ) ∫ ( ) ∫ ( )
( ) = ( ) ( )
Theorem – 2:-
Let ( ) , then
Theorem-3:-
Let ( ) ( ) then
Let ( ) ( ) then
Theorem-3:-
Important Note:-
Summary Of CH # 5
PART-II: ELLIPTIC INTEGRLAS
1): The Incomplete Elliptic Integral of the First Kind:-
It is defined as,
( ) ∫ ,
√
( ) ∫ √ ,
Also called Legendre’s form for the elliptic integral of the second kind. If the
integral is called the complete elliptic integral of the second kind and is denoted by ( ) or
simply .
( ) =∫ , .
( )√
Also called Legendre’s from for the elliptic integral of the third kind. Here is a constant
assumed different from zero since if third kind reduces to first kind. If the
integral is called the complete elliptic integral of the third kind.