When should I use horizontal as opposed to vertical pieces? - Week 15 - Lecture 2 - Mooculus - YouTube

Channel: unknown

[0]
[MUSIC].
[5]
We've seen that we can use either horizontal strips or vertical strips when
[9]
using integrals to calculate area. We end up computing the same number, the
[14]
area of this region, whether we use vertical rectangles or horizontal
[18]
rectangles, we're getting the same answer, the area of this region.
[25]
But if both work, which one should we choose?
[28]
The best choice depends on the shape of the region.
[30]
I like to think about how many different kinds of edges my rectangles will touch.
[35]
Here is an example to demonstrate what I mean.
[37]
I've drawn some region in here with three edges, this curved edge, this curved
[41]
edge, and this straight edge along the x axis.
[45]
Now, I could calculate the area of the enclosed region.
[49]
Either by decomposing this into vertical strips or horizontal strips.
[55]
The bad news about vertical strips is that there's two different kinds of
[59]
vertical strips. There's vertical strips over here, and
[63]
there's vertical strips over here. The vertical strips over here touch the
[67]
orange and the purple edge, and the vertical strips over here would touch the
[70]
orange and the blue edge. Contrast that with the much better
[75]
situation that happens if I cut this up into horizontal strips.
[80]
All of my horizontal strips have an orange side and a blue side.
[86]
I only have one type of horizontal strip. So I should calculate the area of a
[92]
region like this using horizontal strips. Let's take this advice and apply it to
[97]
solve a specific problem. So here's a bigger, specific version of
[101]
this problem. Let's figure out the area of this region.
[106]
this orange curve is the curve y equals the square root of x, and this blue curve
[110]
is y equals the square root of 2x minus one.
[114]
And then here I've just got the purple line along the x-axis.
[117]
I've really got a choice as to how to approach this.
[121]
I could do this with vertical strips. But then I'd have to do two different
[126]
integrals. I'd have to handle the case over here
[129]
where rectangles are touching the orange line and the purple line.
[133]
And I'd have to do an integral over here where my rectangles are touching the
[136]
orange line and the blue line. It's going to be better to use horizontal
[141]
strips. In that case, all of the rectangles are
[144]
the same kind of rectangle, they're a rectangle with one edge on this orange
[147]
curve, and one edge on this blue curve. Let me just draw one of those thin
[153]
horizontal rectangles. I have to figure out the size of that
[157]
rectangle. Let's suppose this thin strip is at
[160]
height y. I know how tall this strip is.
[164]
I'll call that dy. But how wide is this green strip?
[169]
I should figure out what this point and where this point is.
[172]
And if I think about it a little bit, if this is y, I can solve this equation and
[178]
find out that in that case x. Is y squared, and I can similarly solve
[185]
this equation and find out that if this point has a y coordinate y, the x
[190]
coordinate will be y squared plus 1 over 2.
[197]
And that tells me the width of this green rectangle, it's this minus this.
[206]
I'm going to write down the area of that green rectangle.
[209]
So the width is y squared plus 1 over 2 minus y squared, that's how wide this
[215]
rectangle is. And the height of that rectangle is dy,
[220]
so this product is the area of that green rectangle.
[224]
But of course I don't care just about that one rectangle, I want to integrate
[228]
so that I'm adding up the areas of all kinds of thin rectangles.
[233]
And then in the limit I'm getting the area of this region exactly.
[236]
So instead of just this single rectangle, I'm going to integrate y goes from where
[240]
to where. Well, I look at my picture here, y can be
[244]
as small as zero and as tall as this point up here which is one.
[250]
So y goes from zero to one and this interval calculates the area of that
[254]
region. Let's do the calculation.
[258]
This integral is the integral from 0 to 1.
[262]
for I can simplify the integrand a bit. It's 1 half minus y squared over 2 dy .
[269]
And now we can write an antiderivative for that.
[275]
So I add a derivative of 1 half. One half y and a derivative of y squared
[280]
over 2 is y cubed over 6. I'm going to evaluate that at 0 and 1,
[286]
take a difference. But when I plug in 0 I just get 0.
[291]
So the answer is whatever I get when I plug in 1.
[294]
And that's 1 half times 1, minus 1 cubed over 6.
[298]
Could simplify that a bit, that's 1 half minus a 6th, and 1 half, well, that's 3
[305]
6ths, so 3 6ths minus 1 6th, is 2 6ths, which you might write as, 1 3rd.
[314]
So the area of that, shark fin shaped region is a third of a square unit.
[321]
Often, it's not there are right ways or wrong ways but there are better ways and
[325]
worse ways, right. Ways that are better in that they are
[329]
quicker, safer, more elegant. So don't just make good choices.
[334]
Make the best choices.