In this part we’ll define continuity when dealing with functions with several variables. We’ll also start looking at derivatives of functions of several variables.
Continuity
Let’s recall what continuity of a function with one variable is defined:
Recall (Continuity in one variable)
A function of one variable is continuous at a point, a∈D if:
x→alimf(x)=f(a)
In functions with several variables, it’s the same:
(x,y)→(a,b)limf(x,y)=f(a,b)
We say f is continuous on its domain, if f is continuous at each point, (a,b)∈D
Continuity laws
Suppose fandg are functions of two variables. h, is a function of one variable. Which are continuous in their respective domains, then:
f±gf⋅g(gf)h(f(x,y))
All of the above, are continuous on their domains.
Example 1f(x,y)=x∣ is continuous at R2
Proof:
(x,y)→(a,b)limf(x,y)=f(a,b)=aUsing the limit law: (x,y)→(a,b)limx=a
Similarly f(x,y)=y is continuous at R2.
f(x,y)=x3y−y2+x∣ is continuous at R2
Proof:
Since polynomials are combinations of f(x,y)=x and f(x,y)=y, using continuity laws (or limit laws), we can easily prove this.
f(x,y)=y−xx3y3−x4y∣ is continuous on its domain
The domain of f is:
{(x,y)∣y−x=0}f(x,y)=ex2−y∣ is continuous at R2
Using the composition law of continuity, we easily prove that this function is a continuous function, on its domain. In this case it’s still R2.
Knowing whether a function is continuous or not is very powerful, knowing that the above function is continuous makes:
(x,y)→(a,b)limex2−y=e12−3=e−2
Trivial.
Example 2
Determine if this function is continuous:
f(x,y)=⎩⎨⎧x2+3y4xy20(x,y)=(0,0)(x,y)=(0,0)
Solution:
If the function is continuous, using the definition, then:
Using the law of limits and the definition, we find that this limit does not exist since:
Along x=0
x2+3y4xy2=3y40=0
Along x=y2
x2+3y4xy2=y4+3y4y4=41
Which tells us that f(x,y) is not continuous at (0,0).
Example 3f(x,y)=⎩⎨⎧x2+y2x4−y40(x,y)=(0,0)(x,y)=(0,0)(x,y)→(0,0)limx2+y2x4−y4=0(x,y)→(0,0)limx2+y2x4−y4(x,y)→(0,0)limx2+y2(x2+y2)(x2−y2)(x,y)→(0,0)lim(x2−y2)0===
Which means it is continuous at (0,0).
Partial derivatives
Let’s first start with recalling the definition of derivative for functions with one variable:
h→0limhf(x+h)−f(x)
Since we’re dealing with several variables, we need to choose what variable to respect, meaning what variable has a small increase.
Definition 1 (Partial derivative)
The partial derivate of a function of two variables with respect to x, denoted by fx, is the function of two variables given by:
fx(x,y)=h→0limhf(x+h,y)−f(x,y)
Similarly for y:
fy(x,y)=h→0limhf(x,y+h)−f(x,y)
In other words what this means, the partial derivate with respect to a variable, we treat all other variables as they were constants.
Example 4f(x,y)=x2y+y3fx(x,y)=2xyfy(x,y)=x2+3y2f(x,y)=sin(x2y−3x)fx(x,y)=cos(x2y−3x)⋅(2xy−3)∣chain rulefy(x,y)=cos(x2y−3x)⋅x2∣chain rulef(x,y,z)=x2z+xy−7yz5fz(x,y,z)=x2−35yz4
Summary
As we have seen continuity is quite similar when dealing with functions of several variables. The partial derivate of functions of several variables are also quite trivial since we treat the other variables as constants!