Question

In: Advanced Math

Problem 7.1. Let f (x, y) = x4 − 3xy + 2y2. (a) Compute the partial...

Problem 7.1. Let f (x, y) = x4 − 3xy + 2y2.
(a) Compute the partial derivatives of f as well as its discriminant. Then use
solve to find the critical points and to classify each one as a local maximum,
local minimum, or saddle point.
(b) Check your answer to (a) by showing that fminsearch correctly locates
the same local minima when you start at (0.5, 0.5) or at (−0.5, 0.5).
(c) What happens when you apply fminsearch with a starting value of
(0, 0)? Explain your answer.
(d) What are the values of f at the extrema? Now, using fmesh, graph the function
on a rectangle that includes all the critical points. Experiment with view
and axis until you get a picture that shows the behavior near the critical points.
Use the graph and all the previous data to justify the assertion: Sometimes symbolic
and/or numerical computations are more revealing than graphical information.

Solutions

Expert Solution

(b) Using fminsearch of MATLAB we get the two minimum for the initial point [0.5,0.5] and [-0.5,0.5] respectively. The code is as follows:

fun = @(x)x(1)^4 - 3*x(1)*x(2)+2*x(2)^2;
x0 = [-0.5,0.5];
x = fminsearch(fun,x0)

(c) If we take the initial point at [0,0] then the solution cannot be found as the initial point is a saddle point.

(d) f at (-3/4,-9/16) is -0.3164 and also at (3/4,9/16) f is -0.3164.

The code for the graph is:

[X,Y] = meshgrid(-1:.05:1);
Z = X.^4-(3*X.*Y)+2*Y.^2;
mesh(X,Y,Z)

and the graph is:


Related Solutions

Problem 7.3. Let f (x, y) = x6 + 3xy + y2 + y4. (a) Show...
Problem 7.3. Let f (x, y) = x6 + 3xy + y2 + y4. (a) Show that f remains unchanged if you replace x by −x and y by −y. Hence, if (x, y) is a critical point of f, so is (−x, −y). Thus, critical points other than (0, 0) come in ± pairs. 140 7 Optimization in Several Variables (b) Compute the partial derivatives of f . Show that solve applied directly to the system fx = fy...
Let f(x, y) = 5x 2y − 3x2  + 2y3 + 3xy, P be the point (1,...
Let f(x, y) = 5x 2y − 3x2  + 2y3 + 3xy, P be the point (1, −2) and a = <3, −5>. This problem has five parts. (a) [5 pts.] Find the first partial derivatives of f(x, y). (b) [5 pts.] Find all of the second-order partial derivatives of f(x, y). (c) [5 pts.] Find an equation of the tangent plane to f(x, y) at P. (d) [5 pts.] Find ∇f. (This is still part of number 8) (e)Find the...
Problem 16.8 Let X and Y be compact metric spaces and let f: X → Y...
Problem 16.8 Let X and Y be compact metric spaces and let f: X → Y be a continuous onto map with the property that f-1[{y}] is connected for every y∈Y. Show that ifY is connected then so isX.
1.Consider the function: f(x, y) = 2020 + y3-3xy + x3. a) Find fx(x, y), and...
1.Consider the function: f(x, y) = 2020 + y3-3xy + x3. a) Find fx(x, y), and fye(x, y). b) Find all critical points of f(x, y). c) Classify the critical points of f(x, y) (as local max, local min, saddle). 2.Consider f(x) = 2x-x2and g(x) = x2 a) [2 points] Find the intersection points (if any) of the graphs of f(x) and g(x). b) [4 points] Graph the functions f(x) and g(x), and shade the region bounded by: f(x), g(x),...
The curried version of let f (x,y,z) = (x,(y,z)) is let f (x,(y,z)) = (x,(y,z)) Just...
The curried version of let f (x,y,z) = (x,(y,z)) is let f (x,(y,z)) = (x,(y,z)) Just f (because f is already curried) let f x y z = (x,(y,z)) let f x y z = x (y z)
4. (Oblique Trajectory Problem) Let F(x, y) = x 2 + xy + y 2 ....
4. (Oblique Trajectory Problem) Let F(x, y) = x 2 + xy + y 2 . Find a formula for G(x, y) such that every curve in the one-parameter family defined by F(x, y) = c intersects every curve in the one-parameter family defined by G(x, y) = c at a sixty degree angle
Let z=e^(x) tan y. a. Compute the first-order partial derivatives of z. b. Compute the second-order...
Let z=e^(x) tan y. a. Compute the first-order partial derivatives of z. b. Compute the second-order partial derivatives of z. c.∗ Convert z = f(x,y) into polar coordinates and then compute the first- order partial derivatives fr and fθ by directly differentiating the com- posite function, and then using the Chain Rule.
5. Let X, Y and Z be sets. Let f : X ! Y and g...
5. Let X, Y and Z be sets. Let f : X ! Y and g : Y ! Z functions. (a) (3 Pts.) Show that if g f is an injective function, then f is an injective function. (b) (2 Pts.) Find examples of sets X, Y and Z and functions f : X ! Y and g : Y ! Z such that g f is injective but g is not injective. (c) (3 Pts.) Show that if...
Classify the extreme values of f(x,y) = x4 + y4 - 4xy +2
Classify the extreme values of f(x,y) = x4 + y4 - 4xy +2
Let f(x, y) = − cos(x + y2 ) and let a be the point a...
Let f(x, y) = − cos(x + y2 ) and let a be the point a = ( π/2, 0). (a) Find the direction in which f increases most quickly at the point a. (b) Find the directional derivative Duf(a) of f at a in the direction u = (−5/13 , 12/13) . (c) Use Taylor’s formula to calculate a quadratic approximation to f at a.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT