Friday, July 14, 2023
HomeSoftware DevelopmentDefinition, Formulation, and Solved Examples

Definition, Formulation, and Solved Examples


Newton Raphson Methodology or Newton Methodology is a strong approach for fixing equations numerically. It’s mostly used for approximation of the roots of the real-valued features. Newton Rapson Methodology was developed by Isaac Newton and Joseph Raphson, therefore the identify Newton Rapson Methodology. 

Newton Raphson Methodology entails iteratively refining an preliminary guess to converge it towards the specified root. Nevertheless, the tactic will not be environment friendly to calculate the roots of the polynomials or equations with increased levels however within the case of small-degree equations, this methodology yields very fast outcomes. On this article, we’ll study Newton Raphson Methodology and the steps to calculate the roots utilizing this methodology as effectively.

What’s Newton Raphson Methodology?

The Newton-Raphson methodology which is also referred to as Newton’s methodology, is an iterative numerical methodology used to seek out the roots of a real-valued perform. This formulation is known as after Sir Isaac Newton and Joseph Raphson, as they independently contributed to its growth. Newton Raphson Methodology or Newton’s Methodology is an algorithm to approximate the roots of zeros of the real-valued features, utilizing guess for the primary iteration (x0) after which approximating the following iteration(x1) which is near roots, utilizing the next formulation.

x1 = x0 – f(x0)/f'(x0)

the place,

  • x0 is the preliminary worth of x,
  • f(x0) is the worth of the equation at preliminary worth, and
  • f'(x0) is the worth of the primary order spinoff of the equation or perform on the preliminary worth x0.

Observe: f'(x0) shouldn’t be zero else the fraction a part of the formulation will change to infinity which implies f(x) shouldn’t be a relentless perform.

Newton Raphson Methodology Formulation

Within the normal type, the Newton-Raphson methodology formulation is written as follows:

xn = xn-1 – f(xn-1)/f'(xn-1)

The place, 

  • xn-1 is the estimated (n-1)th root of the perform,
  • f(xn-1) is the worth of the equation at (n-1)th estimated root, and
  • f'(xn-1) is the worth of the primary order spinoff of the equation or perform at xn-1.

Newton Raphson Methodology Calculation

Assume the equation or features whose roots are to be calculated as f(x) = 0.

To be able to show the validity of Newton Raphson methodology following steps are adopted:

Step 1: Draw a graph of f(x) for various values of x as proven beneath:

Newton Raphson Method Calculation

Step 2: A tangent is drawn to f(x) at x0. That is the preliminary worth.

Step 3:This tangent will intersect the X- axis at some mounted level (x1,0) if the primary spinoff of f(x) will not be zero i.e. f'(x0) ≠ 0.

Step 4: As this methodology assumes iteration of roots, this x1 is taken into account to be the following approximation of the basis.

Step 5: Now steps 2 to 4 are repeated till we attain the precise root x*.

Now we all know that the slope-intercept equation of any line is represented as y = mx + c,

The place m is the slope of the road and c is the x-intercept of the road. 

Utilizing the identical formulation we, get

y = f(x0) + f'(x0) (x − x0)

Right here f(x0) represents the c and f'(x0) represents the slope of the tangent m. As this equation holds true for each worth of x, it should maintain true for x1. Thus, substituting x with x1, and equating the equation to zero as we have to calculate the roots, we get:

0 = f(x0) + f'(x0) (x1 − x0)

x1 = x0 – f(x0)/f'(x0)

Which is the Newton Raphson methodology formulation.

Thus, Newton Raphson’s methodology was mathematically proved and accepted to be legitimate.

Convergence of Newton Raphson Methodology

The Newton-Raphson methodology tends to converge if the next situation holds true:

|f(x).f”(x)| < |f'(x)|2

It implies that the tactic converges when the modulus of the product of the worth of the perform at x and the second spinoff of a perform at x is lesser than the sq. of the modulo of the primary spinoff of the perform at x. The Newton-Raphson Methodology has a convergence of order 2 which implies it has a quadratic convergence.

Observe:

Newton Raphson’s methodology will not be legitimate if the primary spinoff of the perform is 0 which implies f'(x) = 0. It’s only attainable when the given perform is a continuing perform.

Newton Raphson Methodology Instance

Let’s think about the next instance to study extra in regards to the means of discovering the basis of a real-valued perform.

Instance: For the preliminary worth x0 = 3, approximate the basis of f(x)=x3+3x+1.

Resolution:

Given, x0 = 3 and f(x) = x3+3x+1

f'(x) = 3x2+3

f'(x0) = 3(9) + 3 = 30

f(x0) = f(3) = 27 + 3(3) + 1 = 37

Utilizing Newton Raphson methodology:

x1 = x0 – f(x0)/f'(x0)

= 3 – 37/30

= 1.767

Solved Issues of Newton Raphson Methodology

Drawback 1: For the preliminary worth x= 1, approximate the basis of f(x)=x2−5x+1.

Resolution:

Given, x= 1 and f(x) = x2-5x+1

f'(x) = 2x-5

f'(x0) = 2 – 5 = -3

f(x0) = f(1) = 1 – 5 + 1 = -3

Utilizing Newton Raphson methodology:

x1 = x0 – f(x0)/f'(x0)

⇒ x1 = 1 – (-3)/-3

⇒ x1 = 1 -1

⇒ x1 = 0

Drawback 2: For the preliminary worth x= 2, approximate the basis of f(x)=x3−6x+1.

Resolution:

Given, x= 2 and f(x) = x3-6x+1

f'(x) = 3x2 – 6

f'(x0) = 3(4) – 6 = 6

f(x0) = f(2) = 8 – 12 + 1 = -3

Utilizing Newton Raphson methodology:

x1 = x0 – f(x0)/f'(x0)

⇒ x1 = 2 – (-3)/6

⇒ x1 = 2 + 1/2

⇒ x1 = 5/2 = 2.5

Drawback 3: For the preliminary worth x= 3, approximate the basis of f(x)=x2−3.

Resolution:

Given, x= 3 and f(x) = x2-3

f'(x) = 2x

f'(x0) = 6

f(x0) = f(3) = 9 – 3 = 6

Utilizing Newton Raphson methodology:

x1 = x0 – f(x0)/f'(x0)

⇒ x1 = 3 – 6/6

⇒ x1 = 2

Drawback 4: Discover the basis of the equation f(x) = x3 – 3 = 0, if the preliminary worth is 2.

Resolution:

Given x0 = 2 and f(x) = x3 – 3

f'(x) = 3x2

f'(x0 = 2) = 3 × 4 = 12

f(x0) = 8 – 3 = 5

Utilizing Newton Raphson methodology:

x1 = x0 – f(x0)/f'(x0)

⇒ x1 = 2 – 5/12

⇒ x1 = 1.583

Utilizing Newton Raphson methodology once more:

x2 = 1.4544

x3 = 1.4424

x4 = 1.4422

Subsequently, the basis of the equation is roughly x = 1.442.

Drawback 5: Discover the basis of the equation f(x) = x3 – 5x + 3 = 0, if the preliminary worth is 3.

Resolution:

Given x0 = 3 and f(x) = x3 – 5x + 3 = 0

f'(x) = 3x2 – 5

f'(x0 = 3) = 3 × 9 – 5 = 22

f(x0 = 3) = 27 – 15 + 3 = 15

Utilizing Newton Raphson methodology:

x1 = x0 – f(x0)/f'(x0)

⇒ x1 = 3 – 15/22

⇒ x1 = 2.3181

Utilizing Newton Raphson methodology once more:

x2 = 1.9705

x3 = 1.8504

x4 = 1.8345

x5 = 1.8342

Subsequently, the basis of the equation is roughly x = 1.834.

FAQs of Newton Raphson Methodology

Q1: Outline Newton Raphson Methodology.

Reply:

Newton Raphson Methodology is a numerical methodology to approximate the roots of any given real-valued perform. On this methodology, we used numerous iterations to approximate the roots, and the upper the variety of iterations the much less error within the worth of the calculated root.

Q2: What’s the Benefit of Newton Raphson Methodology?

Reply:

Newton Raphson methodology has a bonus that it permits us to guess the roots of an equation with a small diploma very effectively and rapidly.

Q3: What’s the Drawback of Newton Raphson Methodology?

Reply:

The drawback of Newton Raphson methodology is that it tends to develop into very advanced when the diploma of the polynomial turns into very giant.

This fall: State any real-life utility of Newton Raphson’s Methodology.

Reply:

Newton Raphson methodology is used to analyse the circulation of water in water distribution networks in actual life.

Q5: Which concept is the Newton-Raphson Methodology primarily based upon?

Reply:

Newton Raphson methodology is predicated upon the speculation of calculus and tangent to a curve.

Final Up to date :
04 Jul, 2023

Like Article

Save Article



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments