Newton's method for solving nonlinear systems of Algebraic equations

  Рет қаралды 233,858

The Math Guy

The Math Guy

Күн бұрын

Пікірлер
@ABM30100
@ABM30100 3 жыл бұрын
At times, I stress out about not understanding concepts in lectures. Then I remember this is the best period to be learning anything. Thousands of talented people offering free content with explanations and examples to help you understand - irrespective of how good / bad your lecturer at uni is. This video was very helpful. Thank you very much!
@lukasmo7439
@lukasmo7439 4 жыл бұрын
just a little mistake: in minute 15:13 there must be a (minus 7/12) instead of 7/12
@the-Math-guy
@the-Math-guy 4 жыл бұрын
You are correct it was a typo from my notes.
@sharpnova2
@sharpnova2 4 жыл бұрын
@@the-Math-guy I followed along with your work but did the calculations myself so I got worried. Thankful for this comment.
@tumurtumur3101
@tumurtumur3101 3 жыл бұрын
in minute 16:18 there must be a (minus 1.67) instead of 1.67???
@sofiaaylan483
@sofiaaylan483 3 жыл бұрын
si es -7/12 jajaja yo estaba haciendo el gauss como 3 veces
@yassinghareeb5761
@yassinghareeb5761 3 жыл бұрын
Can't thank you enough for this, exam is in few hours and all my friends are asleep. Big help, appreciate it.
@hacker0one
@hacker0one 2 ай бұрын
2 years later and same problem here, glad to here I’m not the only one procrastinating until the very end 😂
@MathewsDozola-ce2hv
@MathewsDozola-ce2hv Жыл бұрын
You really helped me during my university studies more especially in Numerical Analysis. 🔥🔥🔥
@markbanash921
@markbanash921 Жыл бұрын
Thank you! I did this in graduate school but had forgotten all about it. Excellent and applicable refresher.
@azhankhan9218
@azhankhan9218 Жыл бұрын
At 15:10 it should be -7/12 By the way addictive videos 👍.
@s.ichannel9331
@s.ichannel9331 Жыл бұрын
Right 😅
@SBG289
@SBG289 Ай бұрын
Thank you, you just saved my life for my exam tomorrow
@gyanapriyadarshi
@gyanapriyadarshi Жыл бұрын
Thank God. At least someone explained it clearly. Thank you.
@chawnneal3103
@chawnneal3103 2 жыл бұрын
Thanks a ton, Math Guy! Probably similar to most people, I got a zoom class prof with bad audio and this class doesn't follow a textbook sadly. So y'all here are heroes!
@divibedivide
@divibedivide 4 жыл бұрын
13:17 shouldn't it be 64 instead of 16? Cuz you have x sub 2 squared and the value of x sub 2 is 2
@eldritch2300
@eldritch2300 Жыл бұрын
Could you please explain how the gaussian elimination works once you get to J*delta = -F. I can't find anywhere online that explains how to solve it for Newton's.
@setsu2221
@setsu2221 Жыл бұрын
Wolframalpha format would be: [{1, 2},{2, 16}] * [{x},{y}] = [{-3}, {-13}] where x = x_1, and y = x_2 As you may have noticed, there is also an error at 14:28, as both of the variables are supposed to be negative. Gaussian elimination would be something along the lines of: 1 2 | -3 2 16 | -13 Swap R1 and R2 2 16 | -13 1 2 | -3 Subtract 1/2 * R1 from R2 2 16 | -13 0 -6 | 7/2 Multiply R2*2 2 16 | -13 0 -12 | 7 Divide R2 by -12 2 16 | -13 0 1 | -7/12 Subtract 16*R2 from R1 2 0 | -(11/3) 0 1 | -(7/12) Divide R1 by 2 1 0 | -(11/6) 0 1 | -(7/12) Then you can easily read (from the left-hand-side matrix) that: x_1 = -11/6 x_2 = -7/12 Does that sufficiently answer your comment?
@sanjitsounderrajan
@sanjitsounderrajan Жыл бұрын
@@setsu2221That is what I got when I solved by hand, however at 14:26 the video shows x_2 = 7/12. Where did the -ve sign go?
@luisv8887
@luisv8887 9 ай бұрын
@@setsu2221 thank you i thought i was dumb and got it wrong! but i got the same as you! thanks!
@nvk-aggie
@nvk-aggie 9 ай бұрын
Great video! As a note, If we change the initial guess values to (1.0; 0.0) we obtain a different final solution as (2.0; 0.0).
@anassalammiri340
@anassalammiri340 4 жыл бұрын
What are the conditions on the initial guess. It's not random. In some cases the sequence won't converge.
@tobiasgorgen7592
@tobiasgorgen7592 4 жыл бұрын
If you have sufficiently "nice" functions you can make a first estimate. For example by estimating your function via a powerseries with p = 1/2. That way you can get a arbitrarily close number (by ineffective means o/c) to use as a starting point
@0mon0zz
@0mon0zz 3 жыл бұрын
Great video! There's a few arithmetic mistakes but the content is GOLD. Thank you soooo much for sharing! :)))
@davidcolomer941
@davidcolomer941 3 жыл бұрын
Thanks a lot professor Guy, very helpful
@tabhashim3887
@tabhashim3887 3 жыл бұрын
wouldn't using gaussian elimination be just as much computation as using the inverse in the first place??
@Stagnum_404
@Stagnum_404 8 ай бұрын
Man, you’re so good at explaining. I really appreciate the real example instead of a generic one, it helps a lot. I’m currently writing by bachelor thesis using the newtons method in n dimensions couldn’t understand how to calculate the Jacobian. This video helped me a lot. Thanks for your expertise 🫶
@xruan6582
@xruan6582 5 жыл бұрын
it is confusing to use 'n' to represent both the size of x vector and the time steps in newton's method
@the-Math-guy
@the-Math-guy 5 жыл бұрын
Thank you for pointing that our but it was not in error its just the way I started and then converted the scalar to the vector. Please follow the k-version that is the clear one and you are right it should not have been n as they don't have to be the same counters in any case.
@jome8059
@jome8059 4 жыл бұрын
you are right. I was thinking the same
@ibrahimallafi1460
@ibrahimallafi1460 3 жыл бұрын
Thank you so much, but I have a question. What do we have to do if the delta of the Jacobian matrix is zero?
@jithinpoliyedathmohanan7237
@jithinpoliyedathmohanan7237 4 жыл бұрын
Super viedio man keep it up.. Mach weiter so...❤️❤️❤️
@bobasawrus
@bobasawrus Жыл бұрын
Thankyou for your very clear explanation!
@HoangM-zi7uk
@HoangM-zi7uk 4 ай бұрын
thank you very much for this very helpful video
@TheValli28
@TheValli28 6 жыл бұрын
At around minute 5, when you re-introduce Newton's method and connect it with the vectors you just introduced earlier, you are using the wrong denotations for the time-steps. You're using n as an indication for the current time-step, whereas the equations you're using later are using k. This also creates some confusion as the vector-elements in x and f(x) are denoted with n. Good video though. It helped.
@the-Math-guy
@the-Math-guy 6 жыл бұрын
Thank you for pointing that our but it was not in error its just the way I started and then converted the scalar to the vector. Please follow the k-version that is the clear one and you are right it should not have been n as they don't have to be the same counters in any case.
@rond5936
@rond5936 5 жыл бұрын
Really good explanation. Thank you, Math Guy.
@devingauthier2933
@devingauthier2933 3 жыл бұрын
Used this stuff to solve a tricky problem at work. Thanks!
@AymanFakri-ou8ro
@AymanFakri-ou8ro 3 ай бұрын
thanks! very clear explanation!
@riderwalker3099
@riderwalker3099 5 жыл бұрын
15:39 you added 7/12+2 and wrote 17/12 is that true??? i mean 7/12)+24/12=31/12
@the-Math-guy
@the-Math-guy 5 жыл бұрын
Oh my goodness you are absolutely right. You know those are notes from the class I took as an undergrad. The printed stuff is from that. My apologies but the method is correct.
@riderwalker3099
@riderwalker3099 5 жыл бұрын
@@the-Math-guy yeah, thanks for replying i was questioning myself. but thanks you just helped me yesterday just 4 hours before deadline when i was having tough schedule thanks a lot
@kfernando1ify
@kfernando1ify 5 жыл бұрын
@@the-Math-guy Hey yeah, I think it should be (-)7/12 + 2 which is equal to 17/12, just missing a negative sign while doing it all g
@adityabodhe3340
@adityabodhe3340 3 жыл бұрын
thanks for a very insightful video. please suggest me a book for studying this part of algebra. thanks. New to this chapter and doing some self study. thank you :)
@the-Math-guy
@the-Math-guy 3 жыл бұрын
Elementary Linear Algebra by Howard Anton.
@adityabodhe3340
@adityabodhe3340 3 жыл бұрын
@@the-Math-guy thank you so much (y)
@MM-bn7uo
@MM-bn7uo 4 жыл бұрын
very usefull method and with good explanation thank you so much
@peiyanyang3612
@peiyanyang3612 2 жыл бұрын
Excellent video!!! Clear explain!
@wraster07hp36
@wraster07hp36 3 жыл бұрын
Very good presentation, thanks Mr.
@erwinbernardiitalento283
@erwinbernardiitalento283 3 жыл бұрын
I got lost on the Gaussian Elimination part. Can some help me understand it?
@ahmedmoustafa5043
@ahmedmoustafa5043 3 жыл бұрын
same
@akauppi2
@akauppi2 3 жыл бұрын
Me, third. The Wikipedia page described it well - it’s really simple.
@omidabachian5369
@omidabachian5369 5 ай бұрын
Fantastic
@hassanmunir7971
@hassanmunir7971 3 жыл бұрын
I don't understand how you used Guess method here. I was specifically looking for this point which you wrote directly.
@thomashietala3815
@thomashietala3815 Жыл бұрын
Hi, I'm having some problems applying Newton's method, as it won't converge.The problem that I have is that the relative difference between succesive iterations is always quite big... (always above 5%), so I can never really stop the iterative process. I think in part it is because the values that I use in the F matrix can be very large or very small, but is there some other way of fixing/avoiding this problem?
@Skeeter666666
@Skeeter666666 6 жыл бұрын
Probably have to brush up a bit on my linear algebra rules but how did you calculate deltaX? Did you multiply both sides by the inverse of the matrix?
@Skeeter666666
@Skeeter666666 6 жыл бұрын
Great overall video though!
@the-Math-guy
@the-Math-guy 6 жыл бұрын
Thanks for the positive feedback. In answer to your question. Actually we calculate delta x by Gaussian elimination then we use delta x = x1-x0 or rather x1=delta x + x0 which gives us the new iterate and then we just repeat the whole thing with x1 to find x2
@tanvirkaisar7245
@tanvirkaisar7245 2 жыл бұрын
Great video! I have a question, what if we had n variables but just one equation, would this method work?
@DXenakis
@DXenakis 4 жыл бұрын
Would this method work for overdetermined systems of non-linear equations where there is no single solution? e.g. to optimize/find some best solution?
@ponegikekana8786
@ponegikekana8786 2 жыл бұрын
at 16.20 min in the vid , is'nt 1.67 suppose to be a negative? since we are multiplying -10/12 by 2?
@TripedalTroductions
@TripedalTroductions 5 жыл бұрын
This video is pretty old but given x0 =(1,2) x1 should be (-5/6,17/12)
@omarali-rv3ht
@omarali-rv3ht 5 жыл бұрын
true
@stringsam
@stringsam 3 жыл бұрын
amazing explanation
@sagarmehla3781
@sagarmehla3781 4 жыл бұрын
You are awesome.
@MST-ul7ol
@MST-ul7ol 3 жыл бұрын
Thanks a lot for this content
@rameztabar2186
@rameztabar2186 9 ай бұрын
How will I know the final answer? after how many iterations?
@ador4047
@ador4047 5 жыл бұрын
How did u choose the initial guess? Just random?
@the-Math-guy
@the-Math-guy 5 жыл бұрын
Yes it is but from an exam point of view it might be provided in the question.
@ador4047
@ador4047 5 жыл бұрын
@@the-Math-guy thanks ♥️
@RiverSchreckengost-g6m
@RiverSchreckengost-g6m 11 ай бұрын
13:23 error with the 16 plugging into the original 2nd equation.
@matitiudeforever8155
@matitiudeforever8155 6 жыл бұрын
thanks a lot man !! it really really helped me
@wahabmustafa7360
@wahabmustafa7360 3 жыл бұрын
in jacobian matrix there are mistakes in Subscripts... Kindly check it
@jaswantkumar8387
@jaswantkumar8387 3 жыл бұрын
What will happen when inverse of Jacobian is 0
@TheChodex
@TheChodex 7 жыл бұрын
Thanks for this video man! :D
@ChitralPatil
@ChitralPatil 2 жыл бұрын
excellent!
@akibkhans9982
@akibkhans9982 Ай бұрын
I think it is partial derivative for jocobian
@madinaotkel6549
@madinaotkel6549 5 жыл бұрын
Could you explain why it's n^3
@karoleus1208
@karoleus1208 4 жыл бұрын
Kudos!
@divyabachda555
@divyabachda555 Жыл бұрын
Hello sir , Can I get this PPT ?
@the-Math-guy
@the-Math-guy Жыл бұрын
I'm sorry I don't have any ppts
@santoshkumarsahani5289
@santoshkumarsahani5289 3 жыл бұрын
Thank you so much... ❤️
@andre.queiroz
@andre.queiroz 4 жыл бұрын
Thanks! Helped a lot!
@mitchieroa2164
@mitchieroa2164 4 жыл бұрын
thanks to this! helped me a lot
@nadmaanfazeel2691
@nadmaanfazeel2691 3 жыл бұрын
how to find initial guess
@gagansarswa8331
@gagansarswa8331 3 жыл бұрын
Thanks sir !!
@gagansarswa8331
@gagansarswa8331 3 жыл бұрын
Sir if you are really here now ,can you send me pdf copy of this presentation ?!!! Please sir if you can.
@souravyaduvanshi6900
@souravyaduvanshi6900 6 жыл бұрын
How we take initial guess
@the-Math-guy
@the-Math-guy 6 жыл бұрын
You can take anything its a guess so in the example above i use [1 2] you can use [0 0] anything will work.
@ahmetkarakartal9563
@ahmetkarakartal9563 2 жыл бұрын
thank you so much
@ThreadsAndWires
@ThreadsAndWires Ай бұрын
THANK YOU
@josecarlosferreira4942
@josecarlosferreira4942 2 жыл бұрын
Old (not so much), but Gold!
@anassalammiri340
@anassalammiri340 4 жыл бұрын
Thank you!
@nokubongamntombi8068
@nokubongamntombi8068 4 жыл бұрын
Isn't X-y=7 ?linear
@الأستاذصباحالأسدي-ر1ف
@الأستاذصباحالأسدي-ر1ف 6 жыл бұрын
Thank you for this video , can you help me, I need the code for solving this system in matlab
@siddharthsinghkiryal2082
@siddharthsinghkiryal2082 3 жыл бұрын
Helped me in a very stressfull situation, here's your like and subscribe :)
@irfanmauludin398
@irfanmauludin398 Жыл бұрын
I felt this equation just like Kalman Filter 🤭🙏
@chizhang3263
@chizhang3263 4 жыл бұрын
go to 2:33 for a good laugh
@mathematical_fun_with_Sumbel
@mathematical_fun_with_Sumbel 5 жыл бұрын
Sir plz make the matlb code for this prossed too
@wafflescripter9051
@wafflescripter9051 2 жыл бұрын
I hate to bring it to 70 comments
@abdou3966
@abdou3966 2 жыл бұрын
i love you
@syedtayibah4463
@syedtayibah4463 6 жыл бұрын
Sir plz jacobian matrix R^n to R^n sent karo but hindi main
@akhilade-qq7xf
@akhilade-qq7xf 9 ай бұрын
wrong method
@the-Math-guy
@the-Math-guy 9 ай бұрын
Excuse me on what basis do you claim its wrong
@javiereguez
@javiereguez Жыл бұрын
my initial guess X0 depends on something or could be any random number? thank you for the feedback
Newton's method (introduction & example)
20:53
blackpenredpen
Рет қаралды 211 М.
Newton's Method for Systems of Nonlinear Equations
13:19
Oscar Veliz
Рет қаралды 18 М.
Вопрос Ребром - Джиган
43:52
Gazgolder
Рет қаралды 3,8 МЛН
Gaussian Elimination & Row Echelon Form
18:40
The Organic Chemistry Tutor
Рет қаралды 2,8 МЛН
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 1,1 МЛН
Solve any equation using gradient descent
9:05
Edgar Programmator
Рет қаралды 55 М.
Visually Explained: Newton's Method in Optimization
11:26
Visually Explained
Рет қаралды 113 М.
Hardest Exam Question | Only 8% of students got this math question correct
11:28
Стыдные вопросы про Китай / вДудь
3:07:50
вДудь
Рет қаралды 2,3 МЛН
how Laplace solved the Gaussian integral
15:01
blackpenredpen
Рет қаралды 760 М.