IJRAH2022020309
IJRAH2022020309
IJRAH2022020309
ABSTRACT
In this paper, the Harmonic mean and Contra-harmonic mean of two endpoints [a,b] are applied at the derivative of the
error term in the existing CNC formulas. This modified error term is included as an additional function to the existing formula.
The new error terms are derived using the method of precision for the proposed formulas. Comparisons are made between the
existing CNC formulas and the proposed CNC formulas by using numerical examples. The proposed Harmonic mean derivate-
based (HMD) and the Contra-harmonic mean derivative-based (CHMD). CNC formulas give better results for definite integrals.
Another two of its statistical means are discussed and derived for the existing CNC formulas in the subsequent paper.
Harmonic mean derivative-based closed 2𝑏)5 + 81𝑏 5 )(𝑎 + 𝑏) − 24(𝑏 − 𝑎)4 𝑎𝑏)
Trapezoidal formula with the error term is Hence,
1 𝑏−𝑎
𝑏 𝑏−𝑎 (𝑏−𝑎)3 2𝑎𝑏 𝐸11 [𝑓] = (𝑏 6 − 𝑎6 ) − ((81𝑏 5 + (2𝑎 +
∫𝑎 𝑓(𝑥)𝑑𝑥 ≈ (𝑓(𝑎) + 𝑓(𝑏)) − 𝑓 (2) ( ) 720 12960(𝑎+𝑏)
2 12 𝑎+𝑏
(𝑏−𝑎)3 𝑏)5 + (𝑎 + 2𝑏)5 + 81𝑏 5 )(𝑎 + 𝑏) − 24(𝑏 − 𝑎)4 𝑎𝑏) =
− 𝑓 (4) (𝜉). (1.9) (𝑏−𝑎)7
24(𝑎+𝑏)
− .
where 𝜉 𝜖 (a, b). This is the fourth order accurate with the 12960(𝑎+𝑏)
error term Hence, the error term is
(𝑏−𝑎)5 (𝑏−𝑎)7
𝐸1 [𝑓] = − 𝑓 (4) (𝜉). 𝐸11 [𝑓] = − 𝑓 (6) (𝜉).
24(𝑎+𝑏) 12960(𝑎+𝑏)
Proof: Theorem 1.8
𝑏
1 1 Harmonic mean derivative-based closed Boole's
The exact value of ∫ 𝑥 3 𝑑𝑥 = 24 (𝑏 4 − 𝑎4 );
3! 𝑎
𝑏−𝑎 formula with the error term is
By using (1.1) ⟹ ((𝑏 3 + 𝑎3 )(𝑎 + 𝑏) − (𝑏 − 𝑏 𝑏−𝑎 3𝑎+𝑏 𝑎+𝑏
12(𝑎+𝑏) ∫𝑎 𝑓(𝑥)𝑑𝑥 ≈ 90
[7𝑓(𝑎) + 32𝑓 (
4
) + 12𝑓 (
2
)+
2
𝑎) (2𝑎𝑏)) 𝑎+3𝑏 (𝑏−𝑎)7 (6) 2𝑎𝑏
Hence, 32𝑓 ( ) + 7𝑓(𝑏)] − 𝑓 ( )−
4 1935360 𝑎+𝑏
1 𝑏−𝑎 (𝑏−𝑎)9
𝐸9 [𝑓] = − (𝑏 4 − 𝑎4 ) − ((𝑏 3 + 𝑎3 )(𝑎 + 𝑏) − 𝑓 (8) (𝜉). (3.12)
24 12(𝑎+𝑏) 3870720(𝑎+𝑏)
(𝑏−𝑎)5 where 𝜉 𝜖 (a, b). This is the eighth order accurate with the
2(𝑏 − 𝑎)2 𝑎𝑏) = −
24(𝑎+𝑏)
error term
Hence, the error term is (𝑏−𝑎)9
(𝑏−𝑎)5 (4) 𝐸12 [𝑓] = − 𝑓 (8) (𝜉).
𝐸9 [𝑓] = − 𝑓 (𝜉). 3870720(𝑎+𝑏)
24(𝑎+𝑏)
Proof:
Theorem 1.6 1 𝑏 7 1
Harmonic mean derivative-based closed The exact value of ∫ 𝑥 𝑑𝑥 = (𝑏 8 −
7! 𝑎 40320
Simpson's 1/3rd formula with the error term is 8 );
𝑎
𝑏 𝑏−𝑎 𝑎+𝑏 𝑏−𝑎
∫𝑎 𝑓(𝑥)𝑑𝑥 ≈ [𝑓(𝑎) + 4𝑓 ( ) + 𝑓(𝑏)] − By using (1.4) ⟹ = (97𝑎7 + 91𝑎6 𝑏 +
2 2 7! .768
(𝑏−𝑎)5 2𝑎𝑏 (𝑏−𝑎)7 105𝑎5 𝑏 2 + 91𝑎4 𝑏 3 + 91𝑎3 𝑏 4 + 105𝑎2 𝑏 5 + 91𝑎𝑏 6 +
𝑓 (4) ( )− 𝑓 (6)
(𝜉). (1.10)
2880 𝑎+𝑏 5760(𝑎+𝑏)
97𝑎𝑏 7 )(𝑎 + 𝑏) − 4(𝑏 − 𝑎)6 𝑎𝑏),
where 𝜉 𝜖 (a, b). This is the sixth order accurate with the Hence,
error term 1 𝑏−𝑎
(𝑏−𝑎)7 𝐸12 [𝑓] = (𝑏 8 − 𝑎8 ) = (97𝑎7 + 91𝑎6 𝑏 +
𝐸10 [𝑓] = − 𝑓 (6) (𝜉). 40320 7! .768
5760(𝑎+𝑏) 105𝑎5 𝑏 2 + 91𝑎4 𝑏 3 + 91𝑎3 𝑏 4 + 105𝑎2 𝑏 5 + 91𝑎𝑏 6 +
Proof: (𝑏−𝑎)9
1 𝑏 1 97𝑎𝑏 7 )(𝑎 + 𝑏) − 4(𝑏 − 𝑎)6 𝑎𝑏), =− .
The exact value of ∫ 𝑥 5 𝑑𝑥
5! 𝑎
=
720
(𝑏 6 −𝑎 6 ); 3870720(𝑎+𝑏)
𝑏−𝑎 Therefore, the error term is
By using (1.2) ⟹ ((8𝑏 5 + (𝑎 + 𝑏)5 + (𝑏−𝑎)9
5 4
5760(𝑎+𝑏) 𝐸4 [𝑓] = − 𝑓 (8) (𝜉).
8𝑏 )(𝑎 + 𝑏) − 4(𝑏 − 𝑎) 𝑎𝑏), 3870720(𝑎+𝑏)
Hence,
𝐸10 [𝑓] =
1
(𝑏 6 − 𝑎6 ) −
𝑏−𝑎
((8𝑏 5 + (𝑎 + 𝑏)5 + V. CHMD-CNC FORMULAS
720 5760(𝑎+𝑏)
(𝑏−𝑎)7
8𝑏 5 )(𝑎 + 𝑏) − 4(𝑏 − 𝑎)4 𝑎𝑏) = − . In this section, Contra-harmonic mean
5760(𝑎+𝑏)
Hence, the error term is derivative-based closed Newton cotes quadrature formula
(𝑏−𝑎)7 is derived by using the Contra-harmonic mean value of
𝐸10 [𝑓] = − 𝑓 (6) (𝜉). the terminal points [a, b] at the derivative of Trapezoidal
5760(𝑎+𝑏)
Theorem 1.7 formula, Simpson's 1/3rd formula, Simpson's 3/8th formula
Harmonic mean derivative-based closed and Boole's formula for the valuation of a
Simpson's 3/8th formula with the error term is definite integral.
57 Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)
Integrated Journal for Research in Arts and Humanities
ISSN (Online): 2583-1712
Volume-2 Issue-3 || May 2022 || PP. 55-61 https://doi.org/10.55544/ijrah.2.3.36
(𝑏−𝑎)7
By using (1.6) ⟹
𝑏−𝑎
(8𝑎5 + (𝑎 + 𝑏)5 + 8𝑏 5 − 2(𝑏 − 𝐸15 [𝑓] = − 𝑓 (6) (𝜉).
12960(𝑎+𝑏)
5! .48
Theorem 3.16
𝑎2 +𝑏 2 Contra-harmonic mean derivative-based closed
𝑎)4 ( ))
𝑎+𝑏 Boole's formula with the error term is
Hence, 𝑏 𝑏−𝑎 3𝑎+𝑏 𝑎+𝑏
∫𝑎 𝑓(𝑥)𝑑𝑥 ≈ [7𝑓(𝑎) + 32𝑓 (
90
) + 12𝑓 ( ) +
4 2
1 𝑏−𝑎 (𝑏−𝑎)7 2 2
𝐸14 [𝑓] = − (𝑏 6 − 𝑎6 ) − (8𝑎5 + (𝑎 + 𝑏)5 + 32𝑓 (
𝑎+3𝑏
) + 7𝑓(𝑏)] − (6) 𝑎 +𝑏
𝑓 ( ) +
720 5! .48 4 1935360 𝑎+𝑏
(𝑏−𝑎)9
8𝑏 5 − 2(𝑏 − 𝑎)4 (
𝑎2 +𝑏 2
)) = −
(𝑏−𝑎)7
. 𝑓 (8) (𝜉). (3.16)
3870720(𝑎+𝑏)
𝑎+𝑏 5760(𝑎+𝑏)
where 𝜉 𝜖 (a, b). This is the fourth order accurate with the
Hence, the error term is error term
(𝑏−𝑎)7
𝐸14 [𝑓] = − 𝑓 (6) (𝜉). 𝐸16 [𝑓] =
(𝑏−𝑎)9
𝑓 (8) (𝜉).
5760(𝑎+𝑏)
3870720(𝑎+𝑏)
Theorem 1.15 Proof:
Contra-harmonic mean derivative-based closed 1 𝑏 7 1
The exact value of ∫ 𝑥 𝑑𝑥 = (𝑏 6 −
Simpson's 3/8th formula with the error term is 7! 𝑎 40320
𝑏 𝑏−𝑎 2𝑎+𝑏 𝑎+2𝑏 𝑎6 );
∫𝑎 𝑓(𝑥)𝑑𝑥 ≈ [𝑓(𝑎) + 3𝑓 ( ) + 3𝑓 ( )+
8 3 3 By using (1.8) ⟹
(𝑏−𝑎)5 𝑎2 +𝑏 2 (𝑏−𝑎)7
𝑓(𝑏)] − 𝑓 (4) ( )− 𝑓 (6) (𝜉). (1.15) 𝑏−𝑎 97𝑎7 + 91𝑎6 𝑏 + 105𝑎5 𝑏 2 + 91𝑎4 𝑏 3 + 91𝑎3 𝑏 4
6480 𝑎+𝑏 12960(𝑎+𝑏)
( 𝑎2 +𝑏 2 )
where 𝜉 𝜖 (a, b). This is the fourth order accurate with the 7! .748 +105𝑎2 𝑏 5 + 91𝑎𝑏 6 + 97𝑎𝑏 7 − 2(𝑏 − 𝑎)4 ( )
𝑎+𝑏
error term Hence,
(𝑏−𝑎)7 1
𝐸15 [𝑓] = − 𝑓 (6) (𝜉). 𝐸16 [𝑓] = − (𝑏 6 − 𝑎6 ) −
12960(𝑎+𝑏) 720
Proof: 𝑏−𝑎 97𝑎 + 91𝑎6 𝑏 + 105𝑎5 𝑏 2 + 91𝑎4 𝑏 3 + 91𝑎3 𝑏 4
7
1 𝑏 5 1 ( 𝑎2 +𝑏 2 )
The exact value of ∫ 𝑥 𝑑𝑥 = (𝑏 6 − 𝑎6 ); 7! .648 +105𝑎 2 𝑏 5 + 91𝑎𝑏 6 + 97𝑎𝑏 7 − 2(𝑏 − 𝑎)4 ( )
5! 𝑎 720 𝑎+𝑏
𝑏−𝑎 (𝑏−𝑎)9
By using (1.7) ⟹ (81𝑎5 + (2𝑎 + 𝑏)5 + (𝑎 + = .
5! .648 3870720(𝑎+𝑏)
Therefore, the error term is
𝑎2 +𝑏 2 (𝑏−𝑎)9
2𝑏)5 + 81𝑏 5 − 12(𝑏 − 𝑎)4 ( )) 𝐸16 [𝑓] = 𝑓 (8) (𝜉).
𝑎+𝑏 3870720(𝑎+𝑏)
Hence,
1
𝐸15 [𝑓] = − (𝑏 6 − 𝑎6 ) − VII. SUMMARY
720
𝑏−𝑎
81𝑎 + (2𝑎 + 𝑏)5 + (𝑎 + 2𝑏)5 + 81𝑏 5
5
( 𝑎2 +𝑏 2 ) The summary of precision, the orders and the
5! .648 −12(𝑏 − 𝑎)4 ( ) error terms of Harmonic mean and Contra-harmonic mean
𝑎+𝑏
(𝑏−𝑎)7 derivative-based CNC formulas are presented in Table
=− .
12960(𝑎+𝑏) 1.1.
Hence, the error term is
Table 1.1: The Error terms of HMD and CHMD based CNC formulas
Table 3.1 indicate that the proposed HMD and Example 1.1
2
CHMD based CNC formulas increase a single order of Solve ∫1 𝑒 𝑥 𝑑𝑥 and compare the solutions with
precision than the existing CNC formulas. the CNC and HMD-CNC formulas.
1.8 Numerical examples Solution:
To compare the efficiency of the existing CNC 2
formulas and the HMD and CHMD based CNC The exact value of ∫1 𝑒 𝑥 𝑑𝑥 = 4.67077427
formulas.