An Improved Hybrid Algorithm to Bisection Method and Newton-Raphson Method

Similar documents
A Review of Bracketing Methods for Finding Zeros of Nonlinear Functions

Dynamical Behavior for Optimal Cubic-Order Multiple Solver

Improvements in Newton-Rapshon Method for Nonlinear Equations Using Modified Adomian Decomposition Method

BEKG 2452 NUMERICAL METHODS Solution of Nonlinear Equations

Basins of Attraction for Optimal Third Order Methods for Multiple Roots

Iterative Methods for Single Variable Equations

Another Sixth-Order Iterative Method Free from Derivative for Solving Multiple Roots of a Nonlinear Equation

On a Certain Representation in the Pairs of Normed Spaces

A Note on Multiplicity Weight of Nodes of Two Point Taylor Expansion

A New Approach to Find Roots of Nonlinear Equations by Hybrid Algorithm to Bisection and Newton-Raphson Algorithms

Variable. Peter W. White Fall 2018 / Numerical Analysis. Department of Mathematics Tarleton State University

Goals for This Lecture:

A Two-step Iterative Method Free from Derivative for Solving Nonlinear Equations

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 5. Nonlinear Equations

Solving Homogeneous Systems with Sub-matrices

Midterm Review. Igor Yanovsky (Math 151A TA)

A Generalization of Generalized Triangular Fuzzy Sets

Chapter 3: Root Finding. September 26, 2005

Numerical Differentiation & Integration. Numerical Differentiation II

3.1 Introduction. Solve non-linear real equation f(x) = 0 for real root or zero x. E.g. x x 1.5 =0, tan x x =0.

Double Total Domination in Circulant Graphs 1

Restrained Independent 2-Domination in the Join and Corona of Graphs

A Family of Optimal Multipoint Root-Finding Methods Based on the Interpolating Polynomials

CS 323: Numerical Analysis and Computing

Nonlinearity Root-finding Bisection Fixed Point Iteration Newton s Method Secant Method Conclusion. Nonlinear Systems

Non Isolated Periodic Orbits of a Fixed Period for Quadratic Dynamical Systems

Scientific Computing: An Introductory Survey

Nonlinearity Root-finding Bisection Fixed Point Iteration Newton s Method Secant Method Conclusion. Nonlinear Systems

Third and Fourth Order Piece-wise Defined Recursive Sequences

Double Total Domination on Generalized Petersen Graphs 1

CS 323: Numerical Analysis and Computing

International Mathematical Forum, Vol. 9, 2014, no. 36, HIKARI Ltd,

The Generalized Viscosity Implicit Rules of Asymptotically Nonexpansive Mappings in Hilbert Spaces

A Note on the Carlitz s Type Twisted q-tangent. Numbers and Polynomials

Explicit Expressions for Free Components of. Sums of the Same Powers

Development of a Family of Optimal Quartic-Order Methods for Multiple Roots and Their Dynamics

Approximations to the t Distribution

KKM-Type Theorems for Best Proximal Points in Normed Linear Space

Outline. Scientific Computing: An Introductory Survey. Nonlinear Equations. Nonlinear Equations. Examples: Nonlinear Equations

Nonlinear Equations. Chapter The Bisection Method

The Expansion of the Confluent Hypergeometric Function on the Positive Real Axis

On Permutation Polynomials over Local Finite Commutative Rings

Numerical Analysis. EE, NCKU Tien-Hao Chang (Darby Chang)

The Shifted Data Problems by Using Transform of Derivatives

Solving Non-Linear Equations (Root Finding)

Numerical Methods in Physics and Astrophysics

Numerical Analysis Fall. Roots: Open Methods

Hyers-Ulam-Rassias Stability of a Quadratic-Additive Type Functional Equation on a Restricted Domain

On a 3-Uniform Path-Hypergraph on 5 Vertices

On Symmetric Bi-Multipliers of Lattice Implication Algebras

Numerical Methods in Physics and Astrophysics

Numerical Methods Lecture 3

ROOT FINDING REVIEW MICHELLE FENG

Root Finding (and Optimisation)

One-Step Hybrid Block Method with One Generalized Off-Step Points for Direct Solution of Second Order Ordinary Differential Equations

CHAPTER 4 ROOTS OF EQUATIONS

PART I Lecture Notes on Numerical Solution of Root Finding Problems MATH 435

Symmetric Properties for the (h, q)-tangent Polynomials

Hermite-Hadamard Type Inequalities for Fractional Integrals

Mappings of the Direct Product of B-algebras

Direct Product of BF-Algebras

On the Deformed Theory of Special Relativity

Remark on the Sensitivity of Simulated Solutions of the Nonlinear Dynamical System to the Used Numerical Method

Sums of Tribonacci and Tribonacci-Lucas Numbers

A Queueing Model for Sleep as a Vacation

Note on the Expected Value of a Function of a Fuzzy Variable

On Two New Classes of Fibonacci and Lucas Reciprocal Sums with Subscripts in Arithmetic Progression

1. Method 1: bisection. The bisection methods starts from two points a 0 and b 0 such that

Hyperbolic Functions and. the Heat Balance Integral Method

1.1: The bisection method. September 2017

Z. Omar. Department of Mathematics School of Quantitative Sciences College of Art and Sciences Univeristi Utara Malaysia, Malaysia. Ra ft.

Introductory Numerical Analysis

Investigation on the Most Efficient Ways to Solve the Implicit Equations for Gauss Methods in the Constant Stepsize Setting

x 2 x n r n J(x + t(x x ))(x x )dt. For warming-up we start with methods for solving a single equation of one variable.

A Short Note on Universality of Some Quadratic Forms

Line Search Methods. Shefali Kulkarni-Thaker

Generalized Boolean and Boolean-Like Rings

NUMERICAL AND STATISTICAL COMPUTING (MCA-202-CR)

2-Semi-Norms and 2*-Semi-Inner Product

Solution of Nonlinear Equations

Numerical Methods in Informatics

SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS BISECTION METHOD

Single Variable Minimization

Locating Chromatic Number of Banana Tree

Research on Independence of. Random Variables

Buffon-Laplace Type Problem for an Irregular Lattice

Efficient Calculation of the Weight. Distributions for Linear Codes over. Large Finite Fields

A Class of Multi-Scales Nonlinear Difference Equations

Determination of Young's Modulus by Using. Initial Data for Different Boundary Conditions

p 1 p 0 (p 1, f(p 1 )) (p 0, f(p 0 )) The geometric construction of p 2 for the se- cant method.

Double Contraction in S-Metric Spaces

Quadratic Optimization over a Polyhedral Set

Complete Ideal and n-ideal of B-algebra

Poincaré`s Map in a Van der Pol Equation

Root Finding For NonLinear Equations Bisection Method

Solution of nonlinear equations

CHAPTER-II ROOTS OF EQUATIONS

Solutions of Equations in One Variable. Newton s Method

Advanced Studies in Theoretical Physics Vol. 8, 2014, no. 22, HIKARI Ltd,

Transcription:

Applied Mathematical Sciences, Vol. 11, 2017, no. 56, 2789-2797 HIKARI Ltd, www.m-hikari.com https://doi.org/10.12988/ams.2017.710302 An Improved Hybrid Algorithm to Bisection Method and Newton-Raphson Method Jeongwon Kim, Taehoon Noh, Wonjun Oh, Seung Park Incheon Academy of Science and Arts Incheon 22009, Korea Nahmwoo Hahm 1 Department of Mathematics, Incheon National University Incheon 22012, Korea Copyright c 2017 Jeongwon Kim, Taehoon Noh, Wonjun Oh, Seung Park and Nahmwoo Hahm. This article is distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Abstract In this paper, we investigate the hybrid algorithm to the bisection method and the Newton-Raphson method suggested in [1]. We suggest an improved hybrid algorithm that is suitable for functions which are not applicable to the hybrid algorithm[1]. We give some numerical results to justify our algorithm. Mathematics Subject Classification: 65H04, 65H99 Keywords: Hybrid Algorithm, Bisection Method, Newton-Raphson Method 1 Introduction Finding an approximated solution to the root of a nonlinear equation is one of the main topics of numerical analysis([4], [6]). An algorithm for finding x such that f(x) = 0 is called a root-finding algorithm. The bisection method 1 Corresponding author This research was supported by Incheon Academy of Science and Arts Fund, 2017.

2790 J. Kim, T. Noh, W. Oh, S. Park and N. Hahm using the intermediate value theorem is the simplest root-finding algorithm. Note that the bisection method converges slowly but it is reliable. Tanakan[7] suggested a modified bisection method using the concept of the secant method. On the other hand, the Newton-Raphson method using the derivative of a given nonlinear function is a root-finding algorithm which is more efficient than the bisection method. Note that the Newton-Raphson method converges quadratically although the bisection method converges linearly. Homeier[2] suggested a modified Newton-Raphson method with cubic convergence. Since the Newton-Raphson method may not be reliable, Altaee, Hoomod and Hussein[1] suggested a hybrid algorithm to the bisection method and the Newton-Raphson method. In addition, Hussein, Altaee and Hoomod[3] investigated a parallel hybrid algorithm to improve the simultaneous root-find algorithm suggested in [5]. In this paper, we give some examples which show that the hybrid algorithm suggested in [1] may not be complete. So, we suggested an improved hybrid algorithm that is more reliable than the hybrid algorithm[1] and more efficient than the bisection method. 2 Main Results The Hybrid algorithm suggested by Altaee, Hoomod and Hussein[1] was given as follows. Hybrid Algorithm : Given f(x), f (x), [a, b](interval) and δ = 1.0 10 5 (tolerance error) Step 1 : for i = 1 to 2 Step 2 : x i = a+b 2 Step 3 : If f(x i ) = 0 or f(x i ) < δ, then go to Step 10. Step 4 : If f(a) f(x i ) < 0, then b = x i. Step 5 : Else, a = x i. Step 6 : end for Step 7 : x = x i [f(x i )/f (x i )] Step 8 : If f(x) < δ, then go to Step 10. Step 9 : x i = x and go to Step 7. Step 10 : Stop iteration.

Improved hybrid algorithm 2791 Hybrid Method n x n f(x n ) 1 0.5000000 0.4636476 2-1.7500000-1.0516502 3 2.5223290 1.1933462 4-6.2632575-1.4124713 5 50.5581955 1.5510197 6-3915.6026410-1.5705409 7 2.4075531 10 7 1.5707963 8-9.1048253 10 14-1.5707963 9 1.3021563 10 30 1.5707963 10-2.6634595 10 60-1.5707963 11 1.1143255 10 121 1.5707963 12-1.9504914 10 242-1.5707963 Table 1: Hybrid Method for f(x) = T an 1 x on [ 4, 5] In this algorithm, Altaee, Hoomod and Hussein suggested two bisection steps at the beginning and then applied the Newton-Raphson steps without considering a given function and an interval. Now, we show that the hybrid algorithm[1] may not be a good root-finding algorithm for f(x) = T an 1 x on [ 4, 5]. We obtain numerical results implemented by MATHEMATICA. As we can see in Table 1, the sequence {x n } obtained by the hybrid algorithm[1] diverges although the root of the nonlinear equation f(x) = 0 is x = 0. The main reason of this result comes from the fact that the sequence obtained by the Newton-Raphson method in the hybrid algorithm[1] may not converge although the interval containing a root of nonlinear equation reduced by applying the bisection method twice. In order to avoid the shortcoming of the hybrid algorithm[1], we suggest an improved hybrid algorithm. In our improved hybrid algorithm, we compute the x-intercept x using the Newton-Raphson method at the midpoint of the previous interval. We set [a 0, b 0 ] = [a, b]. If x [a n 1, b n 1 ], then we set x n = x and test the intermediate value theorem on [a n 1, x n ] and [x n, b n 1 ]. When we determine the interval which contains a root by the intermediate value theorem, we denote it by [a n, b n ]. If x / [a n 1, b n 1 ], then we set x n = a n 1 +b n 1 2 and test the intermediate value theorem on [a n 1, x n ] and [x n, b n 1 ]. When we determine the interval which contains a root by the intermediate value theorem, we denote it by [a n, b n ]. This process gives us a reliability for the convergence of our algorithm. In addition, our algorithm is more efficient than the bisection method since we mix the bisection method with the Newton- Raphson method.

2792 J. Kim, T. Noh, W. Oh, S. Park and N. Hahm Improved Hybrid Method n x n f(x n ) 1-0.0795595-0.0793922 2 2.4602202 1.1847268 3 1.1903304 0.8720762 4 0.5553854 0.5069685 5-0.0088784-0.0088782 6 0.2732535-0.2667418 7-0.0015345-0.0015345 8 0.1358595 0.1350327 9-0.0002018-0.0002018 10 0.0678289 0.0677251 11-0.0000258-0.0000258 12 0.0339015 0.0338886 13-3.2394 10 6-3.2394 10 6 Table 2: Improved Hybrid Method for f(x) = T an 1 x on [ 4, 5] An Improved hybrid algorithm to the bisection method and the Newton- Raphson method is given as follows. Improved Hybrid Algorithm : Given f(x), f (x), [a, b](interval) and δ = 1.0 10 5 (tolerance error) Step 1 : i = 1. Step 2 : c = a+b 2. Step 3 : if a < c f(c) f (c) < b, then x i = c f(c) f (c). Step 4 : Else, x i = a+b 2. Step 5 : If f(x i ) < δ, then go to Step 8. Step 6 : If f(a)f(x i ) < 0, then b = x i and go to Step 2. Step 7 : Else, a = x i and go to Step 2. Step 8 : Stop iteration. As we can see in Table 2, the sequence {x n } obtained by the improved hybrid algorithm converges although the sequence {x n } obtained by the hybrid algorithm[1]. In addition, the number of iteration by the improved hybrid algorithm is 13 although the number of iteration by the bisection method is 22 when the tolerance error is 1.0 10 5.

Improved hybrid algorithm 2793 3 Numerical Results We suggest another example to show that the improved hybrid algorithm is more reliable than the hybrid algorithm[1]. Note that g(x) = 0 has a root on [ 5, 6] since g is continuous on [ 5, 6] and g( 5)g(6) < 0. Using MATHEMATICA, we obtain sequences by the hybrid algorithm[1] and the improved hybrid algorithm for g(x) = e sin x2 3x 5x 150 on [ 5, 6]. We use 1.0 10 5 as the tolerance error. As we can see in Table 3, the sequence {x n } obtained by the improved hybrid algorithm converges although the sequence {x n } obtained by the hybrid algorithm[1] diverges. In order to show that our improved hybrid algorithm is faster than the bisection method, we select f 1 (x) = e x +cos x on [ 2, 2] and f 2 (x) = 10xe x2 1 on [ 1, 1] which are used in [7]. We use 1.0 10 5 as the tolerance error. The results are given as follows. 4 Conclusion and Remarks We suggest an improved hybrid algorithm which converges to the root of a nonlinear equation faster than the bisection method. Because of the complexity of our algorithm, we don t get the rate of convergence of our improved hybrid algorithm. So, we will try to compute the rate of convergence of our improved algorithm in the future. In addition, we show by some examples that our algorithm is more reliable than the hybrid algorithm[1]. In order to get a reliable simultaneous roots of nonlinear equations, we will investigate the possibility of application of our improved hybrid algorithm to the parallel hybrid algorithm[3] in the future.

2794 J. Kim, T. Noh, W. Oh, S. Park and N. Hahm Hybrid Method Improved Hybrid Method n x n g(x n ) x n g(x n ) 1 0.5000000-152.2142380 0.5000000-152.2142380 2-2.2500000 195.0911768-2.1218032 79.2540885 3-2.1218032 79.2540884-0.8101016-124.9586965 4-1.9521700 47.6804062 1.2969686-11.2624049 5-9.1575502 1.9389065 10 12-1.7093859 68.3122991 6-9.2914207 4.7012521 10 11-1.5031773 54.1954247 7-8.7433299 5.8578208 10 11-1.3238055-1.5039385 8-8.6581316 1.2517785 10 11-1.4134914 29.6057957 9-8.6046663 6.1148261 10 10-1.3270933-0.3119595 10-8.4539618 2.0997157 10 11-1.3702923 15.0973735 11-8.5658861 5.8866025 10 10-1.3277974-0.0568913 12-8.7881915 7.4014614 10 11-1.3490449 7.5917519 13-9.4233527 3.9761811 10 12-1.3279227-0.0115291 14-9.3594539 1.0943802 10 12-1.3384838 3.8032750 15-9.3106361 5.1883829 10 11-1.3279475-0.0025323 16-9.1915704 1.3169576 10 12-1.3332156 1.9030976 17-9.2612918 5.1700554 10 11-1.3279529-0.0005888 18-9.3895544 2.0864537 10 12-1.3305842 0.9518669 19-9.3428429 7.9606218 10 11-1.3279541-0.0001415 20-9.2859527 4.6785306 10 11-1.3292692 0.4760071 21-29.9995263 3.2978752 10 39-1.3279544-0.000347 22-29.8842429 1.8347592 10 39-1.3286118 0.2380211 23-29.8605414 4.7203448 10 38-1.3279545-8.6200 10 6 24-29.8418801 2.8088627 10 38 25-30.1564858 7.2010054 10 38 26-30.7567863 8.3043867 10 39 27-30.7751150 4.6086807 10 39 28-31.2579933 5.1745219 10 40 29-31.2748019 2.3164293 10 40 30-31.3124014 8.3256500 10 40 Table 3: Hybrid and Improved Hybrid Method for g(x) = e sin x2 3x 5x 150

Improved hybrid algorithm 2795 The Bisection Method Improved Hybrid Method n x n f 1 (x n ) x n f 1 (x n ) 1 0.0000000 2.0000000 0.0000000 2.0000000 2 1.0000000 0.9081818 1.7509666-0.0055910 3 1.5000000 0.2938674 0.8754833 1.0572864 4 1.7500000-0.0044721 1.7369304 0.0106892 5 1.6250000 0.1427345 1.7461388 8.3000 10 7 6 1.6875000 0.0685425 7 1.7187500 0.0318756 8 1.7343750 0.0136603 9 1.7421875 0.0045836 10 1.7460938 0.0000531 11 1.7480469-0.0022102 12 1.7470703-0.0010787 13 1.7465820-0.0005129 14 1.7463379-0.0002299 15 1.7462158-0.0000884 16 1.7461548-0.0000177 17 1.7461243 0.0000177 18 1.7461395 4.6838 10 9 Table 4: Bisection and Improved Hybrid Method for f 1 (x) = e x + cos x

2796 J. Kim, T. Noh, W. Oh, S. Park and N. Hahm The Bisection Method Improved Hybrid Method n x n f 2 (x n ) x n f 2 (x n ) 1 0.0000000-1.0000000 0.1000000-0.0095502 2 0.5000000 2.8940039 0.5500000 3.0643267 3 0.2500000 1.3485327 0.3250000 1.9242265 4 0.1250000 0.2306206 0.2125000 1.0311773 5 0.0625000-0.3774366 0.1562500 0.5248149 6 0.0937500-0.0707036 0.1007566-0.0026111 7 0.1093750 0.0807435 0.1285033 0.2639873 8 0.1015625 0.0052027 0.1009635-0.0006044 9 0.0976563-0.0327065 0.1147334 0.1323298 10 0.0996094-0.0137407 0.1010108-0.0001453 11 0.1005859-0.0042661 0.1078721 0.0662416 12 0.1010742 0.0004690 0.1010222-0.0000356 13 0.1008301-0.0018983 0.1044472 0.0331391 14 0.1009522-0.0007146 0.1010249-8.8100 10 6 15 0.1010132-0.0001228 16 0.1010437 0.0001731 17 0.1010284 0.0000252 18 0.1010208-0.0000488 19 0.1010246-0.0000118 20 0.1010265 6.6587 10 6 Table 5: Bisection and Improved Hybrid Method for f 2 (x) = 10xe x2 1

Improved hybrid algorithm 2797 References [1] Abed Ali H. Altaee, Haider K. Hoomod and Khalid Ali Hussein, A New Approach to Find Roots of Nonlinear Equations by Hybrid Algorithm to Bisection and Newton-Raphson Algorithms, Iraqi Journal for Information Technology, 7 (2015), no. 1, 75-82. [2] H. H. H. Homeier, A Modified Newton Method for Rootfinding with Cubic Convergence, Journal of Computational and Applied Mathematics, 157 (2003), 227-230. https://doi.org/10.1016/s0377-0427(03)00391-1 [3] Khalid Ali Hussein, Abed Ali H. Altaee and Haider K. Hoomod, Parallel Hybrid Algorithm of Bisection and Newton-Raphson Methods to Find Nonlinear Equations Roots, IOSR Journal of Mathematics, 11 (2015), no. 4, 32-36. [4] D. Kincaid and W. Cheney, Numerical Analysis, Brooks/Cole, 1991. [5] A. J. Maeder and S. A. Wynton, Some Parallel Methods for Polynomial Root-Finding, Journal of Computational and Applied Mathematics, 18 (1987), 71-81. https://doi.org/10.1016/0377-0427(87)90056-2 [6] G. Miller, Numerical Analysis for Engineers and Scientists, Cambridge, 2014. https://doi.org/10.1017/cbo9781139108188 [7] S. Tanakan, A New Algorithm of Modified Bisection Method for Nonlinear Equation, Applied Mathematical Sciences, 7 (2013), no. 123, 6107-6114. https://doi.org/10.12988/ams.2013.39531 Received: October 25, 2017; Published: November 9, 2017