Methods for Advanced Mathematic

Authors Avatar

Methods for Advanced Mathematics (C3) Coursework

Introduction:

In this coursework, I am going to solve equations by using the Numerical Methods. The Numerical methods are used to solve equation that cannot be solved by using algebra.

Here are the 3 Numerical methods:

  1. Change of sign method
  2. Newton-Raphson method
  3. Rearranging f(x) = 0 in the form of x=g(x)

Change of sign method

This method is based on how an equation has a change of sign either from positive to negative or negative to positive on either side of a root when crossing the x-axis. It is best to sketch a diagram of the equation before starting with the method, so we would have a clear structure of what the equation looks like, the number of roots the equation has and the roots approximate position.

To investigate this method I would use the following equation

0 = 3x3+11x2+2x-5

The graphs below show the function f(x) = 3x3+11x2+2x-5

As we can see from the results table, there is a change of sign between [-1, -0.9]. This indicates the root is in the interval. To make sure the result is as accurate as possible, I will repeat the process until a sufficient number of decimal places are achieved. I will calculate this to 3 decimal places.

A zoomed in of the root between -1 & 0

x=-0.9075 +/- 0.0005

Error Bounds

The calculations above show that the root lies in the interval 0.908 to 0.907. I can now conclude that the root to the equation 0 = 3x3+11x2+2x-5 has a root of -0.9075 +/- 0.0005

(3 d.p) being half the interval between the error bounds.

Limitations of Change of Sign Method

This method works for most equations of x, however, there are cases when this method fails to converge. An example for this is when two roots are within the same interval and the method shows only one change of sign. This would indicate that it has only one root within the interval and the second root is over looked.

I will use the equation 0 = x4+5x3-7x+2 to demonstrate how this method would fail.

Join now!

Here is a graph of the function f(x) = x4+5x3-7x+2

The graph shows the equation 0 = x4+5x3-7x+2 has 3 roots clearly distinguished. However, when I try to find the solutions by using the change of sign method it only display one change of sign and the second change of sign is over looked.

Newton Raphson Method

Newton Raphson Method is an iterative process. It is used for finding approximations to the roots of a real valued equation.

Here is the procedure to perform the Newton Raphson Method:

  1. Find an approximation of ...

This is a preview of the whole essay