Docsity

Chain Rule and Gradient of Multivariable Functions: Critical Points and Linearization, Assignments of Russian Language

Toggle sidebar
bg1
Math 5BI: Problem Set 4
Functions of many variables
Suppose that
z=f(x1, . . . , xn),and x1=x1(t), . . . , xn=xn(t),
where the functions f, x1, . . . , xnare continuously differentiable. Then the chain
rule states that dz
dt =∂f
∂x1
dx1
dt +. . . +∂f
∂xn
dxn
dt ,
or as is sometimes written,
dz
dt =∂z
∂x1
dx1
dt +. . . +∂z
∂xn
dxn
dt .(1)
We can define the gradient of f(x1, . . . , xn) at the point (c1, . . . , cn)∈Rn
to be
∇f(c1, . . . , cn) =
∂f
∂x1(c1, . . . , cn)
·
∂f
∂xn(c1, . . . , cn)
.
Then the chain rule can be restated in vector form as
z0(t0) = ∇f(x(t0)) ·x0(t0),
where
x(t0) =
x1(t0)
·
xn(t0)
and x0(t0) =
x0
1(t0)
·
x0
n(t0)
.
Just as in the two and three-dimensional cases, the gradient points in the
direction of maximal increase of fand its magnitude is the rate of change of f
with respect to time for a particle moving at unit speed in the direction of the
gradient.
The linearization of f(x1, . . . , xn) at the point c= (c1, . . . , cn) is the function
L(x1, . . . , xn) = f(c1, . . . , cn) +
n
X
i=1
∂f
∂xi
(c1, . . . , cn)(xi−ci),
or in vector notation
L(x) = fi(c) + ∇f(c)·(x−c).
1
pf3
pf4

Partial preview of the text

Download Chain Rule and Gradient of Multivariable Functions: Critical Points and Linearization and more Assignments Russian Language in PDF only on Docsity!

Math 5BI: Problem Set 4

Functions of many variables

Suppose that

z = f (x 1 ,... , xn), and x 1 = x 1 (t),... , xn = xn(t),

where the functions f, x 1 ,... , xn are continuously differentiable. Then the chain rule states that dz dt

∂f ∂x 1

dx 1 dt

∂f ∂xn

dxn dt

or as is sometimes written,

dz dt

∂z ∂x 1

dx 1 dt

∂z ∂xn

dxn dt

We can define the gradient of f (x 1 ,... , xn) at the point (c 1 ,... , cn) ∈ Rn to be

∇f (c 1 ,... , cn) =

∂f ∂x 1 (c^1 ,... , cn) · ∂f ∂xn (c^1 ,... , cn)

Then the chain rule can be restated in vector form as

z′(t 0 ) = ∇f (x(t 0 )) · x′(t 0 ),

where

x(t 0 ) =

x 1 (t 0 ) · xn(t 0 )

 (^) and x′(t 0 ) =

x′ 1 (t 0 ) · x′ n(t 0 )

Just as in the two and three-dimensional cases, the gradient points in the direction of maximal increase of f and its magnitude is the rate of change of f with respect to time for a particle moving at unit speed in the direction of the gradient. The linearization of f (x 1 ,... , xn) at the point c = (c 1 ,... , cn) is the function

L(x 1 ,... , xn) = f (c 1 ,... , cn) +

∑^ n

i=

∂f ∂xi

(c 1 ,... , cn)(xi − ci),

or in vector notation

L(x) = fi(c) + ∇f (c) · (x − c).

Definition. A point (c 1 ,... , cn) ∈ Rn^ is said to be a critical point for a con- tinuously differentiable function f (x 1 ,... , xn) if ∇f (c 1 ,... , cn) = 0.

If (c 1 ,... , cn) is a point at which f (x 1 ,... , xn) assumes a maximum or minimum value, then (c 1 ,... , cn) must be a critical point for f (x 1 ,... , xn).

Problem 4.1. a. What are the critical points of the function

f (x 1 , x 2 , x 3 , x 4 ) = x^21 + 2x 1 x 2 − x^22 + x^23 + x^24 − 2 x 1 + 4x 3?

b. Suppose that you know that the function

f (x 1 , x 2 , x 3 , x 4 ) = x^21 + 2x 1 x 2 − x^22 + x^23 + x^24 − 2 x 1 + 4x 3

assumes a minimum at some point. What is that point?

A mapping F from Rn^ to Rm^ is defined by m functions of n variables:

y 1 = f 1 (x 1 ,... xn), y 2 = f 2 (x 1 ,... xn),

... ym = fm(x 1 ,... xn).

It is often convenient to write this in vector notation. If we set

y =

y 1 . ym

 (^) , x =

x 1 . xn

 (^) , and F(x) =

f 1 (x) . fm(x)

then we can write y = F(x). Important examples of mappings from Rn^ to Rm^ are the affine transforma- tions, y 1 = a 11 x 1 +... + a 1 nxn + b 1 , y 2 = a 21 x 1 +... + a 2 nxn + b 2 ,

... ym = am 1 x 1 +... + amnxn + bm.

If all of the bi’s are zero, such transformations are said to be linear. If F : Rn^ → Rm^ is a nonlinear mapping, it is sometimes convenient to find its best affine approximation near a given point (c 1 ,... , cn). This is done by finding the best affine approximation of each of its component functions fi. Thus the best affine approximation to

y 1 = f 1 (x 1 ,... , xn), y 2 = f 2 (x 1 ,... , xn),

... ym = fm(x 1 ,... , xn)

It is often quite difficult to find the explicit solutions to such a system. We say that x = c is a constant solution to this system if F(c) = 0. In this case, we can linearize the system (??) near c, by replacing the right-hand side by its linearization dx/dt = F′(c)(x − c).

In terms of components, the new linearized system is

dx 1 /dt = (∂f 1 /∂x 1 )(c)(x 1 − c 1 ) +... + (∂f 1 /∂xn)(c)(xn − cn), dx 2 /dt = (∂f 2 /∂x 1 )(c)(x 1 − c 1 ) +... + (∂f 2 /∂xn)(c)(xn − cn),

... dxm/dt = (∂fn/∂x 1 )(c)(x 1 − c 1 ) +... + (∂fn/∂xn)(c)(xn − cn).

The solutions to this linear system are far easier to determine (for example, we can use techniques of Math 5AI), and they will approximate the solutions to the original nonlinear system near c.

Problem 4.3. a. Consider the Volterra-Lotka predator-prey system of differ- ential equations dx dt

= x(1 − y),

dy dt

= y(x − 1).

Here x(t) represents the number of millions of rabbits on an island and y(t) represents the number of thousands of foxes. This system can be written in vector form as

dx dt

= F(x), where F

x y

x(1 − y) y(x − 1)

Find the linearization of F at the equilibrium point (1, 1).

b. Find the linearization of the predator-prey system of differential equations at the point (1, 1).

c. Consider the related system of differential equations

dx dt

= x(1 − y) −

x^2 ,

dy dt

= y(x − 1).

Find the linearization of this system at the point (1, 9 /10). Is the linearization stable? What does this suggest about the stability of the equilibrium (1, 9 /10) for the nonlinear system?