Find interval and root of polynomial with absolute error less than 1/8

Click For Summary
SUMMARY

The discussion focuses on finding the interval and root of the polynomial function f(x) = x³ + 2x + 1 with an absolute error of less than 1/8. The initial interval identified using the Intermediate Value Theorem (IVT) is (-1/2, -1/4). The participants suggest using the Bisection Method and linearization techniques to refine the interval and approximate the root. The discussion emphasizes the need to adjust the interval based on the function's values at specific points to ensure the error criterion is met.

PREREQUISITES
  • Understanding of the Intermediate Value Theorem (IVT)
  • Familiarity with polynomial functions and their properties
  • Knowledge of the Bisection Method for root-finding
  • Basic concepts of linear approximation in calculus
NEXT STEPS
  • Study the Bisection Method in detail, including its convergence properties
  • Learn about Newton's Method for improved root-finding efficiency
  • Explore linearization techniques for approximating function values
  • Investigate error analysis in numerical methods to understand error bounds
USEFUL FOR

Mathematicians, engineering students, and anyone involved in numerical analysis or computational mathematics will benefit from this discussion.

songoku
Messages
2,509
Reaction score
393
Homework Statement
Find an interval of length ##\frac{1}{4}## which contains root of ##x^3+2x+1=0##. Then using that interval, give approximate value of the root with absolute error less than ##\frac{1}{8}##
Relevant Equations
Intermediate Value Theorem (IVT)

Limit (maybe)
By IVT and trial and error, I get the interval to be ##(-\frac{1}{2},-\frac{1}{4})##

I don't know how to do the next part.

Let the actual root of the polynomial be ##x_{0}## and the approximate value is ##p##, we have ##|p-x_{0}|<\frac{1}{8}##

I am not sure how to continue.

Thanks
 
Physics news on Phys.org
https://www.wolframalpha.com/input?i=plot+y=x^3+2x+1&lang=en
1729769732212.png


f(x)=x^3+2x+1
Say [a,b] is the range we choose, linear line between, i.e.,
y-f(a)=\frac{f(b)-f(a)}{b-a}(x-a)
cross the x axis at
x=-\frac{(b-a)f(a)}{f(b)-f(a)}+a
This is a candidate of approximate solution which should be investigated to be within the cited error.

[EDIT]
f(a)<0, f(b)>0
If f(##\frac{a+b}{2}##)<0 we can halve the size of the section [##\frac{a+b}{2}##,b].
If f(##\frac{a+b}{2}##)>0 we can halve the size of the section [a,##\frac{a+b}{2}##].
 
Last edited:
  • Like
Likes   Reactions: songoku and SammyS
anuttarasammyak said:
https://www.wolframalpha.com/input?i=plot+y=x^3+2x+1&lang=en
View attachment 352641

f(x)=x^3+2x+1
Say [a,b] is the range we choose, linear line between, i.e.,
y-f(a)=\frac{f(b)-f(a)}{b-a}(x-a)
cross the x axis at
x=-\frac{(b-a)f(a)}{f(b)-f(a)}+a
This is a candidate of approximate solution which should be investigated to be within the cited error.

[EDIT]
f(a)<0, f(b)>0
If f(##\frac{a+b}{2}##)<0 we can halve the size of the section [##\frac{a+b}{2}##,b].
If f(##\frac{a+b}{2}##)>0 we can halve the size of the section [a,##\frac{a+b}{2}##].
So the idea is to use linearization and then change the interval based on the value of ##x## obtained from linearization until the interval length is < ##\frac{1}{8}##?

Thanks
 
anuttarasammyak said:
f(a)<0, f(b)>0
If f((a+b)/2)<0 we can halve the size of the section [(a+b)/2,b].
If f((a+b)/2)>0 we can halve the size of the section [a,(a+b)/2].
Please forget the part before [EDIT]. Bisection method https://en.wikipedia.org/wiki/Bisection_method applies here. We can get better convergence by Newton method.
 
Last edited:
  • Like
Likes   Reactions: songoku
Thank you very much for the help and explanation anuttarasammyak
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
Replies
2
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
7K
  • · Replies 22 ·
Replies
22
Views
1K
Replies
9
Views
2K
Replies
6
Views
2K
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
3
Views
2K