<< Chapter < Page Chapter >> Page >

Finding a root of a polynomial

Use Newton’s method to approximate a root of f ( x ) = x 3 3 x + 1 in the interval [ 1 , 2 ] . Let x 0 = 2 and find x 1 , x 2 , x 3 , x 4 , and x 5 .

From [link] , we see that f has one root over the interval ( 1 , 2 ) . Therefore x 0 = 2 seems like a reasonable first approximation. To find the next approximation, we use [link] . Since f ( x ) = x 3 3 x + 1 , the derivative is f ( x ) = 3 x 2 3 . Using [link] with n = 1 (and a calculator that displays 10 digits), we obtain

x 1 = x 0 f ( x 0 ) f ( x 0 ) = 2 f ( 2 ) f ( 2 ) = 2 3 9 1.666666667 .

To find the next approximation, x 2 , we use [link] with n = 2 and the value of x 1 stored on the calculator. We find that

x 2 = x 1 = f ( x 1 ) f ( x 1 ) 1.548611111 .

Continuing in this way, we obtain the following results:

x 1 1.666666667 x 2 1.548611111 x 3 1.532390162 x 4 1.532088989 x 5 1.532088886 x 6 1.532088886 .

We note that we obtained the same value for x 5 and x 6 . Therefore, any subsequent application of Newton’s method will most likely give the same value for x n .

The function f(x) = x3 – 3x + 1 is drawn. It has roots between −2 and −1, 0 and 1, and 1 and 2.
The function f ( x ) = x 3 3 x + 1 has one root over the interval [ 1 , 2 ] .
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Letting x 0 = 0 , let’s use Newton’s method to approximate the root of f ( x ) = x 3 3 x + 1 over the interval [ 0 , 1 ] by calculating x 1 and x 2 .

x 1 0.33333333 , x 2 0.347222222

Got questions? Get instant answers now!

Newton’s method can also be used to approximate square roots. Here we show how to approximate 2 . This method can be modified to approximate the square root of any positive number.

Finding a square root

Use Newton’s method to approximate 2 ( [link] ). Let f ( x ) = x 2 2 , let x 0 = 2 , and calculate x 1 , x 2 , x 3 , x 4 , x 5 . (We note that since f ( x ) = x 2 2 has a zero at 2 , the initial value x 0 = 2 is a reasonable choice to approximate 2 . )

For f ( x ) = x 2 2 , f ( x ) = 2 x . From [link] , we know that

x n = x n 1 f ( x n 1 ) f ( x n 1 ) = x n 1 x 2 n 1 2 2 x n 1 = 1 2 x n 1 + 1 x n 1 = 1 2 ( x n 1 + 2 x n 1 ) .

Therefore,

x 1 = 1 2 ( x 0 + 2 x 0 ) = 1 2 ( 2 + 2 2 ) = 1.5 x 2 = 1 2 ( x 1 + 2 x 1 ) = 1 2 ( 1.5 + 2 1.5 ) 1.416666667.

Continuing in this way, we find that

x 1 = 1.5 x 2 1.416666667 x 3 1.414215686 x 4 1.414213562 x 5 1.414213562.

Since we obtained the same value for x 4 and x 5 , it is unlikely that the value x n will change on any subsequent application of Newton’s method. We conclude that 2 1.414213562 .

The function y = x2 – 2 is drawn. A dashed line comes up from x0 = 2, and a tangent line is drawn down from there. It touches x1 = 1.5, which is near x* = the square root of 2.
We can use Newton’s method to find 2 .
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Use Newton’s method to approximate 3 by letting f ( x ) = x 2 3 and x 0 = 3 . Find x 1 and x 2 .

x 1 = 2 , x 2 = 1.75

Got questions? Get instant answers now!

When using Newton’s method, each approximation after the initial guess is defined in terms of the previous approximation by using the same formula. In particular, by defining the function F ( x ) = x [ f ( x ) f ( x ) ] , we can rewrite [link] as x n = F ( x n 1 ) . This type of process, where each x n is defined in terms of x n 1 by repeating the same function, is an example of an iterative process    . Shortly, we examine other iterative processes. First, let’s look at the reasons why Newton’s method could fail to find a root.

Failures of newton’s method

Typically, Newton’s method is used to find roots fairly quickly. However, things can go wrong. Some reasons why Newton’s method might fail include the following:

  1. At one of the approximations x n , the derivative f is zero at x n , but f ( x n ) 0 . As a result, the tangent line of f at x n does not intersect the x -axis. Therefore, we cannot continue the iterative process.
  2. The approximations x 0 , x 1 , x 2 ,… may approach a different root. If the function f has more than one root, it is possible that our approximations do not approach the one for which we are looking, but approach a different root (see [link] ). This event most often occurs when we do not choose the approximation x 0 close enough to the desired root.
  3. The approximations may fail to approach a root entirely. In [link] , we provide an example of a function and an initial guess x 0 such that the successive approximations never approach a root because the successive approximations continue to alternate back and forth between two values.

Questions & Answers

prostaglandin and fever
Maha Reply
Discuss the differences between taste and flavor, including how other sensory inputs contribute to our  perception of flavor.
John Reply
taste refers to your understanding of the flavor . while flavor one The other hand is refers to sort of just a blend things.
Faith
While taste primarily relies on our taste buds, flavor involves a complex interplay between taste and aroma
Kamara
which drugs can we use for ulcers
Ummi Reply
omeprazole
Kamara
what
Renee
what is this
Renee
is a drug
Kamara
of anti-ulcer
Kamara
Omeprazole Cimetidine / Tagament For the complicated once ulcer - kit
Patrick
what is the function of lymphatic system
Nency Reply
Not really sure
Eli
to drain extracellular fluid all over the body.
asegid
The lymphatic system plays several crucial roles in the human body, functioning as a key component of the immune system and contributing to the maintenance of fluid balance. Its main functions include: 1. Immune Response: The lymphatic system produces and transports lymphocytes, which are a type of
asegid
to transport fluids fats proteins and lymphocytes to the blood stream as lymph
Adama
what is anatomy
Oyindarmola Reply
Anatomy is the identification and description of the structures of living things
Kamara
what's the difference between anatomy and physiology
Oyerinde Reply
Anatomy is the study of the structure of the body, while physiology is the study of the function of the body. Anatomy looks at the body's organs and systems, while physiology looks at how those organs and systems work together to keep the body functioning.
AI-Robot
what is enzymes all about?
Mohammed Reply
Enzymes are proteins that help speed up chemical reactions in our bodies. Enzymes are essential for digestion, liver function and much more. Too much or too little of a certain enzyme can cause health problems
Kamara
yes
Prince
how does the stomach protect itself from the damaging effects of HCl
Wulku Reply
little girl okay how does the stomach protect itself from the damaging effect of HCL
Wulku
it is because of the enzyme that the stomach produce that help the stomach from the damaging effect of HCL
Kamara
function of digestive system
Ali Reply
function of digestive
Ali
the diagram of the lungs
Adaeze Reply
what is the normal body temperature
Diya Reply
37 degrees selcius
Xolo
37°c
Stephanie
please why 37 degree selcius normal temperature
Mark
36.5
Simon
37°c
Iyogho
the normal temperature is 37°c or 98.6 °Fahrenheit is important for maintaining the homeostasis in the body the body regular this temperature through the process called thermoregulation which involves brain skin muscle and other organ working together to maintain stable internal temperature
Stephanie
37A c
Wulku
what is anaemia
Diya Reply
anaemia is the decrease in RBC count hemoglobin count and PVC count
Eniola
what is the pH of the vagina
Diya Reply
how does Lysin attack pathogens
Diya
acid
Mary
I information on anatomy position and digestive system and there enzyme
Elisha Reply
anatomy of the female external genitalia
Muhammad Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply
Practice Key Terms 2

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Calculus volume 1. OpenStax CNX. Feb 05, 2016 Download for free at http://cnx.org/content/col11964/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Calculus volume 1' conversation and receive update notifications?

Ask