Simpson's Rule is a numerical integration method that approximates the definite integral of a function by fitting a parabola to each consecutive pair of intervals. The formula is: ∫f(x)dx from a to b = (Δx/3)[f(x₀) + 4f(x₁) + 2f(x₂) + 4f(x₃) + ... + 4f(xₙ₋₁) + f(xₙ)], where n must be even. This method is more accurate than the trapezoid rule and midpoint rule, with error decreasing by a factor of K³ when n is multiplied by K.
Deep Dive
Prerequisite Knowledge
- No data available.
Where to go next
- No data available.
Deep Dive
Doing Approximate Integration Calc IIAdded:
And we are all back in another video.
We're back in another live stream.
Crazy. We're doing like daily live streams now. I don't know how we're doing that, but we're doing it. Maybe because we have a lot of homework. And of course, the number one the well, excuse me, the number one question you all must have for me is how much did I enjoy my long poop yesterday? because I believe I did mention that in my last live stream and I enjoyed it pretty well. Thanks for asking. Anyways, today we are doing a new concept in calc 2.
Yesterday we saw partial fractions.
Barely finished it. We stayed up like till 1210 a.m. just doing some coding because we also have other classes uh not just this one. Hey, in today's video, in fact, let me share my screen.
In today's video, we have even more to do.
So, I shared my screen so I can show y'all what I have left for this module.
This is an accelerated course. If in case you guys did not know, it's six weeks long and there are four modules.
So it's a week and a half per module. We did this last Monday. Today's Monday. So we did this a week ago. The substitution rule was done on Tuesday by us. We did this on Wednesday. This took us three days and we completed it on Saturday. It was a very tough a very tough concept.
We did partial fractions yesterday and today we are doing approximate integrals. Tomorrow and this is due for Wednesday. Tomorrow we do improper integral is also due for Wednesday. and our review for test one and our test one is due on Thursday. Then we begin module two which we will see some applications.
I'm not sure if it's going to be easier.
The applications of derivatives on for calc one was much harder than just derivatives but but again integrals are much harder than derivatives. Who knows the applications are going to be easy.
Hopefully they are. Hopefully they are.
Hopefully. Then we have some series. I heard these are some of these are tough like tailaylor series or power series whatever conversion test convergence tests and then we have parametric and polar curves well hopefully that goes well six weeks let's do this it's it's nearly an assignment per week in assignment per day my bad so it gets tough like that and hold on I don't think I left my camera like that right there oh if I move it there looks closer If I put it there, it looks farther.
You know, I think that's okay, right?
Think y'all can see me clearly. Oh, no, no, no. Hold on. Actually, I wanted to test this out. If we put this uh There we go. Y'all will see me do work like this.
That's how y'all will see me do work.
It's actually not bad, is it? Because if I take it off and put it around there, you see me like that. But here, it's totally different. I think it's more sigma if you ask me. So, that's what we will be doing. You can see my iPad right there. And yeah, you'll just see me work. Well, uh, since no one is watching, we will begin now because there's nothing left to talk about since you guys aren't there. So, this video luckily was only 16 minutes long.
We watched the first 12 and we covered the left, the right, the midpoint, and the trapezoid rule for Ryman integration. It was it was cool. And by the way, I I already saw these first three, left, right, and midpoint. We I just saw the trapezoid, but I mean I think I'm getting it overall. We have one more to see which looks like he'll cover in the last four minutes. Simpsons rule, but I think it's we have Oh, we need to know the Simpsons rule. So, I guess we could watch this quickly.
Let's Let's do this. So, just going to begin taking notes over here.
Um, Simpsons rule. Okay. On each consecutive pair of intervals, the curve y = f ofx is approximated by a parabola. Interesting.
On each consecutive pair of intervals.
Oh, so that probably explains this diagram right here.
I see. Okay.
So, do they use a parabola to estimate an area or do they estimate the area of a parabola? I'm not sure.
Let's see.
In fact, I'm just going to open. Oh, wait. Already have it right there.
Yeah, we saw that. We saw that. Very easy. Not bad.
Uh, okay. So, n must be even. Okay.
Let y sub i = f of x subi.
Okay.
Doesn't look too complicated.
The integral using the Simpsons rule equals delta x over 3 times y sub 0 + 4 * y sub 1 + 2 * y sub 2 + 4 2 k 4 2 Okay, the pattern 1 42 42 42 42 41 Okay.
By a parabola. Interesting. So uh CR was I going to write curve curve y equals f ofx X approximated approximated by parabola.
I spelled out PA parabola.
Okay, I see. I see y'all.
>> Gotcha.
Interesting. So we have x sub0, x sub 1, x sub2, xub3, xub4, xub 5, xub6, xub7, xub8.
So 2 1 4. Wasn't that the pattern? All right. Well, clearly we go up. Oh, no, no, no. Four, two, four, two, four, two, four, two, four.
Okay, let's write that formula down.
Hopefully, we understand where it comes from.
Oh. Oh, okay.
And is three just n or is three like always?
Right.
From A to B, f ofx dx equals I see. Okay.
Yeah, here we have the four and then the four.
Okay, gotcha.
Okay. So first uh nothing multiplies or one multiplies f ofx sub0. Then we have 4 * oops dude no f of x sub 1 + 2 * f ofx sub 2 plus 4 * f ofx sub3 plus and oh and f of x sub4 is the last point. So f of x sub4 close. Mhm.
Yeah.
Okay.
Mhm.
Mhm.
Oh yeah, look at the trapezoid becomes much more accurate. The middle point also becomes pretty accurate. The right and the left don't really become as accurate, unless I'm reading this wrong.
And the Simpson rule is the most accurate.
Right. Uhhuh.
Yeah. Uhhuh.
Like 10,000.
So Simpson is the most accurate far.
I think this is important.
Yeah. In general, when n multiplied by k here for left and right mold.
decreases by factor of K.
The air for the trapezoid and midpoint rule decrease decreases by uh by factor of k squ error.
I had a feeling that they're going to ask us this in the homework, so we should just write it down.
Awesome.
Very cool. Very very cool.
So that is the entire video. So we should have no doubts within the homework. We should have no doubts. We should not even struggle. This does not even seem that bad. I don't see how this can become bad. I don't. But let's do it. Oh, great. We have 21 problems. Oh, wow. That's a lot of problems.
Looks like the key for this is to go quick here. So, I'm going to take a picture.
This midpoint rule the trapezoid rule.
Very good.
And finally, Simpsons rule.
All right, we have these pictures. There is absolutely no reason for us to struggle as we have done in the last ones and let's take a picture of the example right because why not to go extra safe now I am going to split my screen so I'm going to do oh um how do you split the screen all right I'm going to go to photos Oh, I remember that. That was pretty cool.
Where did these fors come from, bro?
What's this, bro? Like, old photos, whatever.
So, let's split this.
Let's put this up here.
And let's take good notes.
Okay, here we go. It is time to lock in.
There is no reason to struggle right here. It is time to lock in. I'm telling you, guys. I'm telling you.
It is 12:13, huh? Yeah. I'm also wondering to myself, it's also pretty late. The thing is that since I stayed up till 12:015, what? 12:15 yesterday?
Um, I believe I woke up today like at 6:50.
Then I fell back to sleep and then I woke up again at like 8:30.
I did my devotional around 8:15 and then I think after that what did we do? I just hung out with my brother, played with the dog, ate breakfast and then around 9:45 we begun math watching lecture. Then sorry after that I think I ate breakfast then I came back around 11:00 finished watching the entire lecture but then we're back. Let's do this. So question question one question question one by the way first I'm going to so they're ask given the following integral in a value of n approximate the following integral using the method indicated round your answer to six decimal places. So what we're going to do is open up desmos.
This is going to be extremely vital for our calculations.
Let's do this. So, oh wait, is there a way I can split the screen?
Yes, there we go.
Perfect. We're good.
So, first trapezoidal rule. Let's open that. Where's the trapezoidal rule? It's right there. So, what's smart charging is on.
Oh, don't show this again.
Well, cool. I really appreciate it. So, let's write down our integral.
We have the integral from 0 to 1. Where am I? Okay, good.
0 to 1 of e to the^ 4x^2 dx.
And we need to evaluate it at n= 4.
So trapezoidal rule this is going to be this is going to be approximated too.
Oh first let's calculate delta x. So what is delta x? delta x is going to be 1 - 0 / 4 1/4 or 0.25 depending on how we want to write our answer. So this is approximated to 0.25 25 / 2 times well oh and first what is what's going to be all right and we need n equals 4 so x sub0 will equal oh wait but hold on depends on no it actually does not depend on anything zero x sub1 equals = 0.25 x sub 2 = 0.5 x sub3 = 0.75 and x sub4 = 1 and we need n= 4. So uh yeah, this is probably going to take longer than we think. So this is going to be um f of x sub0.
So this is going to be e to the power of um 4 e ^4 * 0^ 2 + e to the power of -4 * 0.25^ 25^ 2 + e ^ -4 * 0.5^ 2 + e to the^ -4 * 0.75^ 2 and actually I think this is wrong.
Do we begin from from one or zero?
No, it's zero. Oh, but you do it for Hold on, bro.
So this is going to be oh and then do we do plus e to the^ -4 * 1^2 so simplifying okay in fact I'm just going to write this in desmos um 0 square is 04* 0 e to the okay so e to the That's 1 + e to the^ of 4 * 0.25^ squared.
And in fact, here we're just going to do e.
There you go. And here we're just going to do f of 0 plus f of 0.35 plus 5 + f of 0.75 plus f of 1.
That looks correct. I want to see if I got the answer correct. Yeah, that's incorrect. So it looks like we did something wrong.
What could we have done wrong?
Uh oh. Six decimal places. So 1 2 3 4 5 six. So how how do we round from there?
800 Um, oh, whoops. We forgot something very important.
The twos.
All right, that should be correct. So, I'm just going to input the Okay. All right, we have the right idea. Good. Good.
Let's Oh, we But we we want the All right. One, two, three, four, five, six.
If we do 10, do we still get it correct?
Good. All right. Midpoint rule.
Using the middle point rule, we get we get um 0.25 25 times in fact this is worth doing in Desmos 0.25 and we're going to have All right. So, first of all, we're going to have this 12 times 0 plus 0.25.
That is going to be the middle point f of Oh, no, no, no, no. Is that only the x value?
Hold on.
Oh, that's right. That's only the x value. So f perfect.
Plus f of this.
Whoops. What? Why? Oh, right. And that's going to be 0.25.
time 0.5 plus f of 0.5 plus 0.75 and this is going to be all the way until n. Oh wait, no. Pause pause. Uh that's one all the way to two I think honor standing. Okay, hold on.
Oh, and then one more.
Okay, good.
Looks good. Unless I'm missing anything.
I think that looks good.
That's wrong.
And why is that?
Mhm.
four right in between each of them. Uhhuh.
Wait, what in the world is this? Plus K.
Oh.
Okay, this is one of those things that we got to debug now.
Bro, Oh.
Oh, that's why.
Okay, there we go.
Perfect. Now we just need Simpsons rule.
In fact, I'm going to put right here.
Since n is even, we can do this. So, we're going to get 0.25 over 3 times.
Okay. So, f ofx sub0.
Whoops. And what is x sub0? Is zero.
Uh-huh.
+ 4 uh times f of 0.25 I believe because yeah x sub 1 is 0.25 5 + 2 * f of 0.5 + 4 * f of 0.75 and then plus plus f of one.
There we go.
1 2 3 4 5 6.
Very good.
That was not complex at all.
But I see that this is all about going quickly. It's all about going quickly, everyone. We can do this.
What? Oh, it's that part. All right, let's keep going.
A radar gun was used to record the speed of a runner during the first 5 seconds of a race.
So t of s. So this is time based. Oh, I'm sorry. What's t distance? Distance based. Why do they have to use t?
Distance based in seconds.
So um what do we have? So t distance wait a radider gun was used to record the speed the speed of a runner during the first five seconds.
So in 5 seconds so this is seconds right t of s seconds I guess.
Anyways, use Simpsons rule to estimate the distance the runner covered during those 5 seconds. The distance. So, looks like we're going to have to integrate because here we have a speed, that's a velocity, I think. Uh, yeah, v of t. And to get the distance, we're going to have to integrate.
Let's do it.
Uh oh, cool. I see. I see.
So, the way I see it, the way I see this question is, let's see. I'm confused. Why do they use a function to simply measure time?
the distance the runner covered during those five seconds.
Uh, okay.
So, in 5 seconds he covered 10.9 feet.
Sorry, I'm trying to understand this.
Yeah. Mhm. 3 seconds. 35 seconds.
Oh, I'm sorry. I'm dumb. The bottom the bottom row row is the the velocity, I think. All right, let's just go for it.
We won't understand unless we begin.
So, first, okay.
All right, here we go.
X sub0 equals Z.
X sub1 let's say it equals 3.1 X sub 2 = 3.5 X sub3 = 6.95 X sub4 = 7.45 45.
X sub 5 = 8.85.
X sub6 = 9.75.
X sub7 10.45.
X sub8 = 10.55.
X sub9 = 10.9.
And finally x sub 10 = 10.9 two rule destinate the distance. Gotcha. So So these are our x's.
These are our x's. Okay.
So what do we see here? 1 2 3 4 5 6 7 8 9 10 11.
Hold on. If I have uh a partition, one partition, two partitions, three partitions. If I have four points, that's three partitions. That's not four, right?
We have three, excuse me, we have three intervals here. n= 10 and um delta x equals well this is going to be hold on so bro think this goes from time zero all the way to time five so I believe this is 5 - 0 over 10 or 12 cuz 5 over 10 is 12 1/2.
I see. So I think that's all we need. So now what do we do? Use Simpsons rule and let's go. We have it right here. So delta x over 3.
Okay. Yeah, I don't think we need to write that. Let's just write it. So we have 12 over 3 times f of 0 plus 4 * f of 3.1 plus 2 * f of 3.5 plus 4 * f of 6.95 plus 2 * f of 7.45.
Okay, not bad. It doesn't seem bad yet.
plus four times f of 8.85 plus 2 * f of 9.75 plus 4 * f of 10.45 plus 2 * f of 10.55 plus four times f of 10.9 plus f of 10.9. We did not multiply that last one because you do not multiply.
Oh, sorry. No, no, no, no. That does not matter. Anyways, now we just have to let her rip in dasmos.
So 1 over two all of that over three that's the same thing as 1 over six. So we're going to write that algebra proficiency proficiency is important. So we're going to take how can you Okay, let's say this is g of x.
Fine. Fine. Let's see. That's f of x.
Now we have g of x. What does it equal?
Oh wait, pause. Pull the brakes. We don't even have a function.
Why did it put it in F?
Wait, am I stupid? Okay, hold on. Hold on. Pause. We went over six. In fact, I don't know why we wrote all of that. We just wasted a bunch. No, no, no. It's fine. we we fulfilled our our uh conceptual understanding but it was not necessary at all. So zero plus oh no no here in fact I'll just follow it over here. So, we have four.
Wait, no, no, no, no, no. Wait, pause, pause, pause.
Oh, okay. Wait. I think I did this wrong. X sub0 is 0. X sub Okay, so yeah, I did this all wrong. I understand why I got it wrong, so I'm not going to fix it.
But it was wrong.
4 * 3.1.
So we have 0 * 0.
Yes. Plus sorry we had 1 * 0 I believe.
Plus 2 * 3.5 plus 4 * 6.95 dude. 6.95 + 2 * 7.45 + 4 * 8.85 + 2 * 9.75 + 4 * 10.45.
Excuse me, that's rude. * 2 * 10.55 + 4 * 10.9 + 10.9.
Now that my friends is our answer and that was red in the first try. Let's go. Do you all see we're are we are literally cooking in here. Let's go.
Let's go. That and we go 40 what the what? 47 minutes.
How is it even possible? There's Okay, that's crazy. You know, I remember when I was a kid and every time I played a Brawl Starters, my favorite video game at the time, I always complain time passes so fast when I'm playing video games, and time passes so slow when I'm doing homework. That never happens now.
I see that when you're in college. In fact, time passes even faster when when you're doing homework, when you're coding.
Bro, that's incredible. We got some physics. Now we can look smart. Let's go.
So, we only go like 10% of the entire thing. Okay. Gotcha. Gotcha.
Looks like a very nice day outside. I'm not going to lie.
Look at the plugs.
A very nice day.
It's actually quite nice in this room.
I'm not going to lie.
Um, okay.
Come on. How long we go? 48 minutes.
Cool.
All right, let's keep going.
Consider the integral approximation t of t sub20 of the Okay, sorry. I'm just going to go to the bathroom real quickly and then we will lock in again.
Here we go.
So consider the integral approximation t sub20 of the integral from 0 to 4 of 4 e to the power ofx over 4 dx. Does t sub20 over overestimate or underestimate the exact value?
t sub20.
What is t sub20? Oh, the integral approximation. Why is it called like that? What is t sub9 or t sub 21? Okay.
Find the error bound for t sub20 without calculating t subn using the result that error of t subn is less or equal then m * b - a cubed over 12 uppercase n^2 where m is the least upper bound for all absolute values of the second derivative of the function 4 e to the^ ofx4 on the interval on the closed interval a comma b. Wow. What am I reading? I don't know.
Let's get some help to understand.
Oh, we're bringing back concavity.
Okay, let's do this. So to decide whether t sub20 underestimates or overestimates the integral, think about the concavity of f ofx.
Guess let's put it in desmos.
Gotcha.
H yeah never goes negative.
It's always greater than zero.
An upper bound. Okay.
What is B minus A though? What is A and what is B? Where do we get 0, 7?
All right.
I might have to skip this problem because I don't exactly understand.
No, but I want to get it over with. Uh so we don't so we don't have to come back to it.
All right.
Gotcha.
Okay.
I see. I see. Okay. So that means hm Okay. But what is an error bound though?
Okay.
So, think about the concavity. Wait, do do we get the same function?
Oh, hold on. All right. So, I'm just going to write the function down.
Okay.
So to decide whether t sub20 underestimates or overestimates the integral, think about the concavity of the function. Oh well of that was fake.
Don't know why I did that.
Okay. So let's think about it.
we have e to the^ of -x over 4.
So this is 4 over e to the^ x over 4.
So e is growing but it's decreasing actually because it's one over.
It makes sense, right? Yeah. So that's the concavity. Infinity all the way to zero, right? And that's exactly what we see. Infinity all the way to zero.
Calculate f prime prime.
I don't know. But okay.
So first what is um what is frime of x?
That's going to be uh 4 * well e * sorry e to the powerx over4 times the derivative of the inner function x4 that's going to be * -4 I believe so so 4 * 1/4 that is simply negative 1 so we have we're left with negative e to the^ of -x over 4 and then taking the derivative of that we get well I'll just open square brackets e to ^x over 4 * the inner function it's going to be - 1/4 once again so then -1 * 1/4 is simply 1/4* e^ x 4 is that what you got that's exactly what I got and by seeing the function we know that it's greater than zero for all x.
So t sub 20 overestimates the integral.
Good to know the upper bound. Oh, wait.
But that's what they're asking us. So it's not good to know. It's it's actually essential. Anyways, the upper bound of the integral uh oh on the error.
Let's put let's put this over here because it makes this look cool.
Actually, no, it doesn't kind of.
So, we have the absolute value of t subn minus the integral from a to b of fx dx.
Oh, so the upper bound on that error meter it's going to be well why not right k sub 2 * b - a ^ 3 over 12 n^2 where k^ 2 is an upper bound for double derivative of f ofx on the closed interval ab. An upper bound for uh the absolute value of the double derivative on 0 to 7 for us is going to be 0 to 4 is 0.25.
I'm sorry, what are we doing? Are we are we replacing Oh, the upper. So, did he replace zero?
Negative 0 before that's negative 0.
That's 0. E^ 0 is 1. 1/4. Gotcha.
Oh, I see.
Well, I believe we also get 0.25.
Wait and 0.25 squared that's going to be like I don't know oh sorry sub 2. So we have 0.25 * 4 cubed over 12. And what's our n? Are you going to tell us the n or not?
Well, you got 20. But why 20? Where did the 20? Oh, that's right. We also got 20.
Well, let's just type that in, right?
Whoops.
0.25 * uh 4 cubed or 64.
That's 16, right?
Time 400, we get this.
Is that our answer? And that is our answer. Oh, but we did not answer this.
Well, that overestimates.
And we're correct because we're so good.
Let's go. That's three questions out of 21.
Oh boy.
Let's do this. I mean, these aren't hard questions. Actually, I'm not having to use a lot of help. In fact, I don't think I had to use any of help except for the third question that I had no idea what they were talking about. But no, I mean, this is easy. This is actually not very bad.
So, use six rectangles, meaning that n equ= 6. Whoops.
uh to find an estimate of each type for the of each type for the area under the graph of f from 0 to 12.
I see Uh h hold on. Use six rectangles to find the estimate of each type. What does it mean by each? Okay, it's fine. It's fine. So let's see. So this thing is decreasing.
Are they going to tell us uh oh of we of each type? Does that mean like of each rule? No, I don't I don't think so.
Hopefully not because that would be pretty long. All right. Take the sample points from the left end points left. Okay.
So we get there you go. So we get um so first what is delta x 2.
So we have 2 times times uh so what is x sub0?
Oh yeah left end points right. So yeah, we begin with uh f of x sub0. f of x sub0 looks like it's zero.
Plus f of x sub 1.
So 2 + 4 + 6 8 + 10. 1 2 3 4 5 6. Mhm.
That's good.
really easy. Uh 10 20 30 2 * 30 is going to be 60.
I think that's correct. Is that how they wanted to do it? Perfect. Okay, we're good. Let's keep going.
Is your estimate an underestimate or overestimate of the true area? Well, it depends what the true area is, right?
Let's think about it.
Well, we have 1 2 3 4 5 6 7 8 9 10 11 12 24.
We have 24.
We have uh 36 35. We have 35.25.
35.25 46. Oh, wow. Yeah, I know. I'm not sure.
It's okay. I'm just gonna fight the No, no, no. Hold on. So, underestimate or overestimate? Well, bro, it depends on Let's see. Uh, I mean, do you want me to find the actual estimate?
I think I'll need the actual function for that, though.
underestimate or or overestimate of the true area.
Let's see how they do this.
Okay.
All right. It's fine.
The right end points is going to be 2 * 2 + 4 + 6 + 8 + 10 + 12.
This going to equal 2 + 12 14 28 uh 42 2 * 42 84. So we get 84. commit points and get 6 3 + 10 5 uh 7 9 10 10 25 15 H this is overestimate and overestimate.
Oh, this is also 84.
So we have 2 * 14 + 14 that's 28 + 14 that's 42. 42 * 2 that's 84 isn't it?
Looks like that's an underestimate. So I should have get What am I missing here?
and the 50 is also incorrect.
Let's see what what did we do wrong?
Oh, wait. Whoops.
uh and this was + 12 10 + 12. So therefore 22 11. There we go.
So 12 + 12 24 + 12 36 36 * 2 is 72.
And why? Let's see, bro. What in the world is going on?
Let's see. Let's see. Think. Come on, T.
Think.
Yeah. So, delta x is two.
Let's see what am I missing. So, we have Yeah. 84. Am I doing something? No.
Okay. Well, obviously I'm doing something wrong.
Oh, wait. What?
Uh, wait. Oh, great. I mean, these are not X values I'm adding. I'm adding y values.
What are the y values here?
Oh, to estimate.
So we begin here that is 1 2 3 4 5 6 plus that looks like a 5.5.
That looks like a five.
That looks like a 4.25.
That looks like a 3.25.
And that looks like a two.
So adding this up.
52.
And what? Oh, now it's only mid point.
So it looks like we are also going to estimate the middle points.
Yeah. So this is actually wrong. Don't know why we did that.
Mid point. So it's going to be here.
It's going to be six.
Okay. 6 plus 5.75 5.25 4 4.75 3.75 2.75 56.5.
There we go. Very good. Very good.
That's much better.
I started streaming 67 minutes ago.
Wait, 67. Oh, what are the chances?
Oh, well, thanks for letting me know.
Thank you. Yeah, 67 has been haunting me. My iPad yesterday was 67%.
My brother's uh computer was 67%, too.
What else was 67%. Oh, I think I got a 67 result in in my coding project uh in in a program I did. Oh, and also my reading was 67%. I finished it yesterday at 12 a.m., but we got a I mean, we got an 100, but before that we had a 67%.
So, incredible, isn't it? 67 is everywhere. I wondered what Bible verses of 67 in it.
Crazy. Crazy, isn't it? How has 67 or 67 haunted y'all?
All right. Well, that's fun.
Okay.
Okay. Okay. Well, I believe we should get back at it because even though we're cooking, we aren't close to done.
Let's do this. Shouldn't be too hard.
Um take the sample points from the left end point.
So we have oh and by the way from one to nine so delta x okay hold on uh and four rectangles n = 4 from 9 to uh 9 - one all of that over four two right I'm just going to get rid of these things there we go two delta max is two and we have four rectangles. So left end points we're going to get and in fact maybe it's better split the screen.
Um there you go.
So we have two times.
So left end point we begin at so this is f of one and that's two plus 2.25 plus 2.75 plus 3.5 plus 4.25 25.
Oh, we whoops without four. There we go.
So, this is going to be 21. And let's see whether it is an underestimation or overestimation. So, two times we get 2.25 + 2.75 + 2.5 + 4.25.
This is 25.5.
using the trapezoidal rule.
Let me see if I remember. So, delta x is two 2 over 3 times times what?
Uh oh boy, what was it?
4242. No, that was the Simpsons rule.
This was Oh, okay. I remember. So we we we begin at two I believe plus 2 * 2.25 + 2 * 3.5 + 2 * 4.25.
I believe that's correct.
Oh, whoops.
No. going.
There we go.
Delta X is two.
You know, first of all, is this correct?
So it's only the trapezoidal rule. Uh I thought I ended the live stream.
So let's remember oh it's over two. So here we have nothing there.
27.5.
So under under Oh, hold on. We So the T of four was or or or the T of 20 was a trapezoidal. Oh, I didn't understand that.
Oh, and the 27.5 is incorrect.
So this overestimation then. Okay.
Oh, and we begin.
Oh, right, dude. There we go.
That looks correct.
Very good.
Very good. We continue.
So, we have 15 16 questions left.
Okay.
I mean, this isn't too bad, but maybe pulling a game is not too bad because playing a game is kind of fun.
Oh, I thought I could kill him. would have been pretty cool.
Oh, a free food for me. Ah, okay. Well, still.
So, first place is 25,000. Oh.
Oh, dude. Look. I'm getting all this food.
Dude, I feel I feel so bad for him.
No. What? How? That's not fair, bro.
That's so not fair.
Okay. Oh, that was fun.
bro. What?
Oh, yes. How much food?
bro. What?
Dude, that's not cool.
Let's be pink this time. We are distinct, guys.
Oh, let's go.
dude. Why do you have to do that? Don't do that.
What?
Let's go.
Oh.
Oh, dude. Why did this guy have to be here?
Why did he do that?
Bro, don't stop.
Why am I complaining so much, bro?
Let's go.
bro.
All right, guess we can play one more game.
Let's go.
H.
Okay.
Ah, great. All right. Well, that was fun, everyone.
That was pretty fun. But we are back. We are back to more calculus. Why is bro streaming? Well, because it helps me focus with my homework. Four likes. A thank you, guys.
twin. All right, let's go. Let's go.
Yes, this is a study stream.
This is a study stream. We were taking a break, but but now we're back and we're going to lock in.
So, here we go.
The graph of a function f is given below. Estimate Oops.
Estimate the integral from 0 to 8 of f ofx dx using four sub intervals with uh right right end points, left end points and midpoints. Very easy. Okay. So I think we're simply supposed to uh observe the graph.
So a delta x is going to be 8 - 0 over 4 and that's two.
Let's see. So let's estimate this using left end points. Let's see. Desmos is right here. This graphing calculator. So since we have two so the left end points is going to be uh first we're going to have f of zero which is going to be two plus then we're going to be go down here.
That's gonna be one plus two right here. That's two plus. Wait, this is left end points.
Left end points. Hold on. Right. Mhm.
Plus two. We're going to go down here and that's going to be -2. And right, it's assigned area so that's okay. And then two, we're going to go to one plus one. So I believe this is going to be eight.
Using right end points we get uh 2 + 1 oh wait six right here 2 + 1 + 2 - 2 + 1 we actually begin at this one right here and we here we get four and the middle point rule well quite easy right and we're evaluating y values f ofx values Um, 12 0. Oh, whoops. 12 2 + 1 + 12 1 + 2 I believe plus 12 wait one two - 2 + 12 -2 + 1 and we get five. That should be correct.
And they're all wrong. That's crazy.
And how did this happen?
Oh, hold on. Wait. So, this is right end point. So, four. This is six.
Well, that should be correct. These were correct, but then the midpoints are incorrect.
the midpoints. Uh, yeah. Delta x 12 + 1 plus 12 1 + 2 + 12 2 - 2 + 12 - 2 and 1. And that's five.
And what could be wrong over here?
middle point. Oh. Uh, well, we could also do two plus Whoops. Actually three + 2 = 2 + 1 2 1 minus one. That gives 10.
Is that for real?
Hold on.
So, what was wrong with with what we did?
The minute point rule.
Yeah, we did 2 * um 2 + 1 * 12 of that.
Interesting. Okay. Well, let's continue. Given the following graph of the function y = f ofx and n= 6.
Answer the following questions about the area under the curve from x= 0 to x= uh six. Okay, so we observe it goes high then lower then a little bit higher. Round your answer to within two decimal places if necessary but do not round until your final computation. I see. So use the trapezoidal rule uh to estimate the area. So we get so first of all what is delta x delta x is going to be 6 minus 0 over six so that's one need six rectangles. Gotcha. So the the delta x the width is going to be one.
Beautiful. So then we will do we will do now all right what's next?
So what's f of zero? Wait do we do from f of zero? Oh yeah all the way to f of n. Uhhuh. So so what is f of zero? So 2 plus 2 * uh 3 plus 2 * 4 + 2 * 3 + 2 * 2.5 Whoops.
+ 2 * 2 + 4 believe that's 35. Hold on. Wait, I might be wrong. So 2 * So 2 + 2 * 3 right there.
Am I doing it correctly? I think so.
Plus 2 * 4 + 2 * 3 + 2 * 2 5 + 2 * 2 + 4.
Use Simpsons rule.
So here we're going to have Oh, hold on. Wait, no, no, no. Um, here we have delta x over two. So we're going to have 1/2. There we go. So 17.5.
Here we're going to have over three, right? Delta x over 3. So 1/3 times. So, we're going to have 2 + 4 * 3 + 2 * 4 uh 4 2 4 + 4 * 3 + 2 * 2.5 + 4 * 2 + 4.
So, here we get 17.
Oh, boy. Wow. What happened here?
Oh, wait. Oh, so we have 1/3.
Um, then we have two 42424.
Was it wrong to estimate the area?
We have one/3 two Oh, great.
And here we had one half bro.
I'm not sure. Oh, round to two decimal places. Do not round until your final computation.
I don't think I have to run.
Yeah, that's exactly what we did. Wait, but why did you get this number?
Bro.
I don't see why this is wrong.
just like as like that.
What did we mix them up?
It's the trapezoid rule to estimate the area.
So we had one and then you divided the the the delta x and f of x sub0.
That's f of 0 or one.
Oh, sorry. Or two.
I literally have no idea why this is wrong.
Let's see how they did this.
Um, am I not sharing my screen?
Oh, I thought I was sharing my screen. I don't know what happened. Oh, I think what happened is I I accidentally I turned off my computer. My bad.
All right. So everything is correct except so let's see one sorry two that's two 3 4 3 that's 2.5 that's two but that's four dude Guess I'll have to ask AI or something, but I have no idea why this is wrong.
Why in the world are my answers wrong?
Verifying that I'm human. Do I look like human, guys?
All right, I'll admit. I guess I do act like a robot sometimes.
ever goes above three.
Well, it does clearly.
Wait, what is that? Five.
Wait.
Okay.
Three.
five.
Then we're back to three and 25. Oh, so this is 18.5.
Round to two decimal places.
I don't know what happened. I was like hallucinating or something. But I swear I saw those at 4.
What in the world was that? That's weird.
Okay, I got to go quick because these questions are really easy. I don't know why I'm taking so long.
Uh, wait. And and how long do we go? We go two hours. Okay.
So, estimate the area under the graph in the figure by using the trapezoidal rule. the midpoint rule and the Simpsons rule each with n equals 4.
So n equals 4.
Um gotcha. In fact, let's do it in the iPad. I I believe it's better here.
So uh let's see.
So we have n= 4.
Okay. So first the trapezoidal rule we have okay and delta x equals 4 - 0 over 4 and that's equal to 1 delta x = 1 this minus here. Yes. So wait and what is next? Oh yeah, I just went blank. So we have 12 in fact I'll just write this in Desmos. We have 12 times and then we have f of x sub0. f of x sub0 * f of x sub0. f ofx sub0 is zero plus 2 * oh and right one plus two * whoops and this is not one don't know why I put that this is going to be three times that's sorry plus 2 * 5 plus 2 * 3 + 1 11.5.
The middle point rule, we simply have delta x. Delta x is one. So, we're not going to multiply anything.
Okay.
So, midpoint rule we have 12 * 0 + 3 + 12 * 3 + 5 + 12 * 5 + 3 + 12 * 3 + 1 11.5 as well.
Then here we have in Simpsons rule we're going to have 1 over 3.
We're gonna have 0 + 4 * 3 + 3 * 5 + 4 * 3 + 1.
All right, this getting freakishly easy because the last questions, the last assignments were incredibly difficult, but this is tough.
Thank you.
Okay. Thanks a lot whoever you are.
Thanks guys.
See we go two hours.
Uh the left right trapezoidal and midpoint rule approximations were used to estimate the integral from 0 to 2 of f ofx dx where f is the function is the function whose graph is is shown below. Gotcha.
Okay. The estimates were 0 point uh a 7811 0.8675 0.8632 and 0.9540.
And the same number of sub intervals were used in each case.
The same number of sub intervals were used in each case. Same number of sub Oh, right. Yeah. Which will produce which estimate? I see. Okay.
Um, oh gosh. Okay, so let's see. So, oh yeah, we we had a rule decrease by a factor of K.
So, the trapezoidal should be the most accurate one. Let's see. Uh zero to 0 to two.
Okay. So these should be almost the same. So, I'll put this and that All of them are wrong. Yo, am okay. Let's see.
So if we do left left and if we do right.
Oh, so the left hand should be like the greatest and the right hand should be the least. I believe midpoint should be somewhere in between.
Is this it?
All right. So, I was right about the the greatest and the least.
It looks like the trapezoidal rule is going to be this 75.
I mean, how is I supposed to know that?
Oh, hold on. The chop is okay.
Okay. Between which two approximations does the value lie?
Well, it must lie between the middle point and the trapezoidal.
There you go. That seems correct. Yeah.
Oh, very good. Consider the four functions shown below. On the first two, an approximation for the integral from a to bfx dx is shown.
For graph number one, which integration method is shown? This seems like it is uh left.
Let me just make sure.
Yeah, it's always hitting the the left corners.
Is this method an over or underestimate?
This is going to be I believe it's going to I believe it's going to be an over an overestimate clearly since our function is decreasing or it's decreasingly increasing. Okay. Well, it's decreasing its rate of change.
So the the rectangles are going to be bigger.
For graph number two, it's going to be this is midpoint over or underestimate. Well, this is um Oh, I I see.
Looks pretty accurate, actually. Let's see. Uh here it's missing this part.
I believe it's under on the copy of graph number three. Sketch an estimate.
Sketch an estimate with n equals two subdivisions using the right rule. So we are going to get a rectangle here and the corner is going to touch the graph. Then we're going to have another rectangle aligned perfectly where the right corner touches the graph. That's how it's going to be if we were to do that. Is this method? Well, this is going to be um H.
Oh, wait. Hold on. Wait, wait. Is this under the graph?
Oh, well, if that's the case, then then we're going to have it's going to go under here.
It's a little hard to tell.
Oh, okay. Well, using this same logic over here, Yeah. Well, that's an overestimate right here. We're going to have we're also going to have an overestimate sketch with N to using the trapezoidal rule.
Trapezoidal. Uh well I I don't think it's going to be any right.
Hold on. In the last problem trapezoidal was bigger than the middle point.
May maybe it's going to be over.
So it's under. Okay. That's under and under like that.
Hm. I thought it was going to be under over actually.
Oh, okay. Hold on.
And I don't know. And this Oh, using the trapezoidal.
I mean, isn't it perfect? Unless I'm missing anything. Oh, well. Okay, I see.
Uh, well, that looks like it's going to be okay. I wonder why that's under.
It's okay. We got to keep going now.
Uh, okay. How many questions do we have left? We have 10 11. We have 11 questions left. All right. Fine. Let's lock in. Estimate the integral from 0 to 1 of cossine x^2 dx.
Okay.
So from 0 to 1 of cossine x^2 dx using first the trapezoidal and then the midpoint rule and then and we're going to have n = 4 So and we have okay three perfect.
So first the trapezoidal rule. So uh delta x oops not dx delta x.
It's going to be 1 - 0 over 4 = 1/4.
And then so then we're going to have 1/4 over two.
Wait 1/4 over two or multiply by 1/2.
Uhhuh.
Times so this is going to be cosine of of zero. Oh, hold on. trapezoidal rule.
So f of x sub0. So so that is cossine of 0^ 2 + 2 * cossine of 1. So 12^ 2.
Okay. Oh, sorry. So first x sub0 is going to be zero. X sub one is going to be 0.5.
X sub 2 is going to be 1. X sub3 is going to be 1.5 and X sub4 is going to be two plus cosine uh Whoops.
+ 2 cossine of of 1^2 plus 2 cosine of 1.5^2 plus cossine of 2.
Putting this in desmos, let's see what what we get. It goes down to zero plus two.
Okay. Will we get that?
Uh yeah, I think that's correct. Right.
Mhm. So, five decimal places. One, two, three, four, five.
And then we do the middle point rule.
So we're going to have one, right? Because that's delta tax.
Uhhuh. All right. In fact, here I'll just write it down over here. We have 12 0 + 0.5 plus 12 0.5 + 1 + 12 1 + 1.5 + 12 1.5 + 2 4 What in the world?
Wait. And this is until one. Wait.
Whoops.
You think? Okay. I think I did this all wrong.
So, first we're going to have 25 here, 0.5 there, 0.75 there, and one. There we go. Okay. Looks better. Then here we're going to Oh, that's not better actually.
Well, I'm just going to copy this.
One, two, three, four, five.
So we do this three and is correct. Both of them are incorrect.
N= 4.
Oops, I forgot to square this.
That's correct. There you go. And why isn't this correct?
Because Oh, hold on. Whoops.
Cosine of this Oh, there we go.
Hm.
Why?
Let me see if I did everything correctly.
H I don't know what's going on.
>> Yeah.
Let's see. H.
What happened here?
Oh, 0.25 that is Oh, yeah. You add the x values and then you you evaluate. Uh-huh.
And do we have to to buy to know what in the world is going on here, bro?
Let's see. Let's see what could be wrong.
So, this is wrong, right? Yeah.
Let's ask why this wrong. Shouldn't stay here.
Wait. Whoa. Oh, 14th.
It's 1/4. It's not one.
All right, that should be correct. There you go.
You forgot. Did you get your X hats for middle points?
Oh, actually, yeah. I think I I forgot the delta x.
Um I think I multiplied by one rather than 1/4. Yeah, like learn. Well, I haven't learned it yet. So that's why I can't use it. I wonder how you'd use it here.
Interesting.
Oh, seven out of five parts haven't been answered correctly.
04.
Oh, so it's greater.
That's what Easter Wait, if I put submit answer Oh. Oh, right. There's overestimate as we just saw. Uh-huh.
This Oh, wait. No, no, no. It's uh let's see. So since T4's underestimate must be less.
Well, there we go.
Actually, there you go.
Yeah. Well, I'm going to go to the bathroom and then we will continue to finish this.
Let's see. Is it possible? So whoops.
Probably Hold on.
Right. Mhm.
Yeah. I guess so. It it is the average Oh, so it's not possible that they're overestimates.
Now, both of them are overestimates.
Oh, let's see. And why is that?
I'm not sure. I guess I'll have to think about that. The absolute value of the error using trapezoidal rule for approximate integral it's about twice. So it is true trapezoidal rule for approximating a definite integral interesting. Okay.
And then here. So, okay. It looks like consider the approximation for the in integral of sorry the integral from a to b of f ofx dx where f ofx is negative decreasing and concave up in the interval in the closed interval a to b.
So f ofx is negative. Okay. Decreasing and concave up. Gotcha. Okay. Enter O for each statement if the approxim approximation is an overestimate and U if it's an underestimate. Write reman sum.
Right. Uh well that's underestimate.
Left is over. Trapezoidal over or under? Under. I think midpoint.
Oh, concave up. So, it's going to be under then as well.
Is a trapezoid a rule wrong? Probably.
There you go. That's what I thought.
Consider the approximation for the integral from a to b of f ofx dx where f ofx is negative. Oh, increasing and concave down. Oh, so it's the left half.
It's the left half and the interval in the closed interval a to b. Oh, overestimation and u underestimation.
So negative, increasing and concave down. There's that midpoint rule.
Midpoint rule. Um same thing think.
It's probably going to be underestimation. Right, it's going to be overestimation.
left is going to be underestimation.
Trapezoidal is going to be underestimation.
Says trapezoidal overestimation this time. Gosh.
Oh, so it is under. Oh, this is the midpoint rule overestimation.
And let's think why that is.
It's over. It's an overestimation.
Okay, I think I can see it. All right, another one of these. So f ofx is positive. All right, so now it's above the x-axis. It is increasing and concave up. So the second half, not the first half, but the second half in the closed interval.
All right, left remnum.
That's going to be underestimation. The right is going to be overestimation. The midpoint is going to be overestimation. And the trapezoidal is under this time.
All right. So maybe it's over then, right?
Oh, so it was under. So is the midpoint under then?
Oh, for real?
So is the left and right wrong?
I mean it's positive. It's increasing and concave up. Concave up.
So increasing the left reman sum. I mean if we have something like that we're going to have something like that like that. So that's clearly an underestimation if we have right That's clearly an overestimation. If we have a midpoint, it's probably going to be the overestimation as well. And trapezoidal, we don't want one more.
Mhm.
Midpoint gives an underestimation.
Oh.
So, so this under and this is over.
I see. Okay.
Now, decreasing. So if we have a decreasing so in the first half if we have this left remman we're going to have that.
Oops. All right. It's fine. Well that's going to be an overestimation.
Well the right is therefore going to be an underestimation.
The middle point it's going to be which is going to be bigger. Um, I think that's going to be over and this is under and Oh, there you go. Mhm.
There we go.
Now positive and increasing and concave down.
So positive increasing left that's going to be that is going to be an underestimation right is going to be overestimation. The midpoint is going to be. So if we have under and over like that. Okay.
positive decreasing and concave down. Oh, okay.
So, the the left is going to be over.
Right. Is going to be under, I think.
Right.
Right. the middle point rule under and so it's going to be over I believe sign so it's going to be over and it's going to be under then there we go negative so now it's under increasing and concave up okay so left end point oh wait negative increasing and concave up.
So, this is going to be underestimation overestimate. Oh, wait. Hold on. Wait.
Pause. Pause. But no, actually, no. It's not going to look like that. It's going to look like this. So, left.
Oops.
like that. So that's going to be an overestimation. Actually, that's going to be under what is it going to be like that?
Yeah, that trapezoid and midpoint so annoying. Uh let's see an underestimation.
Oh, right. Because it's in the second half. Okay. No, it it makes sense. So, this under in trapezoidal think I think that's it. All right. Fine. So, that's also under then.
Excuse me, bro. So if we do that gives an overestimation.
Yeah. About the right. That's going to be wait right is over. Why?
That's clearly under.
I'm confused.
Am I imagining it in incorrectly decreasing? So it's negative decreasing.
Okay. Left reman sum that's going to be under over.
Trapezoidal it's going to be over.
That's under.
Great.
lie above the curve. Uh-huh.
Overestimation.
Submit point.
under then.
Oh, and I forgot the left and right are opposites.
Okay.
Biochemical engineers are designing a new athletic shoe to analyze the impact absorption. They record the vertical ground reaction force F of T1.
f oft exerted exerted by a runner's foot on a forest plate. The force in Newtons is measured every 0.1 seconds.
Okay. The data for one full step is recorded below. Okay. So, x sub0 is going to be zero. X sub1 is going to be 0.1. X sub2 is going to be 0.2. X sub3 is gonna be 0.3. Okay. And on right um use the trapezoidal rule. Okay. So and this going to be from zero all the way to 0.6. Right? All right. So n equals 6.
Um, so here we're going to have 0 delta x = 0.6 - 0 over 6 and that equals 0.6 / 6 or 0.1, right? Mhm.
Uh 0.1. So trapezoidal we're going to have um 0.1 /2 times.
So f of x sub0 it's going to be 0 + 2 * 250 plus 2 * 380. All right. And then on right 0.1 over two 0 + 2 * 50 + 2 * 390 + 2 * 240 + 2 * 470 = 2 * 110 + 0 146 impulse. Oh to estimate the total impulse generated during this step.
Impulse is defined as the integral of force with respect to time. J equals All right. Well, I think that's it.
All right, cool.
That actually was much shorter than I thought.
All right, awesome assignments.
And that's actually a very easy one.
Okay, cool. So, let's go here. Let's refresh.
Let's go to grades. Let's collect our award.
26 out of 26.
Very good. Very cool.
Awesome.
Well, that was not bad.
Okay. So tomorrow we have improper integrals and yeah I think that's it. Let's see.
Is improper integrals hard?
Let's just look at the PDF.
Okay. It's just a convergence. Yeah. So I think I'll have to work on this trigonometric integrals and substitution and partial fractions. These ones I think I I already have. Well, but yeah.
and the test this Thursday. We have to practice. Well, everyone, I want to thank you all for watching this video, this live stream with me. It was a lot of fun being with y'all. Uh, and I will see you all next time. Okay, I'll see youall next time.
Related Videos
Olympiad Mathematics | Indian | Can You Solve This One?
PhilCoolMath
650 views•2026-06-03
Escaping the Fog
LogicLemurGaming
760 views•2026-06-03
A Brutal Radical Expression Made Easy! The Shortcut Changes Everything.
tamoshop
112 views•2026-06-02
V : jee main /advance class 11 mathematics : Binomial Theorem class-1 ( 29 may 2026 )
dcamclassesiitjeemainsadva9953
125 views•2026-05-29
Is This Pentomino Tileable?
3cycle
241 views•2026-05-30
This Sudoku Has Many Lines!!
CrackingTheCryptic
2K views•2026-05-29
Olympiad Mathematics | Indian Can You Solve This One?
PhilCoolMath
268 views•2026-06-02
Olympiad Mathematics | Indian | Can You Solve This?
PhilCoolMath
669 views•2026-06-02











