ROOTS OF EQUATIONS

13
ROOTS OF EQUATIONS PRESENTED BY: KATHERINE SILVA NUMERICAL METHODS IN PETROLEUM ENGINEERING

description

 

Transcript of ROOTS OF EQUATIONS

Page 1: ROOTS OF EQUATIONS

ROOTS OF EQUATIONS

PRESENTED BY: KATHERINE SILVA

NUMERICAL METHODS IN PETROLEUM ENGINEERING

Page 2: ROOTS OF EQUATIONS

ROOTS OF EQUATIONS

MULTIPLE ROOTS

MULLER METHOD

BAIRSTOW METHOD

COMPLEX ROOT

Page 3: ROOTS OF EQUATIONS

1. CALCULATION OF MULTIPLE ROOTS

Page 4: ROOTS OF EQUATIONS

A multiple root of a polynomial is a root that occurs more than once and corresponds to a point where a function is tangent to the x axis

for example the polynomial:

The factor occurs twice, so it is a multiple root. Since it occurs twice, also called a double root.

Source: http://www.lifeisastoryproblem.org/vocab/es/m/multipleroot.html

Page 5: ROOTS OF EQUATIONS

1. 1 CONVENTIONAL METHODS

• MULLER METHOD• BAIRSTOW METHOD

Page 6: ROOTS OF EQUATIONS

used to find roots of equations with multiple roots

this is to obtain the coefficients of the parabola through three points selected. These coefficients are substituted in the quadratic formula to get the value where the parabola intersects the X axis, so get the estimated result.

MULLER METHOD

Source: www.embedded.com/story/OEG20020321S0075

Page 7: ROOTS OF EQUATIONS

• The three initial values are denoted as xk, xk-1 y xk-2.

• The parabola passes through the points: (xk, f(xk)), (xk-1, f(xk-

1)) y (xk-2, f(xk-2)), if it is written in the form of Newton, then:

where [xk, xk-1] y  f[xk, xk-1, xk-2] denote subtraction divided. This can be written as:

Where

The next iteration is given by the root that gives the equation y = 0.

Page 8: ROOTS OF EQUATIONS

• Bairstow's method is an iterative method, based on the method of Müller and Newton Raphson. Given a polinonio fn(x) are two factors, a quadratic polynomial f2(x) = x2 – rx – s y fn-2(x).

• The general procedure for the Bairstow method is: 

1. Since fn(x) and r0 and s0

2. Using the method of NR calculate f2(x) = x2 – r0x – s0 and fn-2(x) , such that the residue of fn(x)/ f2(x) is zero.

3. Determine the roots f2(x), using the general formula.

4. It is estimated fn-2(x)= fn(x)/ f2(x).

5. We fn(x)= fn-2(x)

6. If the degree of the polynomial is greater than three back to step 2If we do not finish 

BAIRSTOW METHOD

Page 9: ROOTS OF EQUATIONS

2. COMPLEX ROOT CALCULATION

Page 10: ROOTS OF EQUATIONS

• To calculate the result of a complex number, or N-ESIMA root, we use a variant of Euler, this formula states that every complex number has exactly n complex roots.Where: k = 0,1,2 ,...... n-1 that is generating each of the roots.

www.katjaas.nl/rootsofunity/rootsofunity.html

Page 11: ROOTS OF EQUATIONS

EXAMPLE: calculate the square root of:

first polar graph mode is solved in polar form first and then being able

to replace in the formula above written.

Re

i1

Im

2

45)1(tan1

)45sin)45(cos(2 iz

Re

this is the polar form now follows the substitution in the Euler formula ..

Page 12: ROOTS OF EQUATIONS

EXAMPLE: 1ªroot when k = 0.

ii

ii

ii

ii

4551.00987.11

)3827.09239.0(1892.11

))2

45sin()

2

45(cos(1892.11

)]2

360*045sin()

2

360*045[cos()2(1 2/1

ii

ii

ii

ii

ii

4551.00987.11

)3827.09239.0(1892.11

))2

405sin()

2

405(cos(1892.11

))2

36045sin()

2

36045(cos(1892.11

))2

)360*1(45sin()

2

)360*1(45(cos(1892.11

2ª root when k = 1