We see that this holds true for polynomials. Since any function can be approximated by polynomials, it’s not surprising Clairaut’s theorem holds.
Remark 1
Suppose, f, is a composition of sin(x), cos(x), polynomials and the exponential function. For example:
f(x,y)=ecos(xy−3⋅sin(xy))
Since all of these functions are differentiable any amount of times and all of these are continuous. This must mean that partial derivatives of any order must also be continuous.
This means we can easily use Clairaut’s theorem, since it only applies to functions that are continuous. Therefore we do not need to know if the partial derivatives are continuous ahead of time.
Example 2
Find fxy:
f(x,y)=sin(ex⋅cos(x−3))+xy
Trying to first compute fx will prove to be quite tricky, but using Clairaut’s theorem this problem is trivial:
fy(x,y)=xfyx(x,y)=1
Notation
There are a lot of different notations for partial derivatives.
We’ll mainly use fx and fy.
We can derive how many times we want, with how many variables we want:
fxxx,fxxy,fxyx,…
This also includes Clairaut’s theorem.
Geometrical sense
Let’s try to understand what derivatives in two variables looks like geometricaly.
For one variable, it is:
f′(a)= the slope of the tangent line to the graph at (a,f(a)). We could also say that this is the rate of change at point a.
For two variables:
fx(a,b) intersects the graph by the vertical plane, y=b. C, is the curve of the intersection. In other words fx(a,b) = the slope of the tangent line T.
We could also say:
Intuition
Rate of change in the direction of the variable (we are differentiating)
Differentiability
For one function, the following statement holds:
Note
f is differentiable ⇒f has derivate at a, meaning f′(a) exists.
When dealing with several variables, this becomes tricky. Let’s look at the definition and see what we can do:
f′(a)=x→0limhf(x+h)−f(x)
This just means we have a small change in x, so let’s say:
Δx=h
Let’s define the small change in the function value as:
Δy:=f(a+Δx)−f(a)
Then, the derivate is:
f′(a)=Δx→0limΔxΔy
Let’s move around the terms:
Δx→0limΔxΔy−f′(a)=0
Let’s now call this for ε:
ε=ΔxΔy−f′(a)
We can define this as a function of Δx:
ε=ε(Δx)
Which means:
εΔx=Δy−f′(a)Δx
Which finally means:
Δy=εΔx+f′(a)Δx
And as Δx→0, ε→0 as well.
For functions of two variables, we can now instead define Δz: