Main content

## Multivariable calculus

### Course: Multivariable calculus > Unit 4

Lesson 11: Surface integrals- Introduction to the surface integral
- Find area elements
- Example of calculating a surface integral part 1
- Example of calculating a surface integral part 2
- Example of calculating a surface integral part 3
- Surface integrals to find surface area
- Surface integral example, part 1
- Surface integral example part 2
- Surface integral example part 3: The home stretch
- Surface integral ex2 part 1
- Surface integral ex2 part 2
- Surface integral ex3 part 1
- Surface integral ex3 part 2
- Surface integral ex3 part 3
- Surface integral ex3 part 4

© 2023 Khan AcademyTerms of usePrivacy PolicyCookie Notice

# Introduction to the surface integral

Introduction to the surface integral. Created by Sal Khan.

## Want to join the conversation?

- At20:47or there about You introduce the concept of each point on the surface having a f(x,y,z) value.

Firstly what does evaluating this integral with f(x,y,z) represent? A volume between the two surfaces, or just the surface area of the new surface f(x,y,z) which takes value from the param. surface in order to 'create it self'?

If the second one (which I think is more likely) why not create a param. to map straight to this surface?

Or is it something in 4d?(21 votes)- It's not a volume since f(x,y,z) is some scalar value defined for ANY point in 3D space. It could be an electric field strength function for example.

What Sal is saying at the end is that when you integrate "over the surface" which is the parameterized r(s,t) with the scalar function f(x,y,z) as part of the integrand, then you get a new value (and that can be useful in certain physics problems).

f(x,y,z) is not a surface itself - we are just "sampling" or "reading out" it's value at each point on the 2D surface defined by r(s,t). The last surface integral he gives is just a sum total of f over that whole weird surface shape (sigma).

In a way you can think of it in 4D since f(x,y,z) is a function of 3 variables and gives as output a 4th value.

All-in-all, I think this idea may be a bit confusing at first since it's very generic, but with some examples, especially ones in physics, then it'll be even more intuitive.(22 votes)

- what is the difference between surface integral and double integral ??(12 votes)
- There isn't one really. Taking a normal double integral is just taking a surface integral where your surface is some 2D area on the s-t plane. The general surface integrals allow you to map a rectangle on the s-t plane to some other crazy 2D shape (like a torus or sphere) and take the integral across that thing too!(11 votes)

- The magnitude of the cross product (of the two vector function partial derivatives) is nothing more than a Jacobean accounting for the distortion created when there was a change of variable right?(6 votes)
- Almost. In this case the Jacobian matrix is 3x2 and has no determinant, so first you need to left-multiply by the transpose to get a 2x2 matrix then take the determinant. But now you've basically done the transformation twice so you need to take the square root, and THEN you have the appropriate term to account for distortion (the "volume stretching factor" as they called it in my class).(3 votes)

- At9:10when he says heads to tails, doesn't he mean heads to heads?(4 votes)
- heads to tails when you add vectors

tails to tails when you subtract them

example r1, r2 are vectors

to get r1-r2, place them tails to tails. the result is the vector pointing from head of r2 to head of r1(6 votes)

- So how can we use these concepts to derive the equation for the surface area of a sphere?(6 votes)
- at14:43he introduce the surface area to be a double integral, why? isn't the double integral the volume under the surface?(3 votes)
- The notations for the double integral and surface integral look the same for a good reason. In the double integral you're talking about, per every point in the region, you are adding a "column": volume given by f(x,y)dx dy. In the surface integral, per every point in the surface (region), you are adding a (parallelogram area times a scalar): represented by f(x, y, z) d-sigma. Thus in both cases the notations appropriately add up the expressions within the integral sign per point in the surface, but since the inner expressions are different, different things are calculated.

BTW: In the surface integral, the "region" is the surface itself.(6 votes)

- Are the symbols for magnitude and absolute value the same?(1 vote)
- Yes, they are. If you think about it, it makes sense. Since the magnitude of a vector is always non-negative, it makes sense to symbolize it the same way you symbolize absolute value.

Note however, magnitude is also symbolized with double bars,

as in || U ||(8 votes)

- can you use this to show that if h=f(s,t) then dh = delf/dels *ds +delf/delt *dt ?? If so, how?(4 votes)
- "del" is a vector operator. what you have is surely not necessarily true.(1 vote)

- How do you find surface area of a 3 demensional triangle?(3 votes)
- A 3 dimensional triangle is a planar entity (it exists in a plane), so it's really a 2D triangle in space. ½bh [one half * base * height] is one method you could use.(2 votes)

- what is the meaning of (dr/ds)*ds graphically(3 votes)

## Video transcript

In the last video, we finished
off with these two results. We started off just thinking
about what it means to take the partial derivative of
vector-valued function, and I got to these kind of, you might
call them, bizarre results. You know, what was the whole
point in getting here, Sal? And the whole point is so that
I can give you the tools you need to understand what
a surface integral is. So let's just think about,
let's draw the st plane, and then see how it gets
transformed into this surface r. So let's do that. Let's say that is the t-axis,
and let's say that that is the s-axis, and let's say that our
vector-valued function, our positioned vector-valued
function, is defined from s's between a and b, I'm just
picking arbitrary boundaries, and between t being
equal to c and d. So the area under question, if
you take any t and any s in this rectangle right here, it
will be mapped to part of that surface. And if you map each of these
points, you will eventually get the surface r. So let me draw r
in 3 dimensions. A surface in 3D. So that is our x-axis, that
is our y-axis, and then that is the z-axis. And just as a bit of a
reminder, it might look something like this. If we were to, this point right
here, where s is equal to a, and t is equal to c, remember,
we're going to draw the surface indicated by the position
vector function s, r of s and t. So this point right here, when
s is a and t is c, maybe it maps to, I'm just, you
know, that point! Right there. When you take a and c, and you
put it into this thing over here, you're just going to get
the vector that points at that. So you could say, it'll
give you a position vector that'll point right at that
position, right there. And then, let's say that this
line, right here, if we were to hold s constant at a, and if we
were to just vary t from c to d, maybe that looks
something like this. I'm just drawing some
arbitrary contour there. Maybe if we hold t constant at
c, and vary s from a to b, maybe that'll look at
something like that. I don't know. I'm just trying to
show you an example. So this point right here would
correspond to that point right there, when you put it into the
vector-valued function r, you would get a vector that points
to that point, just like that. And this point right here in
purple, when you evaluate r of s and t, it'll give you a
vector that points right there, to that point over there, and
we could do a couple of other points, just to get an idea of
what the surface looks like, although I'm trying to keep
things as general as possible. So maybe, let me do it
in this bluish color. This, if we hold p at d and
vary s from a to b, we're going to start here. This is when t is d and s is a. And when you vary it, maybe
you get something like that. I don't know. So this point right here would
correspond to a vector that points to that point, right
there, and then finally this line, or this, if we hold s at
b and vary t between c and d, we're going to go from that
point, to that point. So it's going to look something
like this-- oh, sorry, we're going to go from this
point to that point. We're holding s at b, varying
t from c to d, maybe it looks something like that. So our surface, we went from
this nice rectangular area in the ts plane, and it gets
transformed into this wacky-looking surface. We could even draw some
other things right here. Let's say we get some
arbitrary value. Let me pick a new color,
I'll do it in white. Or a new noncolor. And let's say if we hold s at
that constant value and we vary t, maybe that will look
for something like this. Maybe that we'll look something
like, well, I don't know. Maybe it'll look
something like that. So you get an idea of what
the surface might look like. Now, given this, I want
to think about what these quantities are. And then when we visualize what
these quantities are, we'll be able to kind of use these
results of the last videos to do something that I
think will be useful. So let's say that we
pick arbitrary s and t. So this is the point, let me
just we pick it right here. That is the point s, t. s comma t. If you were to put those values
in here maybe it maps to, and I want to make sure I'm
consistent with everything I've drawn, maybe it maps to
this point right here. Maybe it maps to that
point right there. So this point right here,
that is r of s and t. For a particular s and t. I mean, I could put little
subscripts here, but I want to be general. I could call this a, well,
I already used a and b. I could call this x and y,
this would be r of x and y. It would map to that
point, right there. So that right there,
or that right there. Now let's see what happens
if we take, if we move just in the s direction. So this is we could
do that as s. Now let us move forward
by a differential, by a super small amount of s. So this right here, let's
call that a s plus a super small differential in s. That's right there. So that point. Let me do that in a better
color, in this yellow. So that point right there
is the point s plus my differential of s. I could write delta s, but
I wanted a super small change in s, comma t. And what is that going
to get mapped to? Well, if we apply these two
point in r, we're going to get something that maybe
is right over there. And I want to be very clear. This right here, that is
r of s plus ds comma t. That's what that is. That's the point when we just
shift s by a super small differential, this distance
here, you can view as ds. It's a super small change in s. And then when we map it or
transform it, or put that point into our vector-valued
function, let me copy and paste the original vector-valued
function, just so we have a good image of what we're
talking about this whole time. Let me put it right down there. So just to be clear what's
going on, when we took this little blue point right here,
this s and t, and we put the s and t values here, we get a
vector that points to that point on the surface,
right there. When you add a ds to your
s-values, you get a vector that points at that
yellow point right there. So going back to the results we
got in the last presentation, or the last video,
what is this? r of s plus delta s, or r of s
plus ds, the differential of s, t, well, that is
that, right there. That is the vector that
points to that position. This right here is a vector
that points to this blue position. So what is the difference
of those two vectors? And this is a bit of
basic vector math, you might remember. The difference of these two
vectors, head to tails. The difference of these
two vectors is going to be this vector. If you subtract this vector
that vector, you're going to get that vector, right there. A vector that looks
just like that. So that's what this is
equal to, that vector. And it makes sense. This blue vector plus the
orange vector, this vector, right here, plus the orange
vector, is equal to this vector. It makes complete sense. Heads to tails. So that's what that represents. Now let's do the same
thing in the t direction. I'm running out of color. I'll go back to the pink,
or maybe the magenta. So we had that s and t. Now if we go up a little bit,
in that direction, let's say that that is t, so this is the
point s, t plus a super small change in t, that's that
point right there. This distance right there is
dt, you can view it that way. If you put s and t plus dt into
our vector value function, what are you to get? You're going to get a vector
that maybe points to this point, right here. Maybe I'll draw it right here. Maybe it points to this
point, right here. A vector that points
right there. So that will be mapped to a
vector that points to that position, right over there. Now by the same argument that
we did on the s-side, this point, or the vector that
points to that, that is r of st plus dt. That is the exact same thing
as that right there, and of course, this, we already saw. This is the same thing
as that over there. So what is that vector
minus this blue vector? The magenta vector
minus the blue vector? Well, once again, this
is hopefully a bit of a review of adding vectors. It's going to be a vector
that looks like this. I'll do it in white. It's going to be a vector
that looks like that. And you can imagine, if you
take the blue vector plus the white vector, the blue vector
plus this white vector is going to equal this purple vector. So it makes sense, if the
purple vector minus the blue vector is going to be equal
to this white vector. So something interesting
is going on here. I have these two, this is a
vector that is kind of going along this parameterized
surface, as we changed our s by a super small amount. And then this is a vector that
is going along our surface if we change our t by a
super small amount. Now, you may or may not
remember this, and I've done several videos where
I showed this to you. But the magnitude, if I take 2
vectors, and I take their cross product, so if I take the cross
product of a and b, and I take the magnitude of the resulting
vector-- remember, when you take the cross product, you
get a third vector that is perpendicular to both of these. But if you were just to take
the magnitude of that vector, that is equal to the area
of a parallelogram, defined by a and b. What do I mean by that? Well, if that is vector a and
that is vector b, that's a and that is b, if you were to just
take the cross product of those two, you're going to
get a third vector. You're going to get a third
vector that's perpendicular to both of them, it kind
of popped out of the page. That would be a cross b. But the magnitude of this, so
if you just take a cross product, you're going
to get a vector. But then if you take the
magnitude of that vector, you're just saying, how
big is that vector, how long is that vector? That's going to be the
area of the parallelogram defined by a and b. And I've proved that in the
linear algebra videos, maybe I'll prove it again in this. I mean it's because-- well, I
won't go into that in detail. I've done it before, don't want
to make this video too long. So the parallelogram defined by
a and b, you just imagine a, and then take another kind of
parallel version of a, is right over there, and another
parallel version of b is right over there. So this is the parallelogram
defined by a and b. So, going back to our surface
example, if we were to take the cross product of this orange
vector and this white vector, I'm going to get the surface
area, I'm going to get the area of the parallelogram, defined
by these two vectors. So if I take the parallel
to that one, it will look something like this, and then a
parallel to the orange one it will look something like that. So if I take the cross product
of that and that, I'm going to get the area of that
parallelogram. Now you might say, this is a
surface, you're taking a straight-up parallelogram,
but remember, these are super small changes. So you can imagine, a surface
can be broken up into super small changes in
parallelograms, or infinitely many parallelograms. And the more parallelograms you
have, the better approximation of the surface you're
going to have. And this is no different than
when we first took integrals. We approximated the area
under the curve with a bunch of rectangles. The more rectangles
we had, the better. So let's call this little
change in our surface d sigma, for a little change, for a
little amount of our surface. And we could even say that, you
know, the surface area of the surface will be the infinite
sum of all of these infinitely small d sigmas. And there's actually a
little notation for that. So surface area is equal to, we
could integrate over the surface, and the notation
usually is a capital sigma for a surface as opposed to a
region or-- so you're integrating over the surface,
and you do a double integral, because you're going in
two directions, right? A surface is a kind of a
folded, two-dimensional structure. And you're going to take
the infinite sum of all of the d sigmas. So this would be
the surface area. So that's what a d sigma is. Now we just figured out, we
just said, well, that d sigma can be represented, that value,
that area, of that little part of the surface, of that
parallelogram, can be represented as a cross product
of those two vectors. So let me write here. And this is not
rigorous mathematics. The whole point here is to give
you the intuition of what a surface integral is all about. So we can write that d sigma is
equal to the cross product of the orange vector and
the white vector. The orange vector is
this, but we could also write it like this. This was the result
from the last video. I'll write it in orange. So the partial of r with
respect to, I'm running out of space, with respect to s, ds,
and it's going-- well, d sigma is going to be the magnitude
of the cross product, not just the cross product. The cross product by itself
will just give you a vector, and that's going to be useful
when we start doing vector-valued surface
integrals, but just think about it this way. So this orange vector is
the same thing is that. And we're going to take
the cross product of that with this white vector. This white vector is the same
thing as that, which we saw, which was the same
thing as this. The partial of r with
respect to t, dt. And we saw, if we take the
magnitude of that, that's going to be equal to our little small
change in area, or the area of this little
parallelogram over here Now, you may or may not
remember that if you take these, so let's just be clear. This and this, these
are vectors, right? When you take the partial
derivative of a vector-valued function, you're still
getting a vector. This ds, this is a number. That's a number and
that's a number. And you might remember, when
we, in the linear algebra or whenever you first saw taking
cross products, taking the cross product of some
scalar multiple. You can take the scalars out. So if we take this number and
that number, we essentially factor them out of
the cross product. This is going to be equal to
the magnitude of the cross product of the partial of r,
with respect to s, crossed with the partial of r with respect
to t, and then all of that times these two
guys, over here. Times ds and dt. So I wrote this here, hey,
maybe our surface area, if we were to take the sum of all of
these little d sigmas, but there's no obvious way
to evaluate that. But we know that all of the d
sigmas, they're the same thing as if you take all of the
ds's and all of the dt's. So you take all of the
ds's, all of the dt's. So this is a ds
times a dt, right? A ds times a dt, ds times
a dt is right there. If we multiply this times the
cross product of the partial derivative, this times this is
going to give us this area. So if we summed up all of this
times this, or this times this, if we summed them up over this
entire region, we will get all of the parallelograms
in this region. We will get the surface area. So we can write-- I know this
is all a little bit convoluted. And you need to kind of
ponder a little bit. Surface intervals, at least in
my head, are one of the hardest things to really visualize, but
it all hopefully makes sense. So we can say that this thing
right over here, the sum of all of the little parallelograms on
our surface, or the surface area, is going to be equal to,
instead of taking the sum over the surface, let's take the sum
of all the ds times dt's over this region right here. And of course, we're also
going to have to take this cross product here. And we know how to do that. That's a double integral. for going to take the double
integral over this, we could call it this region, or
this area, right here. That area is the same thing
as that whole area, right over there, of this thing. I'll just write it in yellow. Of the cross product of the
partial of r with respect to s, and the partial of
r with respect to t. ds and dt. And so you literally just take,
and it seems very convoluted in how you're going to actually
evaluate it, but we were able to express this thing called a
surface-- well, this is a very simple surface integral-- in
something that we can actually calculate. And in the next few videos, I'm
going to show you examples of actually calculating it. Now, this right here will only
give you the surface area. But what if, at every point
here-- so over here what we've done in both of these
expressions, is we're just figuring out the surface area
of each of these parallelograms and then adding them all up. That's what we're doing. But what if, associated with
each of those little parallelograms, we had some
value, where that value is defined by some third
function f of x, y, z? So every parallelogram, it's
super small, it's around a point, you can say it's maybe
the center of it, doesn't have to be the center. But maybe the center of it
is at some point in three-dimensional space, and if
you use some other function, f of x, y, and z, you'll get the
value of that point. And what we want to do is
figure out what happens if for every one of those
parallelograms, we were to multiply it times the value of
the function at that point? So we could write it this way. So this is where, you can
imagine, the function is just one. We're just multiplying each of
the parallelograms by one. But we could imagine we're
multiplying each of the little parallelograms by f of x, y,
and z, d sigma, and it's going to be the exact same thing,
where this is each of the little parallelograms, we're
just going to multiply it by f of x, y, and z there. So we're going to integrate
it over the area, over that region, of f of x, y, and z,
and then times the magnitude of the partial of r with respect
to f, crossed with the partial of r with respect to t, ds, dt. And of course, we're
integrating with respect to s and t. Hopefully we can express this
function in terms of s and t, and we should be able
to, because we have a parameterization there. Wherever we see an x
there, it's really x is a function of s and t. y is a function of s and t. z is a function of s and t. And this might look super
convoluted and hard. And the visualizations for
this, of why you'd want to do this, it has
applications in physics. It's a little hard
to visualize. It's easier just to visualize
the straight-up surface area. But we're going to see the next
few videos that it's a little hairy to calculate these
problems, but they're not too hard to do. That you just kind of
have to stick with them.