• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month
Page
  1. 1
    1
  2. 2
    2
  3. 3
    3
  4. 4
    4
  5. 5
    5
  6. 6
    6
  7. 7
    7
  8. 8
    8
  9. 9
    9
  10. 10
    10
  11. 11
    11
  12. 12
    12
  13. 13
    13
  14. 14
    14
  15. 15
    15

'Change of Sign Method'

Extracts from this document...

Introduction

Mathematics Coursework

Numerical Methods can be used to solve those equations which cannot be solved analytically.

One such method is the ‘Change of Sign Method’, focusing on Decimal Search.

Decimal search is based on the principal that f(x) changes sign as a curve passes through the x axis at a root.

image00.png

Above the x axis, f(x) is positive and below the x axis f(x) is negative.

Using this principal, values of f(x) are initially found and consecutive values are found in increments of 0.1 until a change in sign is found. If further accuracy is required, consecutives values could then be found in increments of 0.01 and 0.001, until a change of accuracy is found, therefore giving one root of the equation.

Evidence

Equation: y=0.6938x3 – 0.9157x2 – 1.421x + 1.671

Graph:

image01.png

Table of results

First Interval

x

f(x)

1

0.0281

1.1

-0.07665

1.2

-0.1539

1.3

-0.1996

1.4

-0.2094

1.5

-0.1792

1.6

-0.105

1.7

0.01757

1.8

0.1926

1.9

0.4242

The table shows that the sign changes within the interval 1.6 to 1.7. This tell us that the roots lie somewhere within this interval;

Therefore the root is 1.65 ± 0.05

Second Interval

X

f(x)

1.6

-0.105

1.61

-0.09497

1.62

-0.08447

1.63

-0.07348

1.64

-0.06199

1.65

-0.05001

1.66

-0.03752

1.67

-0.02452

1.68

-0.01101

1.69

0.003019

The table of values shows that the root lies in the interval [1.68, 1.69]. Therefore the root of the equation is 1.685 ± 0.05

Third Interval

x

f(x)

1.68

-0.01101

1.681

-0.009628

1.682

-0.008243

1.683

-0.006854

1.684

-0.005459

1.685

-0.004059

1.686

-0.002654

1.687

-0.001243

1.688

0.0001725

1.689

0.001593

1.69

0.003019

...read more.

Middle

Using this method, a first approximation, x1 is made. The intercept of the tangent at (x1,y1) with the x axis is found as the next approximation, x2. This process is repeated until the desired accuracy is achieved. This method is also known as the ‘Tangent Sliding’ method.

This method can be demonstrated manually, using the equation: y= 20x3 + 15x2 – 15x – 12

F (x) = 20x3 + 15x2 – 15x – 12

F’(x) = 60x2 + 30x – 15

First estimate x1 will be 1

First iteration

F (1) = 20(13) + 15(12) -15(1) – 12 = 8

F’(1) = 60(12) + 30(1) – 15 = 75

X2 = 1 – 8/75

X2 = 0.8933

Second Iteration

F (0.8933) = 20(0.89333) + 15(0.89332) – 15(0.8933) – 12 = 0.82906074

F’(0.8933) = 60(0.89332) + 30(0.8933) – 15 = 59.68266667

X3 = 0.8933 – 0.829/59.68266667

X3 = 0.879442165

X3 = 0.8794

Third iteration

F (0.8794) = 20(0.87943) + 15(0.87942) -15(0.8794) – 12 = 0.01318348

F’(0.8794) = 60(0.87942) + 30(0.8794) – 15 =  57.78837624

X4 = 0.8794 – 0.013/57.79

X4 = 0.879214031

X4 = 0.8792

This can also be demonstrated graphically using the computer programme autograph:

y= 20x3 + 15x2 – 15x – 12

image09.png

First iteration

image02.png

 X = 0.8933

Second iteration

image02.png

X = 0.8794

Third Iteration

image10.png

X = 0.8792

The results have converged to 0.8792

To confirm that this is a root by looking for a change of sign

F (x) = 20x3 + 15x2 – 15x – 12

F (0.8791) = -6.5827 x 10-3 = negative

F (0.8792) = positive

Therefore the root is 0.87925 ±0.00005

Where the method cannot work

If the initial estimate is too far from the required root, the method can fail.

This can be shown using the equation y=20x3 + 15x2 – 8x – 19

image11.png

Take the initial estimate as x1 = -1

First Iteration

image02.png

 x = - 0.2727

Second Iteration

image02.png

x = -1.647

Third Iteration

image02.png

x=-1.13

Evidently, this method fails in this instance.

...read more.

Conclusion

Whilst the Newton Raphson method allows quick convergence, and is easy to perform on autograph, the method could be criticised, as it requires calculus, unlike decimal search. It can also be subject to failure, for example, if the initial estimate is made too far from the required root. Furthermore, to find an error bound for increased accuracy, decimal search needs to be carried out, again adding to the amount of work required. This disadvantage can also be applied to the graphical convergence method. In this method, there is also a high failure rate, as it can diverge, oscillate or converge to the wrong root, as shown in the calculations. Also, you may not be able to rearrange f(x) =0, in which case this method could not be used.

Therefore, in conclusion, whilst each method can be used to find roots, a d=sketch of the graph should be drawn, before deciding upon which method will work the best, and the level of accuracy that is desired.

...read more.

This student written piece of work is one of many that can be found in our AS and A Level Core & Pure Mathematics section.

Found what you're looking for?

  • Start learning 29% faster today
  • 150,000+ documents available
  • Just £6.99 a month

Not the one? Search for your essay title...
  • Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

See related essaysSee related essays

Related AS and A Level Core & Pure Mathematics essays

  1. Marked by a teacher

    The Gradient Function

    5 star(s)

    4.001 768.768288 768.5761 3 243 3.1 277.0563 357.492 3 243 3.01 246.256236 327.2508 3 243 3.001 243.324162 324.3241 2 48 2.1 58.3443 111.132 2 48 2.01 48.96722403 97.44721 2 48 2.001 48.09607202 96.14407 1 3 1.1 4.3923 15.972 1 3 1.01 3.12181203 12.36361 1 3 1.001 3.012018012 12.03604 x x4

  2. Pure 2 coursework - Decimal Search Method

    0.721354 3.097984 3.097984 0.780965 0.780965 3.01223 3.01223 0.679146 0.679146 3.156097 3.156097 0.864642 0.864642 2.885329 2.885329 0.573409 0.573409 3.291115 3.291115 1.107251 1.107251 2.484491 2.484491 0.548408 It would appear that the sequence does not converge upon any one root. A diagram shows that this is indeed the case.

  1. Change of sign method --- interval bisection method

    -1 =3*(B3-1)*(B3+1)*(B3+3)+1 =9*B3^2+18*B3-3 =B3-C3/D3 =3*(B4-1)*(B4+1)*(B4+3)+1 =9*B4^2+18*B4-3 =B4-C4/D4 =3*(B5-1)*(B5+1)*(B5+3)+1 =9*B5^2+18*B5-3 =B5-C5/D5 =3*(B6-1)*(B6+1)*(B6+3)+1 =9*B6^2+18*B6-3 From the results I get from the spreadsheet, I can see the root lying between the interval (-1,0) is -0.916521. 2) For the root lying between the interval (0,1): x f(x)

  2. Numerical Method Course Work

    The calculator lists a table and draws a graph for me. (Appendix 3 and 4) From the table and graph, we can see that there may be 6 roots in the interval (0.05, 1).

  1. Different methods of solving equations compared. From the Excel tables of each method, we ...

    -0.00000045 0.68928528 0.00000005 0.68928480 -0.00000020 0.00000025 0.68928480 -0.00000020 0.68928528 0.00000005 0.68928504 -0.00000008 0.00000012 0.68928504 -0.00000008 0.68928528 0.00000005 0.68928516 -0.00000002 0.00000006 0.68928516 -0.00000002 0.68928528 0.00000005 0.68928522 0.00000002 0.00000003 0.68928516 -0.00000002 0.68928522 0.00000002 0.68928519 0.00000000 0.00000002 0.68928519 0.00000000 0.68928522 0.00000002 0.68928520 0.00000001 0.00000001 0.68928519 0.00000000 0.68928520 0.00000001 0.68928520 0.00000000 0.00000000 0.68928519 0.00000000

  2. The method I am going to use to solve x−3x-1=0 is the Change ...

    The root now is -0.3475 and the maximum error of this root would be 0.0005. The "Change Of Sign" is very effective, however, sometimes the Decimal Search method would not work with some function. An example is 5x^4+x�-2x�-0.1x+0.1=0 . This would not work because the roots are so near.

  1. The Gradient Fraction

    The gradient of the graph 'y=x2' is just 2 multiplied by the 'x' value. If the value is negative then the gradient will also be negative, because the negative value is going to be multiplied by +2, so the result will be negative.

  2. decimal search

    As the curve only touches the x-axis there will be no change of sign for the values of f(x) in the chosen interval, hence resulting in the failure of obtaining a root using the change of sign, decimal search method.

  • Over 160,000 pieces
    of student written work
  • Annotated by
    experienced teachers
  • Ideas and feedback to
    improve your own work