• Nie Znaleziono Wyników

Math 5BI: Problem Set 5 General chain rule

N/A
N/A
Protected

Academic year: 2021

Share "Math 5BI: Problem Set 5 General chain rule"

Copied!
3
0
0

Pełen tekst

(1)

Math 5BI: Problem Set 5 General chain rule

The chain rule for functions of one variable can be written in two ways. Suppose that z = f (x) and x = g(t), where f and g are differentiable functions, then z = (f ◦ g)(t), where f ◦ g is called the composition of f and g. For example, if

f (x) = sin x and g(t) = et, then (f ◦ g)(t) = sin(et).

The chain rule states that

(f ◦ g)0(t) = f0(g(t))g0(t). (1) But it is also customary to write this equation as

dz dt = dz

dx dx

dt. (2)

Here the z appearing in the numerator on the left actually stands for the function f ◦ g while the z in the numerator on the right stands for the function f . The x appearing in the numerator on the right stands for the function g. We use z to stand for a variable and also two different functions in order to save on usage of letters from the alphabet.

The general chain rule for functions (also called mappings) from Rn to Rm can also be written in two ways. If the dependent variables z1, . . . zmare func- tions of the intermediate variables x1, . . . , xn,

z1 = f1(x1, . . . , xn), z2 = f2(x1, . . . , xn), . . .

zm = fm(x1, . . . , xn),

and the intermediate variables x1, . . . , xn are in turn functions of the indepen- dent variables t1, . . . , tp,

x1 = g1(t1, . . . , tp), x2 = g2(t1, . . . , tp), . . .

xn = gn(t1, . . . , tp),

1

(2)

then it follows from the chain rule from the previous problem set that

∂zi

∂tj = ∂zi

∂x1

∂x1

∂tj + . . . + ∂zi

∂xn

∂xn

∂tj . (3)

This is the many variable version of (—refE:chainrule2). Putting these formulae for the various i and j into a matrix yields

∂z1

∂t1 · · · ∂z∂t1

p

· · · ·

∂zm

∂t1 · · · ∂z∂tm

p

=

∂z1

∂x1 · · · ∂xz∂x1

n

· · · ·

∂zm

∂x1 · · · ∂z∂xm

n

∂x1

∂t1 · · · ∂x∂t1

p

· · · ·

∂xn

∂t1 · · · ∂x∂tn

p

 (4)

The fi’s and gj’s can be regarded as the component functions of mappings F : Rn → Rm, and G : Rp→ Rn.

The composition of these two mappings is the mapping F◦G : Rp→ Rmdefined by

F ◦ G

 t1

· tp

= F

G

 t1

· tp

. Then (??) can be written as

D(F ◦ G)(c) = DF(G(c))DG(c), for c ∈ Rp, (5) where matrix multiplication occurs on the right. This is the many variable version of (??).

Of course, if f is a scalar-valued function, say z = f (x1, x2, . . . , xn).

Df (x1, . . . , xn) = ∇f (x1, . . . , xn)

= (∂f /∂x1)(x1, . . . , xn), · · · , (∂f /xn)(x1, . . . , xn) . Note that we can think of the gradient of f as either a column or a row vector.

In the next problem it is more convenient to think of it as a row vector.

Problem 5.1. a. Suppose that z = f (x, y) where x = r cos θ and y = r sin θ.

Use version (??) of the chain rule to find ∂z/∂r and ∂z/∂θ in terms of ∂z/∂x and ∂z/∂y.

b. Find a formula for ∂z/∂x and ∂z/∂y in terms of ∂z/∂r and ∂z/∂θ. You can do this by solving for ∂z/∂x and ∂z/∂y.

c. We define a function G : R2→ R2 as follows:

x y



= G(r, θ) =r cos θ r sin θ

 .

Find formulae for Df , DG and D(f ◦ G). (Think of Df and D(f ◦ G) as row vectors.) Write out the chain rule from part a as a matrix multiplication

D(f ◦ G)(r, θ) = Df (G(r, θ)) · DG(r, θ).

2

(3)

Problem 5.2. a. Suppose again that x = r cos θ and y = r sin θ, where r = r(t) and θ = θ(t). Find a formula for dx/dt and dy/dt in terms of dr/dt and dθ/dt.

b. Find a formula for dr/dt and dθ/dt in terms of dx/dt and dy/dt by solving for dr/dt and dθ/dt.

c. We can define functions F : R2→ R2and G : R → R2 as follows:

x y



= F(r, θ) =r cos θ r sin θ



, G(t) =r(t) θ(t)

 ..

Find formulae for DF, DG and D(F ◦ G). Write out the chain rule from part a as a matrix multiplication

D(F ◦ G)(t) = DF(G(t)) · DG(t).

d. Use the formulae you have found to rewrite the system of differential equa- tions

dx

dt = −3x + 4y, dy

dt = −4x − 3y, in terms of r and θ.

e. Solve the resulting system of equations for r(t) and θ(t).

3

Cytaty

Powiązane dokumenty

Free trial available

What does this suggest about the stability of the equilibrium (1, 9/10) for the nonlinear

To understand the method in the simplest case, let use suppose that S is a surface in R 3 defined by the equation φ(x, y, z) = 0, where φ is a smooth real-valued function of

One imagines that the points of space-time locate events which occur at a specific location and at a specific time—for example, the exploding of a firecracker at a given location (x,

Let D be a bounded region in the (x, y)-plane, bounded by a piecewise smooth curve ∂D, directed so that as it is traversed in the positive direction, the region D lies on the

Let D be a bounded region in the (x, y)-plane, bounded by a piecewise smooth curve ∂D, directed so that as it is traversed in the positive direction, the region D lies on the left..

This problem was investigated by many authors for various classes of holomorphic functions usually under the assumption of univalence.. An interesting result for the class

 A person who is not alive at the time of opening the succession (moment of death) cannot be an heir. A child that has already been conceived can be an heir if it is