• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

C3 Numerical Solutions to Equations

Extracts from this document...

Introduction

Adam Arstall

Numerical Solutions to Equations Coursework

Change of sign method

The change of sign method involves finding the interval in which a root of an equation lies by taking two values of x and showing that the root lies between them as the value of f(x) for each case has a different sign. A change of sign will always indicate a root if the function is continuous.

This method will be used to find a root of the equation f(x)=x⁵+x⁴−2x³+5x²−7x−2=0. As the function f(x) is continuous, a change of sign will always indicate a root.

image00.png

The method will be used to find the root which lies between -2 and -3

image01.png

As the root lies in the interval [-2.7211575,-2.7211574], x=-2.72115745 ± 0.000000005

image09.png

Here it is shown that f(x) changes from negative to positive between -2.7211575 and-2.7211574 and the root to f(x)=0 is between these x values.

This method can fail to find roots in some cases. For example if the equation has a repeated root as shown below for the equation x³−0.96x²−5.

...read more.

Middle

Therefore x=-1.53407020 ± 0.000000005

To confirm this root there must be a change of sign. f(-1.5340703) = 1.16*10^-6.

f(-1.5340701) = -1.08*10^-6. Therefore there is a root as the function is continuous.

image13.png

image14.png

These two diagrams show the convergence of the iterations at different magnifications. It is shown that the root lies between -1.53407035 and -1.53407025.

Taking 1 as the first guess gives the following results

image15.png

Therefore x=0.48269595 ± 0.000000005

f( 0.48269594) = -1.08*10^-7. f(0.48269596) = 0.0113

Therefore there is a root as the function is continuous.

Taking 4 as the first guess gives

Therefore x=4.05137424 ± 0.000000005image16.png

f(4.05137423) = 2.34*10^-7  f(4.05137425) = -1.65*10^-7

Therefore there is a root as the function is continuous.

This method can fail for some starting points such as ones where the gradient of the curve is very small which can lead to the iterations converging on the wrong root. For the equation ¼x³−½x²−2x+3=0, an initial guess of 2.35 to find the root between 0 and 3 makes the iteration converge on the root between -4 and -2 as shown below.

image02.png

Rearranging f(x)=0 in the form x=g(x)

In this method the equation f(x)

...read more.

Conclusion

The change of sign method was fairly easy to use as it requires little extra hardware or software and can be carried out manually if necessary using only a calculator. This makes it particularly useful if computer software is not available. However the need for much manual computation can make the process quite laborious and time consuming. The Newton-Raphson and x=g(x) methods are relatively similar in terms of ease of use with hardware and software. Both make good use of Autograph software visually interpret equations before using an Excel spreadsheet to carry out the calculations to find each root. Compared to the change of sign method both are generally more easy to use as once the initial formula has been entered it is very quick and simple to do the iterations many times.

...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

    Estimate a consumption function for the UK economy explaining the economic theory and statistical ...

    3 star(s)

    The p-value gives the same conclusion. The surprise in this equation is that DW is increase again, which reach 1.57. Even this number still less than 2,but it closer. So, so far, this is the best number we have seen from all the consumption function. The Figure9 (a) and (b)

  2. Numerical solutions of equations

    My negative root is x = -1.220744 (6 decimal places) Now I will find the positive root of this function. The starting value (x1) is approximately 1.5 when f(x)=0. x1 = 1.5 x2 = 1.116379 x3 = 0.862068 x4 = 0.745761 x5 = 0.725049 x6 = 0.724492 x7 = 0.724491959 x8 = 0.724491959 I can see some convergence from x6.

  1. OCR MEI C3 Coursework - Numerical Methods

    to find roots of f(x)=0. 0= x5-4x+3 x5=4x-3 x=(4x-3)1/5 xn+1=(4xn-3)(1/5) We shall take a starting value of x1=-1. x1 -1 x2 -1.47577 x3 -1.54849 x4 -1.55848 x5 -1.55983 x6 -1.56001 x7 -1.56004 x8 -1.56004 x=-1.56004 (5d.p.)

  2. Methods of Advanced Mathematics (C3) Coursework.

    I find the solutions numerically it only shows one change of sign being the first one and the second is over looked. The routes are visible on the graph but the table below shows only the one change of sign in red.

  1. Estimate a consumption function for the UK economy explaining the statistical techniques you have ...

    The remained residuals fluctuate a lot throughout the period. It was quite small between the periods 1950 to 1974. However, the size of the error became larger between the periods of 1975 to 2002. The Life - Cycle Hypothesis (LCH) The permanent income hypothesis discussed above is clearly better than the simple Keynesian model.

  2. Pure Mathematics - In this coursework, I will be investigating and comparing the use ...

    Constructing a table of values for this method would clearly fail to produce a change in sign solution to equations such as this. x F(x) 1.0 2.49245 1.1 1.81617 1.2 1.20565 1.3 0.68818 1.4 0.29363 1.5 0.05452 1.6 0.00565 1.7 0.18412 1.8 0.62966 1.9 1.38411 2.0 2.49256 Fixed point iteration:

  1. I am going to solve equations by using three different numerical methods in this ...

    =2*B4^3-3*B4^2-8*B4+23 =2*C4^3-3*C4^2-8*C4+23 =(B4+C4)/18 =2*F4^3-3*F4^2-8*F4+23 =IF(G4>0,B4,F20) =IF(G4>0,F4,C20) =2*B4^3-3*B4^2-8*B4+24 =2*C4^3-3*C4^2-8*C4+24 =(B4+C4)/19 =2*F4^3-3*F4^2-8*F4+24 =IF(G4>0,B4,F21) =IF(G4>0,F4,C21) =2*B4^3-3*B4^2-8*B4+25 =2*C4^3-3*C4^2-8*C4+25 =(B4+C4)/20 =2*F4^3-3*F4^2-8*F4+25 =IF(G4>0,B4,F22) =IF(G4>0,F4,C22) =2*B4^3-3*B4^2-8*B4+26 =2*C4^3-3*C4^2-8*C4+26 =(B4+C4)/21 =2*F4^3-3*F4^2-8*F4+26 =IF(G4>0,B4,F23) =IF(G4>0,F4,C23) =2*B4^3-3*B4^2-8*B4+27 =2*C4^3-3*C4^2-8*C4+27 =(B4+C4)/22 =2*F4^3-3*F4^2-8*F4+27 Bisection failure I am going to show the failure of bisection method.

  2. Solving Equations. Three numerical methods are discussed in this investigation. There are advantages and ...

    0.025129 0.007813 9 1.523438 0.025129 1.53125 -0.00827 1.527344 0.008436 0.003906 10 1.527344 0.008436 1.53125 -0.00827 1.529297 8.43E-05 0.001953 11 1.529297 8.43E-05 1.53125 -0.00827 1.530273 -0.00409 0.000977 12 1.529297 8.43E-05 1.530273 -0.00409 1.529785 -0.002 0.000488 13 1.529297 8.43E-05 1.529785 -0.002 1.529541 -0.00096 0.000244 14 1.529297 8.43E-05 1.529541 -0.00096 1.529419 -0.00044 0.000122

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