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

КОМЕНТАРІ • 471

  • @timotheyszczepanski6644
    @timotheyszczepanski6644 3 роки тому +78

    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

  • @midnull
    @midnull 9 років тому +287

    When my math teachers give us those damn surveys on how to improve I just give them your site.

  • @nnekanwaigwe2231
    @nnekanwaigwe2231 7 років тому +70

    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

  • @ahmed_ali42
    @ahmed_ali42 10 років тому +156

    you just save my ass from tomorrow's exam :D

    • @ahmed_ali42
      @ahmed_ali42 10 років тому +64

      by the way , there was a Simpsons problem in the exam , and i got the highest score in my class :D
      thanks man :D

    • @pierrefabela
      @pierrefabela 10 років тому +6

      Ahmed Ali You are both an inspiration!!

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

      SAAAMEEE

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

      sAMMMMME

    • @mryup6100
      @mryup6100 4 роки тому

      SAMEEEE

  • @RoscoJenkins89
    @RoscoJenkins89 11 років тому +10

    Time to understand and how to do content:
    By my teacher: 2 - 2 1/2 hours
    By patrickJMT: 7-10 minutes

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

    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.

  • @Jake-rj4tc
    @Jake-rj4tc 10 років тому +8

    You and IntegralCalc are alot of help, college profs are not worth listening to anymore with these amazing videos

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

    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.

  • @ssoradajet7912
    @ssoradajet7912 8 років тому +79

    Drinking game: take a shot everytime he says "very tedious"

  • @noahmcpherson3440
    @noahmcpherson3440 6 років тому +7

    The fear of him smearing ink kept me on the edge of my seat the whole vid.

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

    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

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

    You're pretty good at explaining calculus. I get the concepts much faster after i watch your videos than when I sit in class.

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

    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.

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

    @NappySupreme well, we are approximating the value of that integral in a round about way (which is why there is no actual integration)

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

    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!

  • @jamie.counsell
    @jamie.counsell 11 років тому

    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.

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

    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!!

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

    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.

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

    you helped me through my A-levels, now still helping me on my masters. you legend

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

    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.

  • @crystaltshivule554
    @crystaltshivule554 3 роки тому

    You just broke down the whole thing in 7 minutes. Genius!!!!

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

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

  • @faithmoraka6924
    @faithmoraka6924 4 роки тому

    10 years later and this works...Thanks a lot

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

    I could learn calculus without going to school just by watching your videos!
    awesome work man and thanks :)

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

    1 minute of your video made me understood more than 30 minutes on the web.
    Thanks.

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

    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.

  • @ronaldguedezvideos
    @ronaldguedezvideos 8 років тому +2

    Helped A LOT. Thanks as always for explaining things so clearly. You could definitely teach a lot of professors so much about clarity.

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

    @Shanongao no, i do not derive the formula. the derivation / proof is in any calculus textbook.

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

    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!

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

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

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

    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.

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

    you've really helped me a lot ..i still wanted to listen from you about the errors in trapezoidal rule

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

    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!

  • @abdiwarithwonwaka7345
    @abdiwarithwonwaka7345 3 місяці тому

    Thank u so much 😮 it's been 15 years since u upload this content it help me alot 😢

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

    patrickjmt you are awesome. I cant believe it takes math professor such a long time to teach something this simple.

  • @theodoresweger4948
    @theodoresweger4948 Місяць тому

    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.

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

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

  • @kunalkumar1002
    @kunalkumar1002 2 роки тому +1

    Simple and easy trick explained by you really superb .

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

    @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

  • @Weiss_Hikari
    @Weiss_Hikari 2 роки тому

    For some reason, your explanations always make things understandable.

  • @fpodunedin3676
    @fpodunedin3676 2 роки тому

    Neatest board hand writing for calculus I've seen. Cheers for the great video

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

    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

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

    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!!!!

  • @261Maryam
    @261Maryam 11 років тому

    Your hand writing is very beautiful and your explanation is very clear so basically you're perfect. Thank you.

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

    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!

  • @Joe-wv2ul
    @Joe-wv2ul 3 роки тому

    I have a Computational Physics exam in few hours from now, and this just helped me immensely. Thank you!

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

    @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

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

    yes the videos from 2006 really helping

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

    thank God you're always there to help me

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

    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

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

    @ITSxUNKNOWNx you are very welcome!

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

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

  • @RawGameplay
    @RawGameplay 2 роки тому

    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

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

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

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

    man youre the best math guru I know around here, thanks for your help

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

    @annedesiree02 glad you like them. you may also check out the calculus playlists although not everything is included in there!

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

    You, sir, are a rock star.

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

    You are my number one exam cramming buddy :)

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

    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 :).

  • @37link
    @37link 12 років тому

    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) ....

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

    @AgariRG basically, it's a building block for other applications.

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

    you explained the pattern 1,4,2,4,2,1 very well. thanks! my textbook did horrible

  • @11solrac44
    @11solrac44 13 років тому

    thank you very much for making these videos they really help. I'm studying for my calculus test and the video really helped.

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

    Would not be surprised to hear Patrick's voice in my dreams by the end of this semester. Or nightmares.

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

    Smiling when u will say "Tedious" again and again. :D Well explained Thumbs up! :D

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

    Much love for the videos. My Calc book doesn't have any good examples. This helped a ton!

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

    I'm writing and AP calc exam and this came up in the review, thank you man!

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

    I recommend changing the title to Simpsons 1/3 Rule as there are 3/8 rule so to eliminate confusion

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

    Missed this lesson in class but glad I stumbled across this video, very helpful video massive thanks!

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

    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...

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

    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.

  • @alec5335
    @alec5335 4 роки тому

    This is some insane video quality for something from 2009

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

    These video are just the best, so clear and helpful and makes understand things so much quicker. Thanks!

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

    Wow, you did a better job explaining this than most college professors! Nice vid :)

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

    In some books the formula they gave me was for "Delta x" was (B - A)/3(n) was that a typo from the book?

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

    I honestly love your video it really does help a lot thank you so much

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

    Thanks so much. I'm doing independent calculus and I was so lost, but this really helped. Keep it up!

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

    you're really rude. this guy is providing us with a great free service. go read a book.

  • @izzhadif2790
    @izzhadif2790 Рік тому

    thank you bro for saving my life

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

    Even number of divisions, which create an odd number (i.e. even plus one) of f(x) values to insert into formula.

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

    Patrick thank you so much for doing these videos. You are a math savior!

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

    You explained it better in 7 minutes than my professor did in an entire semester. Thanks bro.

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

    It would be interesting if you also had calculated the error we commit with this method. Great vid though! Cheers!

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

    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!

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

    @ian559fresno to find the net change

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

    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

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

    Thank you, calc is kicking my ass.

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

    thanks patrickJMT .

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

    Thank you! Had my first class on this today and it went right over my head. You helped me out a lot

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

    Your videos are awesome. They help me immensely in my calculus class. Thanks!

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

    I LOVE YOU PATRICK! I FINALLY LEARNED THIS WITH YOUR HELP!

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

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

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

    Patrick, I love you.

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

    Really helpful for my exams coming up. Thanks alot.

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

    than youuuu you just made calculus so much easier!!!!

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

    i swear you just summed up my 2 hour lecture into 2 videos 20 minutes long

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

    @jazzangelreloaded No, the 3 is a constant in the equation for simpsons rule

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

    Your videos always help me.. superb job..

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

    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?

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

    This was an excellent example made be understand the formula from my book..Thank you Patrick