< Return to Video

Linear Algebra: Parametric Representations of Lines

  • 0:01 - 0:04
    Everything we've been doing in
    linear algebra so far, you
  • 0:04 - 0:07
    might be thinking, it's kind of
    a more painful way of doing
  • 0:07 - 0:08
    things that you already
    knew how to do.
  • 0:08 - 0:11
    You've already dealt
    with vectors.
  • 0:11 - 0:13
    I'm guessing that some of you
    all have already dealt with
  • 0:13 - 0:15
    vectors in your calculus or
    your pre-calculus or your
  • 0:15 - 0:16
    physics classes.
  • 0:16 - 0:19
    But in this video I hope to show
    you something that you're
  • 0:19 - 0:21
    going to do in linear algebra
    that you've never done before,
  • 0:21 - 0:24
    and that it would have been very
    hard to do had you not
  • 0:24 - 0:26
    been exposed to these videos.
  • 0:26 - 0:29
    Well I'm going to start with,
    once again, a different way of
  • 0:29 - 0:31
    doing something you already
    know how to do.
  • 0:31 - 0:35
    So let me just define some
    vector here, instead of making
  • 0:35 - 0:38
    them bold, I'll just draw it
    with the arrow on top.
  • 0:38 - 0:40
    I'm going to define my vector
    to be-- I can do with the
  • 0:40 - 0:42
    arrow on top or I can just
    make it super bold.
  • 0:42 - 0:44
    I'm just going to define my
    vectors, it's going to be a
  • 0:44 - 0:46
    vector in R2.
  • 0:46 - 0:52
    Let's just say that my vector
    is the vector 2, 1.
  • 0:52 - 0:54
    If I were to draw it in
    standard position,
  • 0:54 - 0:55
    it looks like this.
  • 0:55 - 0:59
    You go two to the right,
    up one, like that.
  • 0:59 - 1:04
    That's my, right there,
    that is my vector v.
  • 1:04 - 1:08
    Now, if I were to ask you, what
    are all of the possible
  • 1:08 - 1:09
    vectors I can create?
  • 1:09 - 1:10
    So let me define a set.
  • 1:10 - 1:16
    Let me define a set, s, and
    it's equal to-- all of the
  • 1:16 - 1:19
    vectors I can create, if I were
    to multiply v times some
  • 1:19 - 1:25
    constant, so I multiply some
    constant, some scalar, times
  • 1:25 - 1:29
    my vector v, and just to maybe
    be a little bit formal, I'll
  • 1:29 - 1:37
    say such that c is a member
    of the real numbers.
  • 1:41 - 1:45
    Now what would be a graphical
    representation of this set?
  • 1:45 - 1:47
    Well, if we draw them all in
    standard position, c could be
  • 1:47 - 1:48
    any real number.
  • 1:48 - 1:51
    So if I were to multiply,
    c could be 2.
  • 1:51 - 1:55
    If c is 2, let me
    do it this way.
  • 1:55 - 1:58
    If I do 2 times our vector,
    I'm going to get
  • 1:58 - 2:01
    the vector 4, 2.
  • 2:01 - 2:04
    Let me draw that in standard
    position, 4, 2.
  • 2:04 - 2:04
    It's right there.
  • 2:04 - 2:08
    It's this vector right there.
  • 2:08 - 2:10
    It's collinear with
    this first vector.
  • 2:10 - 2:14
    It's along the same line, but
    just goes out further 2.
  • 2:14 - 2:15
    Now I could've done another.
  • 2:15 - 2:18
    I could have done 1.5
    times our vector v.
  • 2:18 - 2:20
    Let me do that in a
    different color.
  • 2:20 - 2:22
    And maybe that would be,
    that would be what?
  • 2:22 - 2:26
    That'd be 1.5 times 2,
    which is 3, 1.5.
  • 2:26 - 2:28
    Where would that
    vector get me?
  • 2:28 - 2:32
    I'd go one 1.5 and then I'd
    go 3, and then 1.5,
  • 2:32 - 2:34
    I'd get right there.
  • 2:34 - 2:36
    And I can multiply
    by anything.
  • 2:36 - 2:39
    I can multiply 1.4999
    times vector v, and
  • 2:39 - 2:41
    get right over here.
  • 2:41 - 2:44
    I could do minus 0.0001
    times vector v.
  • 2:44 - 2:45
    Let me write that down.
  • 2:45 - 2:52
    I could do 0.001 times
    our vector v.
  • 2:52 - 2:53
    And where were that put me?
  • 2:53 - 2:56
    It would put me little super
    small vector right there.
  • 2:56 - 2:59
    If I did minus 0.01, it would
    make a super small vector
  • 2:59 - 3:01
    right there pointing
    in that direction.
  • 3:01 - 3:03
    If I were to do minus 10, I
    would get a vector going in
  • 3:03 - 3:07
    this direction that goes
    way like that.
  • 3:07 - 3:10
    But you can imagine that if
    I were to plot all of the
  • 3:10 - 3:14
    vectors in standard position,
    all of them that could be
  • 3:14 - 3:16
    represented by any c in real
    numbers, I'll essentially
  • 3:16 - 3:20
    get-- I'll end up drawing a
    bunch of vectors where their
  • 3:20 - 3:24
    arrows are all lined up along
    this line right there, and all
  • 3:24 - 3:27
    lined up in even in negative
    direction-- let me make sure I
  • 3:27 - 3:31
    draw it properly-- along
    that line, like that.
  • 3:31 - 3:33
    I think you get the idea.
  • 3:33 - 3:35
    So it's a set of collinear
    vectors.
  • 3:35 - 3:37
    So let me write that down.
  • 3:44 - 3:50
    And if we view these vectors as
    position vectors, that this
  • 3:50 - 3:57
    vector represents a point in
    space in R2-- this R2 is just
  • 3:57 - 4:00
    our Cartesian coordinate plane
    right here in every
  • 4:00 - 4:04
    direction-- if we view this
    vector as a position vector--
  • 4:04 - 4:08
    let me write that down-- if
    we view it as kind of a
  • 4:08 - 4:11
    coordinate in R2, then this set,
    if we visually represent
  • 4:11 - 4:14
    it as a bunch of position
    vectors, it'll be represented
  • 4:14 - 4:16
    by this whole line over here.
  • 4:19 - 4:23
    And I want to make that point
    clear because it's essentially
  • 4:23 - 4:25
    a line, of slope 2.
  • 4:25 - 4:26
    Right?
  • 4:26 - 4:27
    Sorry, slope 1/2.
  • 4:27 - 4:29
    Your rise is 1.
  • 4:29 - 4:32
    Your rise is 1 for
    going over 2.
  • 4:32 - 4:34
    But I don't want to go
    back to our Algebra 1
  • 4:34 - 4:35
    notation too much.
  • 4:35 - 4:40
    But I want to make this point
    that this line of slope 2 that
  • 4:40 - 4:43
    goes through the origin, this
    is if we draw all of the
  • 4:43 - 4:46
    vectors in the set as in their
    standard form, or if we draw
  • 4:46 - 4:48
    them all as position vectors.
  • 4:48 - 4:51
    If I didn't make that
    clarification, or that
  • 4:51 - 4:53
    qualification, I could have
    drawn these vectors anywhere.
  • 4:53 - 4:53
    Right?
  • 4:53 - 5:00
    Because this 4, 2 vector, I
    could have drawn over here.
  • 5:00 - 5:03
    And then, to say that it's
    collinear probably wouldn't
  • 5:03 - 5:05
    have made as much visual
    sense to you.
  • 5:05 - 5:08
    But I think this collinearity of
    it makes more sense to you
  • 5:08 - 5:11
    if you say, oh, let's draw them
    all in standard form.
  • 5:11 - 5:15
    All of them start at the origin,
    and then their tails
  • 5:15 - 5:17
    are at the origin, and their
    heads go essentially to the
  • 5:17 - 5:18
    coordinate they represent.
  • 5:18 - 5:20
    That's what I mean by their
    position vectors.
  • 5:20 - 5:23
    They don't necessarily have to
    be position vectors, but for
  • 5:23 - 5:28
    the visualization in this video,
    let's stick to that.
  • 5:28 - 5:31
    Now I was only able to represent
    something that goes
  • 5:31 - 5:33
    through the origin
    with this slope.
  • 5:33 - 5:36
    So you can almost view that
    this vector kind of
  • 5:36 - 5:39
    represented its slope.
  • 5:39 - 5:41
    You almost want to view it as a
    slope vector, if you wanted
  • 5:41 - 5:43
    to tie it in to what you
    learned in Algebra 1.
  • 5:43 - 5:45
    What if we wanted to represent
    other lines
  • 5:45 - 5:46
    that had that slope?
  • 5:46 - 5:53
    What if we wanted to represent
    the the same line, or I guess
  • 5:53 - 5:56
    a parallel line-- that goes
    through that point over there,
  • 5:56 - 6:01
    the point 2 comma 4?
  • 6:01 - 6:03
    Or if we're thinking in position
    vectors, we could say
  • 6:03 - 6:19
    that point is represented
    by the vector, and we
  • 6:19 - 6:21
    will call that x.
  • 6:21 - 6:23
    It's represented by
    the vector x.
  • 6:23 - 6:27
    And the vector x is
    equal to 2, 4.
  • 6:27 - 6:28
    That point right there.
  • 6:28 - 6:31
    What if I want to represent the
    line that's parallel to
  • 6:31 - 6:34
    this that goes through
    that point 2, 4?
  • 6:34 - 6:36
    So I want to represent
    this line right here.
  • 6:39 - 6:43
    I'll draw it as parallel
    to this as I can.
  • 6:43 - 6:47
    I think you get the idea, and it
    just keeps going like that
  • 6:47 - 6:48
    in every direction.
  • 6:48 - 6:50
    These two lines are parallel.
  • 6:50 - 6:55
    How can I represent the set of
    all of these vectors, drawn in
  • 6:55 - 6:58
    standard form, or all of the
    vectors, that if I were to
  • 6:58 - 7:01
    draw them in standard form,
    would show this line?
  • 7:01 - 7:03
    Well, you can think
    about it this way.
  • 7:03 - 7:08
    If every one of the vectors that
    represented this line, if
  • 7:08 - 7:11
    I start with any vector that was
    on this line, and I add my
  • 7:11 - 7:20
    x vector to it, I'll show up
    at a corresponding point on
  • 7:20 - 7:22
    this line that I
    want to be at.
  • 7:22 - 7:24
    Right?
  • 7:29 - 7:34
    Let's say I do negative 2 times
    my original, so minus 2
  • 7:34 - 7:38
    times my vector v, that
    equaled what?
  • 7:38 - 7:42
    Minus 4, minus 2, so that's
    that vector there.
  • 7:42 - 7:47
    But if I were to add x to it, if
    I were to add my x vector.
  • 7:47 - 7:51
    So if I were to do minus 2 times
    my vector v, but I were
  • 7:51 - 7:55
    to add x to it, so plus x.
  • 7:55 - 7:58
    I'm adding this vector 2 comma
    4 to it, so from here I'd go
  • 7:58 - 8:01
    right 2 and up 4,
    so I'd go here.
  • 8:01 - 8:03
    Or visually you could just
    say, heads to tails, so I
  • 8:03 - 8:05
    would go right there.
  • 8:05 - 8:06
    So I would end up at a
  • 8:06 - 8:08
    corresponding point over there.
  • 8:13 - 8:16
    So when I define my set, s, as
    the set of all points where I
  • 8:16 - 8:18
    just multiply v times the
    scalar, I got this thing that
  • 8:18 - 8:20
    went through the origin.
  • 8:20 - 8:22
    But now let me define
    another set.
  • 8:22 - 8:29
    Let me define a set l, maybe l
    for line, that's equal to the
  • 8:29 - 8:35
    set of all of vectors where the
    vector x, I could do it
  • 8:35 - 8:40
    bold or I'll just draw an
    arrow on it, plus some
  • 8:40 - 8:42
    scalar-- I could use c, but
    let me use t, because I'm
  • 8:42 - 8:47
    going to call this a
    parametrization of the line--
  • 8:47 - 8:59
    so plus some scalar, t times my
    vector v such that t could
  • 8:59 - 9:03
    be any member of the
    real numbers.
  • 9:03 - 9:04
    So what is this going to be?
  • 9:04 - 9:06
    This is going to be
    this blue line.
  • 9:06 - 9:09
    If I were to draw all of these
    vectors in standard position,
  • 9:09 - 9:10
    I'm going to get my blue line.
  • 9:10 - 9:15
    For example, if I do minus 2,
    this is minus 2, times my
  • 9:15 - 9:16
    vector v, I get here.
  • 9:16 - 9:19
    Then if I add x, I go there.
  • 9:19 - 9:26
    So this vector right here that
    has its endpoint right there--
  • 9:26 - 9:28
    its endpoint sits
    on that line.
  • 9:28 - 9:29
    I can do that with anything.
  • 9:29 - 9:34
    If I take this vector, this is
    some scalar times my vector v,
  • 9:34 - 9:39
    and I add x to it, I end up
    with this vector, whose
  • 9:39 - 9:42
    endpoint, if I view it as a
    position vector, it's endpoint
  • 9:42 - 9:44
    dictates some coordinate
    in the xy plane.
  • 9:44 - 9:45
    So it will [UNINTELLIGIBLE]
  • 9:45 - 9:46
    that point.
  • 9:46 - 9:48
    So I can get to any
    of these vectors.
  • 9:48 - 9:52
    This is a set of vectors right
    here, and all of these vectors
  • 9:52 - 9:54
    are going to point-- they're
    essentially going to point to
  • 9:54 - 9:57
    something-- when I draw them
    in standard form, if I draw
  • 9:57 - 10:00
    them in standard form-- they're
    going to point to a
  • 10:00 - 10:02
    point on that blue line.
  • 10:02 - 10:06
    Now you might say, hey Sal, this
    was a really obtuse way
  • 10:06 - 10:07
    of defining a line.
  • 10:07 - 10:09
    I mean we do it in Algebra 1,
    where we just say, hey you
  • 10:09 - 10:13
    know, y is equal to mx plus b.
  • 10:13 - 10:15
    And we figure out the slope by
    figuring out the difference of
  • 10:15 - 10:17
    two points, and then we do
    a little substitution.
  • 10:17 - 10:20
    And this is stuff you learned
    in seventh or eighth grade.
  • 10:20 - 10:21
    This was really straightforward.
  • 10:21 - 10:27
    Why am I defining this obtuse
    set here and making you think
  • 10:27 - 10:30
    in terms of sets and vectors
    and adding vectors?
  • 10:30 - 10:32
    And the reason is, is because
    this is very general.
  • 10:36 - 10:37
    This worked well in R2.
  • 10:37 - 10:40
    So in R2, this was great.
  • 10:40 - 10:43
    I mean, we just have to worry
    about x's and y's.
  • 10:43 - 10:46
    But what about the situation, I
    mean notice, in your algebra
  • 10:46 - 10:49
    class, your teacher never really
    told you much, at least
  • 10:49 - 10:52
    in the ones I took, about how do
    you present lines in three
  • 10:52 - 10:54
    dimensions?
  • 10:54 - 10:56
    Maybe some classes go there,
    but they definitely didn't
  • 10:56 - 10:59
    tell you how do you represent
    lines in four dimensions, or a
  • 10:59 - 11:00
    hundred dimensions.
  • 11:00 - 11:04
    And that's what this is
    going to do for us.
  • 11:04 - 11:09
    Right here, I defined x and
    v as vectors in R2.
  • 11:09 - 11:11
    They're two-dimensional vectors,
    but we can extend it
  • 11:11 - 11:15
    to an arbitrary number
    of dimensions.
  • 11:15 - 11:18
    So just to kind of hit the point
    home, let's do one more
  • 11:18 - 11:22
    example in R2, where, it's kind
    of the classic algebra
  • 11:22 - 11:25
    problem where you need to find
    the equation for the line.
  • 11:25 - 11:26
    But here, we're going
    to call it the set
  • 11:26 - 11:28
    definition for the line.
  • 11:28 - 11:30
    Let's say we have two vectors.
  • 11:30 - 11:39
    Let's say we have the vector a,
    which I'll define as-- let
  • 11:39 - 11:43
    me just says it's 2, 1.
  • 11:43 - 11:48
    So if I were draw it in standard
    form, it's 2, 1.
  • 11:48 - 11:51
    That's my vector
    a, right there.
  • 11:51 - 11:57
    And let's say I have vector
    b, let me define vector b.
  • 11:57 - 12:00
    I'm going to define it as,
    I don't know, let me
  • 12:00 - 12:05
    define it as 0, 3.
  • 12:05 - 12:08
    So my vector b, 0-- I don't
    move to the right at
  • 12:08 - 12:08
    all and I go up.
  • 12:08 - 12:13
    So my vector b will
    look like that.
  • 12:13 - 12:15
    Now I'm going to say that these
    are position vectors,
  • 12:15 - 12:17
    that we draw them in
    standard form.
  • 12:17 - 12:20
    When you draw them in standard
    form, their endpoints
  • 12:20 - 12:21
    represent some position.
  • 12:21 - 12:24
    So you can almost view these
    as coordinate points in R2.
  • 12:24 - 12:26
    This is R2.
  • 12:26 - 12:29
    All of these coordinate axes
    I draw are going be R2.
  • 12:29 - 12:33
    Now what if I asked you, give
    me a parametrization of the
  • 12:33 - 12:36
    line that goes through
    these two points.
  • 12:36 - 12:38
    So essentially, I want the
    equation-- if you're thinking
  • 12:38 - 12:42
    in Algebra 1 terms-- I want the
    equation for the line that
  • 12:42 - 12:45
    goes through these two points.
  • 12:49 - 12:51
    So the classic way, you would
    have figured out the slope and
  • 12:51 - 12:52
    all of that, and then
    you would have
  • 12:52 - 12:53
    substituted back in.
  • 12:53 - 12:57
    But instead, what we can do is,
    we can say, hey look, this
  • 12:57 - 13:02
    line that goes through both of
    those points-- you could
  • 13:02 - 13:05
    almost say that both of those
    vectors lie on-- I guess
  • 13:05 - 13:06
    that's a better-- Both of these
  • 13:06 - 13:09
    vectors lie on this line.
  • 13:09 - 13:13
    Now, what vector can be
    represented by that line?
  • 13:13 - 13:19
    Or even better, what vector,
    if I take any arbitrary
  • 13:19 - 13:24
    scalar-- can represent any other
    vector on that line?
  • 13:24 - 13:26
    Now let me do it this way.
  • 13:26 - 13:29
    What if I were to take-- so this
    is vector b here-- what
  • 13:29 - 13:32
    if I were to take b minus a?
  • 13:32 - 13:34
    We learned in, I think it was
    the previous video, that b
  • 13:34 - 13:37
    minus a, you'll get this
    vector right here.
  • 13:37 - 13:39
    You'll get the difference
    in the two vectors.
  • 13:39 - 13:43
    This is the vector b
    minus the vector a.
  • 13:43 - 13:44
    And you just think about it.
  • 13:44 - 13:46
    What do I have to add
    to a to get to b?
  • 13:46 - 13:49
    I have to add b minus a.
  • 13:49 - 13:52
    So if I can get the vector b
    minus a-- right, we know how
  • 13:52 - 13:53
    to do that.
  • 13:53 - 13:56
    We just subtract the vectors,
    and then multiply it by any
  • 13:56 - 14:01
    scalar, then we're going to get
    any point along that line.
  • 14:01 - 14:02
    We have to be careful.
  • 14:02 - 14:07
    So what happens if we take t,
    so some scalar, times our
  • 14:07 - 14:11
    vector, times the vectors
    b minus a?
  • 14:14 - 14:16
    What will we get then?
  • 14:16 - 14:17
    So b minus a looks like that.
  • 14:17 - 14:20
    But if we were to draw it in
    standard form-- remember, in
  • 14:20 - 14:22
    standard form b minus a would
    look something like this.
  • 14:26 - 14:26
    Right?
  • 14:26 - 14:28
    It would start at 0, it would be
    parallel to this, and then
  • 14:28 - 14:30
    from 0 we would draw
    its endpoint.
  • 14:30 - 14:34
    So if we just multiplied some
    scalar times b minus a, we
  • 14:34 - 14:39
    would actually just get
    points or vectors
  • 14:39 - 14:40
    that lie on this line.
  • 14:40 - 14:44
    Vectors that lie on that
    line right there.
  • 14:44 - 14:45
    Now, that's not what
    we set out to do.
  • 14:45 - 14:49
    We wanted to figure out an
    equation, or parametrization,
  • 14:49 - 14:52
    if you will, of this
    line, or this set.
  • 14:52 - 14:54
    Let's call this set l.
  • 14:54 - 14:57
    So we want to know what
    that set is equal to.
  • 14:57 - 15:03
    So in order to get there, we
    have to start with this, which
  • 15:03 - 15:06
    is this line here, and
    we have to shift it.
  • 15:06 - 15:08
    And we could shift it either by
    shifting it straight up, we
  • 15:08 - 15:11
    could add vector b to it.
  • 15:11 - 15:14
    So we could take this
    line right here, and
  • 15:14 - 15:15
    add vector b to it.
  • 15:15 - 15:18
    And so any point on here
    would have its
  • 15:18 - 15:19
    corresponding point there.
  • 15:19 - 15:21
    So when you add vector b, it
    essentially shifts it up.
  • 15:21 - 15:22
    That would work.
  • 15:22 - 15:27
    So we could, say, we could
    add vector b to it.
  • 15:27 - 15:31
    And now all of these points
    for any arbitrary-- t is a
  • 15:31 - 15:35
    member of the real numbers, will
    lie on this green line.
  • 15:35 - 15:37
    Or the other option we could
    have done is we could have
  • 15:37 - 15:38
    added vector a.
  • 15:38 - 15:41
    Vector a would have taken any
    arbitrary point here and
  • 15:41 - 15:43
    shifted it that way.
  • 15:43 - 15:44
    Right?
  • 15:44 - 15:45
    You would be adding
    vector a to it.
  • 15:45 - 15:47
    But either way, you're going to
    get to the green line that
  • 15:47 - 15:50
    we cared about, so you could
    have also defined it as the
  • 15:50 - 15:55
    set of vector a plus this line,
    essentially, t times
  • 15:55 - 16:02
    vector b minus a, where t is
    a member of the reals.
  • 16:02 - 16:04
    So my definition of
    my line could be
  • 16:04 - 16:06
    either of these things.
  • 16:06 - 16:12
    The definition of my line could
    be this set, or it could
  • 16:12 - 16:13
    be this set.
  • 16:13 - 16:15
    And all of this seems all very
    abstract, but when you
  • 16:15 - 16:17
    actually deal with the numbers,
    it actually becomes
  • 16:17 - 16:18
    very simple.
  • 16:18 - 16:22
    It becomes arguably simpler than
    what we did in Algebra 1.
  • 16:22 - 16:26
    So this l, for these particular
    case of a and b,
  • 16:26 - 16:27
    let's figure it out.
  • 16:27 - 16:31
    My line is equal to-- let me
    just use the first example.
  • 16:31 - 16:38
    It's vector b, so it's the
    vector 0, 3 plus t, times the
  • 16:38 - 16:40
    vector b minus a.
  • 16:40 - 16:42
    Well what's b minus a?
  • 16:42 - 16:52
    0 minus 2 is minus 2, 3, minus
    1 is 2, for t is a
  • 16:52 - 16:54
    member of the reals.
  • 16:54 - 16:57
    Now, if this still seems kind
    of like a convoluted set
  • 16:57 - 17:00
    definition for you, I could
    write it in terms that you
  • 17:00 - 17:01
    might recognize better.
  • 17:01 - 17:05
    If we want to plot points, if
    we call this the y-axis, and
  • 17:05 - 17:10
    we call this the x-axis,
    and if we call this the
  • 17:10 - 17:13
    x-coordinate, or maybe more
    properly that the x-coordinate
  • 17:13 - 17:17
    and call this the y-coordinate,
    then we can set
  • 17:17 - 17:18
    up an equation here.
  • 17:18 - 17:19
    This actually is the x-slope.
  • 17:22 - 17:24
    This is the x-coordinate,
    that's the y-coordinate.
  • 17:24 - 17:28
    Or actually, even better,
    whatever-- actually, let me be
  • 17:28 - 17:30
    very careful there.
  • 17:30 - 17:36
    This is always going to end up
    becoming some vector, l1, l2.
  • 17:36 - 17:36
    Right?
  • 17:36 - 17:40
    This is a set of vectors, and
    any member of this set is
  • 17:40 - 17:42
    going to look something
    like this.
  • 17:42 - 17:46
    So this could be li.
  • 17:46 - 17:50
    So, this is the x-coordinate,
    and this is the y-coordinate.
  • 17:55 - 17:57
    And just to get this in a form
    that you recognize, so we're
  • 17:57 - 18:00
    saying that l is the set of
    this vector x plus t times
  • 18:00 - 18:05
    this vector b minus a here.
  • 18:05 - 18:08
    If we wanted to write it in kind
    of a parametric form, we
  • 18:08 - 18:12
    can say, since this is what
    determines our x-coordinate,
  • 18:12 - 18:18
    we would say that x is equal to
    0 plus t times minus 2, or
  • 18:18 - 18:21
    minus 2 times t.
  • 18:21 - 18:24
    And then we can say that y,
    since this is what determines
  • 18:24 - 18:35
    our y-coordinate, y is equal to
    3 plus t times 2 plus 2t.
  • 18:35 - 18:38
    So we could have rewritten that
    first equation as just x
  • 18:38 - 18:44
    is equal to minus 2t, and
    y is equal to 2t plus 3.
  • 18:44 - 18:47
    So if you watch the videos on
    parametric equations, this is
  • 18:47 - 18:49
    just a traditional parametric
    definition of
  • 18:49 - 18:53
    this line right there.
  • 18:53 - 18:56
    Now, you might have still viewed
    this as, Sal, this was
  • 18:56 - 18:58
    a waste of time, this
    was convoluted.
  • 18:58 - 19:00
    You have to define these
    sets and all that.
  • 19:00 - 19:03
    But now I'm going to show you
    something that you probably--
  • 19:03 - 19:05
    well, unless you have done
    this before, but I guess
  • 19:05 - 19:06
    that's true of anything.
  • 19:06 - 19:08
    But you probably haven't
    seen in your
  • 19:08 - 19:10
    traditional algebra class.
  • 19:10 - 19:12
    Let's say I have two points, and
    now I'm going to deal in
  • 19:12 - 19:14
    three dimensions.
  • 19:14 - 19:16
    So let's say I have
    one vector.
  • 19:16 - 19:18
    I'll just call it point
    1, because these
  • 19:18 - 19:19
    are position vectors.
  • 19:19 - 19:22
    We'll just call it position 1.
  • 19:22 - 19:23
    This is in three dimensions.
  • 19:23 - 19:28
    Just make up some numbers,
    negative 1, 2, 7.
  • 19:28 - 19:30
    Let's say I have Point 2.
  • 19:30 - 19:33
    Once again, this is in three
    dimensions, so you have to
  • 19:33 - 19:34
    specify three coordinates.
  • 19:34 - 19:37
    This could be the x, the y,
    and the z coordinate.
  • 19:37 - 19:37
    Point 2, I don't know.
  • 19:37 - 19:43
    Let's make it 0, 3, and 4.
  • 19:43 - 19:46
    Now, what if I wanted to find
    the equation of the line that
  • 19:46 - 19:50
    passes through these
    two points in R3?
  • 19:50 - 19:51
    So this is in R3.
  • 19:53 - 19:57
    Well, I just said that the
    equation of this line-- so
  • 19:57 - 20:01
    I'll just call that, or the set
    of this line, let me just
  • 20:01 - 20:03
    call this l.
  • 20:03 - 20:06
    It's going to be equal to-- we
    could just pick one of these
  • 20:06 - 20:11
    guys, it could be P1, the
    vector P1, these are all
  • 20:11 - 20:13
    vectors, be careful here.
  • 20:13 - 20:18
    The vector P1 plus some random
    parameter, t, this t could be
  • 20:18 - 20:21
    time, like you learn when you
    first learn parametric
  • 20:21 - 20:25
    equations, times the difference
    of the two vectors,
  • 20:25 - 20:29
    times P1, and it doesn't matter
    what order you take it.
  • 20:29 - 20:30
    So that's a nice thing too.
  • 20:30 - 20:32
    P1 minus P2.
  • 20:32 - 20:35
    It could be P2 minus P1--
    because this can take on any
  • 20:35 - 20:41
    positive or negative value--
    where t is a member of the
  • 20:41 - 20:42
    real numbers.
  • 20:42 - 20:44
    So let's apply it to
    these numbers.
  • 20:44 - 20:45
    Let's apply it right here.
  • 20:45 - 20:48
    What is P1 minus P2?
  • 20:48 - 20:55
    P1 minus P2 is equal to-- let
    me get some space here.
  • 20:55 - 21:00
    P1 minus P2 is equal, minus
    1 minus 0 is minus 1.
  • 21:00 - 21:05
    2 minus 3 is minus 1.
  • 21:05 - 21:08
    7 minus 4 is 3.
  • 21:08 - 21:09
    So that thing is that vector.
  • 21:09 - 21:13
    And so, our line can be
    described as a set of vectors,
  • 21:13 - 21:18
    that if you were to plot it in
    standard position, it would be
  • 21:18 - 21:20
    this set of position vectors.
  • 21:20 - 21:24
    It would be P1, it would be--
    let me do that in green-- it
  • 21:24 - 21:29
    would be minus 1, 2, 7.
  • 21:29 - 21:39
    I could've put P2 there, just as
    easily-- plus t times minus
  • 21:39 - 21:45
    1, minus 1, 3, where, or such
    that, t is a member of the
  • 21:45 - 21:47
    real numbers.
  • 21:47 - 21:50
    Now, this also might not
    be satisfying for you.
  • 21:50 - 21:53
    You're like, gee, how do I plot
    this in three dimensions?
  • 21:53 - 21:55
    Where's my x, y's, and z's?
  • 21:55 - 21:58
    And if you want to care about
    x, y's, and z's, let's say
  • 21:58 - 22:06
    that this is the z-axis.
  • 22:06 - 22:09
    This is the x-axis, and
    let's say the y-axis.
  • 22:09 - 22:13
    It kind of goes into our board
    like this, so the y-axis comes
  • 22:13 - 22:14
    out like that.
  • 22:18 - 22:20
    So what you can do, and actually
    I probably won't
  • 22:20 - 22:24
    graph, so the determinate for
    the x-coordinate, just our
  • 22:24 - 22:27
    convention, is going to be
    this term right here.
  • 22:27 - 22:30
    So we can write that x--
    let me write that down.
  • 22:30 - 22:31
    So that term is going to
    determine our x-coordinate.
  • 22:31 - 22:36
    So we can write that x is equal
    to minus 1-- be careful
  • 22:36 - 22:42
    with the colors-- minus 1,
    plus minus 1 times t.
  • 22:46 - 22:49
    That's our x-coordinate.
  • 22:49 - 22:53
    Now, our y-coordinate is going
    to be determined by this part
  • 22:53 - 22:55
    of our vector addition because
    these are the y-coordinates.
  • 22:55 - 22:59
    So we can say the y-coordinate
    is equal to-- I'll just write
  • 22:59 - 23:05
    it like this-- 2 plus
    minus 1 times t.
  • 23:05 - 23:09
    And then finally, our
    z-coordinate is determined by
  • 23:09 - 23:12
    that there, the t shows up
    because t times 3-- or I could
  • 23:12 - 23:14
    just put this t into
    all of this.
  • 23:14 - 23:20
    So that the z-coordinate is
    equal to 7 plus t times 3, or
  • 23:20 - 23:23
    I could say plus 3t.
  • 23:23 - 23:26
    And just like that, we have
    three parametric equations.
  • 23:26 - 23:29
    And when we did it in R2, I did
    a parametric equation, but
  • 23:29 - 23:31
    we learned in Algebra 1,
    you can just have a
  • 23:31 - 23:32
    regular y in terms x.
  • 23:32 - 23:34
    You don't have to have a
    parametric equation.
  • 23:34 - 23:37
    But when you're dealing in R3,
    the only way to define a line
  • 23:37 - 23:39
    is to have a parametric
    equation.
  • 23:39 - 23:41
    If you have just an equation
    with x's, y's, and z's, if I
  • 23:41 - 23:47
    just have x plus y plus z is
    equal to some number, this is
  • 23:47 - 23:49
    not a line.
  • 23:49 - 23:51
    And we'll talk more
    about this in R3.
  • 23:51 - 23:52
    This is a plane.
  • 23:55 - 23:58
    The only way to define a line
    or a curve in three
  • 23:58 - 24:01
    dimensions, if I wanted to
    describe the path of a fly in
  • 24:01 - 24:04
    three dimensions, it has to
    be a parametric equation.
  • 24:04 - 24:07
    Or if I shoot a bullet in three
    dimensions and it goes
  • 24:07 - 24:10
    in a straight line, it has to
    be a parametric equation.
  • 24:10 - 24:12
    So these-- I guess you could
    call it-- these are the
  • 24:12 - 24:16
    equations of a line in
    three dimensions.
  • 24:16 - 24:17
    So hopefully you found
    that interesting.
  • 24:17 - 24:20
    And I think this will be the
    first video where you have an
  • 24:20 - 24:23
    appreciation that linear algebra
    can solve problems or
  • 24:23 - 24:25
    address issues that you
    never saw before.
  • 24:25 - 24:28
    And there's no reason why we
    have to just stop at three,
  • 24:28 - 24:29
    three coordinates, right here.
  • 24:29 - 24:31
    We could have done this
    with fifty dimensions.
  • 24:31 - 24:35
    We could have defined a line in
    fifty dimensions-- or the
  • 24:35 - 24:40
    set of vectors that define a
    line, that two points sit on,
  • 24:40 - 24:43
    in fifty dimensions-- which is
    very hard to visualize, but we
  • 24:43 - 24:45
    can actually deal with
    it mathematically.
Title:
Linear Algebra: Parametric Representations of Lines
Description:

more » « less
Video Language:
English
Team:
Khan Academy
Duration:
24:46

English subtitles

Revisions Compare revisions