Documente Academic
Documente Profesional
Documente Cultură
Structure
9.1 Introduction
Objectives
9.2 Jacobians
Definition and Examples
Partial Wrivatives of Implicit Functions
9.3 ChainRule
9.4 Functional Dependence
Domains in R"
Dependence
9.5 Summary
9.6 Solutions and Answers
9.1 INTRODUCTION
The main purpose of this unit is to introduce you to the important notion of Jacobians. We
show how Jacobians can be used to evaluate derivatives of functions defined implicitly. We
also bring out the connection between functional dependence and Jacobians. For this we need
an auxiliary but important result, that if all points of a domain are stationary points of a
function, then the function must be constant. Naturally, we have to tell you what a domain
is, and this is done in one of the sub-sections.
The real importance and usefulness of Jacobians will be clear to you in the next unit, where
these will be used for the study of invertibility of functions and explicit determination of
functions defined implicitly. You will also come across Jacobians in the next block, when
you study change of variables in multiple integrals.
Objectives
After working through this unit you should be able to :
calculate the Jacobians, whenever they exist, of functions of two or three variables,
use the chain rule for Jacobians to calculate the Jacobians of many more functions and
I.
to find formulas for the derivatives of functions which are defined implicity,
identify domains in RZ,
determine whether two functions are dependent on each other or not.
b
9.2 JACOBIANS
Derlvatives 2) Similarly, in the integral J f(x) dx, if we make the substitution x = 4 (t), then the
integrand is replaced by f(# (t) ) 4 ' (t) and J f(x) dx = 1 f(4 (t)) 4 '(t) dt, where a = 4 (a)
a a
and b = 4 (p 1. (See Calculus, Sec. 11.3).
Suppose u = f(x, y), v = g (x, y), so that (x, y) + (u,v) is a mapping from RZ+ RZ.What
is the condition that the functions f, g should satisfy so that the transformation (x, y) +
(u, V)is invertible in some open disc containing the point (x,, yo) ?
A similar question will arise when we have defined integrals of functions of two variables
and would like to change the variables of integration.
In this section we introduce you to the notion of Jacobian, which has really no analogue in
the lheory of functions of one variable. However, Jacobians play the same role as the
derivative in the two problems mentioned above. It has many other applications. We shall
discuss some of these presently.
Then the equations (1) and (2) define a linear transformation 4 : (x, y) + (u, v) from RZto
RZ.Moreover, you know from your study of linear equations that the transfopation 4 is
invertible if and only if the determinant
Therefore, we can say that the transformation defined by (1) and (2) is invertible if and only
if the determinant of the matrix
is non-zero.
Obviously, the above matrix and its determinant make sense even if u and v are not linear
functions of x, y, but are any real-valued functions of x and y. We shall see later, in
Unit 10, that if this matrix has non-zero determinant, then given any point (x,, yo) E RZ,
there exists a neighbourhood N of (%, yo) on which the transformation 4 is invertible. Thus,
this is the new notion we were looking for, which provides us some answer to the first
question raised in the beginning of this section. The same notion would provide an answer to
the second question also. But for this you have to wait till the next block. Now we give the
precise definition.
Definition 1 : Let f, , ...., f,, be n real-valued functions of n variables x,, .....,x,, having
first order partial derivatives at a point a = (a,, ....., a,,). Then the matrix
Jacobians
is called the Jacobian matrix of the functions f,, ....., f, at (a,, ..... a,, ).The determinant
of this matrix is called the Jacobian of the functions at (a,, ....... a,,).
As in the case of partial derivatives, if we don't have any specific point a = (a,, ....... a,,) in
mind, then the Jacobian matrix is written as
Jacobi (1804 - 1851)
......... ' Jacobians were innoduced by
2x1 3x2 the German mathematician
Carl Gustav Jacob JaCobi.
.. .. ..
.. .. ..
!
..........
a(f ,,.......,fn)
and the Jacobian is denoted by
,,........,xn)
In Sec. 3.3 (Remark . we have seen that the functions f,, ......... f, determine a unique
function f : Rn+ R" so that f(x) = f(x,, ....... x,) = (f,(x), ......., f,(x)). The Jacobian
matrix off,, ...... f, at a is also called the Jacobian matrix o f f at a and is denoted by Jda).
The Jacobian aO is
a(r, 0)
ax
- ax
rn a0 cos 0 -r sin El
-
- = r.
& & sin 0 r cos 0
h ae
Let us try to geometrically interpret the transformation given by (3). We take r and 0 as
*
rectangular coordinates of the (r, 0) -plane as shown in Fig. 1 (a). The equation r = const.
= c (say) represents a line parallel to the @axis. As c takes various values, we get a set of
lines parallel to the &axis in the (r, 0) plane (see Fig. 1 (a)). But from Equation (3) we have
that
x2 + y2 = rZ.
Now, xZ+ y2 = r2 represents a circle of radius r with centre at the origin 0.Thus, as r varies,
A et partial we get a set of concentric circles in the (x, y) - plane (see Fig. 1(b)). In other words, the '
b.rivativr
Pansfamation (3) transforms parallel lines to concentric circles.
6) (b)
Fig. 1
What if 8 is a ccmsmt ? If 8 = c, a constant, then we get a straight line parallel to the
r-axis. As c rakes various values, we get a set'of lines parallel to the r-axis in the (r, 8) -
plane. However, from (3) again, we have that
- --
Y , r sin 8 -tan8
x rcos8
Tbus, if 8 = c, 0 5 c < 2 rr, then = tan 8 = tan c, and we get a line through the origin in
X
the (x, y) - plane as shown m Fig. 1 (b). Funher, if 8 = c ( 2le I c<4a,) then c can be
written as c = 2n + c*, what 0 Ic* < 2n. Thus, Y = tan 8 = tan (2rr + c*) = tan c*. Thus,
for c lying between 2n and 47~.we can say that the strip in the (r, 8)-plane corresponding to
8 = c (2%S s < 4%)gets transformed into the same set of radial lines in the (x, y)-plane.
All this is true if r # 0. What happens if r = 0 ? It means that the Jacobian 345d
a
(r, el
You can see that as r becomes smaller and smaller, the circles in the plane become smaller
and smaller, because r represents the radii of these circles. Finally, in the limiting position,
we will reach the origin which is a circle of radius 0. This happens when the line
r = constant in the (r, 8) - plane coincides with the &xis.
In the next example, we obtain a Jacobian of three real-valued functions of three variables.
Example 2 : Consider the transformation
x = r cos 8 sin +b
y = r sin 8 sin +b
z=rcos$
The Jacobian is equal to
Fig. 2
El) Calculate the Jacobians for the following mappings. Also find out which of these are
invertible.
E2) Calculate the Jacobian for each of the following functions at the indicated point.
If you have done these exercises, you must have become quite conversant with the
computation of Jacobians. We'll now see how the Jacobian is useful in calculating the
partial derivatives of implicit functions.
A~CU~AOIIS e l h r t i a l
Derivstives
9.2.2 Partial Derivatives of Implicit Functions
YOUhave seen in Unit 7 that it is possible to find the derivative $ for a function
f(x, y) = 0, which defines y as a function of x implicitly. In many cases, it may not be
possible to write y in terms of x explicitly. But yet, by using the total derivative, we can
find the derivative 2 without actually solving y as a function of x. In a similar way, it is
possible to find the partial derivatives of implicit functions of two or more viriables by the
use of Jacobians. The following theorem gives us the rule for calculating these partial
derivatives.
Theorem 2 : Suppose we are given two equations
such that # 0 . Suppose. further. that the first order partial derivatives of F and G
~(u,v)
w.r.t. the five variables are continuous. Then
az
hl
:Using the chain rule (Theorem 3 of Uniq 7), we get
Solving these simultaneous equations, we get the result as stated in the theorem.
2x + u 1
Thus, = 2xv + 2uv + 2 2 + ux2- 1,
a (x, V ) 1 +~ X V 2~ + x2
Therefore, by (-5) we get
au =
- + 2x3 + uxZ-
+
~ X V ~ U V 1
and
ax + -y~ X V x3
av - - x + 2x2 v - 2xy - uy
-
ax ~ X +V x'- y
are such that their first order partial derivatives are continuous and a(F,# 0.
a (u, V)
au av au av
Compute -
ay -
ay9
In the next section we shall discuss the method of calculating the Jacobian of conlposite
functions.
Jacobians often behave like partial derivatives. In this section, we will state and prove a
chain rule for Jacobians. The chain rule for Jacobians is similar to the chain rule for partial
derivatives which you have studied in Unit 7. We will use the chain rule for partial
derivatives to prove the rule for Jacobians.
Theorem 3 : (Chain Rule) : Let f : R" + R' and g : Ra + R' be two differentiable
functions and let F = fog. Then
--. g = (g,, ........g,) and F = (F,............ F,), then the chain rule stated
If f =.(f,, ...... f,),
above can also be formulated as follows :
a (F, .......... F,) - a (f ,,.........,f,) . acy,,.........,Y,)
I acxl............ x,) a(y,,.........,Y") ,,.........,x,) .
* - .
where y, = gi (x) .This formula resembles the chain rule lor 'the derivative of a function.
As we shall be using the chain rule for n = 2 or 3, we give the proof for n = 3, the other case
being similar.
Applications of Partial Roof :The proof consists in writing down the product of the determinants on the right
Derivatives
hand side of (6),and using the chain rule, given in Sec. 7.2 in Block 2, for partial
derivatives. Indeed. starting from the right hand side of (6).we have
by the product rule for determinants. Now we will use the chain rule for partial derivatives as
given in Theorem 3 of Unit 7 for the entries in the determinant on the right hand side. Since
the functions involved are assumed to be differentiable, the conditions of Theorem 3, Unit 7
are satisfied. Thus,
Therefore by Theorem 3,
Example 5 : Let f (x, y) = (sinx, cosy) and g(x, y) = (x2,y2) . We can use the chain rule
to calculate the Jacobian of F = fog. Now suppose g = (g,, g,) ,f = (f,, f,) and 5 = g, (x, y)
q = g, (x, y). Then, we get
Theorem 3,
1 = Jf-1 (f (x) ) J,(x), or
J,, (f (XI) = (J, (x))-'.
acx, Y)
Example 7 : Let f (x, y) = (x - y, x + y) = (6, q). Let us evaluate
q)
Clearly,
F (x, y, t) = 0, and
ACllk.Lk.r .
IhrU.l We diaemtiate these with respect to t using the methods for findini the derivatives pf
Derlvatlvr
functions defined implicity. Thus, we get
Eliminating a
dt
from these two equations we get
E8) Calculate the Jacobian a (" " " for x = r cos 0, y = r sin 0. z = z
d (r, 0. 2)
(r, 0, z rn called the cylindrical coordinates).
E9) Verify the chain rule for the Jacobians for the following functions :
u = exy,v = gZ,w = e", x = r, y = s2,z = t3.
In this section, you have seen one use of Jacobians : to find the partial derivatives of
implicit functions. You will see many more uses in the sequel, starting with the next
section itself.
Suppose we are given n real-valued functions f,, ....., f,, n 2 2 of several variables. We may
want to know whether there exists some ' relationship' between these functions. For
example, if f, (x, y, z) = x+y f z ( x , y , z ) -
Z
- = ,f3 (x, y, z) = Y' ( X
XZ
+ ,then
+
you can check that f, .f2=f3+ 1. However, the situation may not be as simple as it is in
this example. Therefore, we need to find some criterion which would ensure the existence of
some relationship between the given functions. You will see that Jacobians provide us a
necessary and sufficient condition for the existence of some relationship between the given
functions. But before making precise as to what we mean by "relationship", we look at the
following question and answer it satisfactorily. Apart from its own interest, it would be of
use later on.
In Calculus (Unit 7) you have seen that iff is a real-valued function defined on an open
interval, and if its derivative is zero at all points of the interval, then f is a constant function.
Can we have an analogous result for functions of several variables ? In this section we shall
see that those functions, all of whose partial derivatives vanish throughout some domain,
are constant. But here the word "domain" has a different meaning. It is not just the set on
which the function is defined. What, then, is this domain ? Let's see.
9.4.1 Domains in Rn
You would have observed that in Calculus, most of the time we assumed that function or
functions under consideration were defined on open intervals. Similarly, for functions of two
or rhree variables, we assumed that functions under consideration were defined on open discs
or open spheres. All these subsets have two things in common.
t) All points ob these sets are interibr points, i.e., if a point belongs to the set then a whole
neighbourhood of it is containedin the set.
2) It is possible to travel from one point of the set to another point of the set without
leaving the set.
While the first statement is mathematically precise, the second one is not quite precise. ,
However, intuitively we can say that given any two points in the set, there is a path
completely lying in the set joining these'points.
For example, the set H = ( ( x, y) E R' 1 xZ- yZ> 1 ) drawn in Fig. 3 below, obviously
does not possess this property. You will agree that there is no way of "travelling" from the
point P to the point Q without leaving the set H.
Fig. 3
On the other hand, interiors or exteriors of rectangles, circles, ellipses possess this property.
We shall now define the concept of " travelling between" more precisely.
Definition 2 : Let a : [O, 11 + R" be the function defined by a(t) = (1 - t) x + t y,
where x, y are two given points of Rn.The set ( a (t) 1 t E [O, 11 ) is said to be the line
segment joining x to y lying in the set Rn.x is called the initial point and y the final
point of the line segment.
Observe that a(0) = x and a(1) = y. Note also that this definition coincides with our
intuitive idea of the line segment joining a pair of points in plane or space. See Fig. 4 (a).
Sometimes the function a itself is called a line segment.
Definition 3: Let x, y, be two points in Rn.A polygonal arc joining x to y is nothing
but a sequence a,,,a , , a;,......, q of line segments in Rn such that
I
a, (0) = x, i.e., the initial point of a,, is x.
I
a, (1) = y, i.e., the final point of a, is y.
The final point of a, is.the initial point of a,+ for each
I
I i = 0 , 1 , 2,....., r - 1 .
This definition agrees with our intuitive idea of a polygonal arc (see Fig. 4 (b)).
4
' Fig. 4. : (a) a line segment RJ(b) a polygonal arc in RZ
-
51
Applications of Partial Definition 4 : A subset S of Rn is said to be polygonally connected if, given any two
points x, y in S, there is a polygonal arc lying in S joining x to y (See Fig. 5).
Interiors,of rectangles and circles in the plane R2and interiors of spheres in R3are obviously
polygonally connected. In fact, every pair of points in them can be joined by one line
segment. Now we are in a position to define a domain.
S is open if each point of S is its The closed disc S = { (x, y) I x2+ y2 I 1 1 is not a domain because the points (x, y) for
interior point.
which x2 + y2 = 1, i.e., points on the boundary of the circle are not interior points of the set
S. Note, however, that S is polygonally connected. In fact, every pair of points can be
joineil by a line segment in it (See Fig. 6). Similarly, the open sphere
{ (x, y, z) 1 x2+ y2 + z2 < 1 ) and the open parallelopiped ] a, b [ x ] c, d [ x ] e, f [ are
domains in R3.
b) ((x9y)l x y > O I
c) I (x, Y) I x > 1 I
4 I
{ (x. Y) x 2 + y 2 0 I
e) { (x,y.z)I x = y I
0 ((x,y,z)I x>O,y>O,z>O I
Fig. 6 Do not confuse the domain of function with a.domain. The domain of a function need not be
a domain in the sense of Definition 5. For example, the domain of the function
f (x, y) = sin-' x sin-' y is [-I, I ] x [ -1, 11, which is not a domain in R2.
We are now ready to prove the result promised at the beginning of this section.
Proof :Let PI = (x,, y,) and P2 = (x,, y2) be two points of D such that the line segment
PIP, joining PI to P2 lies in D. It is possible to choose such a pair of points since D is
polygonally connected. For convenience of notation we shall write f (P) for f (x, y), if P is.
the point (x, y). By the mean value theorem for two variables (see margin remark), we have
The mean value theorem : f (a + h, b
+k)-f(a,b)=_hf,(a+Bh,b+Bk)
+ kf, (a + Bh, b + Bk). where 0 < 0
< 1. where 8 is a real number such that 0 < 8 < 1.
52'
Now P, + 8 (PI- PI) = 9 P, + (1 - 8 ) P,, lies on the segment PI P, and hence in D. Since,
af af
by assumption. - and - are both zero on D, we have from (7) that
ax ay
1 if (x, y) E S1
f (x, Y) =
2 if ( x , y) E S2.
Then both the partial derivatives oC f vanish on D. But yet, it is not a constant function on
D. Note that D = S, U S, is not polygonally connected, since it is not possible to travel
from P to Q along a polygonal arc lying in D. A similar result is true for any number of
variables, and can be proved by using the mean value theorem similar to the one used above.
However, we don't give the proof here.
Recall that the statement of the analogous result for the one-variable case is : .
1f f is a function defined on an open interval I such that f (x). = 0 for all x E I, then f is
a constant function on I.
So, you see, in this case also we insist on an open interval which is a domain. Can you
think of an example to show that it is essential that the function be defined on an open
interval ? Check with f(x) = 0 on ] 0, 1 [ and f (x) = 1 on ] 2, 3 [.
In the next sub-section we shall investigate how the question of dependence of various
functions is connected with their Jacobian.
But try the following exercise first.
- - - -
9.4.2 Depemlence
Before we give the precise definitions, we discuss a couple of examples.
Example 9 : Let
f (x, y) = exsin y and
g (x, y) = x + In sin y
for x E R and 0 < y < z. Clearly. D = R x 1 0, x, [, which is a strip bounded by the lines
y = 0 and y = u, and is an open set. In fact, D is a domain. Moreover,
= eacosy-eXcosy=O
for all (x, y) in D.
e in D, the functions f and g are relatedby the relation
O b s e ~ that
Example 11 :Consider the transformation T : R'+ R' given by T (x, y) = (u, v), where
u = cos (X+ y2)and v = sin(x + y2).
T is continuously differentiable since sine and cosine functions are so.We observe that T
maps the entire plane onto the set of points on the circle ( (u, v) I u2+ v2= 1 ) of radius 1.
This circle has no interior points. Thus, T does not map neighbourhoods to neighbourhoods.
Further, T is not 1 - i even on a neighbourhood. In fact, all the points on the parabola,
x + y2=c map into the same point (cos c, sin c) (see Fig. 8). As c changes, these parabolas
cover the entire plane. Thus, any neighbourhood contains points having the same image.
All this behaviour is due to the fact that u and v are functionally dependent. In fact.
F(u, v) = u2+ v2- 1 = 0.
Applkatlons of Partial
Derivatives
acu, V)
What about the Jacobian acx. Y) .
,
We observe that
What we have seen here is not peculiar to this example. If u and v are two real-valued
functions of two variables such that
a (x.Y) = 0 in a neighbourhood of some point. then
we shall see that u and v are functionally dependent and the transformation (x, y) + (u, v)
maps a neighbourhood to a curve in R ~For . example, the transformation '
(x, y) + (ex sin y, x + In sin y) maps a neighbourhood to the curve v-lnu = 0. The same is
true for functions of any number of variables. For example, the transformation (x, y, z) -+
(u, v, w) in Example 10 maps a neighbourhood to the surface u2- v2- 8w = 0. For the
complete proof of this result you will have to wait till the next unit. Here (Theorem 6j we
shall prove that vanishing of the Jacobian in a neighbourhood is necessary for functional
.-
Theorem 6 :If u = f (x, y) and v = g(x. y) are differentiable on an open subset D of R',
and are functionally dependent on D, then I
We differentiate the relation (9) partially with respect to,x and y by chain rule (see Unit 7) to
obtain
aF aF
Since for any point (x, y) E D, either - or - is different from zero, the system of
au av
equations (10) implies that
A similar result also holds for three functions of three variables. Its proof is exactly similar
to the proof of Theorem 6.
Look at this example now.
Example 12 :Let us prove that the following functions are functionally dependent by
finding a functional relation between them.
i) f (x, y) = lnx - Iny ...(1 1)
x2+ 3y2
ii) g ( x , y ) = .
~ X Y
For convenience, we'll write f and g for f (x, y) and g (x, y).
The idea is to solve for x from (12) and substitute in (1 1). which will yield a relation
between f and g.
Thus, from (12) we have that M
I Let us consider
~ 1 2 ) a) Verify that the functions f and g of Example 12 actually satisfy the relation
F(u.v)=u-ln(v +Jv2- 3)
a(f9 g)
b) Prove that -= 0 for all x, y for the functions f and g of Example 12.
a(x9 Y)
E 13) Prove that the following functions are functionally dependent.
E14) Find the 'functionalrelation for the following pairs if such a relation exists.
E15) Prove that the Jacobian of u = x cos y, v = x sin y is non-zero throughout the
domain D = { (x, y) 1 x > 0 1.
A p p l k ~ h n sd Partial
Derivatives
Prove also that the map T : D + R2 defined by T (x, y) = (u, v) is not invertible.
E16) Show that the following functions satisfy the necessary condition for functional
dependence.
- - -
Let us now briefly recall what we have done i" this unit.
9.5 SUMMARY
3) We have used the Jacobian to compute the partial derivatives of implicit functions.
4) We have studied the chain rule for Jacobians.
Thus,
El) a)
aw
- aw a~ az
ax = I , -ay
=-2,-=2,-=
ax ay 1.
Both are invertible.
af
E2) a) - = cos x .: - = COS X = -1
ax
2 = y sin xy . ax / n
X
- --
2
It?
sin 7
B = -x
ay
sin xy
. ' ay 1 cn, xi21
= -n sin -
2
X2
A t ( X v X / 2 ) ,3a (.xI, hy ll --
X2
.*. = sin -
- A' 2
sin - -A sin
2 2 2
z o x
JF (x, y, Z) = y x 0 = ~ X Y Z
O Z Y
au
Similarly obtain - and -.
av
az az
dx
Eliminating - from these we get
dt
1 cos 6 -r sin 8 0 I
Further, g',, (x) = fx (x, yo) = 0 in an interval I which is the projection of N on the
x-axis.
b) similar.
-
El21 a) F (u, v) = u - In [v + 4 v'- 31
= lnx - lny - I n
1
--- 1 3 1
+--- 3
=0.
- 2y2 +-j
2x 2yZ 2x'
- xy)2 - ( X + y)?
- ( 1 -(1xy)' ( 1 + x') ( 1 + y') 1 1+x2
I =0
Solving for x,
(1 - xy)f = x + y
x+y)(l-xy)
Substitute in g = (
(1 + x2) (1 + y2)
. Jacobianr
I v
F (u, v) = u - 7= 0 is the required function.
v + 1
Now f (x, y) = 1 + Y
X
3 x= Y
f ( x , y: - 1
X 1 - f (x, y)
*g(x,y)= I+-= 1+
Y f (x. Y ) - 1 f (x, y) -1
sin y x cos y