Docsity

Partial Derivatives: Examples and Solutions - Prof. Nguyen, Lecture notes of Law

Partial preview of the text

Download Partial Derivatives: Examples and Solutions - Prof. Nguyen and more Lecture notes Law in PDF only on Docsity!

Multivariable Calculus

MTH

Virtual University of Pakistan

Knowledge beyond the boundaries

Table of Contents

  • Lecture No. 1 Introduction ……………………….………………………………...
  • Lecture No. 2 Values of function ……………………… …………………………….
  • Lecture No. 3 Elements of three dimensional geometry ………….…………………..
  • Lecture No. 4 Polar co-ordinates ………….…………………………………………..
  • Lecture No. 5 Limits of multivariable function……...……………………………….
  • Lecture No. 6 Geometry of continuous functions ……..…..…………………………..
  • Lecture No. 7 Geometric meaning of partial derivative ….…………………………...
  • Lecture No. 8 Euler theorm……………………...…………………………………….
  • Lecture No .9 Examples ………………………..……………………………………..
  • Lecture No. 10 Introduction to vectors ……….. .………………..……………………..
  • Lecture No. 11 The triple scalar product or Box product ………………….…………..
  • Lecture No. 12 Tangent Planes to the surfaces ………………………………………
  • Lecture No. 13 Normal Lines ….……...……………………………………………
  • Lecture No. 14 Extrema of function of two variables……… ……………………..…..
  • Lecture No. 15 Examples …….…………………………… …..……………………..
  • Lecture No. 16 Extreme Valued Theorm ……..………… ………………..…………..
  • Lecture No. 17 Example………………………………… ……………………………
  • Lecture No. 18 Revision Of Integration …………… … …………………………..
  • Lecture No. 19 Use of integrals……………………...………………………………..
  • Lecture No. 20 Double integral for non-rectangular region ……………………..
  • Lecture No. 21 Examples …………………...………………………………………..
  • Lecture No. 22 Examples ……………..……………………………………………..
  • Lecture No. 23 Polar co-ordinate systems ….………………………………………..
  • Lecture No. 24 Sketching ………..…………………………………………………..
  • Lecture No. 25 Double Integrals in Polar co-ordinates ….…………….………...…...
  • Lecture No. 26 Examples …………..………………………………………….……..
  • Lecture No. 27 Vector Valued Functions ………………………………………..…
  • Lecture No. 28 Limits Of Vector Valued Functions ……………………………..
  • Lecture No. 29 Change Of Parameter ………………….………… ……………….
  • Lecture No. 30 Exact Differential …………………………………………………..
  • Lecture No. 31 Line Integral ………………………………………...……………...
  • Lecture No. 32 Examples ………………………..…………………………………..
  • Lecture No. 33 Examples …..………………………………………………………..
  • Lecture No. 34 Examples ….………………………………………………………..
  • Lecture No. 35 Definite Integrals ……………………………..……………………..
  • Lecture No. 36 Scalar Field……………………………………..……………………
  • Lecture No. 37 Higher Order Derivative & Leibniz Theorem...…….………..……...
  • Lecture No. 38 Taylor and Maclaurin Series …………...……….………..……...
    • Lecture No. 39 Numerical Integration ...………...……….………..……...

1-Introduction VU

Similarly any point on the y-axis can be representing by an order pair  0, y . Some

points are shown in the figure below. Also note that these lines divide the plane into four regions: First, Second, Third and Fourth quadrants respectively. We take the positive real numbers at the right side of the origin and negative to the left side, in the case of x-axis. Similarly for y-axis and also shown in the figure.

Location of a point Now we will illustrate how to locate the point in the plane using x- and y- axes. Draw two perpendicular lines from the point whose position is to be determined. These lines will intersect at some point on the x-axis and y-axis and we can find out these points. Now the distance of the point of intersection of x-axis and perpendicular line from the origin is the x-coordinate of the point P and similarly the distance from the origin to the point of intersection of y-axis and perpendicular line is the y-coordinate of the point P as shown in the figure below.

In space, we have three mutually perpendicular lines as reference axes, namely x ,y and z axis. Now you can see from the figure below that the planes x = 0 ,y = 0 and z = 0 divide the space into eight octants. Also note that in this case we have (0,0,0) as origin and any point in the space will have three coordinates. Signs of coordinates in different octants First of all note that the equation x = 0 represents a plane in the 3d space and in this plane every point has its x-coordinate as 0, also that plane passes through the origin as shown in the figure above. Similarly y = 0 and z = 0 also define a plane in 3d space and have properties similar to that of x = 0 such that these planes also pass through the origin and

1-Introduction VU

any point in the plane y = 0 will have y-coordinate as 0 and any point in the plane z = 0 has z-coordinate as 0.

Also remember that when two planes intersect we get the equation of a line and when two lines intersect then we get a plane containing these two lines. Now note that by the intersection of the planes x = 0 and z = 0 we get the line which is our y-axis. Also by the intersection of x = 0 and y = 0 we get the line which is z-axis, similarly you can easily see that by the intersection of z = 0 and y = 0 we get line which is x-axis.

Now these three planes divide the 3d space into eight octants depending on the positive and negative direction of axis. The octant in which every coordinate of any point has positive sign is known as first octant formed by the positive x, y and z –axes. Similarly in second octant every point has x-coordinate as negative and other two coordinates as positive correspond to negative x-axis and positive y and z axis.

Now one octant is that in which every point has x and y coordinate negative and z- coordinate positive, which is known as the third octant. Similarly we have eight octants depending on the sign of coordinates of a point. These are summarized below.

First octant  , ,   Formed by positive sides of the three axis.

Second octant  , ,   Formed by –ve x-axis and positive y and z-axis.

Third octant  , ,   Formed by –ve x and y axis with positive z-axis.

Fourth octant  , ,   Formed by +ve x and z axis and –ve y-axis.

Fifth octant  , ,   Formed by +ve x and y axis with -ve z-axis.

Sixth octant  , ,   Formed by –ve x and z axis with positive y-axis.

Seventh octant   , ,   Formed by –ve sides of three axis.

Eighth octant  , ,   Formed by -ve y and z-axis with +ve x-axis.

(Remember that we have two sides of any axis one of positive values and the other is of negative values) Now as we told you that in space we have three mutually perpendicular lines as reference axis. So far you are familiar with the reference axis for 2d which consist of two perpendicular lines namely x-axis and y-axis. For the reference axis of 3d

2-Values of functions VU

LECTURE No. 2

VALUES OF FUNCTIONS

2 2 2 2

(^2 )

:Consider the function 2 –1, then 1 2 1 –1 1

4 2 4 –1 31, 2 2 2 –1 7

4 2 4 –1 2 16 31 These are the values of the function at some points.

f x x f

f f

f t t t t

Example 1

2 2

2

2

2

2

3 2

: Now we will consider a function of two variables, so consider the function , 1 then 2,1 2 1 1 5, 1, 2 2 1 3,

0, 0 0 0 1 1, 1, 3 1 3 1 2,

3 , 3 1 9

f x y x y f f

f f

f a a a a a f ab a b ab a b

Example 2

These are values of the function at some points.

a ba b

Example 3: Now consider the function f ( , x y ) x  3 xy , then

(a) f (2, 4)  2  3 (2)(4)  2  3 8  2  2  4

(b) f ( , t t^2 )  t  3 ( )( t t^2 )  t  3 t^3  tt  2 t

(c) f ( , x x^2 )  x  3 ( )( x x^2^ )  x  3 x^3  xx  2 x

(d) f (2 y^2 , 4 ) y  2 y^2  3 (2 y^2 )(4 ) y  2 y^2^  3 8 y^3  2 y^2  2 y

Example 4: Now again we take another function of three variables

f ( , x y z , )  1  x^2^  y^2  z^2 then

2 2 1 1 1 1 0 2 2 2

f    ^ ^  ^      

Example 5 : Consider the function f  x y z , ,   xy z^2 3  3, then at certain points we have

2 3 2 3

(^2 3 6 2 2 )

2 3

f f

f a a a a a a a f t t t t t t t

f

                

                

2 2 4 3 2 (^2 2 4 3 2 2 )

2 2 4 3 2 2 2 4

: Consider the function , , where and

, ,

f x y z x y z x t t y t t z t t

a f x t y t z t x t y t z t t t t t

b f x y z x y z

      ^ ^ ^ 

Example 6

Example 7 : Let us consider the function f  x y z , ,   xyz  x , then

y y f xy xz xy xz xy xy z xy x x

Example 8 :Let us consider g  x y z , ,   z Sin xy   , u  x y z , ,   x z^2 3 ,

2-Values of functions VU

 ,^ ,^  ,^ ( ,^ ,^ )^

xy v x y z Px yz w x y z z

  , then

g u   x y z , ,  , v x y z  , ,  , w x y z  , ,   w x y z  , ,  Sin u   x y z , ,  v x y z  , , 

Now by putting the values of these functions from the above equations, we get

g u x y z , , , v x y z , , , w x y z , , xy^ Sin x z^2 3^ Pxyz xySin P^3 z z

 ^   xyz

 ^ ^ ^  ^ ^  ^ ^ ^ 

2 2 3

2

:Consider the function , and , , ,

then , , , ,

g x y y Sin x y u x y x y v x y xy

g u x y v x y v x y Sin u x y v x y

Example 9

By putting the values of these functions we get

 ^ ^ ^     

2 3 2 5 7

g u x y , , v x y ,   xy Sin ^ x y   xy  xy Sin  x y

Function of One Variable: A function f of one real variable x is a rule that assigns a

unique real number f( x ) to each point x in some set D of the real line. Function of two Variables: A function f in two real variables x and y, is a rule that

assigns unique real number f  x y , to each point (x,y) in some set D of the xy-plane.

Function of three variables: A function f in three real variables x, y and z, is a rule

that assigns a unique real number f  x y z , , to each point (x,y,z) in some set D of three

dimensional space. Function of n variables: A function f in n variable real variables x 1 (^) , x 2 (^) , x 3 , , xn ,

is a rule that assigns a unique real number w  f  x 1 , x 2 , x 3 , , xn to each point (x 1 ,

x 2 , x 3 ,……, x n ) I n some set D of n dimensional space. Circles and Disks :

PARABOLA

Parabola y = -x 2

2-Values of functions VU

Example 11: Sketch the parabola yx^2  4 x  3

Solution: Since a  1  0 , parabola is opening upward. Vertex occurs at

b x a

     Axis of symmetry is the vertical line x  2.The y co-

ordinate of the vertex is    

2

y  2  4 2  3   1. Hence vertex is V  2 ,  1 . The

zeros of the parabola (i.e. the point where the parabola meets x-axis) are the solutions to

x^2^  4 x  3  0, so x  1 and x  3 .Therefore 1, 0  and  3, 0  lie on the parabola.

Also  0 ,3 and  4, 3 lie on the parabola. Graph of y  x^2 - 4 x  3

Ellipse

Hyperbola

Home Assignments: In this lecture we recall some basic geometrical concepts which are prerequisite for this course and you can find all these concepts in the chapter # 12 of your book Calculus By Howard Anton.

3-Elements of three dimensional geometry VU

LECTURE No.

ELEMENTS OF THREE DIMENSIONAL GEOMETRY

Distance formula in three dimensions

Let P x ( 1 (^) , y 1 (^) , z 1 )and Q x ( 2 (^) , y 2 (^) , z 2 ) be two points such that PQ is not parallel to one of the

coordinate axis Then PQ  ( x 2 (^)  x 1 (^) )^2  ( y 2 (^)  y 1 (^) )^2  ( z 2 (^)  z 1 )^2 Which is known as

Distance fromula between the points P and Q.

Example of distance formula Let us consider the points A(^^3 ,^2 ,^4 ), B(^6 ,^10 ,^1 )and C (^^9 ,^4 ,^1 ),then

2 2 2

2 2 2

2 2 2

BC
AC
AB

Mid point of two points Let P x ( 1 (^) , y 1 (^) , z 1 )and Q x ( 2 (^) , y 2 (^) , z 2 ) be two points. If R ( x , y , z ) is the middle point of the

line segment PQ , then the coordinates of the middle point R ( x , y , z )are given below:

(^1 2) , 1 2 , 1 2 2 2 2

x + x y + y z + z x = y = z =

Example 2 : Let us consider two points A(^^3 ,^2 ,^4 )and B(^6 ,^10 ,^1 ), then the coordinates

of mid point of AB are (^)  

Given a point, finding its Direction Cosines

Direction Angles

The direction angles^ ^ ,^ ,^ of a line is defined as
  Angle between line and the positive x-axis
  Angle between line and the positive y-axis
  Angle between line and the positive z-axis

3-Elements of three dimensional geometry VU

Solution: For a line joining two points^ P^ 1 3 2^ , ,^ and^ Q^ ^7 ,^ 2 3^ , , the direction ratios are

x - x 2 1 (^)  7  1  6, y - y 2 1 (^)   2  3   5, z - z 2 1  3  2  1

and the directions cosines are

2 2 2 2 2 2 2 2 2

Intersection of two surfaces •Intersection of two surfaces is a curve in three dimensional space. •It is the reason that a curve in three dimensional space is represented by two equations representing the intersecting surfaces. Intersection of Cone and Sphere

Intersection of Two Planes If the two planes are not parallel, then they intersect and their intersection is a straight line. Thus, two non-parallel planes represent a straight line given by two simultaneous linear equations in x, y and z and are known as non-symmetric form of equations of a straight line.

3-Elements of three dimensional geometry VU

Planes parallel to Coordinate Planes

General Equation of Plane Any equation of the form ax + by + cz + d = 0 represents a plane, where a, b, c, d are real numbers. Sphere

z-axis Consists of all points of the form (0, 0, z) x = 0, y = 0

y-axis Consists of all points of the form (0, y, 0) z = 0, x = 0

x-axis Consists of all points of the form (x, 0, 0) y = 0, z = 0

yz-plane Consists of all points of the form (0, y, z) x = 0

xz-plane Consists of all points of the form (x, 0, z) y = 0

xy-plane Consists of all points of the form (x, y, 0) z = 0

REGION DESCRIPTION EQUATION

3-Elements of three dimensional geometry VU

Horizontal Elliptic Cylinder

Overview of Lecture # 3

Chapter # 14 Three Dimensional Space Page # 657

Book CALCULUS by HOWARD ANTON

4-Polar Coordinates VU

LECTURE No.

POLAR COORDINATES Outlines of the lecture:

o Spherical Polar Coordinate

o Cylindrical Polar Coordinate

You know that position of any point in the plane can be obtained by the two perpendicular lines known as x and y axes and together we call it as Cartesian coordinates for plane. Beside this coordinate system, we have another coordinate system which can also be used for obtaining the position of any point in the plane. It is called Polar coordinate system. In this coordinate system, we represent position of each particle

in the plane by r and  where r the distance from a fixed point known as pole is O and 

is the measure of the angle.

Conversion formula from polar to Cartesian coordinates and vice versa

Now we convert the polar coordinates P ( r , )to Cartesian coordinates P ( x , y ).

From above diagram and remembering the trigonometric ratios we can write

cos cos (1)

sin sin (2)

x x = r r x y = r r

The equations (1) and (2) are used to convert the polar coordinates P ( r , )to Cartesian

coordinates P ( x , y ). Now we convert the Cartesian coordinates P ( x , y ) into polar

coordinates P ( r , ). Squaring equations (1) and (2), and adding them, we get,

2 2 2 2 2 2 2

2 2 2 2 2

cos sin cos sin

or (3)

x + y = r r r

x + y r r x + y

Dividing equation (2) by equation (1), we get

P(x, y) =P(r,)



r

x

y

4-Polar Coordinates VU

Conversion formulas between Rectangular and Cylindrical coordinates Now we will find out the relation between the Rectangular coordinate system and Cylindrical coordinate system. For this, consider any point P in the space and consider the position of this point in both the coordinate systems as shown in the figure below:

In the above figure, we have the projection P (^ r , )of the point P ( x , y , z )in the xy-

plane and write its position in plane polar coordinates and also represent the angle . Now from that projection, we draw perpendiculars PA^ and PB^ to both of the axes and using the trigonometric ratios‚ find out the following relations:

cos , sin ,

Therefore, cos , sin ,

x x z z r r x r y r z z

These equations convert the polar coordinates P ( r ,  , z )to Cartesian coordinates

P ( x , y , z ).

z z x

y

r  x^2 + y^2 , tan  , 

These equations convert the Cartesian coordinates P (^^ x , y , z )to polar coordinates

P ( r ,  , z ).

Conversion formulas between cylindrical and spherical coordinates Now we will find out the relation between spherical coordinate system and cylindrical coordinate system.

4-Polar Coordinates VU

First we will find the relation between Planes polar to spherical. From the above figure, you can easily see that from the two right angled triangles we have the following

relations: ( , , )( r , , z )

In the triangle,

x Cos x r Cos r y Sin y r Sin r

In the triangle, ( )

r Sin r Sin a

z Cos z Cos b

   

   

Therefore, r   Sin ,  , z   Cos 
Now from these equations we will solve the first and second equation for  and . Thus
we have ( r ,  , z )(, , )

Squaring and adding equations (a) and (b), we get

 r^2  z^2

Divide equation (a) by equation (b), z

r

tan 

Therefore, z

r

  r^2  z^2 , , tan

Conversion formulae between Rectangular and Spherical coordinates (ρ, θ, Φ) → (x, y, z) Since we know that the relation between Cartesian coordinates and Polar coordinates are

x  r cos , y  r sin , z  z ( A )

We also know that the relation between Spherical and cylindrical coordinates are,

r  Sin , , z  Cos  ( B )
Now putting this value of r and z from (B) in (A), we get
x  Sin  Cos , y  Sin  Sin , z  Cos  ( C )

It is the relation between spherical coordinate system and Cartesian coordinate system.

Now we will find ( x , y , z )( , , )

Squaring and adding the equations in (C),

     

2 2 2

2

2 2 2

2 2 2 2 2

2 2 2 2 2 2

x y z

Sin Cos

Sin Cos Sin Cos

x y z Sin Cos Sin Sin Cos

  

    

       

Also, x

y

Tan   And

x^2 y^2 z^2

z z Cos  