Docsity

ejercicios calculo con multiples variables, Ejercicios de Cálculo

Toggle sidebar
bg1
UNIVERSIDAD CARLOS III DE MADRID
ESCUELA POLIT´
ECNICA SUPERIOR
Departamento de Matem´aticas
CALCULUS II: EXERCISES
BACHELOR DEGREE IN ENGINEERING PHYSICS:
ACADEMIC YEAR 2021–2022
Authors
Arturo de Pablo
Domingo Pestana
Jos´e Manuel Rodr´ıguez
Elena Romera
Fernando Lled´o
English version by
Fernando Lled´o
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24

Vista previa parcial del texto

¡Descarga ejercicios calculo con multiples variables y más Ejercicios en PDF de Cálculo solo en Docsity!

UNIVERSIDAD CARLOS III DE MADRID

ESCUELA POLITECNICA SUPERIOR

Departamento de Matematicas

CALCULUS II: EXERCISES

BACHELOR DEGREE IN ENGINEERING PHYSICS:

ACADEMIC YEAR 2021{

Authors

Arturo de Pablo Domingo Pestana Jose Manuel Rodrguez Elena Romera Fernando Lledo

English version by Fernando Lledo

Index

  • 1 Differential calculus in several variables
    • 1.1 Functions of several variables. Limits and continuity.
    • 1.2 Derivatives and differentiability
    • 1.3 Chain rule and directional derivatives.
  • 2 Local properties of functions with several variables.
    • 2.1 Higher order derivatives.
    • 2.2 Vector functions and differential operators.
    • 2.3 Extrema of functions with several variables
    • 2.4 Constrained extrema.
  • 3 Multiple integrals
    • 3.1 Double and triple integrals.
    • 3.2 Change of variables for double and triple integrals.
    • 3.3 Applications.
  • 4 Path and surface integrals
    • 4.1 Integrals along paths and conservative elds.
    • 4.2 Surface integrals.
    • 4.3 Theorems of Green, Stokes and Gauss.

Exercise 1.

i) Find f (1; y=x) if f (x; y) =

2 xy x^2 + y^2

ii) Find f (x; y) if f (x + y; y=x) = x^2 y^2. iii) Find f (x) and g(x; y) if f (x y) + g(x; y) = x + y with the condition g(x; 0) = x^2. iv) Find as in the previous item f (x) and g(x; y) if now f (

p x 1) + g(x; y) = p y with the condition g(x; 1) = x.

Solution: i) f (1; y=x) = f (x; y); ii) x^2 (1 y) 1 + y

; iii) f (x) = x x^2 ; g(x; y) = x^2 + y^2 2 xy + 2y;

iv) f (x) = 2 x x^2 ; g(x; y) = x + p y 1.

Exercise 1.5 Find the domain of the following functions:

i) f (x; y) = x^2 y^2 , ii) f (x; y) =

x^2 4 y^2 ;

iii) f (x; y) =

x^3 y^2 x y

iv) f (x; y) = (x^2 + y^2 1)^1 /^2 , v) f (x; y) = 1=xy, vi) f (x; y) = arcsin(x + y), vii) f (x; y) = ex/y, viii) f (x; y) = log(xy),

ix) f (x; y) =

cos(x y)

x) f (x; y) = cos

x y

xi) f (x; y; z) =

9 y^2 1 +

4 (x^2 + z^2 )

xii) f (x; y) =

log(1 + x) + log(1 + y) log(1 x) + log(1 y)

xiii) f (x; y) = log (1 + x)(1 + y) (1 x)(1 y)

Solution: i) IR^2 ; ii) f(x; y) 2 IR^2 : x^2 4 y^2  0 g; iii) f(x; y) 2 IR^2 : x ̸= yg; iv) f(x; y) 2 IR^2 : x^2 + y^2  1 g; v) f(x; y) 2 IR^2 : xy ̸= 0g; vi) f(x; y) 2 IR^2 : 1  x + y  1 g; vii) f(x; y) 2 IR^2 : y ̸= 0g; viii) f(x; y) 2 IR^2 : xy  0 g; ix) f(x; y) 2 IR^2 : cos(x y) ̸= 0g = f(x; y) 2 IR^2 : x y ̸= =2 + k; k 2 ZZg; x) f(x; y) 2 IR^2 : x y ̸= 0g; xi) f(x; y; z) 2 IR^3 : y^2  9 ; x^2 + z^2  4 g; xii) f(x; y) 2 IR^2 : jxj; jyj < 1 ; xy ̸= x + yg; xiii) f(x; y) 2 IR^2 : jxj; jyj < 1 g [ f(x; y) 2 IR^2 : jxj; jyj > 1 g.

Exercise 1.6 Find the image of the rst ve functions of the preceding exercise.

Solution: i)IR; ii) [0; 1 ); iii) IR; iv) [0; 1 ); v) IR n f 0 g:

Exercise 1.7 Represent the graph of the functions:

i) f (x; y) = x^2 y^2 ;

ii) f (x; y) =

x^2 + y^2 ;

iii) f (x; y) =

4 x^2 y^2 ;

iv) f (x; y) = x^2 + 4y^2 ;

v) f (x; y) =

x^2 4 y^2 :

Exercise 1.8 Visualize the level curves f (x; y) = c of the following functions:

i) f (x; y) = xy; c = 1; 1 ; 3;

ii) f (x; y) = log(x y); c = 0; 1 ; 1;

iii) f (x; y) = (x + y)=(x y); c = 0; 2 ; 2 :

Exercise 1.9 Study the following limits:

i) lim (x,y)!(0,0)

x x^2 + y^2

ii) lim (x,y)!(2,4)

x + y x y

iii) lim (x,y)!(0,0)

xy^2 x^2 + y^2

iv) lim (x,y)!(0,0)

tan x y

v) lim (x,y)!(0,0)

xy x^2 + y^2

vi) lim (x,y)!(0,0)

xy^2 (x^2 + y^2 )^3 /^2

vii) lim (x,y)!(0,0)

y^2 x^2 y^2

viii) lim (x,y)!(0,0)

sin(xy) xy

ix) lim (x,y)!(0,0)

x^3 y^2 x^2 + y^2 x) lim (x,y)!(0,0)

x^4 + y^4 x^2 y^2 + (x y)^2

Solution: i) does not exist; ii) 3; iii) 0; iv) does not exist; v) does not exist; vi) does not exist; vii) does not exist; viii) 1; ix) does not exist; x) does not exist;

Exercise 1.10 Consider the function f (x; y) = x^4 y x^4 y^3

. The points (0; 0) and (1; 1) are ex-

cluded from its domain. Decide if it is possible to de ne f (0; 0) and f (1; 1) in such a way that f is continuous at these points.

Solution: It is not possible to extend the function by continuity at both points.

Exercise 1.11 Study the continuity of the following functions:

i) f (x; y) =

{ (^) xy x^2 + y^2 if (x; y) ̸= (0; 0) 0 if (x; y) = (0; 0);

Solution: Using the mean value theorem for φ one obtains that f continuous on IR^2.

Exercise 1.14 Let F : A  IRn^! IRm^ be a function satisfying

jjF(x) F(y)jj  Kjjx yjjα

for all x; y 2 A and constants K > 0 and 0 <  1. Show that F is continuous on A.

Solution: If jjx yjj <  and, if given " > 0 one choses  = ("=K)^1 /α, then jjF(x) F(y)jj < ".

1.2 Derivatives and differentiability

Exercise 1.15 Compute the matrix of derivatives of the following functions:

i) f (x; y) = 3x^2 xy + y ii) f (x; y) = x^3 ey iii) f (x; y) = log(x^2 + y^4 ) iv) f (x; y) = (g(x))^2 h(y) v) f (x; y) =

1 (x^2 + y^2 ) vi) f (x; y; z) = xey 2

  • yez vii) f (x; y; z) = xsiny + ysinz + zsinx viii) f (x; y; z) = sin(x + xy + z^2 ) ix) f (x; y; z) = zxy 2

x) f (x; y; z) = (g(x; y))^2 (h(x; z))^3

Solution: i) ∇f = (6x y; x + 1); ii) ∇f = (3x^2 ey; x^3 ey); iii) ∇f = (2x=(x^2 + y^4 ); 4 y^3 =(x^2 + y^4 )); iv) ∇f = (2g(x)g′(x)h(y); (g(x))^2 h′(y)); v) ∇f = (x=

1 (x^2 + y^2 ); y=

1 (x^2 + y^2 )); vi) ∇f = (ey 2 ; 2 xyey 2

  • ez^ ; yez^ ); vii) ∇f = (sen y + z cos x; x cos y + sen z; y cos z + sen x); viii) ∇f = ((1 + y) cos(x + xy + z^2 ); x cos(x + xy + z^2 ); 2 z cos(x + xy + z^2 )); ix) ∇f = (y^2 zxy 2 log z; 2 xyzxy 2 log z; xy^2 zxy (^2) 1 ); x) ∇f = (2ggxh^3 +3g^2 h^2 hx; 2 ggyh^3 ; 3 g^2 h^2 hz );

Exercise 1.16 Consider the function

f (x; y) =

x^2 y^2 x^4 + y^4 if (x; y) ̸= (0; 0) 0 if (x; y) = (0; 0).

i) Show that the partial derivatives @f @x (0; 0) and @f @y (0; 0) exist.

ii) Show that f is not continuous at (0; 0).

Exercise 1.17 Show that the following functions are differentiable:

i) f (x; y) = x^2 + y^2 ii) f (x; y) = xy iii) f (x; y; z) = x^2 + y^2 + z^2

iv) f (x; y; z) = sin(x + y + z) v) f (x; y) = exsiny vi) f (x; y) = (x^2 + y^2 )exy vii) f (x; y) = (^) x (^2) +xy 2 at (x; y) ̸= (0; 0).

Solution: All of these functions are differentiable as sums, products, quotients or compositions of differentiable functions.

Exercise 1.18 Consider f (x; y) =

2 xy x^2 + y^2 ; (x; y) ̸= (0; 0) 0 (x; y) = (0; 0)

i) Show that f is not differentiable at (0; 0).

ii) Show that the partial derivatives

@f @x and

@f @y exist at (0; 0). Show also that

@f @x is not continuous at (0; 0).

Exercise 1.19 Consider the function f (x; y) =

x^2 + y^2 :

i) Compute

@f @x (0; 0) (if it exists). ii) Is f differentiable at(0,0)?

Solution: No.

Exercise 1.

i) Study the continuity of the function

f (x; y) =

x^2 y^4 x^2 + y^2

(x; y) ̸= (0; 0)

0 (x; y) = (0; 0)

ii) Compute the partial derivatives at (0; 0) and study the differentiability at this point.

Solution: i) f is continuous on IR^2 ; ii) ∂f∂x (0; 0) = 0, ∂f∂y (0; 0) = 0, f is differentiable at (0; 0).

Exercise 1.21 Consider the function

g(x; y) =

x^2 + y √ x^2 + y^2

if (x; y) ̸= (0; 0)

0 if (x; y) = (0; 0).

(i) Study the continuity of g on IR^2.

(ii) Compute the partial derivatives of g(x; y) at the origin (0; 0) if possible.

(iii) Can g be differentiable at the origin (0; 0)?

Solution: g is continuous on IR^2 n f(0; 0)g. The partial derivatives do not exist at (0; 0) and g is not differentiable at (0; 0).

1.3 Chain rule and directional derivatives.

Exercise 1.26 Find the directional derivative at the given point and along the given direction:

i) f (x; y) = x^2 + y^3 at (1; 1) along the direction (1; 1): ii) f (x; y) = x + sin(x + y) at (0; 0) along the direction (2; 1): iii) f (x; y) = xey^ yex^ at (1; 0) along the direction (3; 4):

iv) f (x; y) =

3 x x y at (1; 0) along the direction (1;

p 3):

v) f (x; y; z) = x^2 y + y^2 z + z^2 x at (1; 1 ; 1) along the direction (1; 1 ; 2): vi) f (x; y) = x^2 y + xy^2 at (1; 1) along the direction ( 1 ; 3): vii) f (x; y; z) = log

x^2 + y^2 + z^2 at (2; 0 ; 1) along the direction (1; 2 ; 0). viii) f (x; y; z) = ex^ cos(yz) at (0; 0 ; 0) along the direction (2; 1 ; 2). ix) f (x; y) = 2x^3 y 3 y^2 at (2; 1) along the direction (a;

p 1 a^2 ). Find a in order to get a maximum. x) f (x; y; z) = xy + yz + zx at (1; 1 ; 2) along the direction (10; 1 ; 2).

Solution: i) 1 =

p 2; ii)

p 5; iii) (7 4 e)=5; iv) 3

p 3 =2; v)

p 6; vi) 6=

p 10; vii) 5 p^25 ; viii) 2=3;

ix) 24a + 10

p 1 a^2 , for a = 12=13 the derivative has a maximum; x) 31=

p

Exercise 1.27 Consider the function f (x; y) = ex+2y. Find the set of points (x; y) 2 IR^2 such that the directional derivative of f at the point (x; y) along the direction (4; 3) equals the value 2e.

Solution: f(x; y) j x + 2y = 1g.

Exercise 1.28 Consider the function f (x; y) = 1 + sin(3x + y). Is there any direction v 2 IR^2 such that the directional derivative f at (0; 0) along the direction v has the value 1?

Solution: v = (0; 1); v = (3= 5 ; 4 =5).

Exercise 1.29 Consider the function f (x; y) = x^2 y^2 x^2 + y^2

i) Determine the direction along which the directional derivative of f at (1; 1) vanishes. ii) Same question as before but evaluating the directional derivative at an arbitrary point (x 0 ; y 0 ) in the rst quadrant, i.e. x 0  0 and y 0  0. iii) Use the results in the preceding item to describe the level curves of f.

Solution: i) v = (1=

p 2 ; 1 =

p 2), v = ( 1 =

p 2 ; 1 =

p 2); ii) v = (x 0 =

x^20 + y^20 ; y 0 =

x^20 + y 02 ), v = (x 0 =

x^20 + y^20 ; y 0 =

x^20 + y 02 ); iii) These curves are lines going through the origin.

Exercise 1.30 Consider the following functions

f (x; y) = (tan

y x x + y; log

y + 1 x ) g(t; s) = (t cos s; et; s 2 t)

h(u; v; w) = uv^2 ew^ F = h ◦ g ◦ f :

i) Compute Df ; Dg; Dh. ii) Compute the tangent plane of the graph of F at the point (1; 0 ; F (1; 0)). iii) Compute the directional derivative of F at this point and along the direction = (3; 4).

Solution: i) Df (x; y) =

(^) xy 2 sec 2 yx (^1 1) x sec 2 yx + 1 (^) x^1 y+1^1

; Dg(t; s) =

cos s t sen s et^0 2 1

A;

ii) y z = 1; iii) 4 =5.

Exercise 1.31 The temperature of a metal plate is given by the function

T (x; y) = ex^ cos y + ey^ cos x:

i) In what direction from (0; 0) does the temperature increase the fastest? ii) In what direction from (0; 0) does the temperature decrease the fastest?

Solution: i) (1; 1); ii) ( 1 ; 1).

Exercise 1.32 The mass density of a metal ball centered at the origin is de ned in terms of the function (x; y; z) = ke(x (^2) +y (^2) +z (^2) ) ; with k a positive constant.

i) In what direction from the point (x; y; z) does the density increase the fastest? ii) In what direction from the point (x; y; z) does the density decrease the fastest?

Solution: i) (x; y; z); ii) (x; y; z); iii) ∂ρ∂x = 2 kxe(x (^2) +y (^2) +z (^2) ) , ∂ρ∂y = 2 kye(x (^2) +y (^2) +z (^2) ) , ∂ρ ∂z =^ ^2 kze

(x^2 +y^2 +z^2 ).

Exercise 1.

i) The function h(x; y) = 2ex 2

  • e^3 y 2 describes the height of a mountain at (x; y) 2 IR^2. In what direction from (1; 0) must one start walking in order to climb the mountain as fast as possible? ii) Assume that the temperature at a point (x; y; z) 2 IR^3 is given by the function T (x; y; z) = ex^ + e^2 y^ + e^3 z^. In what direction from (1; 1 ; 1) must one start walking in order cool down as fast as possible?

Solution: i) ( 1 ; 0); ii) (e^1 ; 2 e^2 ; 3 e^3 ).

Exercise 1.34 Find the equation of the tangent plane for the following surfaces at the pre- scribed points (x 0 ; y 0 ; z 0 ):

i) x^2 + y^2 + z^2 = 3; (x 0 ; y 0 ; z 0 ) = (1; 1 ; 1);

ii) x^3 2 y^3 + z^3 = 0; (x 0 ; y 0 ; z 0 ) = (1; 1 ; 1);

iii) ez^ cos x cos y = 0; (x 0 ; y 0 ; z 0 ) = (= 2 ; 0 ; 0);

iv) exyz^ = 1; (x 0 ; y 0 ; z 0 ) = (1; 2 ; 0):

Exercise 1.37 The position of a particle on IR^3 is given by c : IR! IR^3 ,

c(t) =

et 2 ; et 2 ; log(1 + t^2 )

Consider also the potential function V : IR^3! IR given by V (x; y; z) = (xy)^2. Compute using the chain rule d dt

(V ◦ c)(t) :

Compute also this derivative directly.

Solution: : Using the chain rule we have

d dt

(V ◦ c)(t) = (∇V )(c(t)) ◦ c′(t) =

2 et 2 ; 2 et 2 ; 0

2 tet 2 ; 2 tet 2 ; 2 t 1 + t^2

= 4t 4 t = 0 :

Differentiating the function (V ◦ c)(t) = 1 directly, we obtain the same result.

2 Local properties of functions with several variables.

2.1 Higher order derivatives.

Exercise 2.1 Consider the function

f (x; y) =

xy(x^2 y^2 ) x^2 + y^2 if (x; y) ̸= (0; 0) 0 if (x; y) = (0; 0):

i) Compute the partial derivatives outside the origin.

ii) Show that @f @x

@f @y

iii) Show that

@^2 f @x@y (0; 0) = 1, while

@^2 f @y@x (0; 0) = 1. Explain these results.

Solution: i)

@f @x

x^4 y + 4x^2 y^3 y^5 (x^2 + y^2 )^2

@f @y

xy^4 + 4x^3 y^2 x^5 (x^2 + y^2 )^2 ; iii) f is not of class C^2 on

any neighborhood of the origin.

Exercise 2.2 Compute the Hessian matrix for the functions:

i) f (x; y) = log(x^2 + y^3 ); ii) f (x; y) = x^2 cos y + y^2 sinx; iii) f (x; y) = xy; iv) f (x; y) = arctan(xy); v) f (x; y) = arctan(x=y); vi) f (x; y; z) = (x + y)(y + z)(z + x).

Solution: i)

( (^2) y (^3) 2 x 2 (x^2 +y^3 )^2 ^

6 xy^2 (x^2 +y^3 )^2 6 xy

2 (x^2 +y^3 )^2

6 x^2 y 3 y^4 (x^2 +y^3 )^2

; ii)

2 cos y y^2 sen x 2 x sen y + 2y cos x 2 x sen y + 2y cos x x^2 cos y + 2 sen x

iii)

y(y 1)xy^2 xy^1 (1 + y log x) xy^1 (1 + y log x) xy^ log^2 x

; iv)

( (^) 2 xy 3 (1+x^2 y^2 )^2

1 x^2 y^2 (1+x^2 y^2 )^2 1 x^2 y^2 (1+x^2 y^2 )^2

2 x^3 y (1+x^2 y^2 )^2

v)

( (^) 2 xy (x^2 +y^2 )^2

x^2 y^2 (x^2 +y^2 )^2 x^2 y^2 (x^2 +y^2 )^2

2 xy (x^2 +y^2 )^2

; vi)

2 y + 2z 2 x + 2y + 2z 2 x + 2y + 2z 2 x + 2y + 2z 2 x + 2z 2 x + 2y + 2z 2 x + 2y + 2z 2 x + 2y + 2z 2 x + 2y

A.

Exercise 2.

i) Show that the following functions on IR^2 ,

a) u(x; y) = arctan(y=x); b) u(x; y) = log(x^2 + y^2 );

are harmonic, i.e. they satisfy the Laplace equation ∆u = 0 on the corresponding domain. ii) Let u(x; y) = f (r), with r =

x^2 + y^2 , i.e. u is a radial function. Show that the u satis es the following equation

∆u = f ′′(r) +

r f ′(r):

2.2 Vector functions and differential operators.

Exercise 2.10 Compute the Jacobian matrix of the following functions:

i) A(x; y; z) = (xy; z); ii) b(x; y) = sin(x siny); iii) C(x) =

x + ex; x^2 ; cos x

iv) D(x; y) = (xey^ + cos y; x; x + ey); v) E(x; y; z) = (x + ez^ + y; yx^2 ); vi) F(x; y; z) = (xyexy; xsiny; 5 xy^2 ); vii) g(x; y; z; t) = x^2 log t + x

p z ty.

Solution: i) DA =

yxy^1 xy^ log x 0 0 0 1

; ii) DB = ( sen y cos(xsen y) x cos y cos(xsen y) );

iii) DC =

1 + ex 2 x sen x

A; iv) DD =

ey^ xey^ sen y 1 0 1 ey

A; v) DE =

1 1 ez 2 xy x^2

vi) DF =

yexy^ + xy^2 exy^ xexy^ + x^2 yexy^0 sen y x cos y 0 5 y^2 10 xy 0

A (^) vii) DG = ( 2x log t + pz t x=(2pz) x^2 =t y );

Exercise 2.

i) De ne T : IR^3! IR^2 by means of T (x; y; z) := (x 3 y + 2z; 2 x + y 2 z). Compute the Jacobian matrix DT. ii) Show that any linear mapping

TA : IRn^ ! IRm x ! Ax

m  n-matrix A, is differentiable at any point a 2 IRn^ and that DTA(a) = A.

Solution: i) DT =

Exercise 2.12 Consider a particle of mass m = 3 which moves along the trajectory s(t) = (et; et; cos t) according to Newton's law (force = mass  acceleration).

i) Compute the force that acts on the particle at time t = 0. ii) At time t = 1 the force eld dissapears and the particle continues its trajectory along the tangent line. At which point is the particle at t = 2.

Solution: i) F = (3; 3 ; 3); ii) The equation of the tangent line is r(t) = s(1) + t s′(1) = (e; e^1 ; cos 1) + t(e; e^1 ; sen 1). The particle is at t = 2 at r(1) = (2e; 0 ; cos 1 sen 1).

Exercise 2.13 Consider a particle of mass m which moves along the trajectory r(t) in IR^3 de according to Newton's law and for a force eld F = ∇V with a given potential energy V.

i) Show that the total energy (i.e. potential + kinetic energy)

E(t) =

mjjr′(t)jj^2 + V (r(t))

is constant in time. ii) Show that if the particle moves whithin an equipotential surface, then the modulus of the velocity is constant.

Exercise 2.14 Show that the following trajectories satisfy the relation s′(t) = F(s(t)) for the corresponding elds ( ux lines)

i) s(t) = (t^2 ; 2 t 1 ;

p t); F(x; y; z) = (y + 1; 2 ;

2 z

ii) s(t) = (e^2 t;

t

; log t); F(x; y; z) = (2x; y^2 ; y);

iii) s(t) = (

1 t

; log t; et 1 t

); F(x; y; z) = (x^2 ; x x 1

; z(1 + x)):

Exercise 2.15 Compute the divergence and the curl of the following elds:

i) F(x; y) = (3x^2 y; x^3 + y^3 ); ii) F(x; y; z) = (yz; xz; xy); iii) F(x; y; z) = (yz; xz; xy)=(x^2 + y^2 + z^2 ).

Solution: i) div F(x; y) = 6xy + 3y^2 ; curl F(x; y; z) = (0; 0 ; 0); ii) div F(x; y; z) = 0; curl F(x; y; z) = (0; 0 ; 0);

iii) div F(x; y; z) =

2 xyz (x^2 + y^2 + z^2 )^2 ; curl F(x; y; z) = (2x^3 ; 2 y(x^2 z^2 ); 2 z^3 )=(x^2 + y^2 + z^2 )^2.

Exercise 2.16 Compute the divergence and the curl of the following elds:

i) v(x; y; z) = xi + yj + zk, ii) v(x; y; z) = x x^2 + y^2 + z^2

i + y x^2 + y^2 + z^2

j + z x^2 + y^2 + z^2

k,

iii) v(x; y; z) = xi + 2yj + 3zk, iv) v(r) = r^2 r, where r = (x; y; z) is the position and r = ∥r∥ is the distance to the orgin.

Solution: i) div v(x; y; z) = 3; curl v(x; y; z) = (0; 0 ; 0); ii) div v(x; y; z) = 1=jjxjj^2 ; curl v(x; y; z) = (0; 0 ; 0); iii) div v(x; y; z) = 6; curl v(x; y; z) = (0; 0 ; 0). iv) Note that the elds de ned in (ii) and (iv) coincide.

Exercise 2.17 Assuming that f and F are of class C^2 show the following classical identities in vector analysis. (Note that the assumption implies that the mixed partial derivatives are equal, i.e. @^2 f =@xi@xj = @^2 f =@xj @xi).

i) curl(∇f ) = 0; (∇  (∇f ) = 0). ii) div(curl F) = 0; (∇  (∇  F) = 0). iii) ∇(f g) = f ∇g + g∇f ;

i) f (x; y) = x^4 + 2xy^3 + y^4 + 2xy;

ii) g(x; y) =

xy + xy^3 sin(x=y) si y ̸= 0 0 si y = 0:

Hint: In item ii) approach (0; 0) along two different lines. Choose the rst/second line in such a way that the function has a maximum/minimum at 0 respectively. Solution: Both functions have a saddle point at (0; 0).

Exercise 2.22 Classify all critical points of the following functions:

(i) f (x; y) = sin(x) cos(y).

(ii) g(x; y) = sin(x^2 ) sin(y^2 ).

Solution: (i) Maxima/minima at x(k 1 ; k 2 ) = ( π 2 + k 1 ; k 2 ), k 1 ; k 2 2 ZZ, if k 1 + k 2 is even/odd. Saddle points at y(k 1 ; k 2 ) = (k 1 ; π 2 + k 2 ), k 1 ; k 2 2 ZZ. (ii) Saddle point at (0; 0); Min- ima/saddle points at x(k) = (0; 

√ (^) π 2 +^ k),^ k^2 ZZ, if^ k^ is even/odd; Maxima/saddle points at x(k) = (

√ (^) π 2 +^ k;^ 0),^ k^2 ZZ, if^ k^ is even/odd; saddle points at x(k 1 ; k 2 ) = (

√ (^) π 2 +^ k^1 ;^ 

√ (^) π 2 +^ k^2 ),^ k^1 ; k^2 2 ZZ, if^ k^1 +^ k^2 is even and minimum/maximum at x(k 1 ; k 2 ) = (

√ (^) π 2 +^ k^1 ;^ 

√ (^) π 2 +^ k^2 ),^ k^1 ; k^2 2 ZZ^ if (k^1 is odd,k^2 is even)/(k^1 is even,k^2 is odd).

Exercise 2.23 Find all extrema of the following functions:

(i) f (x; y) = x^2 (ex (^2) +y 2 cos(y))

(ii) f (x; y) = jx^3 8 j + y^4

Solution: (i) By inspection one has absolute minima on the line f(0; y) j y 2 IRg. (ii) Absolute minimum at (2; 0).

2.4 Constrained extrema.

Exercise 2.24 Maximize the expression xyz on the sphere x^2 + y^2 + z^2 = 1.

Solution: Maximum at p^13 (1; 1 ; 1), p^13 ( 1 ; 1 ; 1), p^13 ( 1 ; 1 ; 1), p^13 (1; 1 ; 1).

Exercise 2.25 Minimize the expression x + 2y + 4z on the sphere x^2 + y^2 + z^2 = 1.

Solution: Minimum at p^121 (1; 2 ; 4).

Exercise 2.

i) Compute the extrema of the function f (x; y) = x^2 + y^2 on the set A = fxy = 1g. ii) Compute the extrema of the function f (x; y) = xy on the set A = fx^2 + 4y^2 = 4g.

Solution: i) Minima at the points (1; 1) and ( 1 ; 1), no maximum; ii) Maxima at the points (

p 2 ; 1 =

p 2 ) and (

p 2 ; 1 =

p 2 ); minima at the points (

p 2 ; 1 =

p 2 ) and (

p 2 ; 1 =

p 2 ).

Exercise 2.27 Compute the extrema of the following functions constrained to the given sub- sets:

i) f (x; y) = xy constrained to 2 x + 3y 5 = 0;

ii) u(x; y) =

log x x

log y y constrained to x + y = 1 , x; y > 0.

iii) g(x; y; z) = xyz constrained to x^2 a^2

y^2 b^2

z^2 c^2

iv) h(x; y; z) = x^2 y^4 z^6 constrained to x + y + z = 1; x; y; z > 0;

Solution: i) maximum at (5= 4 ; 5 =6), there is no minimum; ii) maximum at (1= 2 ; 1 =2), there is no minimum; iii) maxima at p^13 (jaj; jbj; jcj), p^13 (jaj; jbj; jcj), p^13 (jaj; jbj; jcj), p^13 (jaj; jbj; jcj);

minima at p^13 (jaj; jbj; jcj), p^13 (jaj; jbj; jcj), p^13 (jaj; jbj; jcj), p^13 (jaj; jbj; jcj) (compare with Exercise 2.18); iv) maximum at (1= 6 ; 1 = 3 ; 1 =2), there are no minima.

Exercise 2.28 Compute the absolute maxima and minima of the function

f (x; y) = x^2 + y^2 + 6x 8 y + 25

on the set D = fx^2 + y^2  16 g.

Solution: Minimum at ( 12 = 5 ; 16 =5); maximum at (12= 5 ; 16 =5).

Exercise 2.29 Let f (x; y; z) = x^2 3 y^2 z^2 + 2xy + 8y 4 z + 10.

i) Find and classify all critical points of f. ii) Does f have a global maximum and/or minimum when constrained to the set D = f(x; y; z) 2 IR^3 : x + y + z = 0g? If so, determine the corresponding points.

Solution: i) (2; 2 ; 2) is a local maximum; ii) There is no global minimum on D and the global maximum on D is at (1; 3 = 2 ; 5 =2). Solution: Maximal value M = 7, minimal value m = 1.

Exercise 2.30 What is the distance of the point (2; 2 ; 2) to the sphere x^2 + y^2 + z^2 = 1.

Solution: 2

p 3 1.

Exercise 2.31 Compute the distance of the point (4; 4 ; 10) to the sphere (x1)^2 +y^2 +(z+2)^2 = 25 in two ways:

i) use geometrical arguments; ii) use Lagrange multipliers.

Solution: Solution: d = 8.

Exercise 2.32 Express a positive number a as a product of four positive factors with minimal sum.

Solution: a = (a^1 /^4 )^4.

Exercise 2.33 A company produces three different products in quantities Q 1 ; Q 2 ; Q 3 and generates a pro t given by the expression a P (Q 1 ; Q 2 ; Q 3 ) = 2Q 1 +8Q 2 +24Q 3. Find the values of Q 1 ; Q 2 ; Q 3 that maximize the pro t if the production is constrained to Q^21 +2Q^22 +4Q^23 = 4: 5  109.