< Return to Video

Introduction to 3d graphs | Multivariable calculus | Khan Academy

  • 0:01 - 0:02
    - [Voiceover] Hello everyone.
  • 0:02 - 0:04
    So what I'd like to do here is to describe
  • 0:04 - 0:06
    how we think about
    three-dimensional graphs.
  • 0:06 - 0:09
    Three-dimensional graphs
    are a way that we represent
  • 0:09 - 0:10
    certain kind of multi-variable function
  • 0:10 - 0:12
    that kind of has two inputs,
  • 0:12 - 0:15
    or rather a two-dimensional input,
  • 0:15 - 0:17
    and then one-dimensional
    of output of some kind.
  • 0:17 - 0:19
    So the one that I have pictured here
  • 0:19 - 0:24
    is f of (x, y) equals x
    squared plus y squared.
  • 0:24 - 0:27
    And before talking
    exactly about this graph,
  • 0:27 - 0:28
    I think it would be helpful, by analogy,
  • 0:28 - 0:30
    we take a look at the
    two-dimensional graphs and
  • 0:30 - 0:33
    kinda remind ourselves how those work,
  • 0:33 - 0:37
    what it is that we do,
    because, it's pretty much
  • 0:37 - 0:39
    the same thing in three-dimensions,
  • 0:39 - 0:41
    but it takes a little bit
    more of visualization.
  • 0:41 - 0:43
    So the two-dimensional graphs,
  • 0:43 - 0:46
    they have some kind of function, you know,
  • 0:46 - 0:50
    let's see you have f of
    x is equal to x squared,
  • 0:51 - 0:54
    and anytime you visualizing
    a function, you trying to
  • 0:54 - 0:56
    understand the relationship between
  • 0:56 - 0:57
    the inputs and the outputs.
  • 0:57 - 0:59
    And here those are both just numbers,
  • 0:59 - 1:01
    so you know you input a number like two,
  • 1:01 - 1:04
    and it's gonna output four,
  • 1:04 - 1:07
    you know you input negative
    one it's gonna output one.
  • 1:07 - 1:10
    And you're trying to
    understand all the possible
  • 1:10 - 1:12
    input-output pairs.
  • 1:12 - 1:13
    And the fact that we can do this,
  • 1:13 - 1:18
    that we can get a pretty
    good intuitive feel for
  • 1:18 - 1:21
    every possible input-output
    pair is pretty incredible,
  • 1:21 - 1:24
    the way we go about this
    with graphs is you think
  • 1:24 - 1:26
    we just plotting these
    actual pairs, right?
  • 1:26 - 1:30
    So you're gonna plot the
    point, let's say we are gonna
  • 1:30 - 1:34
    plot the point (2,4), so we
    may kind of mark our graph,
  • 1:34 - 1:37
    two here, one, two, three, four,
  • 1:39 - 1:43
    so you wanna mark somewhere here (2,4),
  • 1:43 - 1:46
    and that represents an input-output pair.
  • 1:46 - 1:48
    And if you do that with,
    you know, negative one, one,
  • 1:48 - 1:50
    you go negative one, one.
  • 1:52 - 1:55
    And when you do this for every
    possible input-output pair,
  • 1:55 - 1:59
    what you end up getting, I
    might not draw this super well,
  • 1:59 - 2:01
    is some kind of smooth curve.
  • 2:01 - 2:04
    The implication for doing this
    is that we typically think of
  • 2:04 - 2:07
    what is on the x-axis as
    being where the inputs live,
  • 2:07 - 2:10
    you know, this would be, we
    think of as the input one,
  • 2:10 - 2:13
    and this is the input two, and so on,
  • 2:13 - 2:17
    and then you think of the
    output as being the height
  • 2:19 - 2:22
    of the graph above each point.
  • 2:22 - 2:23
    But this is kind of a
    consequence of the fact
  • 2:23 - 2:26
    where we just listing
    all of the pairs here.
  • 2:26 - 2:29
    Now if we go to the world
    of multi-variable functions,
  • 2:29 - 2:32
    you know, not gonna show
    the graph right now,
  • 2:32 - 2:34
    let's just think we've got
    three-dimensional space
  • 2:34 - 2:37
    at out disposal to do with what we will.
  • 2:37 - 2:39
    We still want to understand
    the relationship between
  • 2:39 - 2:43
    inputs and outputs of
    this guy, but this case,
  • 2:43 - 2:47
    inputs are something that we
    think of as pair of points,
  • 2:48 - 2:51
    we might have a pair of points like (1,2),
  • 2:51 - 2:54
    and the output there is gonna be
  • 2:54 - 2:58
    one squared plus two squared,
    and that equals is five.
  • 3:03 - 3:05
    So how do we visualize that?
  • 3:05 - 3:08
    Well if we wanna pair these
    things together, the natural way
  • 3:08 - 3:11
    to do that is to think of
    a triplet of some kind.
  • 3:11 - 3:15
    So in this case, you wanna
    plug the triplet (1, 2, 5),
  • 3:17 - 3:20
    and to do that in three-dimensions,
  • 3:20 - 3:23
    we'll take a look over
    here, we think of going one
  • 3:23 - 3:26
    in the x direction, this
    axis here is the x-axis,
  • 3:26 - 3:28
    so we want to move distance one there,
  • 3:28 - 3:32
    and we want to go two in the y direction,
  • 3:32 - 3:35
    so we kinda think of
    going distance two there,
  • 3:35 - 3:37
    and then five up, and then
  • 3:37 - 3:40
    that's gonna give us some
    kind of point, right?
  • 3:40 - 3:41
    So we think this point in space
  • 3:41 - 3:44
    and that's a given input-output pair.
  • 3:44 - 3:46
    But we could do this for a lot, right,
  • 3:46 - 3:49
    a couple different
    points that you might get
  • 3:49 - 3:51
    if you start plotting
    various different ones,
  • 3:51 - 3:54
    look something like this,
    and of course there is
  • 3:54 - 3:56
    infinitely many that you can
    do and it'll take forever
  • 3:56 - 3:59
    if you try to just draw each
    one in three-dimensions,
  • 3:59 - 4:02
    but what's really nice here
    is that you know get rid of
  • 4:02 - 4:05
    those lines, if you imagine doing this
  • 4:05 - 4:07
    for all of the infinite
    many pairs of inputs
  • 4:07 - 4:12
    that you could possibly have,
    you end up drawing a surface.
  • 4:12 - 4:15
    So in this case the surface
    kind of looks like a
  • 4:15 - 4:17
    three-dimensional parabola,
    that's no coincidence,
  • 4:17 - 4:19
    it has to do with the
    fact that we are using
  • 4:19 - 4:21
    x squared and y squared here.
  • 4:21 - 4:25
    And now the inputs like (1,
    2), we think of as being
  • 4:27 - 4:29
    on the xy-plane, right?
  • 4:29 - 4:32
    So you think of the inputs living here,
  • 4:32 - 4:34
    and then what corresponds
    to the output is that
  • 4:34 - 4:37
    height of a giving point
    above the graph, right?
  • 4:37 - 4:40
    So it's very similar to
    two-dimensions, you think,
  • 4:40 - 4:42
    you know, we think of the
    inputs as being on one axis,
  • 4:42 - 4:44
    and the height gives the output there.
  • 4:44 - 4:46
    So just to give an example of
  • 4:46 - 4:49
    what the consequence of this
    is, I want you to think about
  • 4:49 - 4:53
    what might happen if we change
    our multi-variable function
  • 4:53 - 4:57
    a little bit, and we multiply
    everything by half, right?
  • 4:57 - 5:01
    So I'll draw in red here, let's
    see that we have a function,
  • 5:02 - 5:06
    but I'm gonna change it so
    that it outputs one half
  • 5:06 - 5:09
    of x squared plus y squared.
  • 5:09 - 5:13
    What's gonna be the shape of
    the graph for that function?
  • 5:14 - 5:16
    And what it means is the
    height of every point
  • 5:16 - 5:20
    above this xy-plane is gonna
    have to get cut in half.
  • 5:20 - 5:21
    So it's actually just the modification
  • 5:21 - 5:23
    of what we already have,
    but everything kind of
  • 5:23 - 5:27
    sloops on down to be
    about half of what it was.
  • 5:27 - 5:29
    So in this case instead
    of that height being five,
  • 5:29 - 5:32
    it'll be two-point-five.
  • 5:32 - 5:33
    You could imagine, let's
    say we did this, you know,
  • 5:33 - 5:36
    is even more extreme,
    instead of saying one-half,
  • 5:36 - 5:39
    you cut it down by like one-twelfth,
  • 5:39 - 5:43
    maybe I'll use the same
    color, by one-twelfth,
  • 5:43 - 5:45
    that would mean that everything, you know,
  • 5:45 - 5:49
    sloops very flat, very flat
    and close to the xy-plane.
  • 5:49 - 5:51
    So the graph being very
    close to xy-plane like this
  • 5:51 - 5:55
    corresponds to very small outputs.
  • 5:55 - 5:57
    And one thing that I'd like
    to caution you against,
  • 5:57 - 6:00
    it's very tempting to try to think of
  • 6:00 - 6:02
    every multi-variable function as a graph,
  • 6:02 - 6:04
    cause we are so used to
    graphs in two-dimensions
  • 6:04 - 6:07
    and we are so used to
    trying to find analogies
  • 6:07 - 6:10
    between two-dimensions and
    three-dimensions directly,
  • 6:10 - 6:13
    but the only reason that
    this works is because
  • 6:13 - 6:15
    if you take the number of
    dimension in the input,
  • 6:15 - 6:18
    two-dimensions, and then
    the number of dimensions
  • 6:18 - 6:20
    in the output, one-dimension,
    it was reasonable
  • 6:20 - 6:23
    to fit all of that into
    three, which we could do.
  • 6:23 - 6:25
    But imagine if you have
    a multi-variable function
  • 6:25 - 6:27
    with, you know, a three-dimensional input,
  • 6:27 - 6:29
    and a two-dimensional
    output, that would require
  • 6:29 - 6:31
    a five-dimensional graph,
    but we are not very good
  • 6:31 - 6:34
    at visualizing things like that.
  • 6:34 - 6:36
    So there's lots of other
    methods, and I think
  • 6:36 - 6:38
    it's very important to
    kinda of open you mind
  • 6:38 - 6:40
    to what those might be.
  • 6:40 - 6:43
    In particular, another one
    that I'm gonna go through soon,
  • 6:43 - 6:45
    lets us think about 3-D graphs but kind of
  • 6:45 - 6:47
    in a two-dimensional setting,
    and we are just gonna
  • 6:47 - 6:50
    look at the input space,
    that's called a contour map.
  • 6:50 - 6:52
    Couple of other ones,
    like parametric functions,
  • 6:52 - 6:54
    you just look in the output space;
  • 6:54 - 6:56
    things like vector space,
  • 6:56 - 6:59
    you kind of look at the input
    space but get all the outputs.
  • 6:59 - 7:01
    There's lots of different
    ways, I'll go over those
  • 7:01 - 7:03
    in the next few videos.
  • 7:03 - 7:05
    And that's three-dimensional graphs.
Title:
Introduction to 3d graphs | Multivariable calculus | Khan Academy
Description:

more » « less
Video Language:
English
Team:
Khan Academy
Duration:
07:06

English subtitles

Revisions