Problem 1: Partial Derivatives and Gradient
Let f(x,y,z) = xy + yz - xyz. Find:
- The partial derivatives fx, fy, and fz
- The gradient vector f at point (1, -1, 2)
- The directional derivative of f at point (1, -1, 2) in the direction of vector v = 1, 2, -2
Solution:
Part 1: Finding Partial Derivatives
To find the partial derivative of f with respect to x, we treat y and z as constants:
For the partial derivative with respect to y, treating x and z as constants:
For the partial derivative with respect to z, treating x and y as constants:
Part 2: Finding the Gradient
The gradient f = fx, fy, fz. Evaluating at point (1, -1, 2):
fy(1, -1, 2) = (1) + (2) - (1)(2) = 3
fz(1, -1, 2) = 2(-1)(2) - (1)(-1) = -3
Therefore, f(1, -1, 2) = 0, 3, -3
Part 3: Finding the Directional Derivative
First, we find the unit vector in the direction of v = 1, 2, -2:
u = v/|v| = 1/3, 2/3, -2/3
The directional derivative is:
= 0(1/3) + 3(2/3) + (-3)(-2/3) = 2 + 2 = 4
Problem 2: Double Integration
Evaluate the double integral (x + y) dA over the region D bounded by y = x, y = 2x, and x = 1.
Solution:
First, let's sketch the region D. It's bounded by two rays y = x and y = 2x, and the vertical line x = 1. This region is best integrated dy dx:
Solving the inner integral:
= x(2x) + (2x)/3 - x(x) - x/3
= 2x + 8x/3 - x - x/3 = x + 7x/3 = 10x/3
Now solving the outer integral:
Therefore, (x + y) dA = 5/6 over the given region.
Problem 3: Triple Integrals in Cylindrical Coordinates
Evaluate the triple integral E z dV where E is the solid bounded by the paraboloid z = x + y and the plane z = 9.
Solution:
This problem is best solved using cylindrical coordinates. In cylindrical coordinates:
dV = r dz dr d
The paraboloid becomes z = r in cylindrical coordinates, and our region E is between z = r and z = 9.
To find the limits of r, we need to know where the paraboloid intersects the plane:
Therefore, r ranges from 0 to 3, and ranges from 0 to 2.
Setting up the triple integral:
Solving the inner integral:
Solving the middle integral:
= [81r/4 - r/12] = 729/6 = 121.5
Finally, solving the outer integral:
Therefore, E z dV = 243.
Problem 4: Line Integrals
Compute the line integral C xy dx + xy dy where C is the positively oriented triangle with vertices (0,0), (2,0), and (2,1).
Solution:
The triangle C consists of three line segments:
- C: From (0,0) to (2,0)
- C: From (2,0) to (2,1)
- C: From (2,1) back to (0,0)
Over C (y = 0, dy = 0, x from 0 to 2):
Over C (x = 2, dx = 0, y from 0 to 1):
Over C (line from (2,1) to (0,0)):
The equation of the line is y = x/2, so dy = dx/2. Since we're going from (2,1) to (0,0), x goes from 2 to 0.
= x/2 dx + x/8 dx
= (5x/8) dx = [5x/32]
= 0 - 5(2)/32 = -80/32 = -5/2
Total line integral:
Therefore, C xy dx + xy dy = -11/6.
Problem 5: Surface Integrals
Compute the surface integral S yz dS where S is the part of the plane x + y + z = 1 that lies in the first octant.
Solution:
For a surface given by z = g(x,y), the surface integral can be expressed as:
For our surface, we have z = g(x,y) = 1 - x - y, so:
This gives:
So our surface integral becomes:
Now we need to determine the region D in the xy-plane. Since S lies in the first octant and is bounded by x + y + z = 1, we have x 0, y 0, and z = 1 - x - y 0, which means x + y 1.
Setting up the double integral:
Solving the inner integral:
= [y/2 - xy/2 - y/3] = (1-x)/6
Solving the outer integral:
= 3/6 [u/4] = 3/6 1/4 = 3/24
Therefore, S yz dS = 3/24.
Problem 6: Divergence Theorem
Use the Divergence Theorem to calculate S F dS where F = x, y, z and S is the surface of the ball x + y + z = 4.
Solution:
The Divergence Theorem states that S F dS = E div(F) dV, where E is the solid bounded by S.
First, let's compute the divergence of F:
The region E is the ball x + y + z 4, which is a sphere of radius 2. This problem is best solved using spherical coordinates:
dV = sin() d d d
x + y + z =
In spherical coordinates, the divergence becomes div(F) = 3
Setting up the triple integral:
Solving the inner integral:
Solving the middle integral:
Solving the outer integral:
Therefore, by the Divergence Theorem, S F dS = 384/5.
Problem 7: Stokes' Theorem
Use Stokes' Theorem to evaluate S curl(F) dS where F = y, -x, z and S is the part of the sphere x + y + z = 4 that lies above the plane z = 1, oriented upward.
Solution:
Stokes' Theorem relates the surface integral of the curl of a vector field to a line integral around the boundary curve C:
First, let's find the boundary curve C of our surface. The surface is the part of the sphere x + y + z = 4 that lies above the plane z = 1. The boundary curve is the intersection of the sphere and the plane:
This is a circle of radius 3 in the plane z = 1, centered on the z-axis.
We can parameterize this curve C as:
The derivative of this parameterization is:
Now, let's find F(r(t)):
The line integral becomes:
= (3 sin(t))(-3 sin(t)) + (-3 cos(t))(3 cos(t)) + 1(0) dt
= -3 sin(t) - 3 cos(t) dt
= -3(sin(t) + cos(t)) dt
= -3 dt = -6
Therefore, by Stokes' Theorem, S curl(F) dS = -6.
Problem 8: Lagrange Multipliers
Find the maximum and minimum values of f(x,y) = x + y subject to the constraint g(x,y) = x + 2y = 3 using the method of Lagrange multipliers.
Solution:
To find the extreme values of f subject to the constraint g = 3 using Lagrange multipliers, we solve the system of equations:
First, let's compute the gradients:
Setting up the Lagrange equations:
From the first equation, either x = 0 or = 1.
Case 1: x = 0
If x = 0, then from our constraint: y = 3/2 y = (3/2)
From the second Lagrange equation with x = 0: 2y = (4y), which gives = 1/2 when y 0.
So we have points (0, (3/2)) and (0, -(3/2)).
Evaluating f at these points: f(0, (3/2)) = 0 + (3/2) = 3/2
Case 2: = 1
If = 1, then from the second Lagrange equation: 2y = 4y y = 0
From our constraint with y = 0: x = 3 x = 3
So we have points (3, 0) and (-3, 0).
Evaluating f at these points: f(3, 0) = 3 + 0 = 3
Now, let's determine which are maxima and which are minima:
- f(0, (3/2)) = 3/2 (minimum)
- f(3, 0) = 3 (maximum)
Therefore, the function f(x,y) = x + y has a minimum value of 3/2 at points (0, (3/2)) and (0, -(3/2)), and a maximum value of 3 at points (3, 0) and (-3, 0) under the constraint x + 2y = 3.
