![Page 1: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/1.jpg)
Roots of Equations‐ Roots of Polynomials ‐
![Page 2: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/2.jpg)
Content
• Roots of Polynomials• Birge‐Vieta Method• Lin‐Bairstow Method
![Page 3: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/3.jpg)
Roots of Polynomials
• The methods used to get all roots (real and complex) of a polynomial are:• Birge‐Vieta method• Lin‐Bairstow method
• A polynomial of degree " " is of the form⋯
Fundamental Theorem of Algebra• Every algebraic (polynomial) equation with complex coefficients has at least one real or complex root.
![Page 4: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/4.jpg)
Roots of Polynomials
Division Algorithm• If and are two polynomials of and , then polynomials and can be found which satisfy the relation
• is the dividend• is the quotient• is the divisor• is the residuewhere either , or the degree of is less than the degree of .
• Example:10 8 divided by 310 8 4 2 3 14
![Page 5: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/5.jpg)
Roots of Polynomials
Reminder Theorem• The reminder obtained by dividing by is the value of
.• Proof. Dividing by using the division algorithm:
evaluate on
![Page 6: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/6.jpg)
Roots of Polynomials
Factor TheoremEvery polynomial equation of the form:
⋯has at most distinct roots , .If is such a root, i.e., if , then by the remainder theorem:
simultaneously, if is a root of (which is the root of ) such that
This process is continued until we obtain
and by successive substitution of we obtain:⋯
![Page 7: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/7.jpg)
Birge‐Vieta Method
To find the real roots of⋯
by the Birge‐Vieta method, using estimate
and using synthetic division form as follows:
![Page 8: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/8.jpg)
Birge‐Vieta Method
then compute improved estimate of root by Newton‐Raphson iterative formula.
![Page 9: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/9.jpg)
Birge‐Vieta Method
Summary of Birge‐Vieta Method1. Data input and initialization. Read parameters (degree), (maximum number of
iterations), (convergence term), (initial estimate of root), (if , offset by increment ), and coefficients ( , ) of . Set root counter
.2. Calculate degree of current polynomial , where . Set initial
estimate of root . Reset Newton‐Raphson iteration counter .3. a) Calculate nested terms
b) Calculate derivatives
![Page 10: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/10.jpg)
Birge‐Vieta Method
4. Calculate improved estimate of root , by Newton‐Raphson.
where and ′
Test convergence of root (also test if )If , test iteration counter .If , set , set , return to Step 3If , go to “failure to converge” exit.
5. Replace by⋯
That is, replace by ,
![Page 11: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/11.jpg)
Birge‐Vieta Method
6. If , set and return to Step 2.If , set and go to Step 7.
7. Calculate the th (last) root of original equation by solving linear equation , i.e., .
8. Output. Write out roots , of .
![Page 12: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/12.jpg)
Birge‐Vieta Method
Example:Find the roots of the following polynomial:
![Page 13: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/13.jpg)
Birge‐Vieta Method
Solution:
![Page 14: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/14.jpg)
Birge‐Vieta Method
![Page 15: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/15.jpg)
Birge‐Vieta Method
![Page 16: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/16.jpg)
Birge‐Vieta Method
• Dividing by we obtain the quadratic polynomial:
![Page 17: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/17.jpg)
Birge‐Vieta Method
• The roots of this polynomial are then computed by the quadratic formula:
• Result:
![Page 18: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/18.jpg)
![Page 19: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/19.jpg)
![Page 20: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/20.jpg)
Lin‐BairstowMethod
• The Lin‐Bairstow method is an iterative procedure for calculating the roots (real or complex) of a real‐coefficient polynomial equation while requiring only the manipulation of real numbers in the computations.
• The method is based on successive extractions of quadratic factors , , … of the original polynomial of degree and
from succeeding factor polynomials of degree .• Each quadratic factor is determined by an interactive differential‐correction procedure.
![Page 21: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/21.jpg)
Lin‐BairstowMethod
If is divided by a trial quadratic factor , where and are arbitrary real constants, we obtain
In expanded form, this equation can be written as⋯
⋯
where are waste.Equating coefficients we obtain:
![Page 22: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/22.jpg)
Lin‐BairstowMethod
Suppose that initial estimated , of the roots of system of equations are known. If these initial values are increased respectively by small changes and , then first‐order approximations of the resulting changes in the functions , and
, respectively are given by the total differential equations,,
If we define
andDifferentiating , , … , with respect to and , respectively, we find
, ,
where
![Page 23: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/23.jpg)
Lin‐BairstowMethod
The number of computations required in each iteration of the Bairstowmethod can be reduced using the relation and the differential‐correction equations and can be simplified by this relation to the form
The terms can be calculated using synthetic‐division‐by‐ quadratic form as follows:
![Page 24: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/24.jpg)
Lin‐BairstowMethod
Summary of Birge‐Vieta Method1. Input and initialization. Read parameters: degree = , initial values
, , convergence criteria = . Read coefficients , of . Set index ( number of quadratic factors extracted).
Set index ( root‐pairs counter).2. Calculate degree of current polynomial. reset Newton
interaction counter . Reset , to initial values , .3. Test degree . If , go to step 4. If , go to step 3b. If , go
to step 3a.a) Calculate root of linear equation ; go to Step 10.b) Calculate root pair , of ; go to Step 10.
![Page 25: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/25.jpg)
Lin‐BairstowMethod
4. Divide by , and compute , .
then
5. Calculate partial derivatives , , , .
then
![Page 26: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/26.jpg)
Lin‐BairstowMethod
6. Solve differential‐correction equations for , .
7. Calculate improvised values of roots , , .
![Page 27: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/27.jpg)
Lin‐BairstowMethod
8. Test for convergence of differential corrections.a) If both and , calculate root pair , of the quadratic
, go to Step 9.b) If either and , text index . If , increase by 1
and go to step 3. If , go to " failure to convergence“ exit.
9. Replace by , i.e. replace by , . Increment quadratic factor counter by 1. Increase root‐pair counter by 2. Return to Step 2.
10.Write output. Write out coefficients and roots .
![Page 28: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/28.jpg)
Lin‐BairstowMethod
Example:Calculate roots of:
![Page 29: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/29.jpg)
Lin‐BairstowMethod
Solution:Using synthetic‐division‐by‐quadratic form:
![Page 30: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/30.jpg)
Lin‐BairstowMethod
![Page 31: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/31.jpg)
Lin‐BairstowMethod
![Page 32: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/32.jpg)
Lin‐BairstowMethod
![Page 33: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/33.jpg)
Lin‐BairstowMethod
![Page 34: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/34.jpg)
![Page 35: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/35.jpg)
![Page 36: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/36.jpg)
Homework 6 (Individual)
1. Calculate the roots of the following polynomial function by the method of Birge‐Vieta:
2. Calculate the roots of the following polynomial function by the method of Lin‐Bairstow:
![Page 37: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/37.jpg)
Computer Program 5 (by team)
• Submit a computer program that compute the roots of a polynomial by the following methods:a) Birge‐Vieta Methodb) Lin‐Bairstow Method
• Hand over:• Computational algorithm (printed)• Source Code (printed and file)• Executable (file)
![Page 38: Roots of Equations Roots of Polynomials - Tec · 2015-03-19 · Suppose that initial estimated N 4, 4of the roots of system of equations are known. If these initial values are increased](https://reader036.vdocument.in/reader036/viewer/2022070802/5f02ce4f7e708231d4061a05/html5/thumbnails/38.jpg)
Roots of Equations‐ Roots of Polynomials ‐