Interval Halving - Solve f(x)=x^3+2x^2+pi(x)-(square root of 2)

  • Thread starter Thread starter ranger1716
  • Start date Start date
  • Tags Tags
    Interval
Click For Summary
SUMMARY

The discussion focuses on using the interval halving method to find a root of the function f(x) = x^3 + 2x^2 + π(x) - √2 within the interval [-1, 1]. The user has calculated f(-1) = -3.55581 and f(1) = 4.72738, confirming a root exists due to the sign change. The approximate root is determined to be 0.25 with an error bound of at most 1/8. The user expresses confusion regarding the error calculation, which is clarified through the iterative narrowing of intervals.

PREREQUISITES
  • Understanding of the interval halving method
  • Basic knowledge of polynomial functions
  • Familiarity with error estimation techniques
  • Proficiency in evaluating functions at specific points
NEXT STEPS
  • Study the interval halving method in detail
  • Learn about error bounds in numerical methods
  • Explore polynomial root-finding algorithms
  • Practice with additional examples of function evaluation
USEFUL FOR

Students and educators in mathematics, particularly those focusing on numerical methods and root-finding techniques, as well as anyone interested in understanding polynomial behavior and error analysis.

ranger1716
Messages
17
Reaction score
0
could someone give me a hand with this please?

i need to use the interval halving method to show that the function f has a root in the interval [a,b]. I need to approximate that root and determine a bound on the error of my estimate.

f(x)=x^3+2x^2+pi(x)-(square root of 2)

I have determined that f(-1)= -3.55581 and that

f(1)= 4.72738

therefore

(-3.55581)x(4.72738)<0

the actual answer to the problem in the back of the book is: root is approx=0.25 and error at most 1/8

I'm getting confused because wouldn't the error be (-1+1)/2? This would equal zero.

Any help would be great.
 
Physics news on Phys.org
The interval halving method requires you to keep narrowing an interval to find a smaller and smaller interval that contains a desired root. In this case, the intervale halving method goes like this:

-1) -3.55581
+1) +4.72738

So there must be a root between -1 and +1. Try the midpoint of the interval, i.e the midpoint of [-1,+1] or zero. This gives:

-1) -3.55581
0) -1.414
+1) +4.72738

So now you know that the solution is in the interval [0,+1]. You begin the problem again with:

0) -1.414
+1) +4.72738

So there must be a root somewhere between 0 and 1. Try 0.5
etc.

Carl
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
13K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
5K
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K