Bisection Method: Example

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ย. 2024

ความคิดเห็น • 182

  • @francismjenkins
    @francismjenkins 6 ปีที่แล้ว +29

    I love this guy, quick and crystal clear (if you don't get bisection after watching this vid, ur probably not made for math) :)
    But using Excel? Cmon people, write some code in a real programming language lol

    • @numericalmethodsguy
      @numericalmethodsguy  6 ปีที่แล้ว +2

      Thank you.
      To get even more help, subscribe to the numericalmethodsguy channel, and go to MathForCollege.com/nm and MathForCollege.com/ma for more resources and share the link with your friends through social media and email.
      Support the site by buying the textbooks at www.lulu.com/shop/search.ep?keyWords=autar+kaw&type=
      Follow my numerical methods blog at AutarKaw.org. You can also take a free online course at www.canvas.net/?query=numerical%20methods

    • @statusworlds1726
      @statusworlds1726 6 ปีที่แล้ว +1

      Yes you are right they are really not made for maths 🤣🤣🤣🤣🤣🤣🤣

    • @bigears8296
      @bigears8296 6 ปีที่แล้ว +11

      Frank J assholes like you are the reason few people go into maths. My guess is that you yourself are bad at math which is why you fee the need to put others down. :)

    • @profautarkaw
      @profautarkaw 5 ปีที่แล้ว +2

      VBA for excel is a powerful language to learn.

    • @citymoose
      @citymoose 5 ปีที่แล้ว +3

      u sound like a shitty person

  • @abdulhalimaslanacier3847
    @abdulhalimaslanacier3847 6 ปีที่แล้ว +2

    Shooting from the distance is the only thing that I criticise. Yet, your contents are among the best on youtube. WEll DONE!

  • @Jota92i
    @Jota92i ปีที่แล้ว +1

    Iam here after 14 years
    u are extremely amazing prof and i loved ur way😍🥰

  • @prawgspinkz8015
    @prawgspinkz8015 8 ปีที่แล้ว +8

    this really helped .. ,my lecturer didnt explain well in details like you did... God bless

  • @akashsatamkar
    @akashsatamkar 5 ปีที่แล้ว

    In this example , first we find the midpoint(Xm) and then find the eqn of midpoint f(Xm) and f(Xl) and check for less than or greater than 0. Thats good but another method is only find eqn of f(Xm) and check for f(Xm)>0 or f(Xm)

  • @RSKingdom2012
    @RSKingdom2012 12 ปีที่แล้ว +1

    Hey, I just wanted to say thanks so much for the video!
    I had lots of trouble understanding it from my teacher and studied the lecture notes for hours...
    Then I came here and learnt and fully understand it in 10minutes.
    THANKS SO MUCH!

  • @numericalmethodsguy
    @numericalmethodsguy  13 ปีที่แล้ว +1

    @dheerujma You can choose any real numbers such that f(xl) f(xu)

  • @Kalanibrothers20
    @Kalanibrothers20 6 ปีที่แล้ว +2

    sir , you are doing great job. you have cleared all concepts related to the topic.sir, your notes are brilliant.

  • @Pickle312
    @Pickle312 11 ปีที่แล้ว +1

    Thanks, much more in depth walk through than my professor that really helped me understand the bisection method

  • @thetick5321
    @thetick5321 7 ปีที่แล้ว +2

    Thank you so much. I tanked this on an analysis quiz an was all screwed up. This is way simpler explanation than I had previous.

  • @chyndalefatejabutay56
    @chyndalefatejabutay56 2 ปีที่แล้ว +2

    Thank you so much! It's understandable! My professor did this but I don't get it maybe because of new normal learning.

  • @maryameqan
    @maryameqan 2 ปีที่แล้ว +1

    I'm being from a total non-math background grasp everything he says really quickly

  • @vrushabh1816
    @vrushabh1816 5 ปีที่แล้ว +3

    Simple and lucid explanation sir !!
    Thanks a lot !

  • @FAHADkt22
    @FAHADkt22 13 ปีที่แล้ว

    thank you sooooo much... I got an exam tomorrow
    before watching your videos i didn't understand
    now i can go to the exam with confidence. thanks again :)

  • @numericalmethodsguy
    @numericalmethodsguy  12 ปีที่แล้ว

    @Luan Selimi if you do not have them, then use the physics of the problem to find the two guesses. If this is not possible, make sure that the two guesses bracket the root, that is, the function values at the two guesses are opposite in sign.

  • @Richard30006
    @Richard30006 11 ปีที่แล้ว +1

    this is very clear and precise, none of that fancy jargon, thank you so much!

  • @unwelcomedguest9741
    @unwelcomedguest9741 8 ปีที่แล้ว +1

    Excellent explenation, totally 10x better than our university Dr.

    • @numericalmethodsguy
      @numericalmethodsguy  8 ปีที่แล้ว

      For more videos and resources on numerical methods, please visit nm.mathforcollege.com

  • @navnitlaxmiupadhyay1473
    @navnitlaxmiupadhyay1473 10 ปีที่แล้ว +3

    Thanks Sir, I like you teaching way and its very clean for us.

  • @MaxVelez
    @MaxVelez 13 ปีที่แล้ว +1

    Great video needed to learn this concept for an early BME software course.

  • @Ultimatejellyfighter
    @Ultimatejellyfighter 9 ปีที่แล้ว +3

    nice video... i understand it completely on my first watch... u taught me well.

  • @numericalmethodsguy
    @numericalmethodsguy  13 ปีที่แล้ว

    @TheManishchannel For example the value of f(1)=-19, f(4)=44. So if you would plot the function f(x) from x=1 to x=4, the function value is negative at x=1 and positive at x=4. So it changes sign as you plot it from x=1 to x=4. That means that the function has to cross the x-axis between x=1 and x=4. Click on the link at 0:20 of the video to follow the background. Go to numericalmethods(dot)eng(dot)usf(dot)edu and click on Keyword. Click on Bisection method. You will see more resources.

  • @3SmartyPants
    @3SmartyPants 15 ปีที่แล้ว

    You are an awesome teacher!! I totally now understand the Bisection Method (with a few minor questions for clarification).

  • @omarshahid4447
    @omarshahid4447 5 ปีที่แล้ว +1

    Explanation was amzing I can just say tht... Thnks alot

  • @michellefyyourelife
    @michellefyyourelife 6 ปีที่แล้ว +2

    Please make a video with an example of regula falsi (= false position method)
    P.S. you're video's are INCREDIBLY helpfull!

    • @numericalmethodsguy
      @numericalmethodsguy  6 ปีที่แล้ว

      Watch the videos made by my colleague: nm.mathforcollege.com/topics/false_position.html

  • @2112dim
    @2112dim 15 ปีที่แล้ว

    Very good,just started today studying such numerical methods.

  • @sharkbandre8278
    @sharkbandre8278 4 ปีที่แล้ว +1

    excellent explanation, Thank you!

  • @Muck-qy2oo
    @Muck-qy2oo 6 ปีที่แล้ว +2

    I could approximate logarithms like that! Might that work quicker if implemented in the newtons method?

    • @numericalmethodsguy
      @numericalmethodsguy  6 ปีที่แล้ว

      I do not understand the question. You can use Newton Raphson method for any equation that can be solved by bisection method until you can find f '(x), and it is finite.

  • @numericalmethodsguy
    @numericalmethodsguy  13 ปีที่แล้ว

    @327372 The concept is based on the fact that the maximum true error in the root at the end of an iteration is width of the new bracket. Keep in mind that the specified error Ead is the error, not the relative error. Do a google search on "Bisection Error Analysis" - the #1 result shows the proof!

  • @TheSandy636
    @TheSandy636 12 ปีที่แล้ว +1

    Sir, Thanks a lot.. You made it so easy...

  • @rboro6969
    @rboro6969 3 ปีที่แล้ว

    13. The equation x
    3 + x
    2 − 3x − 3 = 0 has a root on the interval (1,2), namely x =

    3.

  • @RicardoTosin
    @RicardoTosin 14 ปีที่แล้ว

    nice, bisection method is not so hard to understand and jus because you are nice to explain that, i got final exam and you will save me =D thanks !

  • @mohammedabbas5699
    @mohammedabbas5699 10 ปีที่แล้ว +1

    awesome thank u did u have fix point method?

  • @donaztek
    @donaztek 3 ปีที่แล้ว +1

    Hello sir , is there a mathematica sheet work for this method ? the one on your website is an old version thank you keep the good work

    • @numericalmethodsguy
      @numericalmethodsguy  3 ปีที่แล้ว

      Sorry, I am only keeping up with MATLAB.

    • @donaztek
      @donaztek 3 ปีที่แล้ว

      Yes i understand MATLAB is more commonly used

  • @RafaelLima-ox9ul
    @RafaelLima-ox9ul 7 ปีที่แล้ว +3

    Thank you so much! This was very clarifying.

  • @nishantsharma8776
    @nishantsharma8776 7 ปีที่แล้ว +3

    you are the best tutor over entire the world.

    • @numericalmethodsguy
      @numericalmethodsguy  7 ปีที่แล้ว

      Thank you.
      To get even more help, subscribe to the numericalmethodsguy channel, and go to MathForCollege.com/nm and MathForCollege.com/ma for more resources and share the link with your friends through social media and email.
      Follow my numerical methods blog at AutarKaw.org. You can also take a free online course at www.canvas.net/?query=numerical%20methods

  • @AshwinAshwinRamdas
    @AshwinAshwinRamdas 12 ปีที่แล้ว

    this information is RIGHT. thanks for the example problem

  • @numericalmethodsguy
    @numericalmethodsguy  11 ปีที่แล้ว +1

    Write the equation as f(x)=sin(x)-x=0
    Check of f(xl) and f(xf) change sign. Then follow the same logic as the above example. Remember arguments of sin are in radians!

  • @Silvyanutza
    @Silvyanutza 13 ปีที่แล้ว

    Hi mister!I really apreciate your labour!It is really useful!What i wanna ask you is!
    After n iteration i should find the unique solution? sqrt of range 3 from 20?
    Thanks in advance for the answer!

  • @lostdreamer3308
    @lostdreamer3308 5 ปีที่แล้ว +1

    Thank you very much sir.

  • @ManuelCollinsBarud
    @ManuelCollinsBarud 14 ปีที่แล้ว

    Excellent video! Thanks from Mexico!

  • @lapitburaytitibuday
    @lapitburaytitibuday 15 ปีที่แล้ว

    dude! do you have an example on fixed iteration method? I really needed it! I'll put five stars if you explained it well

  • @foodtruckfactory1598
    @foodtruckfactory1598 6 ปีที่แล้ว +1

    You are amazing, thank you sir!

  • @numericalmethodsguy
    @numericalmethodsguy  13 ปีที่แล้ว

    @dheerujma Go to numericalmethods(.)eng(.)usf(.)edu and click on Keyword. Click on bisection method. You will see programs written in MTALAB, etc. Modify as needed!

  • @LilmasCheerPSP
    @LilmasCheerPSP 8 ปีที่แล้ว +1

    what's a good way to study for a numerical methods final?

  • @ankurrrrrrrrr
    @ankurrrrrrrrr 9 ปีที่แล้ว +1

    Sir, you are awesome. Thankyou for help, so nice of you.

  • @9dubb9
    @9dubb9 14 ปีที่แล้ว

    Thanks allot...I will ace this on my exam tomorrow/ 7.5hours

  • @maheshmahee7092
    @maheshmahee7092 11 ปีที่แล้ว

    It`s depends upon comparing the relative approx error with pre specified tolerance.
    if |ea|

  • @anooshiravanensafian7860
    @anooshiravanensafian7860 8 ปีที่แล้ว +2

    sir, why your initial guesses are 1 and 4? according to which equations have you chosen these??
    can we take 1 and 3 ? since 3^3 is greater than 20 again :-?

    • @numericalmethodsguy
      @numericalmethodsguy  8 ปีที่แล้ว +3

      Yes, you can take 1 and 3. I chose initial guesses only by observation.

  • @jalosaidu
    @jalosaidu 6 ปีที่แล้ว +1

    wow great, easy to understand

  • @sheikhejaz
    @sheikhejaz 14 ปีที่แล้ว

    thank you sir very much very use ful for begginers

  • @numericalmethodsguy
    @numericalmethodsguy  12 ปีที่แล้ว

    There is a formula which can be used to determine the number of iterations.
    n=integer[ln(Xu-Xl)-ln(Ead)/ln­2]
    Ead= specified error for stopping criterion which should be given.
    The concept is based on that the maximum true error in the root at the end of an iteration is width of the new bracket. Do a google search on "Bisection Error Analysis" - the #1 result shows the proof!
    Go to nm(dot)mathforcollege(dot)com and click on Keyword. Click on Bisection method. You will see more resources.

  • @Jonny23Baller
    @Jonny23Baller 8 ปีที่แล้ว +1

    quick question, if f(a)f(b)>0 on the first try before getting into the iteration... would we conclude there aren't any roots on that interval? thank you

  • @sadahahmed5034
    @sadahahmed5034 12 ปีที่แล้ว

    man you are the BEST

  • @austinoligario2285
    @austinoligario2285 8 ปีที่แล้ว +2

    What happens if we aren't given an initial bracket? f(x) = x^6 − x − 1 = 0.
    "Use bisection method to find the largest real root α of this equation with 4 decimal place accuracy."
    I am not looking for the solution, I just want to provide some context. How would I find the X_l and X_u?

    • @numericalmethodsguy
      @numericalmethodsguy  8 ปีที่แล้ว +1

      +Austin Oligario This equation could have 6, 4, 2 or 0 real roots. Unless, you plot the LHS of the equation, it would be hard to pinpoint largest real root, and hence a suitable XL and XU bracket.

    • @CarlosDominguez-yr1ic
      @CarlosDominguez-yr1ic 7 ปีที่แล้ว +2

      I used a hand calculator, and I got the following roots for x^6-x-1=0
      X1 = 1.134724138
      X2 = 0.4510551586 + 1.002364572i
      X3 = 0.4510551586 - 1.002364572i
      X4 = -0.6293724285 - 0.735755953i
      X5 = -0.6293724285 + 0.735755953i
      X6 = -0.7780895987
      So you can use the intervals [1, 1.5] and [-1,-0.5] to practice the bisection method. The complex roots could be found using Newton-Raphson method.
      Best regards from Venezuela. Carlos Vicente Dominguez

  • @zahrahbahrah6814
    @zahrahbahrah6814 7 ปีที่แล้ว +2

    This guy is amazing

  • @fb-gu2er
    @fb-gu2er 5 ปีที่แล้ว +1

    numericalmethodsguy
    can i suggest a topic: fixed point theorem?

  • @muffihottie
    @muffihottie 9 ปีที่แล้ว +2

    When do we stop doing iteration if it is given to us that determine the root that is atleast accurate to within 10^-4?

    • @autarkaw1826
      @autarkaw1826 9 ปีที่แล้ว

      You can continue to iterate till absolute approximate error is

  • @topdecktunes
    @topdecktunes 7 ปีที่แล้ว +1

    Very helpful, thanks

  • @ramchandrapaudel7890
    @ramchandrapaudel7890 9 ปีที่แล้ว +1

    first of all thanks for all ur support. when desired accuracy exactly equals to functional value should i consider that the root or go for one more iteration????

  • @numericalmethodsguy
    @numericalmethodsguy  13 ปีที่แล้ว

    The formula
    n=integer[ln(Xu-Xl)-ln(Ead)/ln2] is a little incorrect.
    It should be
    n=integer[(ln(Xu-Xl)-ln(Ead))/ln2].
    Also, since Xu>Xl is not required, it should be
    n=integer[(ln|Xu-Xl|-ln(Ead))/ln2]
    =integer[ln(|Xu-Xl|/Ead)/ln2] - note the absolute value.

  • @vaibhavjoshi8301
    @vaibhavjoshi8301 12 ปีที่แล้ว +1

    i need to know till when do we perform the iterations?

  • @mubarakmohammed3551
    @mubarakmohammed3551 10 ปีที่แล้ว +1

    do you have an illustration for regular false method please

  • @TTabancaTT
    @TTabancaTT 10 ปีที่แล้ว +2

    thank you very much for upload this video.

  • @kalidasrajendran1754
    @kalidasrajendran1754 11 ปีที่แล้ว +2

    sir if possible add fixed point theorem n banach fixed point theorem ....

  • @kabronponcho
    @kabronponcho 13 ปีที่แล้ว +1

    thank you so much sir, ! thanks thanks thanks~

  • @ashutoshpatil26
    @ashutoshpatil26 5 ปีที่แล้ว +1

    thank you sir

  • @ahmedmohamed-yx1ln
    @ahmedmohamed-yx1ln 5 ปีที่แล้ว +1

    great video

  • @divyapandey7276
    @divyapandey7276 7 ปีที่แล้ว +1

    how can we guess the intial value of x1 and x2 so that we can finish in short iteration??

  • @adityavajpayee6577
    @adityavajpayee6577 12 ปีที่แล้ว

    u need to see previous parts of the bisection method series for your queries.. everything is as clear as it can be...

  • @michaeljohnmagistrado1166
    @michaeljohnmagistrado1166 9 ปีที่แล้ว +1

    is there a way of finding a root if the funcction doesnt pass through the x axis?

    • @numericalmethodsguy
      @numericalmethodsguy  9 ปีที่แล้ว

      miguel juan adjudicator The equation most probably has complex roots then. You can use Mullers' method for that. en.wikipedia.org/wiki/Muller%27s_method

  • @namelastname7103
    @namelastname7103 8 ปีที่แล้ว +4

    Excellent

  • @khirnafazlina3763
    @khirnafazlina3763 4 ปีที่แล้ว

    hi sir, may i know what is pre-specified tolerence? and how do we know the value?

  • @VilleLaitila1
    @VilleLaitila1 14 ปีที่แล้ว

    # Bisection method coded in Python
    def function(x):
    return x*x*x-20
    def iterate(bracket,accuracy):
    print bracket
    midpoint = ( bracket[0]+bracket[1] ) / 2.0
    v1 = function( bracket[0] )
    vm = function( midpoint )
    if abs(v1-vm) < accuracy: return
    iterate( (bracket[0], midpoint) if v1*vm < 0 else (midpoint, bracket[1]), accuracy )
    iterate( (1.0,4.0), 0.00001 )

  • @adlanehichembriki1831
    @adlanehichembriki1831 7 ปีที่แล้ว +1

    Hello, Thank you for this
    For the fifth iteration, i found xm=2.59375, while u found it 2.78125, ?

    • @numericalmethodsguy
      @numericalmethodsguy  7 ปีที่แล้ว

      iter xl xm xu error(%)
      1 1 2.5 4
      2 2.5 3.25 4 23.076923
      3 2.5 2.875 3.25 13.043478
      4 2.5 2.6875 2.875 6.9767442
      5 2.6875 2.78125 2.875 3.3707865

  • @ezmoney2008
    @ezmoney2008 4 ปีที่แล้ว

    Thank you!

  • @numericalmethodsguy
    @numericalmethodsguy  13 ปีที่แล้ว

    @Silvyanutza If you would rephrase your question, I would be able to answer your question!

  • @kashishaggarwal9647
    @kashishaggarwal9647 5 ปีที่แล้ว +1

    sir if the initial values i.e x1 & x2 are not given that what should we do?

    • @profautarkaw
      @profautarkaw 5 ปีที่แล้ว +1

      Well, you got to choose such that f(x1)f(x2)

    • @kashishaggarwal9647
      @kashishaggarwal9647 5 ปีที่แล้ว

      @@profautarkaw thank you sir

  • @AmitSealAmi
    @AmitSealAmi 14 ปีที่แล้ว

    thanks a lot :) a very good and understandable tutorial :)

  • @Endisupertramp
    @Endisupertramp 12 ปีที่แล้ว

    This was incredibly helpful,hank you a lot!

  • @ahmadsaleh3881
    @ahmadsaleh3881 11 ปีที่แล้ว

    Thank you very much!

  • @gracellove
    @gracellove 13 ปีที่แล้ว

    thank you very much!!!!

  • @hexassasin6212
    @hexassasin6212 6 ปีที่แล้ว +1

    Hey guys if you are solving a sinusoidal function then switch your calculator to RADIAN from degree. I made that mistake initially.

  • @tristonveen9210
    @tristonveen9210 7 ปีที่แล้ว +1

    How do you Calculate the solution error?

    • @numericalmethodsguy
      @numericalmethodsguy  7 ปีที่แล้ว +1

      You calculate the absolute relative approximate error. See videos or textbook chapter here: nm.mathforcollege.com/topics/measuring_errors.html

  • @wajidali-ew5pr
    @wajidali-ew5pr 8 ปีที่แล้ว +1

    very good

  • @abdelrahmanelattar
    @abdelrahmanelattar 11 ปีที่แล้ว

    Thank u so much

  • @usmansaleh4511
    @usmansaleh4511 12 ปีที่แล้ว

    thanks for this video, 2maro is my paper of numerical, pry 40r me.

  • @jasonlee4347
    @jasonlee4347 8 ปีที่แล้ว +1

    thanks sir!!

  • @prajwolpaneru6975
    @prajwolpaneru6975 9 ปีที่แล้ว +1

    when do i know that i have to stop calculating if the no. of iteration is not given?

    • @numericalmethodsguy
      @numericalmethodsguy  9 ปีที่แล้ว

      Prajwol Paneru You can choose a pre-specified tolerance. When the absolute relative approximate error is less than or equal to the pre-specified tolerance, you can stop. To see how this works and its relationship to see how many significant digits are correct in your answer, see page 5 and 6 of this document: mathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_measuringerror.pdf

  • @sheharyarahmad7078
    @sheharyarahmad7078 8 ปีที่แล้ว +1

    Wonderful

  • @shubhammeena8306
    @shubhammeena8306 8 ปีที่แล้ว +1

    thankx

  • @MrKosova092
    @MrKosova092 12 ปีที่แล้ว

    what if we don't have Xl and Xu ?? do we have to put them as we wish .. for example if we have your exam but we don't have Xl and Xu , what to do ??

  • @Aguvika
    @Aguvika 10 ปีที่แล้ว

    Hello Sir,
    Since we know that F(XL)0. Why do we have to form a check around F(XL)*F(XU)??.. Why not just check the sign of F(XM) if it is negative it becomes XM becomes XL if positive it becomes XU.

    • @numericalmethodsguy
      @numericalmethodsguy  10 ปีที่แล้ว +1

      It is not guaranteed that f(xl)0. For example for f(x)= - x^2+4=0, it is f(xl= - 1)=3, f(xu=3)= - 5. Checking f(xl)*f(xu)

    • @Aguvika
      @Aguvika 10 ปีที่แล้ว

      numericalmethodsguy Ahh ok..thanks for the quick response!!!!!

  • @mahmoudsaad7469
    @mahmoudsaad7469 10 ปีที่แล้ว +1

    thank you my teacher

  • @deepak4137
    @deepak4137 10 ปีที่แล้ว +1

    thanks

  • @anumitasingharoy1819
    @anumitasingharoy1819 10 ปีที่แล้ว +1

    thank u so muuch its grt

  • @na25wal
    @na25wal 12 ปีที่แล้ว

    so helpful , thanks a lot :)

  • @manjunathhipparagi8493
    @manjunathhipparagi8493 5 ปีที่แล้ว +1

    How to obtain initial guesses if not given?

    • @profautarkaw
      @profautarkaw 5 ปีที่แล้ว

      Physics of the problem can help. See how we can use this for example given here mathforcollege.com/nm/mws/gen/03nle/mws_gen_nle_txt_bisection.pdf

  • @primehvacengineeringmumbai5122
    @primehvacengineeringmumbai5122 7 ปีที่แล้ว +1

    very helpful

    • @numericalmethodsguy
      @numericalmethodsguy  7 ปีที่แล้ว

      Thank you. To get even more help, go to MathForCollege.com/nm and MathForCollege.com/ma for more resources and share the link with your friends. Follow my numerical methods blog at AutarKaw.org. You can also take a free online course at www.canvas.net/?query=numerical%20methods

  • @harisanthoshkumar7449
    @harisanthoshkumar7449 6 ปีที่แล้ว +2

    Sir, why do you xu = 4 but not 3

    • @numericalmethodsguy
      @numericalmethodsguy  6 ปีที่แล้ว

      You can use any lower and upper guess till the function changes sign. See the physical problems here under NONLINEAR EQUATIONS to see how the physics of the problem can help in deciding what the lower and upper guess should be. nm.mathforcollege.com/physical_problems_text.html

  • @Falcossbbrules
    @Falcossbbrules 12 ปีที่แล้ว

    Thank you!!!!