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

what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
What would be the best educational aid(s) for gifted kids/savants?
Heidi Reply
treat them normal, if they want help then give them. that will make everyone happy
Saurabh
What are the treatment for autism?
Magret Reply
hello. autism is a umbrella term. autistic kids have different disorder overlapping. for example. a kid may show symptoms of ADHD and also learning disabilities. before treatment please make sure the kid doesn't have physical disabilities like hearing..vision..speech problem. sometimes these
Jharna
continue.. sometimes due to these physical problems..the diagnosis may be misdiagnosed. treatment for autism. well it depends on the severity. since autistic kids have problems in communicating and adopting to the environment.. it's best to expose the child in situations where the child
Jharna
child interact with other kids under doc supervision. play therapy. speech therapy. Engaging in different activities that activate most parts of the brain.. like drawing..painting. matching color board game. string and beads game. the more you interact with the child the more effective
Jharna
results you'll get.. please consult a therapist to know what suits best on your child. and last as a parent. I know sometimes it's overwhelming to guide a special kid. but trust the process and be strong and patient as a parent.
Jharna
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