Interval Bisection: Solve for Root in [1, 2]

  • Thread starter Thread starter aurao2003
  • Start date Start date
  • Tags Tags
    Interval
Click For Summary

Homework Help Overview

The discussion revolves around finding a root of the equation 0 = x/2 - 1/x for x > 0 within the interval [1, 2] using the interval bisection method. Participants are clarifying the process of applying bisection twice and the resulting estimates for the root.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the method of interval bisection, questioning how many times to apply it and how to interpret the results. There are varying interpretations of the number of intervals and midpoints used to estimate the root.

Discussion Status

There is active engagement with participants sharing their calculations and reasoning. Some participants express differing opinions on the number of bisections performed and the resulting estimates for the root, with no explicit consensus reached on the correct approach.

Contextual Notes

Participants are working within the constraints of homework rules, which specify obtaining the root to two significant figures and using the interval bisection method exactly twice. There is also mention of discrepancies in the results obtained by different participants.

aurao2003
Messages
122
Reaction score
0

Homework Statement


Hi
Please, I need clarification on this queston

Show that the equation
0 = x/2 -1/x
,x>0, has a root in the interval [1, 2].

b Obtain the root, using interval bisection two times. Give your answer to two significant figures.




Homework Equations


Change in sign of values between (a+b)/2



The Attempt at a Solution


I am actually wondering how many times do I find (a+b)/2. The question obviously states twice. But the answer was based on 4 interval bisections! I obtained 1.3 and they obtained 1.4. Can anyone please comment?
 
Physics news on Phys.org
If you bisect the interval once you get two halves. If you bisect one of these halves again, you get two quarters. Is that what you're asking?

Show what you did to get 1.3...
 
For the a part
I said let f(x) = x/2 - 1/x
f(1) = 0.5-1= -0.5
f(2) = 1-0.5= 0.5
There is a change of sign between f(1) and f(2). Therefore a root exists in the interval
[1,2]
I now used these values to obtain f(a+b/2)
So, for example (a+b)/2 = 1.5 (When considering Interval 1,2). I noticed where the signs changed and took a new interval. This led to my result of 1.3.
 
If you bisect the interval [1, 2], you get two intervals: [1, 1.5] and [1.5, 2]. Since the function changes sign in the first interval, there's a root in [1, 1.5].

If you bisect the interval [1, 1.5], you get two more intervals: [1, 1.25] and [1.25, 1.5]. In one of these two intervals, the function changes sign, so an estimate for the root is the midpoint of that interval.

I agree with your book's answer.
 
You bisect two intervals, then take the midpoint of the next interval.
 
Mark44 said:
If you bisect the interval [1, 2], you get two intervals: [1, 1.5] and [1.5, 2]. Since the function changes sign in the first interval, there's a root in [1, 1.5].

If you bisect the interval [1, 1.5], you get two more intervals: [1, 1.25] and [1.25, 1.5]. In one of these two intervals, the function changes sign, so an estimate for the root is the midpoint of that interval.

I agree with your book's answer.
I am not doubting the answer in the book. But I will like to know how many bisection intervals you applied. I obtained 1.3 after 3 intervals. The root is closer to 1.4 as the book states. My diiference of opinion is regarding how many intervals were used.
 
Count how many times I wrote "bisect the interval" in post #4. The root estimate is the middle of the interval [1.25, 1.5]. It might seem like we're bisecting the interval for a third time to do this, but we're not. Notice that the number in the middle of [1.25, 1.5] is not 1.3.
 
The first interval is [1, 2] f(1)= 1/2- 1= -1/2< 0. f(2)= 2/2- 1/2= 1/2> 0.

The midpoint of that interval is 3/2= 1.5. f(3/2)= 3/4- 2/3> 0 so the new interval is [1, 3/2].

The midpoint of that interval is 5/4= 1.25. f(5/4)= 5/8- 8/5= (25- 64)/8< 0 so our new interval is [5/4, 3/2]

The midpoint of that interval is 11/8 =1.375. f(11/8)= 11/16- 8/11= (121- 128)/176< 0 so our new interval [5/4, 11/8].

The midpoint of that interval is 21/16= 1.3125. f(21/16)= 21/32- 16/21= (441- 512)/672< 0 so our new interval is [5/4. 21/16].

The midpoint of that interval is 41/32= 1.28125.

Since the last two both round to 1.3, that is the correct answer to two significant figures.
x/2 - 1/x
 
It seems to come down to how you count. In my way of thinking, the first bisection gives you [1, 3/2] and [3/2, 2], with the root being in the first subinterval.

When you bisect the [1, 3/2] interval, you get [1, 5/4] and [5/4, 3/2]. Since f(5/4) and f(3/2) are opposite in sign, but the same is not true for f(1) and f(5/4), the root is in the interval [5/4, 3/2]. To get an estimate of the root take the midpoint of that interval, which is 11/8, or 1.375. Rounded to two significant figures, this is 1.4. I am distinguishing between taking the midpoint of an interval for the root estimate and doing another bisection. Since the 1.4 result agrees with the answer in the book, I believe this is what the authors had in mind. 1.4 is also closer to the analytic solution, which is [itex]\sqrt{2} \approx 1.414[/itex].

BTW, Halls, f(5/4) = 5/8 - 4/5, not 5/8 - 8/5, as you had.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K