Euler's method | Differential equations| AP Calculus BC | Khan Academy

  Рет қаралды 1,089,088

Khan Academy

Khan Academy

Күн бұрын

Euler's method is a numerical tool for approximating values for solutions of differential equations. See how (and why) it works.
Practice this lesson yourself on KhanAcademy.org right now: www.khanacadem...
Watch the next lesson: www.khanacadem...
Missed the previous lesson? www.khanacadem...
AP Calculus BC on Khan Academy: Learn AP Calculus BC - everything from AP Calculus AB plus a few extra goodies, such as Taylor series, to prepare you for the AP Test
About Khan Academy: Khan Academy is a nonprofit with a mission to provide a free, world-class education for anyone, anywhere. We believe learners of all ages should have unlimited access to free educational content they can master at their own pace. We use intelligent software, deep data analytics and intuitive user interfaces to help students and teachers around the world. Our resources cover preschool through early college education, including math, biology, chemistry, physics, economics, finance, history, grammar and more. We offer free personalized SAT test prep in partnership with the test developer, the College Board. Khan Academy has been translated into dozens of languages, and 100 million people use our platform worldwide every year. For more information, visit www.khanacademy.org, join us on Facebook or follow us on Twitter at @khanacademy. And remember, you can learn anything.
For free. For everyone. Forever. #YouCanLearnAnything
Subscribe to Khan Academy's AP Calculus BC channel: / channel
Subscribe to Khan Academy: www.youtube.co...

Пікірлер: 161
@stanrocks123
@stanrocks123 6 жыл бұрын
I think for people who are having trouble understanding this (me included) intuitively. Think about this, in the formula for eulers method y_old + Δx (dy/dx). This part of Δx (dy/dx) is just giving us the value of Δy which is then added to the y_old to give us our new y value. It can be derived from Δy/Δx ≈ dy/dx, multiplying by Δx to both sides. But the reason we multiply by Δx is because think about rise over run. For every change in Δx, Δy changes by a specific amount relative to the slope of the line. In the senario when Δx = 0.5 and dy/dx = 1, we are think about how much does "y" change when x changes by 0.5 when the slope is one, giving us Δy = 0.5, this can be applied when dy/dx is equal to different values.
@rogelioherbolingo2843
@rogelioherbolingo2843 2 жыл бұрын
Thank you much, I really had so much trouble thinking abt this one.
@shivam13juna
@shivam13juna 2 жыл бұрын
Thanks a lot stanley, really was scratching me head on this one
@suzyjakkula9002
@suzyjakkula9002 2 жыл бұрын
You explained this so succinctly! Thank you so much, I think I understand it better now :)
@wakeupthisisntreal8168
@wakeupthisisntreal8168 Жыл бұрын
Your explanation was lucid and clever! And I have no idea what lucid even means!
@Parth_Wasnik
@Parth_Wasnik Жыл бұрын
Your Explanition was very good i am subcribing you
@dearsnow
@dearsnow 5 жыл бұрын
0:53 thanks for the motivation
@Chairman1717
@Chairman1717 6 жыл бұрын
Euler is a math genius while Sal is a genius educator😍😍
@dogeness
@dogeness Жыл бұрын
@@preenan5123 no this is sal in the video
@userpmzjah82
@userpmzjah82 6 жыл бұрын
im an internarional student and Khan Academy is super helpful Thank You!
@gigatoaster8274
@gigatoaster8274 Жыл бұрын
You are a saint, even in college you pull through, god bless.
@chibuezendiokwelu63
@chibuezendiokwelu63 Жыл бұрын
Ur explanation of euler's method was very intuitive good job
@Ewetubedean
@Ewetubedean 9 жыл бұрын
The cogs just clicked into place for me, thank you again Khan academy!!!
@romanglushenok5631
@romanglushenok5631 7 жыл бұрын
The Khan Academy helps me a lot of times. That was another one. My appreciation, and please, keep doing that you are really CAN!
@sparrow2068
@sparrow2068 8 жыл бұрын
Sal, I love your videos and wanted to let you know how much I appreciate them. Keep up the good work.
@conflictsofthe20thcenturyc91
@conflictsofthe20thcenturyc91 Жыл бұрын
jack sparrow? is that you?
@sparrow2068
@sparrow2068 Жыл бұрын
@@conflictsofthe20thcenturyc91 captain *
@speaketh
@speaketh 6 ай бұрын
To people who got confused by the colouring: To match the table, the line segment from x = 0 to x = 1 should be purple (since it has a slope of 1), the next one green (slope 2), and the third one pink (slope 4). He hasn't really got to the orange line segment yet, which goes from x = 3 to x = 4.
@geminiqueen11
@geminiqueen11 5 жыл бұрын
اخيرا فيديو انجليزي مترجم عربي👍👍😍
@michaelguo6349
@michaelguo6349 6 жыл бұрын
Thanks for interpreting the concept!!
@Hunar1997
@Hunar1997 5 жыл бұрын
I used the four x,y points that you found in the ∆x=1 .. and put them in a table and found ∆y, ∆^2y, ∆^3y and used the taylor expansion and got (1+x+x^2/2!+x^3/3!) which is exactly e^x .. so for that big ∆x how did i reach that accuracy?
@fractalfan
@fractalfan Жыл бұрын
If for some real number x and this ODE for y=e^x, we apply the method n times with the increment x/n for any natural number n, starting at zero, we will get (1+x/n)^n, which converges to e^x as n goes to infinity.
@BBert
@BBert 10 жыл бұрын
Thanks for all that you do on here this is great stuff !! Very Helpful =)
@sudandevkota7268
@sudandevkota7268 Жыл бұрын
Thank you Sal. Your altruism is commendable. Thanks for the beautiful explanation.
@oscarbjorkman8404
@oscarbjorkman8404 2 жыл бұрын
It was nice for getting a better intuitive understanding of what is done.
@Prashanth-yn9zd
@Prashanth-yn9zd 5 жыл бұрын
All hail finite element analysis!!
@jacksewe123
@jacksewe123 6 жыл бұрын
He just repeated it's going to look like three times lol 7:54 thought my computer was frozen
@LizBeReal
@LizBeReal 10 жыл бұрын
i still dont get how you went from 1.5 to 2.25 in the second table in the y column
@arenics
@arenics 10 жыл бұрын
it's because the slope at x=0.5 is 1.5 (dx/dy), so remember that he is stepping by 0.5 and not by 1, then "y" evaluated should be equal to "y" before plus 0.5 * "slope", which is 1.5, so... y = 1.5 + 0.5 * "1.5" = 2.25.
@Xylinzia
@Xylinzia 8 жыл бұрын
the formula is u take the 1.5 + (1.5)(0.5) = 2.25 .. If I'm not mistaken .. hehe
@fiercedeity3957
@fiercedeity3957 7 жыл бұрын
Delta X is 0.5, so after 0.5 "steps" in x axis he goes up in y axis half of the previous slope and then the new slope is equal to that y value. y values were 1, 1.5 and 2.25 because the slopes were 1 and 1.5 .
@SooZoodimp
@SooZoodimp 7 жыл бұрын
basically y_new = ((dx/dy)_old * delta_x) + y_old which works ... but i don't understand it's meaning
@mousaalsaeed9410
@mousaalsaeed9410 7 жыл бұрын
LizzieAthey from the slope formula slope=y2-y1/(x2-x1). you slope is equal 1.5 and (x2-x1)=0.5 and y1=1.5 so that will be equal: 0.5*1.5=y2-1.5.......and y2=2.25.
@saadhassan9469
@saadhassan9469 Жыл бұрын
Good Video. Best platform for learning
@jorker14
@jorker14 6 жыл бұрын
Amazing I finally got it. by the way, what is the name of that board-like program you use to explain?
@iosuegea9607
@iosuegea9607 4 жыл бұрын
Pretty good explanation thanks man
@anshul9856
@anshul9856 5 жыл бұрын
I love you Sal, you're doing God's work
@PaulFSmith
@PaulFSmith 9 жыл бұрын
I'm almost understanding 'e' !
@yasermirkahnouj8727
@yasermirkahnouj8727 Жыл бұрын
that's so great and helpful. thank you
@m.hassan8142
@m.hassan8142 2 жыл бұрын
thank you so much how nicely explained this euler method ♥♥
@nafrost2787
@nafrost2787 4 жыл бұрын
Is it just me, or is euler's method basically just linear approximation plus a starting value.
@lIlIlIlIlIlll
@lIlIlIlIlIlll 3 жыл бұрын
thx for making me understand this
@glebkhachatryan242
@glebkhachatryan242 7 жыл бұрын
I just dont understand one thing. Why, in the first example, you straight assume that you multiply "y" by 2?
@femiairboy94
@femiairboy94 7 жыл бұрын
Gleb Khachatryan look at his initial conditions for x and y. for every time x increases by a particular factor, i.e delta x, y would increase by that factor plus 1
@DiamondNinjaPig
@DiamondNinjaPig Жыл бұрын
It just clicked, thanks
@ZOD1189
@ZOD1189 4 жыл бұрын
6:01 you increase by 4, that means 4+3=7... not eight. Good explanation so far ^^, really apreciate it
@speaketh
@speaketh 6 ай бұрын
No, 8 is correct. We're at (2, 4), and since the rise dy/dx = 4, y will increase from 4 to 8 when x goes from 2 to 3.
@ZOD1189
@ZOD1189 6 ай бұрын
​@@speakethUPS, my bad 😅
@ZOD1189
@ZOD1189 6 ай бұрын
​@@speakethUPS, my bad 😅
@rachelcurrry
@rachelcurrry 4 жыл бұрын
thanks this helped me a lot
@willrose5424
@willrose5424 Жыл бұрын
thanks for the eulers pronunciation. I thought it was you-ler
@YairCat
@YairCat 5 жыл бұрын
It was very exciting, honest
@sakkariyaibrahim2650
@sakkariyaibrahim2650 Жыл бұрын
Clear explanation
@yeshu9985
@yeshu9985 7 ай бұрын
at 6:07 wouldn't y be 12, since our slope is 4 and y=mx so 4*3 would give us 12
@speaketh
@speaketh 6 ай бұрын
That's only the case when the line goes through the origin. In our case, we're currently at (2, 4), and since the slope is now 4, y increases by 4 when x increases from 2 to 3, making the new y value 8.
@0omarhamdy
@0omarhamdy 2 жыл бұрын
this was inspiring, thanks 💖
@ejimadam
@ejimadam 5 жыл бұрын
why wasn't the expression just given to find y(n+1)=y(n) + h*y'(x(n),y(n)), where h is the step or delta x. This obviously caused some confusion.
@virtually_passed
@virtually_passed 10 жыл бұрын
Is there a value of delta x such that the approximated curve diverges from the actual function? If so, how would you find it?
@derekharrison8434
@derekharrison8434 10 жыл бұрын
Trial and error.
@1dayofmusic748
@1dayofmusic748 7 ай бұрын
what we more or less get from this is, a ) a good local approximation and b) a terrible global approximation. global one is bad because 1.) often times, solutions to differential equations might not be unique and if we consider lim to infty or smth they often diverge differently (hence things like weather forevast etc are terrible for more than like a week) 2.) the error term if were lipschitz and the solution is thus unique contains an exp(x-x_0) times a constant depending on our problem functions max curvature and the delta_x we chose. so even if we dont curve a lot, we get a lot if error if x is far away from x_0... this is also the reason the local approximation is pretty good, because we get an exp term of pasically one and the other term is pretty small if were feedinf the problem to a computer which calculates it which a small delta_x, keeping the error minimal. tl:dr for unique solitions local approximation is good using small delta_x but the error grows exponentially so after some time the quality drops massively
@Gcarcsin
@Gcarcsin 9 ай бұрын
The only problem with this is the exercises that come after. On the quiz for this topic, it solely relies on the formula for Euler’s method, which is not mentioned a single time in the video, so having the quiz be about the formula makes absolutely no sense and should be changed instantly
@ramalingeswararaobhavaraju5813
@ramalingeswararaobhavaraju5813 4 жыл бұрын
Thank you sir.
@leahburbank4964
@leahburbank4964 7 жыл бұрын
thank you for making it sound more complicated than needed
@nollix
@nollix 2 жыл бұрын
If you think that of this dead simple explanation, you're not gonna make it.
@Mehecanogeesir
@Mehecanogeesir 9 жыл бұрын
Isn't the last y value in the first chart supposed to be 7 since dy/dx is 4 and x is 3? 4+3=7?
@emmanuelphiri5
@emmanuelphiri5 8 жыл бұрын
+Mehecanogeesir The slope is now equal to 4. +1 for the x-value corresponds to +4 for the y-value. Since the previous y-value was 4, we now get 8.
@Raynover
@Raynover 2 жыл бұрын
Yes it should be 7.
@muhtasimahmed4771
@muhtasimahmed4771 6 жыл бұрын
How do u get y(x)=e^x ?
@maxpiardi9697
@maxpiardi9697 3 жыл бұрын
0.51 You khan do it guys!!!
@derek3719
@derek3719 7 жыл бұрын
I am sort of new at this stuff. It would have been nice if he used the formula for Euler's method to do the calculations along with the graph. Using the formula I got the following results: Can anybody tell me where I went wrong?Xo=0 Yo=1X1=1, Y1= 1+1(0+1)=2X2=2, Y2= 2+1(1+2)=5X3=3, Y3= 5+1(2+5)=12X4=4, Y5= 12+1(3+12)=27 and so on.
@derek3719
@derek3719 7 жыл бұрын
I figured out what I was doing wrong.
@Anna-tl6oz
@Anna-tl6oz 5 жыл бұрын
What were you doing wrong?
@zeroday7878
@zeroday7878 5 жыл бұрын
@@Anna-tl6oz well he did it last year lmfao
@Anaelegendx
@Anaelegendx Жыл бұрын
Makes sense
@swatichow3711
@swatichow3711 9 жыл бұрын
Why do we increase y by the previous dy/dx? ?
@matthewwinter2400
@matthewwinter2400 8 жыл бұрын
+Swati Chow dy/dx denotes the slope. Given that y=dy/dx, and y precedes n increases in x as well as dy/dx. We are not always increasing by the slope (dy/dx).
@moritzjackson6991
@moritzjackson6991 3 жыл бұрын
Nice Video 🤙
@shreyaanbajpai2641
@shreyaanbajpai2641 Жыл бұрын
The Bass in his Voice😶‍🌫🤩
@MexicanCat999
@MexicanCat999 9 жыл бұрын
THANKYOU, I had no idea what my text book was talking about!
@nels6991
@nels6991 6 жыл бұрын
rockin it sal!
@deathnote7741
@deathnote7741 4 жыл бұрын
thx
@TheMRhaamed
@TheMRhaamed 6 жыл бұрын
Thanks for translation Arabia
@angshumanrgoswami5524
@angshumanrgoswami5524 8 жыл бұрын
nice
@a006delta
@a006delta 7 жыл бұрын
What software is he using to draw?
@ruiyangao9255
@ruiyangao9255 5 жыл бұрын
How’s y equal to 2 when x=1? When x=1, y should be e
@seeyamchowdhury4856
@seeyamchowdhury4856 5 жыл бұрын
You are supposed to use the derivative of the function , not the actual function
@darksoles1305
@darksoles1305 5 жыл бұрын
OILER'S METHOD?
@suharafernando8060
@suharafernando8060 7 жыл бұрын
can not understand how u got 2.25 in the second table
@Simo2009BORO
@Simo2009BORO 7 жыл бұрын
What happens if you get to dy/dx is 0? It is a problem I am having!
@abdelrahmangamalmahdy
@abdelrahmangamalmahdy 7 жыл бұрын
Simo2009BORO simple enough, y(x) = constant That's the solution, dy/dx is the rate of change of y with respect to x, if the rate of change is zero, the function must be a constant..
@mainethang7531
@mainethang7531 5 жыл бұрын
then find another means to make it in life please
@joelrendon7775
@joelrendon7775 5 жыл бұрын
why did he add .5 by half of 1.5??? wasn't the pattern to add x to the slope?
@seeyamchowdhury4856
@seeyamchowdhury4856 5 жыл бұрын
The formula to get the next y value is this: y + (dy/dx * DX) y is the previous y value dy/dx is the previous dy/dx value DX is how much you’re changing by x
@erizonsantos3319
@erizonsantos3319 6 жыл бұрын
This guy reminds me of Bane from Batman
@gourab469
@gourab469 4 жыл бұрын
What is "analytic" and "numeric" methods? Can anyone please explain...? Thanks a lot in advance :)
@josephkim2784
@josephkim2784 4 жыл бұрын
Analytic is basically when you can use formulas to get a generalized answer. From there you can input any value and get an accurate answer. However, since that is not always possible you can use may numbers and find out the answer (in this case the shape the graph) numerically.
@adityamukherjee9462
@adityamukherjee9462 5 жыл бұрын
I dont get it.
@edmondj.
@edmondj. 5 ай бұрын
I love you.
@ewgschool-vq2ql
@ewgschool-vq2ql 5 ай бұрын
complete swag
@BohonChina
@BohonChina 10 жыл бұрын
This method has limitations, like the sin1/x, it fluctuate rapidly between -0.25 and 0.25
@GalacticSlayer
@GalacticSlayer 6 жыл бұрын
Bruce Xu smaller change in x then
@ashw730
@ashw730 6 жыл бұрын
Hi isn't it e^2=7.389 & e^3=20.086??
@Raptured_and_back
@Raptured_and_back 6 жыл бұрын
Good question. I think he's doing it completely wrong. If you plug 1 into x, y is e, and since dy/dx = y, dy/dx is e as well. He isn't even approximating the solution correctly.
@ashw730
@ashw730 6 жыл бұрын
@@Raptured_and_back tks....😊
@Raynover
@Raynover 2 жыл бұрын
No he isn't. He just picked big values of Δx so that the example is comprehensive, avoiding unnecessary calculations. If you pick Δx=1 you can see even from the first step that it is a bad approx since it gives e≈2. If you want better approximations you pick smaller Δx as he mentions in the video. His purpose is to explain, not to approximate.
@bhatmusaib8233
@bhatmusaib8233 Жыл бұрын
This is so ridiculous
@Dan-bg5fm
@Dan-bg5fm 7 жыл бұрын
does this guy still post ?
@Gabriel-lc8zc
@Gabriel-lc8zc 7 жыл бұрын
Wilfred yes
@RonPaul42069
@RonPaul42069 5 жыл бұрын
Lmao at people disliking this video because he doesn’t plug-and-chug using a preexisting formula. The derivation for that formula is incredibly simple, especially with this video as a reference. Think harder!
@melisapham6627
@melisapham6627 6 жыл бұрын
Absolutely lost me @5:11...
@manishs6479
@manishs6479 5 жыл бұрын
dy/dx is the change in the y direction when x changes. so if we increase x by 1, "dy/dx = 2" dictates that we should increase y by 2. the statement dy/dx=2 reads as "per change in x, there is a change of 2 in y".
@LarryJohnson-t8m
@LarryJohnson-t8m 16 күн бұрын
Schulist Brook
@vatsalgupta6889
@vatsalgupta6889 3 жыл бұрын
CHOOSE THE CORRECT OPTION: The first approximate value of dy/dx =1-y ,y(0)=0 find value of y at x=0.1 using Euler's method is A)0.9 B)1.2 C)1.0 D)0.1 Please reply quickly because tomorrow is my exam
@sufnower7959
@sufnower7959 Жыл бұрын
I give up guys🎉
@RoyalStudy1912
@RoyalStudy1912 4 жыл бұрын
In hindi
@ryanjancinal2225
@ryanjancinal2225 11 ай бұрын
Hidden Figures brought me here
@mulimotola44
@mulimotola44 7 жыл бұрын
who's here because of Hidden Figures? :P
@Gabriel-lc8zc
@Gabriel-lc8zc 7 жыл бұрын
Pineapple29 me
@ThisGuyDakota
@ThisGuyDakota 6 жыл бұрын
Yep, and briefly mentioned in the imitation game, so I thought it might be worth a look!
@Shafixy
@Shafixy 6 жыл бұрын
Hidden answers in exam
@davidcarrero7848
@davidcarrero7848 7 ай бұрын
Greek
@irregulargamer1352
@irregulargamer1352 9 жыл бұрын
thanks for barely explaining it. Thanks.
@sampro454
@sampro454 6 жыл бұрын
Thanks.
@hanxia9862
@hanxia9862 6 жыл бұрын
Thanks
@hmz01_
@hmz01_ 6 жыл бұрын
Thanks
@Goldie3Gaming
@Goldie3Gaming 5 жыл бұрын
Thanks.
@skleptic
@skleptic 5 жыл бұрын
Thanks.
@beybey444
@beybey444 Жыл бұрын
bu ne yaa sinirim kalktı
@abdelrahmangamalmahdy
@abdelrahmangamalmahdy 7 жыл бұрын
Euler's method can only solve first order equations.. Actually I have derived a technique that can solve any differential equation numerically, no matter what order it is.. Is there any known method that does so, or is it something new I have invented ???
@rhythmblack3830
@rhythmblack3830 7 жыл бұрын
maybe something new you invented
@Aronnax777
@Aronnax777 6 жыл бұрын
The only way to know is to try publishing it in a journal and have it peer reviewed. Also, if you can find a college professor, try asking them to check your mathematical proof.
@kimmason5614
@kimmason5614 8 ай бұрын
I have watched this video for more than 10 times, but I didn't get anything
@speak_charlie
@speak_charlie 4 жыл бұрын
Bkc
@nicholaswigg8703
@nicholaswigg8703 Жыл бұрын
thanks for nothing totally useless
@ruslan-pe3wx
@ruslan-pe3wx 6 жыл бұрын
Very bad. At least show some equations. Error calculation.
@hyypexdou
@hyypexdou 5 жыл бұрын
What is there to show?
@zkfdsldfjsdjfl1
@zkfdsldfjsdjfl1 7 жыл бұрын
NO!!!!!! LMAO
@arisbethlaguna7303
@arisbethlaguna7303 7 жыл бұрын
forget the way this guy talks???
@xRandomHousex
@xRandomHousex 6 жыл бұрын
I think this is wrong
@vivekananda.madanmohan8101
@vivekananda.madanmohan8101 6 жыл бұрын
Sayon Pak , don't think. First confirm and Ink it.
@michaelportis9347
@michaelportis9347 9 жыл бұрын
Why does he sound like a big joke
@StephenCurry-ff4zc
@StephenCurry-ff4zc 7 жыл бұрын
because he's laughing at your gpa as he is explaining
Euler's Method (introduction & example)
12:22
blackpenredpen
Рет қаралды 94 М.
Euler's Method Differential Equations, Examples, Numerical Methods, Calculus
20:50
The Organic Chemistry Tutor
Рет қаралды 800 М.
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 48 МЛН
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 39 МЛН
Will A Guitar Boat Hold My Weight?
00:20
MrBeast
Рет қаралды 200 МЛН
Differential equations, a tourist's guide | DE1
27:16
3Blue1Brown
Рет қаралды 4,1 МЛН
Euler's Method scene in Hidden Figures
1:45
mitchell h
Рет қаралды 6 МЛН
AP Calculus BC - 10 Minute Recap
9:28
Allen Tsao The STEM Coach
Рет қаралды 98 М.
e (Euler's Number) - Numberphile
10:42
Numberphile
Рет қаралды 4,6 МЛН
But what is a partial differential equation?  | DE2
17:39
3Blue1Brown
Рет қаралды 2,6 МЛН
AP Calculus Differential Equations Review (All of Unit 7)
33:09
Introduction to Euler's Method
12:43
Firefly Lectures
Рет қаралды 131 М.
This is why you're learning differential equations
18:36
Zach Star
Рет қаралды 3,4 МЛН
Why e is e (Calculating Euler’s Number)
4:48
Richard Behiel
Рет қаралды 32 М.
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 48 МЛН