Simpsons Rule - Approximate Integration
Вставка
- Опубліковано 24 сер 2024
- Thanks to all of you who support me on Patreon. You da real mvps! $1 per month helps!! :) / patrickjmt !! For the derivation of Simpson's Rule : • Simpson's Rule - The D...
Simpsons Rule - Approximate Integration.
In this video, I give the formula for Simpson's Rule, and use it to approximate a definite integral.
For more free math videos visit: PatrickJMT.com
it's been 12 years, yet you still invariably support me through my calculus class. come on bois let's show our appreciation for this man
When my math teachers give us those damn surveys on how to improve I just give them your site.
Mid NuLL ha, thanks!
I just took a break to say thank you! this video is over 7 years old and its still uiseful. God bless your kind heart for sharing
Math doesn't age, so of course it's still useful :)
No hell yess
11 years and still helping*
Man is getting me through my calculus class
you just save my ass from tomorrow's exam :D
by the way , there was a Simpsons problem in the exam , and i got the highest score in my class :D
thanks man :D
Ahmed Ali You are both an inspiration!!
SAAAMEEE
sAMMMMME
SAMEEEE
Time to understand and how to do content:
By my teacher: 2 - 2 1/2 hours
By patrickJMT: 7-10 minutes
Wow. This is beyond fabulous. It's amazing how many fabulous videos you can find on UA-cam explaining math. I can sit in class for a full hour listening to the teacher talk about it and see her do fifteen different examples and not have a goddamned clue. But I go home, look at the homework problem, see what it asks, and type into UA-cam "How to approximate area under curve via Simpson's Rule." I don't even have to get a quarter of the way through the video before it makes perfect sense.
You and IntegralCalc are alot of help, college profs are not worth listening to anymore with these amazing videos
Ty, studying for my Calculus 2 final. I am now 100% crystal clear on what Simpson's rule is thanks to your super clear work. Thanks very much.
Drinking game: take a shot everytime he says "very tedious"
+Ratkovski Adajet or "um"
or "okay" at the beginning of each video haha. love you +PatrickJMT
The fear of him smearing ink kept me on the edge of my seat the whole vid.
calculator method (using graphing calculator of course):
1) plug in integrand into Y1
2) Got to Stat, Edit
3) Into L1 plug in the sequence in this case from 0 to 3 at a .5 interval (this can be done by going to 2nd List OPS seq. Then it's seq (x,x,0,3,.5)
(This is the number that he drew out, but on the calculator instead)
4) Plug into L2: Y1(L1) (Y1 can be found in Vars -> Y-Vars -> Function) (L1 is 2nd 1).This evaluates the integrand at each of the values of the number line) See next comment
You're pretty good at explaining calculus. I get the concepts much faster after i watch your videos than when I sit in class.
If my professor had just came in and played this video; then, we could have saved an entire 2 hrs lecture for something else. Thanks Patrick.
@NappySupreme well, we are approximating the value of that integral in a round about way (which is why there is no actual integration)
I'm doing a Civil Engineering Diploma and for the past 2 years Ive got to know Patric's left hand pretty well! Thanks for the videos Patric!Writing my last Math exam tomorrow and I feel like Im gonna ace it! Thanks to you and Sal!
There are many applications for such formulas. For example, since computers do not calculate over a continuous period, they must make many small calculations at discrete points, and cannot easily "guess" at integrals as we do. In the case of most mathematics software, they use methods such as this with a very high "n" to compute the answer they give you.
My teacher made this seem so intimidating. But you're right, it's a lot of tedious arithmetic.
Thank you for everything :) I've lived off your videos for the past 5 months, and will continue to do so at least for another week until my final exam! Then there's Calc II next semester...joy unbound.
Thanks again!!
Quick tip, if you have a TI-84 (or whatever) you can make life MUCH easier by storing the function in y1 [hit y= and enter the function in] then when you go to do the computation, hit vars --> Y-VARS [enter] then select the y whatever you stored it in. Your calculator will display Y1. Now just throw some () on that, so Y1(0) and it will evaluate the function stored in Y1 at the given point.
so all together this function would look like (1/2)[Y1(1)+ 4Y1(1/2) + 2Y1(1) + 4Y1(3/2) + 2Y1(2) + 4Y1(5/2) + Y1(3)]. should save you a lot of time.
DefyyourGravity103 7ý
you helped me through my A-levels, now still helping me on my masters. you legend
Beofre seeing this video, I just saw a youtube ad for "Study Pug". It said "Still searching for youtube videos for math help? Are those math videos from 2006 really helping? Try Study Pug!"
Well, Study Pug, I can say with certainty that Patrick JMT's video are old, but they certainly are helping me astonishingly well.
You just broke down the whole thing in 7 minutes. Genius!!!!
@fazz26 its an arbitrary choice. generally, the smaller the n, the smaller the pieces, the more accurate your answer. usually on a exam, your teacher will give you an n for consistency in answers. in the real world, you can determine what your error would be based on your n and then you would choose it yourself so you have the least amount of calculations (bigger n, more calculations) and the greatest amount of accuracy necessary.
10 years later and this works...Thanks a lot
I could learn calculus without going to school just by watching your videos!
awesome work man and thanks :)
1 minute of your video made me understood more than 30 minutes on the web.
Thanks.
you are most welcome!
Simpsons rule is basically like the trapezoidal rule but used only when n is an even number.
You can test the same equation with the trapezoidal rule within the same bounds you should get more or less the same answer.
Helped A LOT. Thanks as always for explaining things so clearly. You could definitely teach a lot of professors so much about clarity.
@Shanongao no, i do not derive the formula. the derivation / proof is in any calculus textbook.
After being thought left/right/midpoint/trapezoidal rule all in one day, I lost focus before Simpsons Rule, so my notes were incomplete. I will have to ask my teacher whether we are expected to know the formula for this, as she gave us a calculator program to do it, but it feels nice to complete my notes regardless.
Thanks man!
@HadiJ89 it is just a way to approximate an integral. you can use it whenever you want. most problems you would see on a test would ask you to use it. typically n will also be specified.
Sir, the approximate value of the integral calculated using Simpson's rule (1.074915) is in close proximity to the exact value which is 1.065878. This itself shows that the Simpson's rule gives us better results in comparison to the Trapezoid rule as we approximate the function with a quadratic polynomial in case of the former while with the help of a straight line in case of the latter.
you've really helped me a lot ..i still wanted to listen from you about the errors in trapezoidal rule
How did you compute that in your head.... it took me like 2 minutes to double check on the calculator alone..... you sir, are a god!
Thank u so much 😮 it's been 15 years since u upload this content it help me alot 😢
patrickjmt you are awesome. I cant believe it takes math professor such a long time to teach something this simple.
I find this very interesting if I have it right this is a ,84 error, and many calculators do this for you. Thank you so much, well done.
@RickRubik you would use partial fractions on this one.
however, not every function can be integrated using elementary antiderivatives, which is one reason why we need approximation techniques like this.
Simple and easy trick explained by you really superb .
@rockguyjw 5)Plug in 1,4,2,4,2,4,1 into L3 manually. These are the co-efficients of 4's and 2's
6)Plug into L4: L2*L3. This multiplies the coefficients of 4's and 2's by their respective values
7) Got to main screen, then do sum(L4) (sum is 2nd -> List -> MATH)
8) That's your answer :D Basically what he did but on the calculator
Thanks again man for the great video
For some reason, your explanations always make things understandable.
Neatest board hand writing for calculus I've seen. Cheers for the great video
Man, in Portugal you take this during the 12th grade (last year of highschool). Possibly 1st year of college in Mathmatic Analysis I . On the second year you´re already cacting up with the Fourier series, Fourier integration or complex integration on Mathmatic Analysis III . But I really liked the explanation... simple and accurate. And I stumble upon this looking for the Simpson series from Fox! :P Thx
THANK YOU SO MUCH. I WAS HAVING TROUBLE UNDERSTANDING THIS AND IT WAS ANNOYING ME, BUT SINCE I WATCHED THIS I UNDERSTAND IT ENOUGH TO FINISH MY ASSIGNMENT. CAPITAL LETTERS!!!!
Your hand writing is very beautiful and your explanation is very clear so basically you're perfect. Thank you.
Well i'm glad to see someone work this out. Stewart 7th edition doesn't explicity state that the points you use while computing the function values are the right end points (which in this video that is what you used.) Not sure why that is, but thank you!
I have a Computational Physics exam in few hours from now, and this just helped me immensely. Thank you!
@AgariRG well, antiderivatives have tons and tons of applications. not all functions have antiderivatives so some method of approximating them are needed; this is one of those techniques
yes the videos from 2006 really helping
Yes sirrr
thank God you're always there to help me
Thank you very much! I just had one on the test this week. {Question 6) Approximate ln(3) = intergate from 1 to 3 (1/x ) dx Using Simpson's Rule. Use n = 4. A) 1.098 B) 1.099 C)1.100 D) 1.101 E) 1.102 F) 1.103
@ITSxUNKNOWNx you are very welcome!
@Shanongao no worries ;) i would like to start doing proofs/justifications of the theorems. it seems more people would like to see those than what i originally thought. i always just assume 99% of people skip over them (which probably is true)
It's amazing how bad college professors are at explaining this stuff when some random guy on the internet can explain it perfectly in 7 minutes
@MrJigab00 well, most people watching calculus videos have a calculus book, so the proof/justification of the formula would be in the book. i am sure you could also just google something like : proof simpson's rule calculus, and you could easily find something on the net about it.
man youre the best math guru I know around here, thanks for your help
@annedesiree02 glad you like them. you may also check out the calculus playlists although not everything is included in there!
You, sir, are a rock star.
You are my number one exam cramming buddy :)
Thank you very much, I was exploring all corners of the internet to find what x sub 0 was for simpson's rule, and you just labeled it :).
omg, yes I am totally confused about this too as well!
I'm not sure, but i think the top one might be the composite rule? And with the top one, you take into account all the boundaries of the intervals. As in, if n=3 you go a + 4f(x1) + 2f(x2) + 4f(x3) ....
@AgariRG basically, it's a building block for other applications.
you explained the pattern 1,4,2,4,2,1 very well. thanks! my textbook did horrible
thank you very much for making these videos they really help. I'm studying for my calculus test and the video really helped.
Would not be surprised to hear Patrick's voice in my dreams by the end of this semester. Or nightmares.
Smiling when u will say "Tedious" again and again. :D Well explained Thumbs up! :D
Much love for the videos. My Calc book doesn't have any good examples. This helped a ton!
I'm writing and AP calc exam and this came up in the review, thank you man!
I recommend changing the title to Simpsons 1/3 Rule as there are 3/8 rule so to eliminate confusion
Missed this lesson in class but glad I stumbled across this video, very helpful video massive thanks!
2 times the evening numbers and 4 times the odd ie: You multiply the odd numbers by 4 and you multiply the even number's by 2
so f(x1) and f(x3) would be multiplied by 4
and f(x2) and f(x4) would be multiplied by 2 :) ect...
i'll never understand why we have to learn to approximate areas when we can just integrate and find the exact areas... oh well. thanks for making these videos, you're awesome.
This is some insane video quality for something from 2009
These video are just the best, so clear and helpful and makes understand things so much quicker. Thanks!
Wow, you did a better job explaining this than most college professors! Nice vid :)
In some books the formula they gave me was for "Delta x" was (B - A)/3(n) was that a typo from the book?
I honestly love your video it really does help a lot thank you so much
Thanks so much. I'm doing independent calculus and I was so lost, but this really helped. Keep it up!
you're really rude. this guy is providing us with a great free service. go read a book.
thank you bro for saving my life
Even number of divisions, which create an odd number (i.e. even plus one) of f(x) values to insert into formula.
Patrick thank you so much for doing these videos. You are a math savior!
You explained it better in 7 minutes than my professor did in an entire semester. Thanks bro.
It would be interesting if you also had calculated the error we commit with this method. Great vid though! Cheers!
thanks! you made me remember what my tutor taught me :D what you can do is to take 4 common for the odd numbers, and 2 common for the even numbers :) it really saves time!
@ian559fresno to find the net change
Wow this was so helpful! :D I was staring at a problem like this for almost an hour and I couldn't figure it out, but you've helped so much :D Thanks! :D
Thank you, calc is kicking my ass.
thanks patrickJMT .
Thank you! Had my first class on this today and it went right over my head. You helped me out a lot
Your videos are awesome. They help me immensely in my calculus class. Thanks!
I LOVE YOU PATRICK! I FINALLY LEARNED THIS WITH YOUR HELP!
@ian559fresno The deritave of a function gives us the rate of change of an exact moment in the function, .o they can be used to understand how a function works without having the graph, Integration is the reverse process. In Electricity, finding the area under the curve of a graph of Current vs Time gives you Voltage. Its applications are endless.
Patrick, I love you.
Really helpful for my exams coming up. Thanks alot.
than youuuu you just made calculus so much easier!!!!
i swear you just summed up my 2 hour lecture into 2 videos 20 minutes long
@jazzangelreloaded No, the 3 is a constant in the equation for simpsons rule
Your videos always help me.. superb job..
The real word use of this turns out to be in spreadsheets. Sometimes, I just wind up with an x and y columns of numbers and I have to estimate a definite integral between two points in the columns.
X0 Y0
X1 Y1
X2 Y2
X3 Y3
X4 Y4
While I might know the function, usually it is a nasty one or I would not be using a spreadsheet, or I got the data from a sensor or samples from a graph or some where I just got the table.
What happens is that I want to integrate from
X0 to some point between X3 and X4; call it Xn
What I know is the Integrals answer but not Xn.
so, is it safe or "safer" to use Simpsons rule do the following?
(Xn-X0)/4*(Y0 + 4*Y1 +2*Y2 +4*y3 + Yn) = Known_Answer ... solve for Xn?
This was an excellent example made be understand the formula from my book..Thank you Patrick