< Return to Video

Local linearity and differentiability

  • 0:01 - 0:02
    - [Instructor] What we're
    going to do in this video
  • 0:02 - 0:06
    is explore the relationship
    between local linearity
  • 0:06 - 0:10
    at a point and
    differentiability at a point.
  • 0:10 - 0:13
    So local linearity is this
    idea that if we zoom in
  • 0:13 - 0:15
    sufficiently on a point,
  • 0:15 - 0:18
    that even a non-linear
    function that is differentiable
  • 0:18 - 0:21
    at that point will actually look linear.
  • 0:21 - 0:24
    So let me show some examples of that.
  • 0:24 - 0:26
    So let's say we had y
  • 0:26 - 0:26
    is equal to
  • 0:28 - 0:28
    x squared.
  • 0:30 - 0:33
    So that's that there, clearly
    a non-linear function.
  • 0:33 - 0:35
    But we can zoom in on a point,
  • 0:35 - 0:37
    and if we zoom sufficiently in,
  • 0:37 - 0:40
    we will see that it looks roughly linear.
  • 0:40 - 0:43
    So let's say we wanna zoom in
    on the point one comma one,
  • 0:43 - 0:44
    so let's do that.
  • 0:44 - 0:47
    So zooming in on the point one comma one,
  • 0:47 - 0:52
    already it is looking
    roughly linear at that point.
  • 0:52 - 0:55
    And this property of local linearity
  • 0:55 - 0:57
    is very helpful
  • 0:57 - 1:00
    when trying to approximate
    a function around a point.
  • 1:00 - 1:01
    So for example, we could figure out,
  • 1:01 - 1:04
    we could take the derivative
    at the point one one,
  • 1:04 - 1:06
    use that as the slope of our tangent line,
  • 1:06 - 1:08
    find the equation of the tangent line,
  • 1:08 - 1:12
    and use that equation
    to approximate values
  • 1:12 - 1:14
    of our function around
  • 1:15 - 1:16
    x equals one.
  • 1:17 - 1:18
    And you might not need to do that
  • 1:18 - 1:20
    for y is equal to x squared,
  • 1:20 - 1:22
    but it could actually be very very useful
  • 1:22 - 1:24
    for a more complex function.
  • 1:24 - 1:26
    But the big takeaway here,
  • 1:26 - 1:27
    at the point one one,
  • 1:27 - 1:31
    it is displaying this
    idea of local linearity,
  • 1:31 - 1:34
    and it is also
    differentiable at that point.
  • 1:34 - 1:36
    Now let's look at another example
  • 1:36 - 1:39
    of a point on a function
  • 1:39 - 1:40
    where we aren't differentiable,
  • 1:40 - 1:43
    and we also don't see the local linearity.
  • 1:43 - 1:44
    So for example,
  • 1:45 - 1:46
    let's do the
  • 1:48 - 1:49
    absolute value of x,
  • 1:51 - 1:53
    and let me shift it over a little bit
  • 1:53 - 1:57
    just so that we don't overlap as much.
  • 1:57 - 2:01
    Alright, so the absolute
    value of x minus one.
  • 2:01 - 2:03
    It actually is differentiable
  • 2:03 - 2:06
    as long as we're not at
    this corner right over here,
  • 2:06 - 2:09
    as long as we're not at
    the point one comma zero.
  • 2:09 - 2:12
    For any other x value,
    it is differentiable,
  • 2:12 - 2:14
    but right at x equals one,
  • 2:14 - 2:16
    we've talked in other videos
  • 2:16 - 2:18
    how we aren't differentiable there.
  • 2:18 - 2:20
    And then we can use this
    local linearity idea
  • 2:20 - 2:22
    to test it as well.
  • 2:22 - 2:24
    And once again, this is
    not rigorous mathematics,
  • 2:24 - 2:26
    but it is to give you an intuition.
  • 2:26 - 2:29
    No matter how far we zoom in,
  • 2:30 - 2:32
    we still see this sharp corner.
  • 2:33 - 2:36
    It would be hard to construct
    the only tangent line,
  • 2:36 - 2:41
    a unique line, that goes through
    this point one comma zero.
  • 2:41 - 2:43
    I can construct an actual
    infinite number of lines
  • 2:43 - 2:45
    that go through one comma zero
  • 2:45 - 2:49
    but that do not go through
    the rest of the curve.
  • 2:49 - 2:50
    And so notice,
  • 2:50 - 2:52
    wherever you see a hard
    corner like we're seeing
  • 2:52 - 2:55
    at one comma zero in this
    absolute value function,
  • 2:55 - 2:57
    that's a pretty good indication
  • 2:57 - 2:59
    that we are not going to be differentiable
  • 2:59 - 3:00
    at that point.
  • 3:01 - 3:03
    Now let's zoom out a little bit,
  • 3:03 - 3:05
    and let's take another function.
  • 3:05 - 3:07
    Let's take a function where
  • 3:07 - 3:09
    the differentiability or the
    lack of differentiability
  • 3:09 - 3:11
    is not because of a corner,
  • 3:11 - 3:13
    but it's because as we zoom in,
  • 3:13 - 3:14
    it starts to look linear,
  • 3:14 - 3:17
    but it starts to look
    like a vertical line.
  • 3:17 - 3:19
    So a good example of that would be
  • 3:19 - 3:20
    square root of
  • 3:21 - 3:23
    let's say
  • 3:23 - 3:25
    four minus x squared.
  • 3:27 - 3:30
    So that's the top half of
    a circle of radius two.
  • 3:30 - 3:33
    And let's focus on the
    point two comma zero.
  • 3:33 - 3:35
    Because right over there,
  • 3:35 - 3:37
    we actually are not differentiable,
  • 3:37 - 3:39
    and if we zoom in far enough,
  • 3:39 - 3:41
    we see right at two comma zero
  • 3:41 - 3:44
    that we are approaching
  • 3:44 - 3:46
    what looks like a vertical line.
  • 3:49 - 3:50
    So once again,
  • 3:50 - 3:55
    we would not be differentiable
    at two comma zero.
  • 3:55 - 3:56
    Now another thing I wanna point out,
  • 3:56 - 3:59
    all of these, you really
    didn't have to zoom in too much
  • 3:59 - 4:01
    to appreciate that hey I got a corner here
  • 4:01 - 4:02
    on this absolute value function,
  • 4:02 - 4:06
    or at two comma zero, or
    at negative two comma zero,
  • 4:06 - 4:08
    something a little bit
    stranger than normal
  • 4:08 - 4:11
    is happening there, so maybe
    I'm not differentiable.
  • 4:11 - 4:14
    But there are some functions
    that we don't see as typically
  • 4:14 - 4:17
    in a algebra or precalculus
    or calculus class,
  • 4:17 - 4:20
    but it can look like a hard corner
  • 4:20 - 4:22
    from a zoomed out perspective,
  • 4:22 - 4:25
    but as we zoom in once again
    we'll see the local linearity,
  • 4:25 - 4:28
    and they are also
    differentiable at those points.
  • 4:28 - 4:30
    So a good example of that,
  • 4:30 - 4:32
    let me actually get rid of some of these
  • 4:32 - 4:35
    just so that we can really zoom in.
  • 4:35 - 4:37
    Let's say y is equal to x
  • 4:38 - 4:41
    to the, and I'm gonna make
    a very large exponent here,
  • 4:41 - 4:43
    so x to the 10th power.
  • 4:43 - 4:46
    It's starting to look at
    little bit like a corner there.
  • 4:46 - 4:48
    Let's make it to the 100th power.
  • 4:48 - 4:50
    Well now it's looking even
    more like a corner there.
  • 4:50 - 4:53
    Let me go to the 1,000th
    power just for good measure.
  • 4:53 - 4:54
    So at this scale,
  • 4:54 - 4:57
    it looks like we have
    a corner at the point
  • 4:57 - 4:58
    one comma zero.
  • 4:59 - 5:01
    Now this curve actually
    does not go to the point
  • 5:01 - 5:03
    one comma zero.
  • 5:03 - 5:04
    If x is one,
  • 5:04 - 5:05
    then y is going to be one,
  • 5:05 - 5:07
    and we'll see that as we zoom in,
  • 5:07 - 5:10
    this what looks like a hard corner
  • 5:10 - 5:12
    is going to soften.
  • 5:12 - 5:13
    And that's good because this function
  • 5:13 - 5:17
    is actually differentiable
    at every value of x.
  • 5:17 - 5:18
    It's a little bit more exotic
  • 5:18 - 5:19
    that what we typically see,
  • 5:19 - 5:21
    but as we zoom in,
    we'll actually see that.
  • 5:21 - 5:23
    Let's just zoom in on what looks like
  • 5:23 - 5:25
    a fairly hard corner,
  • 5:25 - 5:28
    but if we zoom sufficiently enough,
  • 5:28 - 5:30
    even at the part that
    looks like the hardest part
  • 5:30 - 5:31
    of the corner,
  • 5:31 - 5:33
    the real corner, we'll see
    that it starts to soften
  • 5:33 - 5:35
    and it curves.
  • 5:35 - 5:36
    And if we zoom in sufficiently,
  • 5:36 - 5:40
    it will actually look like a line.
  • 5:40 - 5:42
    It's hard to believe when
    you're really zoomed out,
  • 5:42 - 5:45
    and I'm going at the point that
    really looked like a corner
  • 5:45 - 5:47
    from a distance.
  • 5:47 - 5:48
    But as we zoom on in,
  • 5:48 - 5:52
    we see once again this local linearity
  • 5:52 - 5:54
    that's a non-vertical line.
  • 5:54 - 5:57
    And so once again, this is true
    at any point on this curve,
  • 5:57 - 5:59
    that we are going to be differentiable.
  • 5:59 - 6:01
    So the whole point here is,
  • 6:01 - 6:02
    sometimes you might have to zoom in a lot,
  • 6:02 - 6:05
    a tool like Desmos which
    I'm using right now
  • 6:05 - 6:07
    is very helpful for doing that.
  • 6:07 - 6:09
    And this isn't rigorous mathematics,
  • 6:09 - 6:12
    but it's to give you an intuitive sense
  • 6:12 - 6:14
    that if you zoom in sufficiently,
  • 6:14 - 6:16
    and you start to see a
    curve looking more and more
  • 6:16 - 6:18
    like a line,
  • 6:18 - 6:20
    good indication that
    you are differentiable.
  • 6:20 - 6:22
    If you keep zooming in and it still looks
  • 6:22 - 6:23
    like a hard corner,
  • 6:23 - 6:24
    of if you zoom in and it looks like
  • 6:24 - 6:26
    the tangent might be vertical,
  • 6:26 - 6:29
    well then some questions
    should arise in your brain.
Title:
Local linearity and differentiability
Description:

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

English subtitles

Revisions