• 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)

    2.00000000000000 4.1 2.024845673 0.248457 4 2.00000000000000 4.01 2.002498439 0.249844 4 2.00000000000000 4.001 2.000249984 0.249984 2 1.41421356237310 2.1 1.449137675 0.349241 2 1.41421356237310 2.01 1.417744688 0.353113 2 1.41421356237310 2.001 1.414567072 0.353509 1 1.00000000000000 1.1 1.048808848 0.488088 1 1.00000000000000 1.01 1.004987562 0.498756 1 1.00000000000000 1.001 1.000499875 0.499875 x x 0.5 Gradient 1 1

  2. Maths - Investigate how many people can be carried in each type of vessel.

    Dx + Ey + Fz = K (iii) Gx + Hy + Iz = L In order to solve these equations and find a formula for x, y and z that would work for any boating problem, we will use exactly the same approach as previously - we will try to use elimination.

  1. MEI numerical Methods

    So therefore the higher the rate of convergence the quicker the method reaches the final approximation. First order of convergence: The formula to work out the first order of convergence is: Absolute error in x1 / Absolute error in x2 In order to find absolute error, we usually do (x(approximation)

  2. Using Decimal search

    0.9 1 0.2 0.055 -0.06 -0.115 -0.08 0.075 0.38 0.865 1.56 2.495 3.7 Therefore Xn+1 = x - (5x^3-1.5x+0.2) 15x^2-1.5 = 15x^3-1.5x-(5x^3-1.5x+0.2) 15x^2-1.5 = 15x^3-1.5x-5x^3+1.5x-0.2 15x^2-1.5 Xn+1 = 10x^3-0.2 => The Newton-Raphson method for eq'n 15x^2-1.5 5x^3-1.5x+0.2=0 Results are as follows: X 0.3 -0.46667 -0.68847 -0.61736 -0.60540 -0.60507 Xn+1 -0.46667

  1. Analyse the use of three methods which are called the: change of sign, Newton-Raphson ...

    can be rearranged into: x=g(x)= 5x36.5x2+3.15 4 Shows y=x and y=g(x) Using '1' as my initial value I'm going to try to attain the value 0.37494227 (accurate to 8.dp) as shown below. However, we can say that 0.37494226 < x < 0.37494227. FOR g(x)=5x3-6.5x2+2.15/4 x g(x) x g(x) x g(x)

  2. Change of Sign Method.

    For example, let y=f(x)=x�-2x�-x+2.63. This curve is shown graphically below. With this example I shall use the decimal search method to find a change of sign and so investigate the roots of the previous equation. Integers will be used as the x-values. x -2 -1 0 1 2 3 f(x)

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

    Use Autograph that follows the same steps as Equation 1 we can only get one of the three roots, which is shown below graphically. Using Excel, if we start the interval with x=0 and x=1 and follow the same steps as done in Equation 1, we end up with only one root.

  2. The method I am going to use to solve x&amp;amp;#8722;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.

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