SlideShare a Scribd company logo
Roots of equations

Is y=f(x). The values of x that make y= 0 are called roots of the equation. The fundamental
theorem of algebra states that every polynomial of degree n has n roots. In the case of
real estate, it must correspond to x values that make the feature cut the x-axis:


The roots of a polynomial can be real or complex. If a polynomial has coefficients a0, a1, a2,
…an-1, an, real, then all the complex roots always occur in complex conjugate pairs. For
example, a cubic polynomial has the following general form:
                                     f(x)= a0x3+ a1x2+ a2x+ a3
The fundamental theorem of algebra states that a polynomial of degree n has n roots. In
the case of cubic polynomial can be the following:
   ·    Three distinct real roots.
   ·    A real root with multiplicity 3.
   ·    A simple real root and one real root with multiplicity 2.
   ·    One real root and a complex conjugate pair.
Example. The roots of these polynomials are summarized below.


   1.   Three distinct real roots:




                                                                    f1(x) = x3- 3x2- x + 3

                                                                         =(x-3)(x-3)(x+1)
For their study, the functions can be classified into algebraic and transcendental.
Algebraic functions
Let g = f (x) the function expressed
                                 fnyn+ fn-1yn-1+…+ f1y+ f0=0


Where fi is a polynomial of order i in x. Polynomials are a simple case of algebraic
functions that are usually represented as
                                  fn(x)=a0+a1x+ a2x2…+ anxn


Where n is the order of the polynomial.

Example.

                                   f2(x) = 1-2.37 x + 7.5 x 2

                                       f6(x) = 5 x 2-x 3 + 7 x 6

Transcendental functions
Are those that are not algebraic. They include the trigonometric, exponential, logarithmic,
among others.
Example.

                                            f(x) = lnx2-1

                                       f(x) = e-0.2xsin(3x-5)
The methods described in this unit require that the function is differentiable in the range
where they apply. If the methods used in non-differentiable or discontinuous functions at
some points, to reach the result will depend, at random, that during the implementation
of the method do not touch those points.
On the other hand, the roots of the equations can be real or complex.


Real roots of algebraic and transcendental equations
In general, the methods for finding the real roots of algebraic equations and
transcendental methods are divided into intervals and open methods.
The interval methods exploit the fact that typically a function changes sign in the vicinity
of a root. They get this name because it needs two initial values to be "encapsulated" to
the root. Through such methods will gradually reduce the size of the interval so that the
repeated application of the methods always produce increasingly close approximations to
the actual value of the root, so methods are said to be convergent.
The open methods, in contrast, are based on formulas that require a single initial
value x (Initial approach to the root). Sometimes these methods away from the real value
of the root grow the number of iterations, i.e. diverge.


Bisection method
This method, also known as range partitioning method, part of an algebraic or
transcendental equation f (x) and an interval [x 1, x 2] such that f (x 1) and f (x 2) have
opposite signs , ie such that there is at least one root in that interval.
Once the interval [x 1, x 2] and secured the continuity of function within this range, it is
evaluated at the midpoint x m the interval. If f (x m) and f (x 1) have opposite signs, will
reduce the range of x 1 to x m, and that within these values is the desired
root. If f (x m) and f (x 1) have the same sign, will reduce the range of x m to x 2. By repeating
this process to make the difference between the two values of x m is a good approximation
of the root.
The algorithm of the method is as follows:
   1.   Choosing values x 1 and x 2 of the interval.
   2.    Checking the existence of a root in the interval [x 1, x 2] making sure
        f(x1)f(x2)<0. Otherwise, it will be necessary to choose other values for x 1 and x 2.

   3.   Take                       and calculate f(xm) .

   4.    If f (xm)= 0 is found the root of the function (end of method). Otherwise, go to step
        5.

   5.   Let T the desired tolerance (the margin of error). If               <T was found closer

        to the root with a margin of error of less than T (end method). Otherwise, go to
        step 6.

   6.   If f(x1)f(x2) , Then do           and repeat from 3, otherwise, make                 and
        repeat from 3.
Fixed Point Method



Starting from an initial value      directed vertically to the curve y = g (x) thereof,
horizontally to the line y = x, and again the curve vertically, horizontally to the line, etc.
The algorithm of the method is as follows:
    1.        Choose an initial approximation x0 .
    2.        Calculate g(x0 and make x0=g(x0).
         Let n = 1.

    3.        Calculate xn=g(xn-1).
    4.        Compare | xn+1- xn| with | xn- xn-1| :
         a)      If | xn+1- xn|<| xn- xn-1|. The method converges. Go to step 5.
         b)      If | xn+1- xn|>| xn- xn-1|. The method diverges. He stops the method and
               choosing a new approach x0.
         c)      If |xn+1- xn|=| xn- xn-1|. The method has stalled. He stops the method and
               choosing a new approach x0.
         Note that the first iteration is not yet possible to apply this criterion, so you omit
         this step and continues in May.
    5.     If | xn- xn-1| = 0, found the root of the function (end method). Otherwise, go to
         step 6.
    6.     Let T the desired tolerance (the margin of error). If | xn- xn-1| <T was found
         closer to the root with a margin of error of less than T (end method). Otherwise, go
         to step 3 by n = n +1.
Newton-Raphson Method
 This method is part of a first
 approximation xn and by applying a
 recursive formula is close to the root of
 the     equation,      so      that new
 approach xn+1 is located at the
 intersection of the tangent to the curve
 of the function at the point xn and the
 x-axis.




The Newton-Raphson method uses an iterative process to approach one root of a
function. The specific root that the process locates depends on the initial, arbitrarily
chosen x-value.




Here, xn is the current known x-value, f(xn) represents the value of the function at xn, and
f'(xn) is the derivative (slope) at xn. xn+1 represents the next x-value that you are trying to
find. Essentially, f'(x), the derivative represents f(x)/dx (dx = delta-x). Therefore, the term
f(x)/f'(x) represents a value of dx.

More Related Content

What's hot

Discrete Random Variables And Probability Distributions
Discrete Random Variables And Probability DistributionsDiscrete Random Variables And Probability Distributions
Discrete Random Variables And Probability Distributions
DataminingTools Inc
 
Chap05 continuous random variables and probability distributions
Chap05 continuous random variables and probability distributionsChap05 continuous random variables and probability distributions
Chap05 continuous random variables and probability distributions
Judianto Nugroho
 
Probability mass functions and probability density functions
Probability mass functions and probability density functionsProbability mass functions and probability density functions
Probability mass functions and probability density functionsAnkit Katiyar
 
Continuous Random Variables
Continuous Random VariablesContinuous Random Variables
Continuous Random Variables
DataminingTools Inc
 
5.2 first and second derivative test
5.2 first and second derivative test5.2 first and second derivative test
5.2 first and second derivative testdicosmo178
 
133467 p1a6
133467 p1a6133467 p1a6
Numerical_PDE_Paper
Numerical_PDE_PaperNumerical_PDE_Paper
Numerical_PDE_PaperWilliam Ruys
 
Solution of nonlinear_equations
Solution of nonlinear_equationsSolution of nonlinear_equations
Solution of nonlinear_equationsTarun Gehlot
 
Functions lect
Functions lectFunctions lect
Functions lect
AdnanBukhari13
 
Regularization Methods to Solve
Regularization Methods to SolveRegularization Methods to Solve
Regularization Methods to SolveKomal Goyal
 
Axioms, postulates
Axioms, postulatesAxioms, postulates
Axioms, postulates
preetisangwan4
 
Estimation theory 1
Estimation theory 1Estimation theory 1
Estimation theory 1
Gopi Saiteja
 
Mathematics power point presenttation on the topic
Mathematics power point presenttation on the topicMathematics power point presenttation on the topic
Mathematics power point presenttation on the topicMeghansh Gautam
 
Guia limite
Guia limiteGuia limite
Guia limite
Mariamne3
 
Polynomials lecture
Polynomials lecturePolynomials lecture
Polynomials lecture
AdnanBukhari13
 
Sequences 01
Sequences 01Sequences 01
Sequences 01
kmfob
 

What's hot (20)

Discrete Random Variables And Probability Distributions
Discrete Random Variables And Probability DistributionsDiscrete Random Variables And Probability Distributions
Discrete Random Variables And Probability Distributions
 
Numerical Method 2
Numerical Method 2Numerical Method 2
Numerical Method 2
 
Chap05 continuous random variables and probability distributions
Chap05 continuous random variables and probability distributionsChap05 continuous random variables and probability distributions
Chap05 continuous random variables and probability distributions
 
Functions
FunctionsFunctions
Functions
 
Probability mass functions and probability density functions
Probability mass functions and probability density functionsProbability mass functions and probability density functions
Probability mass functions and probability density functions
 
Continuous Random Variables
Continuous Random VariablesContinuous Random Variables
Continuous Random Variables
 
5.2 first and second derivative test
5.2 first and second derivative test5.2 first and second derivative test
5.2 first and second derivative test
 
133467 p1a6
133467 p1a6133467 p1a6
133467 p1a6
 
Numerical_PDE_Paper
Numerical_PDE_PaperNumerical_PDE_Paper
Numerical_PDE_Paper
 
Solution of nonlinear_equations
Solution of nonlinear_equationsSolution of nonlinear_equations
Solution of nonlinear_equations
 
Functions lect
Functions lectFunctions lect
Functions lect
 
Regularization Methods to Solve
Regularization Methods to SolveRegularization Methods to Solve
Regularization Methods to Solve
 
Numerical methods presentation 11 iteration method
Numerical methods presentation 11 iteration methodNumerical methods presentation 11 iteration method
Numerical methods presentation 11 iteration method
 
Axioms, postulates
Axioms, postulatesAxioms, postulates
Axioms, postulates
 
Estimation theory 1
Estimation theory 1Estimation theory 1
Estimation theory 1
 
Calc i complete
Calc i completeCalc i complete
Calc i complete
 
Mathematics power point presenttation on the topic
Mathematics power point presenttation on the topicMathematics power point presenttation on the topic
Mathematics power point presenttation on the topic
 
Guia limite
Guia limiteGuia limite
Guia limite
 
Polynomials lecture
Polynomials lecturePolynomials lecture
Polynomials lecture
 
Sequences 01
Sequences 01Sequences 01
Sequences 01
 

Viewers also liked

Technical Illustration Samples (Rapidograph)
Technical Illustration Samples (Rapidograph)Technical Illustration Samples (Rapidograph)
Technical Illustration Samples (Rapidograph)
David Hovey
 
运动会
运动会运动会
运动会SVPS
 
P2 cl elearning composition(instruction)
P2 cl elearning composition(instruction)P2 cl elearning composition(instruction)
P2 cl elearning composition(instruction)
SVPS
 
Stc collab
Stc collabStc collab
Stc collab
David Hovey
 
Definisi Komputer
Definisi KomputerDefinisi Komputer
Definisi Komputer
Agus Wikardi
 
Technical Illustration Samples (Adobe Illustrator)
Technical Illustration Samples (Adobe Illustrator)Technical Illustration Samples (Adobe Illustrator)
Technical Illustration Samples (Adobe Illustrator)
David Hovey
 
When did globalisation begin
When did globalisation beginWhen did globalisation begin
When did globalisation beginJester8
 
Ingresos activos e ingresos pasivos
Ingresos activos e ingresos pasivosIngresos activos e ingresos pasivos
Ingresos activos e ingresos pasivos
gamarrao21
 
LINEAR ALGEBRAIC ECUATIONS
LINEAR ALGEBRAIC ECUATIONSLINEAR ALGEBRAIC ECUATIONS
LINEAR ALGEBRAIC ECUATIONSgilandio
 
Lu decomposition
Lu decompositionLu decomposition
Lu decompositiongilandio
 
Gauss elimination method
Gauss elimination methodGauss elimination method
Gauss elimination methodgilandio
 

Viewers also liked (13)

Technical Illustration Samples (Rapidograph)
Technical Illustration Samples (Rapidograph)Technical Illustration Samples (Rapidograph)
Technical Illustration Samples (Rapidograph)
 
运动会
运动会运动会
运动会
 
P2 cl elearning composition(instruction)
P2 cl elearning composition(instruction)P2 cl elearning composition(instruction)
P2 cl elearning composition(instruction)
 
Stc collab
Stc collabStc collab
Stc collab
 
Definisi Komputer
Definisi KomputerDefinisi Komputer
Definisi Komputer
 
Intro to art
Intro to artIntro to art
Intro to art
 
Technical Illustration Samples (Adobe Illustrator)
Technical Illustration Samples (Adobe Illustrator)Technical Illustration Samples (Adobe Illustrator)
Technical Illustration Samples (Adobe Illustrator)
 
When did globalisation begin
When did globalisation beginWhen did globalisation begin
When did globalisation begin
 
Ingresos activos e ingresos pasivos
Ingresos activos e ingresos pasivosIngresos activos e ingresos pasivos
Ingresos activos e ingresos pasivos
 
LINEAR ALGEBRAIC ECUATIONS
LINEAR ALGEBRAIC ECUATIONSLINEAR ALGEBRAIC ECUATIONS
LINEAR ALGEBRAIC ECUATIONS
 
Lu decomposition
Lu decompositionLu decomposition
Lu decomposition
 
Chapter1
Chapter1Chapter1
Chapter1
 
Gauss elimination method
Gauss elimination methodGauss elimination method
Gauss elimination method
 

Similar to Roots of equations

Numarical values
Numarical valuesNumarical values
Numarical values
AmanSaeed11
 
Numarical values highlighted
Numarical values highlightedNumarical values highlighted
Numarical values highlighted
AmanSaeed11
 
Roots of equations
Roots of equationsRoots of equations
Roots of equationsMileacre
 
Equations root
Equations rootEquations root
Equations rootMileacre
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
Bijay Mishra
 
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
mathsjournal
 
OPERATIONS RESEARCH
OPERATIONS RESEARCHOPERATIONS RESEARCH
OPERATIONS RESEARCH
Makaha Rutendo
 
Linear approximations and_differentials
Linear approximations and_differentialsLinear approximations and_differentials
Linear approximations and_differentials
Tarun Gehlot
 
3 2 Polynomial Functions And Their Graphs
3 2 Polynomial Functions And Their Graphs3 2 Polynomial Functions And Their Graphs
3 2 Polynomial Functions And Their Graphssilvia
 
6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functions6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functionsmorrobea
 
6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functions6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functionsmorrobea
 
Module 2 Lesson 2 Notes
Module 2 Lesson 2 NotesModule 2 Lesson 2 Notes
Module 2 Lesson 2 Notes
toni dimella
 
Mit18 330 s12_chapter4
Mit18 330 s12_chapter4Mit18 330 s12_chapter4
Mit18 330 s12_chapter4
CAALAAA
 
lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...
lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...
lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...
mathsjournal
 
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
mathsjournal
 
App8
App8App8

Similar to Roots of equations (20)

Numarical values
Numarical valuesNumarical values
Numarical values
 
Numarical values highlighted
Numarical values highlightedNumarical values highlighted
Numarical values highlighted
 
Roots of equations
Roots of equationsRoots of equations
Roots of equations
 
Equations root
Equations rootEquations root
Equations root
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
 
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
 
OPERATIONS RESEARCH
OPERATIONS RESEARCHOPERATIONS RESEARCH
OPERATIONS RESEARCH
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Es272 ch5b
Es272 ch5bEs272 ch5b
Es272 ch5b
 
Linear approximations and_differentials
Linear approximations and_differentialsLinear approximations and_differentials
Linear approximations and_differentials
 
Limits and derivatives
Limits and derivativesLimits and derivatives
Limits and derivatives
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
3 2 Polynomial Functions And Their Graphs
3 2 Polynomial Functions And Their Graphs3 2 Polynomial Functions And Their Graphs
3 2 Polynomial Functions And Their Graphs
 
6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functions6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functions
 
6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functions6.3 evaluating-and-graphing-polynomila-functions
6.3 evaluating-and-graphing-polynomila-functions
 
Module 2 Lesson 2 Notes
Module 2 Lesson 2 NotesModule 2 Lesson 2 Notes
Module 2 Lesson 2 Notes
 
Mit18 330 s12_chapter4
Mit18 330 s12_chapter4Mit18 330 s12_chapter4
Mit18 330 s12_chapter4
 
lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...
lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...
lassomodel, sparsity, multivariate modeling, NIR spectroscopy, biodiesel from...
 
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
 
App8
App8App8
App8
 

Roots of equations

  • 1. Roots of equations Is y=f(x). The values of x that make y= 0 are called roots of the equation. The fundamental theorem of algebra states that every polynomial of degree n has n roots. In the case of real estate, it must correspond to x values that make the feature cut the x-axis: The roots of a polynomial can be real or complex. If a polynomial has coefficients a0, a1, a2, …an-1, an, real, then all the complex roots always occur in complex conjugate pairs. For example, a cubic polynomial has the following general form: f(x)= a0x3+ a1x2+ a2x+ a3 The fundamental theorem of algebra states that a polynomial of degree n has n roots. In the case of cubic polynomial can be the following: · Three distinct real roots. · A real root with multiplicity 3. · A simple real root and one real root with multiplicity 2. · One real root and a complex conjugate pair. Example. The roots of these polynomials are summarized below. 1. Three distinct real roots: f1(x) = x3- 3x2- x + 3 =(x-3)(x-3)(x+1)
  • 2. For their study, the functions can be classified into algebraic and transcendental. Algebraic functions Let g = f (x) the function expressed fnyn+ fn-1yn-1+…+ f1y+ f0=0 Where fi is a polynomial of order i in x. Polynomials are a simple case of algebraic functions that are usually represented as fn(x)=a0+a1x+ a2x2…+ anxn Where n is the order of the polynomial. Example. f2(x) = 1-2.37 x + 7.5 x 2 f6(x) = 5 x 2-x 3 + 7 x 6 Transcendental functions Are those that are not algebraic. They include the trigonometric, exponential, logarithmic, among others. Example. f(x) = lnx2-1 f(x) = e-0.2xsin(3x-5) The methods described in this unit require that the function is differentiable in the range where they apply. If the methods used in non-differentiable or discontinuous functions at some points, to reach the result will depend, at random, that during the implementation of the method do not touch those points. On the other hand, the roots of the equations can be real or complex. Real roots of algebraic and transcendental equations In general, the methods for finding the real roots of algebraic equations and transcendental methods are divided into intervals and open methods. The interval methods exploit the fact that typically a function changes sign in the vicinity of a root. They get this name because it needs two initial values to be "encapsulated" to the root. Through such methods will gradually reduce the size of the interval so that the
  • 3. repeated application of the methods always produce increasingly close approximations to the actual value of the root, so methods are said to be convergent. The open methods, in contrast, are based on formulas that require a single initial value x (Initial approach to the root). Sometimes these methods away from the real value of the root grow the number of iterations, i.e. diverge. Bisection method This method, also known as range partitioning method, part of an algebraic or transcendental equation f (x) and an interval [x 1, x 2] such that f (x 1) and f (x 2) have opposite signs , ie such that there is at least one root in that interval. Once the interval [x 1, x 2] and secured the continuity of function within this range, it is evaluated at the midpoint x m the interval. If f (x m) and f (x 1) have opposite signs, will reduce the range of x 1 to x m, and that within these values is the desired root. If f (x m) and f (x 1) have the same sign, will reduce the range of x m to x 2. By repeating this process to make the difference between the two values of x m is a good approximation of the root. The algorithm of the method is as follows: 1. Choosing values x 1 and x 2 of the interval. 2. Checking the existence of a root in the interval [x 1, x 2] making sure f(x1)f(x2)<0. Otherwise, it will be necessary to choose other values for x 1 and x 2. 3. Take and calculate f(xm) . 4. If f (xm)= 0 is found the root of the function (end of method). Otherwise, go to step 5. 5. Let T the desired tolerance (the margin of error). If <T was found closer to the root with a margin of error of less than T (end method). Otherwise, go to step 6. 6. If f(x1)f(x2) , Then do and repeat from 3, otherwise, make and repeat from 3.
  • 4. Fixed Point Method Starting from an initial value directed vertically to the curve y = g (x) thereof, horizontally to the line y = x, and again the curve vertically, horizontally to the line, etc. The algorithm of the method is as follows: 1. Choose an initial approximation x0 . 2. Calculate g(x0 and make x0=g(x0). Let n = 1. 3. Calculate xn=g(xn-1). 4. Compare | xn+1- xn| with | xn- xn-1| : a) If | xn+1- xn|<| xn- xn-1|. The method converges. Go to step 5. b) If | xn+1- xn|>| xn- xn-1|. The method diverges. He stops the method and choosing a new approach x0. c) If |xn+1- xn|=| xn- xn-1|. The method has stalled. He stops the method and choosing a new approach x0. Note that the first iteration is not yet possible to apply this criterion, so you omit this step and continues in May. 5. If | xn- xn-1| = 0, found the root of the function (end method). Otherwise, go to step 6. 6. Let T the desired tolerance (the margin of error). If | xn- xn-1| <T was found closer to the root with a margin of error of less than T (end method). Otherwise, go to step 3 by n = n +1.
  • 5. Newton-Raphson Method This method is part of a first approximation xn and by applying a recursive formula is close to the root of the equation, so that new approach xn+1 is located at the intersection of the tangent to the curve of the function at the point xn and the x-axis. The Newton-Raphson method uses an iterative process to approach one root of a function. The specific root that the process locates depends on the initial, arbitrarily chosen x-value. Here, xn is the current known x-value, f(xn) represents the value of the function at xn, and f'(xn) is the derivative (slope) at xn. xn+1 represents the next x-value that you are trying to find. Essentially, f'(x), the derivative represents f(x)/dx (dx = delta-x). Therefore, the term f(x)/f'(x) represents a value of dx.