1. Home
  2. Explore
  3. Mathematics
  4. Differentiability in Real Analysis

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Differentiability in Real Analysis

Speaker 1Speaker 2

Differentiability in Real Analysis

10:46
0:00-10:46
  1. Michael

    Welcome back. Today we’re taking our first serious look at differentiability, a major idea in Real Analysis 2. We’ll begin with the general definition for a function from R^n to R^m, connect it to the familiar derivative from single-variable calculus, work through an example from R^2 to R^3, and finish with two equivalent ways to state the same idea.

  2. Anna

    So we’re moving beyond just functions of one real variable. We’ll allow the input and output to both be vectors, which means the derivative can no longer simply be a number.

  3. Michael

    Exactly. Suppose f maps a domain A in R^n into R^m, and let p be a point in the domain. We assume A is open because that guarantees p is an interior point. Therefore, we can approach p from any direction while staying in the domain. The openness assumption is convenient rather than absolutely necessary, but it makes the limit easier to formulate.

  4. Anna

    And the derivative at p is supposed to be a linear transformation, not necessarily a scalar?

  5. Michael

    Right. We say f is differentiable at p if there exists a linear transformation Df(p) from R^n to R^m such that

  6. Michael

    the limit as x approaches p of the norm of f(x) minus f(p) minus Df(p) acting on x minus p, divided by the norm of x minus p, equals zero. In symbols, the condition is: the limit of ||f(x) - f(p) - Df(p)(x-p)|| divided by ||x-p|| equals 0.

  7. Anna

    Some books use Jf(p) instead of Df(p), correct?

  8. Michael

    Yes. A different text may call the associated linear transformation Jf(p), and that notation is completely fine. Since Df(p) is linear from R^n to R^m, it has an associated m-by-n matrix. We often blur the distinction and use Df(p) to refer either to the transformation itself or to its matrix representation.

  9. Anna

    Let’s check the dimensions carefully, because the formula looks abstract at first.

  10. Michael

    Good idea. Both f(x) and f(p) are vectors in R^m, so each can be viewed as an m-by-1 column vector. The difference x-p is a vector in R^n, or an n-by-1 column. The matrix for Df(p) is m-by-n, so multiplying it by x-p produces an m-by-1 vector in R^m. Therefore, the entire expression inside the numerator norm is a vector in R^m.

  11. Anna

    So the numerator uses a norm on R^m, while the denominator uses a norm on R^n.

  12. Michael

    Exactly. The denominator is simply the size of x-p, the distance from x to p in the input space. As x approaches p, that denominator always approaches zero, regardless of which function f we are studying.

  13. Anna

    That means the quotient has the familiar potential problem of being zero over zero.

  14. Michael

    Yes, and that is expected. If f is differentiable, the numerator must also approach zero, because at x=p the expression becomes f(p)-f(p)-Df(p)(0), which is zero. But merely having a numerator and denominator that both approach zero is not enough. The numerator must become small rapidly enough that the ratio itself approaches zero.

  15. Anna

    So when people casually say the numerator goes to zero faster than the denominator, the precise meaning is that their quotient goes to zero.

  16. Michael

    Exactly. Differentiability is about finding a linear transformation that captures the first-order behavior of f near p. Define the first-order approximation by Lp(x) = f(p) + Df(p)(x-p). It is often called the linear approximation, although technically it is affine because of the constant term f(p).

  17. Anna

    Why does this approximation match f at p automatically?

  18. Michael

    Because when x=p, the vector x-p is zero. Every linear transformation sends zero to zero, so Lp(p)=f(p). Near p, x-p is small, and linear transformations send small vectors to small vectors. The important question is whether this particular transformation makes Lp(x) approximate the actual value f(x) so well that the error becomes negligible compared with the distance from x to p.

  19. Anna

    That error is the remainder, right?

  20. Michael

    Right. Let R(x)=f(x)-Lp(x). Then R(x) is exactly the expression inside the numerator norm. Differentiability at p means there is a linear transformation Df(p) for which the remainder satisfies ||R(x)|| divided by ||x-p|| tending to zero. In other words, the error is much smaller than the first-order change represented by x-p.

  21. Anna

    Let’s connect that with the derivative everyone knows from Calculus 1.

  22. Michael

    Suppose f maps R to R. Then x and p are scalars, and the norms become absolute values. Also, every linear transformation from R to R is multiplication by a scalar, say m. The differentiability condition becomes the limit as x approaches p of the absolute value of [f(x)-f(p)-m(x-p)] divided by |x-p| equaling zero.

  23. Anna

    Since the numerator and denominator are scalar quantities, we can combine the absolute values and look at the absolute value of the quotient itself.

  24. Michael

    Yes. We rewrite the inside as [f(x)-f(p)] divided by (x-p), minus m. Since the limit of its absolute value is zero, the difference quotient must approach m. Therefore, m equals the familiar derivative f'(p), namely the limit of [f(x)-f(p)] divided by (x-p).

  25. Anna

    And then the first-order approximation becomes Lp(x)=f(p)+f'(p)(x-p), which is the equation of the tangent line through (p,f(p)).

  26. Michael

    Exactly. For a function from R to R, differentiability means the graph is well approximated near p by its tangent line. A corner illustrates what fails: a line may pass through the point, but as soon as you move away from it, the line does not approximate the function well enough. For a differentiable curve, the tangent-line error is small enough relative to |x-p| that the quotient goes to zero.

  27. Anna

    So the multivariable definition is not a completely new idea. It generalizes tangent-line approximation, replacing the tangent line with an affine first-order approximation determined by a linear map.

  28. Michael

    That’s the central connection. Now let’s test the definition on a concrete vector-valued example. Consider f from R^2 to R^3 defined by f(x,y)=(x,y^2,xy). We want to prove that f is differentiable at every point (a,b). We are given the candidate matrix for Df(a,b):

  29. Michael

    the 3-by-2 matrix with rows (1,0), (0,2b), and (b,a).

  30. Anna

    The dimensions make sense: the input is in R^2, the output is in R^3, so the derivative matrix must have three rows and two columns.

  31. Michael

    Let’s calculate the remainder. It is f(x,y)-f(a,b) minus the matrix above multiplied by the column vector (x-a,y-b). Substituting the function gives the vector (x-a, y^2-b^2, xy-ab), minus the matrix product.

  32. Michael

    The matrix product is (x-a, 2b(y-b), b(x-a)+a(y-b)). Therefore, the remainder is the difference between those two vectors.

  33. Anna

    Now the useful algebra is to expose factors of x-a and y-b, because both approach zero as (x,y) approaches (a,b).

  34. Michael

    Exactly. Factor y^2-b^2 as (y-b)(y+b), and simplify the third coordinate as well. After subtracting the matrix product, the remainder becomes (0,(y-b)^2,(x-a)(y-b)). Equivalently, we can factor out y-b and write it as (y-b)(0,y-b,x-a).

  35. Anna

    That form makes the extra small factor visible.

  36. Michael

    Now form the differentiability quotient. The norm of the remainder is |y-b| times the norm of (0,y-b,x-a). Using the Euclidean norm, that is |y-b| times the square root of (y-b)^2+(x-a)^2. The denominator is the norm of (x-a,y-b), which is the same square root.

  37. Anna

    So the square roots cancel, leaving the limit of |y-b| as (x,y) approaches (a,b).

  38. Michael

    And that limit is zero because y approaches b. Therefore, f is differentiable at (a,b). Since (a,b) was arbitrary, f is differentiable at every point in R^2. This calculation also confirms that the proposed 3-by-2 matrix really is the correct associated linear transformation.

  39. Anna

    It also illustrates why zero over zero is only the starting point. Both numerator and denominator go to zero, but the numerator has an additional factor |y-b| after cancellation, which forces the quotient to zero. Without that extra factor, the limit could instead be one or some other nonzero value.

  40. Michael

    Exactly. Now let’s translate the definition into an epsilon-delta statement. The original limit equals zero if, for every epsilon greater than zero, there exists a delta greater than zero such that whenever 0<||x-p||<delta, we have

  41. Michael

    ||f(x)-f(p)-Df(p)(x-p)|| divided by ||x-p|| less than epsilon.

  42. Anna

    And multiplying by the positive denominator gives the equivalent inequality

  43. Anna

    ||f(x)-f(p)-Df(p)(x-p)|| < epsilon ||x-p||.

  44. Michael

    Right. This version says that the approximation error is bounded by epsilon times the distance from x to p, whenever x is sufficiently close to p. It often appears naturally in proofs involving neighborhoods and epsilon-delta arguments. Notice that we usually keep ||x-p|| on the right rather than replacing it with delta, because the pointwise distance gives the sharper and more informative statement.

  45. Anna

    What is the other equivalent formulation?

  46. Michael

    We can write f directly as its first-order approximation plus an error term. Specifically, f(x)=f(p)+Df(p)(x-p)+R(x), where the remainder satisfies

  47. Michael

    the limit as x approaches p of ||R(x)|| divided by ||x-p|| equals zero.

  48. Anna

    So this is not a different mathematical condition. It simply names the numerator expression R(x) and emphasizes that f is the approximation plus a very small error.

  49. Michael

    Exactly. The three presentations are equivalent: the quotient limit, the epsilon-delta inequality, and the approximation-plus-remainder form. They all express the same central idea: near p, f behaves like f(p)+Df(p)(x-p), with an error that becomes negligible compared with ||x-p||.

  50. Anna

    And the key objects to keep straight are the dimensions: f(x) and f(p) live in R^m, x-p lives in R^n, and Df(p) is a linear map from R^n to R^m represented by an m-by-n matrix.

  51. Michael

    That’s the essential first picture of differentiability. Memorize the main expression, recognize the first-order approximation, and remember that differentiability means the remainder vanishes faster than the input displacement in the precise sense that their ratio tends to zero.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent