Newton-Raphson Method: Example

Поділитися
Вставка
  • Опубліковано 9 січ 2025

КОМЕНТАРІ • 181

  • @fironegeri495
    @fironegeri495 3 роки тому +5

    best lecturer i have ever seen in my life... I'm from Ethiopia

  • @dekuoldit244
    @dekuoldit244 3 роки тому +2

    after 12 years, this video is still helpful. Thank you.

  • @mwsc
    @mwsc 16 років тому +2

    The Best Newton-Raphson method example that I have ever seen. Thank you very much.

  • @saralashalini5922
    @saralashalini5922 3 роки тому +1

    I covered half of the CS subjects in my degree by reffering your lectures.Thankyou sir😍😍.🇱🇰🇱🇰

  • @chuyqa
    @chuyqa 12 років тому +4

    This made so much more sense compared to when my professor covered it.. Thanks!

  • @numericalmethodsguy
    @numericalmethodsguy  16 років тому +2

    I started with 3.0 as an initial guess just to solve the problem. You could start with any guess you want. The root may diverge or converge. In many physical problems, the physics of the problem may help you with a good initial guess.

  • @fanousontheloose
    @fanousontheloose 12 років тому +1

    I want to thank you so much by the way!!! I had my midterm yesterday on this and did really well. You explained this way better than my professor.

  • @MrJcadwell
    @MrJcadwell 12 років тому

    You sir are a god... my teacher did a shabby job "teaching" this....

  • @walebalogunk
    @walebalogunk 8 років тому +1

    A very great lesson. I am just learning about the absolute relative error for the first time, and I hope to pass it on, share, with my course mates. Thanks a lot

  • @Omkagati1
    @Omkagati1 13 років тому

    thank you sir, actually i didn't attend classes in my college now for finals i dnt know nothing , from u videos i got to know lots of things abt numerical thank u once again

  • @penleung2706
    @penleung2706 3 роки тому +1

    Thanks for your lecture making my course easier !!!

  • @numericalmethodsguy
    @numericalmethodsguy  14 років тому

    @SnakeEater1912 The exercises are given at the numerical methods website for which the URL is at the numericalmethodsguy channel. Go to keyword, and then to multiple-choice.

  • @numericalmethodsguy
    @numericalmethodsguy  13 років тому

    @Jodisbear That is an initial guess to get the procedure started. To make an estimate of the initial guess, you may look at the physics of the problem. For that, read by going to numericalmethods(dot)eng(dot)u­sf(dot)edu, click on Newton Raphson Method and see the textbook chapter example.

  • @numericalmethodsguy
    @numericalmethodsguy  12 років тому

    Yes, till the time the function f(x) in f(x)=0 equation is differentiable and continuous in the domain of the values of x used, you can use it for any equation of the form f(x)=0.

  • @arianabedi
    @arianabedi 13 років тому

    Fantastic, saw this after my lecture and now its all a cake walk! off to book exercises!

  • @numericalmethodsguy
    @numericalmethodsguy  15 років тому

    One only takes first derivative in Newton-Raphson method. There are modifications proposed to the Newton-Raphson method when the equation has repeated roots, which involve taking derivative of f(x)/(f'(x).

  • @numericalmethodsguy
    @numericalmethodsguy  14 років тому

    @AshimHybrid07 Well take the derivative of x^3-x-1, that is 3x^2-1. Now use an initial guess like x0=2 or so in the setup and you are on the way. When the fourth decimal place does not change in the iterations, you have achieved your result. The answer is 1.3247. The eqn has two complex roots too, but those cannot be found by NR method. For that you need to use methods such as Muller's method.

  • @numericalmethodsguy
    @numericalmethodsguy  15 років тому

    That is an initial guess to get the procedure started. To make an estimate of the initial guess, you may look at the physics of the problem. For that, read by going to numericalmethods(dot)eng(dot)usf(dot)edu, click on Newton Raphson Method and see the textbook chapter example.

  • @globalbananadestruction6792
    @globalbananadestruction6792 9 років тому +4

    thanks i have been doing the Newton Raphson method a day(i can do it perfectly) but you showed me something i didn't know the %

    • @numericalmethodsguy
      @numericalmethodsguy  9 років тому

      +Global Banana Destruction Yes, that is finding the absolute relative approximate error. This is used as a means to a stopping criterion.

  • @numericalmethodsguy
    @numericalmethodsguy  15 років тому

    You are right. The number 0.009% is obtained using more significant digits in the calculations of the roots.

  • @numericalmethodsguy
    @numericalmethodsguy  13 років тому

    @frilink That is an initial guess to get the procedure started. To make an estimate of the initial guess, you may look at the physics of the problem. For that, read by going to numericalmethods(dot)eng(dot)u­sf(dot)edu, click on Newton Raphson Method and see the textbook chapter example.

  • @kumaransivan
    @kumaransivan 12 років тому +1

    This is really great. You made it look pretty simple. Thanks!!

  • @serderoglukf8222
    @serderoglukf8222 9 років тому +1

    this video is unbelieveble helpful! thank you captain!

  • @numericalmethodsguy
    @numericalmethodsguy  13 років тому

    @dmwirichia You are partially right. You should get 0.037%. The number 0.009% was obtained using more significant digits in the calculations of the roots.

  • @numericalmethodsguy
    @numericalmethodsguy  13 років тому

    @IgoruCafekko That is the first derivative of the function f(x)=x^3-20 with respect to x. How did I get that? Go to numericalmethods(dot)eng(dot)usf(dot)edu and click on Keyword. Click on Newton Raphson method. You can also click on Primer on Differentiation if you need brushing up on differential calculus!

  • @jojiemar15
    @jojiemar15 12 років тому

    thank you sir! i really appreciate your video! tomorrow will be our examination. this will help us a lot. :)) GOD bless you. :)

  • @numericalmethodsguy
    @numericalmethodsguy  13 років тому

    @avp9037 It is correct:
    3-(3^3-20)/(3*3^2)=2.741
    Do you get a different number? If so, let me know!

  • @numericalmethodsguy
    @numericalmethodsguy  12 років тому

    That is an initial guess to get the procedure started. To make an estimate of the initial guess, you may look at the physics of the problem. For that, read by going to nm(dot)mathforcollege(dot)com, click on Newton Raphson Method and see the textbook chapter example.

  • @hostelbuddies5055
    @hostelbuddies5055 7 років тому

    thanku sir....me ajay...really glad....for getting ur knowledge. ...your all video help me a lot....for understanding the concept.....thanku...sir...u ar best😊

  • @arseneok1
    @arseneok1 14 років тому +1

    Is there any other way of finding initial guesses instead of drawing the graph?
    By the way, nice video Sir. I really appreciated it, very easy to understand.
    Thanks.

  • @YariAzQuran
    @YariAzQuran 3 роки тому +1

    Awesome explanation. Thank you so much.

  • @numericalmethodsguy
    @numericalmethodsguy  16 років тому

    Example: To find to what depth a ball is floating in water results in a cubic equation. In this case we know that the depth has to be between zero and the value of the diameter of the ball. So choosing half the diameter is a good guess. Do a Google search on STEM numerical methods. Go to the first site that shows up. Click on Keyword. Go to Newton Raphson Method. Click on Textbook notes to see the example.

  • @numericalmethodsguy
    @numericalmethodsguy  13 років тому

    @tamilselvi90 That is an initial guess to get the procedure started. To make an estimate of the initial guess, you may look at the physics of the problem. For that, read by going to numericalmethods(dot)eng(dot)u­­sf(dot)edu, click on Newton Raphson Method and see the textbook chapter example.

  • @MHunt95
    @MHunt95 14 років тому

    THAAAAANK YOU!!!! The vid was INCREDIBLY helpful & NOW i understand the material. MAKE MORE VIDEOS SIR!!!

  • @besner
    @besner 10 років тому +17

    3rd iteration's absolute value approx. error is not 0.009%... Ive done it 3 times now and I'm getting an approx error of 0.0368% am i wrong? I know no big deal... Your videos are great! Thank you!

    • @autarkaw1826
      @autarkaw1826 10 років тому +8

      U are right. I reported numbers that were from using more significant digits in the estimates.

    • @LAnonHubbard
      @LAnonHubbard 9 років тому +1

      +besner Thanks for questioning this as I just got the same.

    • @nelvinvenancio2711
      @nelvinvenancio2711 9 років тому +1

      +besner same question. comment section are the best. XD thanks for this

  • @adnanmunawar7972
    @adnanmunawar7972 11 років тому

    Thanks a lot, I had been following some videos of yours and they were wonderful. Keep up the good work!

  • @VeritasAmantesVocat
    @VeritasAmantesVocat 9 років тому +1

    Clear and concise. Beautiful.

  • @SnakeEater1912
    @SnakeEater1912 15 років тому

    Thank you for making such a good video. You are much better than my lecturer, I wish I can download your video so that I can watch it over and over again without log in to youtube. Do you have exercises that I can try?

  • @MultiBeast301
    @MultiBeast301 5 років тому

    For those asking about the initial guess, it doesn't matter what you choose. The only thing to keep in mind is that the further your guess is from the actual root, the more iterations of the method you will need to get to an accurate result

  • @91418300
    @91418300 13 років тому +1

    You explained it very well. Thank you very much!

  • @sneakybadger
    @sneakybadger 15 років тому +1

    Thankyou for making this video
    It has helped me!

  • @numericalmethodsguy
    @numericalmethodsguy  13 років тому

    @00jklr First all equations to be solved by NR method have to be put in f(x)=0 form (Do you know why). So f(x)=x^2-4*cos(x)=0. f ' (x)=2*x+4*sin(x). So x(i+1)=x(i)-(x(i)^2-4*cos(x(i)­)/(2*x(i)+4*sin(x(i)))
    Read by going to numericalmethods(dot)eng(dot)u­­­sf(dot)edu, click on Newton Raphson Method and see the textbook chapter

  • @kabronponcho
    @kabronponcho 14 років тому +1

    better than my proffesor!

  • @fizXgirl314
    @fizXgirl314 14 років тому

    I've also haerd that you can use the newton raphson method combined with the shooting method in order to make your next initial condition guess. Do you have any good resources on how this can be done? I'm attempting it on an assignment. Your lectures are great!

  • @DreadPyke
    @DreadPyke 13 років тому +3

    This is great. Thank you PAAJI!

  • @aurider1322
    @aurider1322 8 років тому +1

    how did you get the derivative of the function at 02:22 "f'(x)=3x2"?

    • @numericalmethodsguy
      @numericalmethodsguy  8 років тому

      au rider We use calculus for this. Derivative of x^n is n*x^(n-1).

  • @numericalmethodsguy
    @numericalmethodsguy  14 років тому

    @arseneok1 If one knows something about the physics of the problem, that could be used as a basis for an initial guess. Go to numericalmethods(dot)eng(dot)usf(dot)edu and click on Newton Raphson method. Then click on the textbook chapter pdf file and you will see how the physics of the problem is used to assume an initial guess.

  • @numericalmethodsguy
    @numericalmethodsguy  15 років тому

    @sahmed28 Such questions need not be asked. I am a US citizen. Do not let my color, accent or nationality distract you from learning!

  • @numericalmethodsguy
    @numericalmethodsguy  12 років тому

    You can use it for any equation till the time f(x) in the f(x)=0 equation is differentiable!

  • @avp9037
    @avp9037 13 років тому

    thanks for the video.
    is the value of x1 correct?

  • @istech21
    @istech21 12 років тому

    thanx for the video sir.. its great.. but i want to knw how to find initail approximation using calculator..

  • @deneb953
    @deneb953 12 років тому

    Thank you so much sir. If I have quintic equation (power 5), can I use the same method?

  • @duetothefore
    @duetothefore 14 років тому +1

    Thank you so much for sharing your knowledge!

  • @sofiaalshrah5732
    @sofiaalshrah5732 11 років тому

    thank u it's so helpful , i just want to ask about somthing called " newton raphson rule for multiple roots" that has this form : Xi+1 = Xi -(( f . f ` ) / ( f `^2 - f `` . f ) ) ,when do we have to use it insted of the rule that u mentioned in the exapme ?

  • @godofwar2901
    @godofwar2901 12 років тому

    thanks sir...but how to determine the rate of convergence or order for different methods.?

  • @marklvrd
    @marklvrd 9 років тому

    Very Good Videos! I'm learning something new everyday, should have went electrical engineering...

  • @mohsenkhaleel924
    @mohsenkhaleel924 8 років тому

    that was really helpful
    but i'm looking for applications of newton raphson method for equipments like heat exchanger or reactors
    ??where should i start
    thanks in advance

  • @bangaram191
    @bangaram191 12 років тому

    Respected Sir,
    Thank you very much for Newton Raphson Method can u please post Bairstow Method...i've been behind it since few days n its kinda becumin a maze for me..please can you help me...

  • @detox07
    @detox07 12 років тому

    Thank you so incredibly much for helping me to understand this.

  • @harryclay_z06
    @harryclay_z06 9 років тому +1

    Excellent video!

  • @srikanthpalukuri1281
    @srikanthpalukuri1281 9 років тому +3

    ty so much sir...what if we don't get equal roots

    • @profautarkaw
      @profautarkaw 9 років тому

      +srikanth palukuri What do you mean when you say "equal roots"?

  • @jasonguzman1672
    @jasonguzman1672 9 років тому

    hi sir any video on bairstow method on solving roots?

  • @coswominn
    @coswominn 15 років тому

    wow. ur an awesome teacher.

  • @abhisheksonu92
    @abhisheksonu92 13 років тому

    helping a lot........thank u vry much

  • @superboymexico
    @superboymexico 14 років тому

    Nice video teacher!

  • @heropenang1161
    @heropenang1161 9 років тому +4

    thanks sir...but how about mult-roots??...

    • @numericalmethodsguy
      @numericalmethodsguy  9 років тому +1

      hero penang If you mean how to find other roots, you need to start with a different initial guess.

  • @elgourmetdotcom
    @elgourmetdotcom 16 років тому

    I've got one question only! Why did you start with 3.0? I mean, why did you choose that value in particular?

  • @sprinkles_and_splash
    @sprinkles_and_splash 4 роки тому +1

    Thank You thank You sooo much.....

  • @omaralrisi9899
    @omaralrisi9899 7 років тому +1

    thank you sir for explaination . l realy got the idea

  • @parimalvala8742
    @parimalvala8742 6 років тому +1

    Hello sir, What we need to do when our function is trignometric? should we use any integer value as our intial guess or we need to take radian angle as our intial guess? Your videos are really good. Kindly request you to answer.

    • @profautarkaw
      @profautarkaw 6 років тому

      Hello: When you have a trigonometric function, the arguments are always radians. They are never any other unit of angle. If you have an equation like x*sin(x)-3+x^2=6, and even if someone tells you that initial guess is 60 degrees, you have to convert the value to radians. An initial guess can be an educated guess based on the physics of the problem and it does NOT have to be an integer.

    • @parimalvala8742
      @parimalvala8742 6 років тому +1

      Thanks for your response. So It means I should also not take 0 , 1 or 2 as my initial guess when the function is trigonometric?

    • @numericalmethodsguy
      @numericalmethodsguy  6 років тому

      You can use integers also as initial guesses. There is no restriction except when f '(x) being zero. That would give you division by zero.

    • @parimalvala8742
      @parimalvala8742 6 років тому

      ok Thanks

  • @TwistedMentality089
    @TwistedMentality089 12 років тому

    numerical methods guy! catchy name great videos thanks

  • @upsonianmechanian4195
    @upsonianmechanian4195 8 років тому

    is the mid point of the interval the best approximation for Xo?

  • @fortguardians
    @fortguardians 12 років тому

    Tomorrow is the exam of maths...hope this will help!

  • @numericalmethodsguy
    @numericalmethodsguy  13 років тому

    @vitalcoordinates All your prof is trying to do is to start with a good initial guess, and "almost" ensure that you end up finding the root you are looking for. Go to numericalmethods(dot)eng(dot)usf(dot)edu and click on Keyword. Click on Newton Raphson method. Read the N-R method textbook chapter.

  • @batusai005
    @batusai005 14 років тому

    Very nice! I will aprove my exam =D

  • @suzanahajdin
    @suzanahajdin 9 років тому +2

    Thank you for the video

  • @rosebouton753
    @rosebouton753 12 років тому

    how many digits should we be using on our calculator to calculate the values?

  • @MoSami7029
    @MoSami7029 8 років тому

    Thank You Sir this was really helpful

  • @faizulnajmi8204
    @faizulnajmi8204 6 років тому

    Thank you so much sir ! Very helpful

  • @nupurvishnoi9965
    @nupurvishnoi9965 9 років тому +1

    sir can u tell me how u have calculated derivative of the function i.e. f'x= 3x^2.

    • @numericalmethodsguy
      @numericalmethodsguy  9 років тому

      +Nupur Vishnoi f(x)=x^3-20 f'(x)=d/dx(x^3-20)=3*x^2. Comes from formula d/dx(x^n)=n*x^(n-1)
      www.khanacademy.org/math/differential-calculus/taking-derivatives/power_rule_tutorial/v/proof-d-dx-x-n

  • @emrecilkaya3431
    @emrecilkaya3431 6 років тому

    Sir you said that an approximation is correct to at least 3 significant digits when the relative approximate error=0.0009% is smaller than 0.05%(at 9:26 in the video).Is there any proof for that theorem? I watched all your classes up to now and I could not see any proof for that theorem. Did I miss something? Could you please explain the derivation of this theorem or at least tell me where can I find it?
    Thank you in advance.

    • @profautarkaw
      @profautarkaw 6 років тому

      Hello: It is not explained in the book. The proof is here though and you will need to understand binary representation and floating point representation to follow it. math.stackexchange.com/questions/180252/why-does-relative-error-give-number-of-correct-digits

    • @emrecilkaya3431
      @emrecilkaya3431 6 років тому

      Many thanks for your guide sir, I will look into it.

  • @nupurvishnoi9965
    @nupurvishnoi9965 9 років тому

    hello sir.
    can u upload a video for bairstows method as well.

  • @IbnKh
    @IbnKh 11 років тому +1

    Great video!

  • @frilink
    @frilink 13 років тому

    aaaaannddd where do you get the 3.0 from?????

  • @joynyambu4722
    @joynyambu4722 7 років тому +1

    u r awesome. thenx a lot. i love how you lecture

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

  • @manyagangwar2033
    @manyagangwar2033 3 роки тому +1

    A lot thankkk from INDIA

  • @satendrakumarMATLAB-TUTORIALS
    @satendrakumarMATLAB-TUTORIALS 14 років тому

    nicely explained . . .

  • @yashh0909
    @yashh0909 7 років тому

    very helpful...thank you sir

  • @ramyasrigorle2609
    @ramyasrigorle2609 5 років тому +1

    why x0 is assumed as 3.0?

    • @numericalmethodsguy
      @numericalmethodsguy  5 років тому

      That is an initial guess to get the procedure started. I just chose it from looking at the equation. To make an estimate of the initial guess, you may look at the physics of the problem. For that, look at some examples where we have taken advantage of that. Go here mathforcollege.com/nm/mws/gen/03nle/mws_gen_nle_txt_newton.pdf and also look at nm.mathforcollege.com/topics/newton_raphson.html and then look for "EXAMPLES FROM OTHER MAJORS"

  • @Taiseerghulam2011
    @Taiseerghulam2011 10 років тому

    Sorry sir. My question in secant method when u drived the formula geometrically …how u rearrange the terms from the similarity of two triangles to the formula …?

    • @autarkaw1826
      @autarkaw1826 10 років тому

      autarkaw.wordpress.com/2013/10/01/reconciling-secant-method-formulas/

    • @Taiseerghulam2011
      @Taiseerghulam2011 10 років тому

      Thanks a Million a lot sir.

  • @rubarkamaran8786
    @rubarkamaran8786 6 років тому

    Sir,how can use Newton’s raphsons method for two equation x,y if (y=4800[1-e^(-t/10)]-320t) and X=1600[1-e^(-t/10)

  • @dmwirichia
    @dmwirichia 13 років тому

    Why is it that for the 3rd iteration when I do it I get 0.37% for my relative approx. error? I do it just as Ea= [(2.714-2.715)/2.714] * 100 and I get .37%. I double checked with multiple calculators yet I am puzzled as how you got .009%. Can you please explain or anyone do the math at 8:12 in the video and tell me how you got it. Thaks

  • @imvolkan
    @imvolkan 14 років тому

    thank you, that was incredibly helpful!

  • @shuvamsarkar9122
    @shuvamsarkar9122 8 років тому +1

    sir,as the equation is a very easy one,we can easily guess the root to be 3....but when the equation would be a certain difficult one,in that case how can i make the initial guess??

    • @numericalmethodsguy
      @numericalmethodsguy  8 років тому

      To make an estimate of the initial guess, you may look at the physics of the problem. See examples at nm.mathforcollege.com/topics/newton_raphson.html Go to physical problems as well as look at the example in mathforcollege.com/nm/mws/gen/03nle/mws_gen_nle_txt_newton.pdf

  • @hgblb
    @hgblb 14 років тому

    Very helpful, thank you.

  • @fizzay87
    @fizzay87 12 років тому +1

    Thank you video helped

  • @gamingwench
    @gamingwench 8 років тому +3

    Where does that 5% come from?

    • @numericalmethodsguy
      @numericalmethodsguy  8 років тому

      Read or watch content at nm.mathforcollege.com/topics/measuring_errors.html . To find how many significant digits we can trust in our solution, we compare the abs rel approx error to a pre specified tolerance. If the pre specified tolerance is 5%, one significant digit can be considered to be at least correct, if it is 0.5%, then 2 significant digits can be considered at least correct, and so on. Read the content at the link and you will be all set.

  • @freerunner1508
    @freerunner1508 7 років тому

    really helpful ,
    thank you sir,

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

  • @AshimHybrid07
    @AshimHybrid07 14 років тому

    sir, can you help me in this question..... i m understand how to solve it.....i solved other questions of N-R method..... but now facing prob in this question.
    x^3-x-1=0 -four decimal places

  • @numericalmethodsguy
    @numericalmethodsguy  12 років тому

    Use at least four to five SIGNIFICANT (not decimal) digits.