Pure 2 coursework - Decimal Search Method

Authors Avatar

Pure 2 coursework

Decimal Search Method

In order to find the root of the function f(x)=3x3-7x2-11x+17, the decimal search method was used. This is the process whereby a table of values is constructed that show whether the value of f(x) with certain values of x is positive or negative. By zooming in on the places where the value of f(x) switches from positive to negative (or vice versa), values for the root of this function can be found.

From this table, it is clear that there are roots where f(x)=0 when values of x lie between -2 and -1, 1 and 2, and 2 and 3. By concentrating on the interval of [1,2], the rot can be found to  a greater level of accuracy.

It is now clear that the root lies somewhere inside the interval of [1.1, 1.2]

The root is in the interval [1.12, 1.13]

The root is somewhere inside the interval [1.127, 1.128]. It is required that the root be found to 3 decimal places. Therefore it is necessary to know the value of f(x) when x=1.1275

It is clear that f(x) is negative when x=1.1275. This means that the root lies in the interval [1.127, 1.1275]. Due to the fact that all values within this interval, when rounded to 3 decimal places, equal 1.127, the root of f(x)=3x3-7x2-11x+17 correct to 3 decimal places is 1.127. The error bond for this root is 1.12725 ± 0.00025.

Failure of Decimal Search

The decimal search method can fail to find the roots of a function. An example of this is when the method is applied to find the roots of the function

f(x)=x3-3.3x2+0.32x+4.62. If a table is constructed to find the roots of this function, the following results are obtained.

From the table, it would appear that there is only one root between the values for x of -4 to 5. However, the graph on the following page shows that there are two more roots in this interval, both between the values of 2 and 3.

This can be confirmed with a table showing the values of f(x) when x is between 2 and 3.

Join now!

As can be seen, there are two roots in this interval, 2.1 and 2.2, therefore the initial table did not pick up any change in sign, as overall the two changes cancelled out.

Newton-Raphson Method

The Newton-Raphson method is a process whereby a rough approximation of the root is made (called x1) and the tangent to the curve at x1 is drawn. The point on the x-axis where this tangent hits is made x2 (see diagram) and again a tangent to the curve is drawn at x2. The process continues until the root is found.

...

This is a preview of the whole essay