{ "cells": [ {"cell_type":"markdown","source":"
(Thanks to Thomas' Calculus for the problems.)
","metadata":{}}, {"cell_type":"markdown","source":"Read the notes for the background.
","metadata":{}}, {"cell_type":"markdown","source":"We use all the following, which can be replaced by using MTH229
, if that package is installed:
Make a plot of the surface showing $f(x,y)= x \\cdot y \\cdot e^{-y^2}$ over the region $[-3,3] \\times [-3,3]$.
\nDoes the largest value over this region occur in the interior or on the boundary?
","metadata":{}}, {"outputs":[{"output_type":"execute_result","data":{"text/latex":[""]},"metadata":{},"execution_count":1}],"cell_type":"code","source":[""],"metadata":{},"execution_count":1}, {"cell_type":"markdown","source":"Make a contour plot of $\\sin(x/2) - \\cos(y) \\cdot \\sqrt{x^2 + y^2}$ over the region $[-5,5] \\times [-5, 5]$.
\nAre there any closed contours in the region? What does this suggest about where any maximal values might be?
","metadata":{}}, {"outputs":[{"output_type":"execute_result","data":{"text/latex":[""]},"metadata":{},"execution_count":1}],"cell_type":"code","source":[""],"metadata":{},"execution_count":1}, {"cell_type":"markdown","source":"Compute the gradient of the function $f(x,y) = 2y/(y + \\cos(x))$. (You can do this symbolically.)
\nLet $f(x,y) = (x^3 - y^3) \\cdot e^{-(x^2 + y^2)}$.
\nMake a surface plot over the square region $[-5,5] \\times [-5,5]$.
","metadata":{}}, {"outputs":[{"output_type":"execute_result","data":{"text/latex":[""]},"metadata":{},"execution_count":1}],"cell_type":"code","source":[""],"metadata":{},"execution_count":1}, {"cell_type":"markdown","source":"Find the gradient. What is $\\partial f/ \\partial x$?
","metadata":{}}, {"outputs":[{"output_type":"execute_result","data":{"text/latex":[""]},"metadata":{},"execution_count":1}],"cell_type":"code","source":[""],"metadata":{},"execution_count":1}, {"cell_type":"markdown","source":"Compute $f_{xx}$
","metadata":{}}, {"outputs":[{"output_type":"execute_result","data":{"text/latex":[""]},"metadata":{},"execution_count":1}],"cell_type":"code","source":[""],"metadata":{},"execution_count":1}, {"cell_type":"markdown","source":"Let $f(x,t) = \\sin(x + c\\cdot t)$ show for any $c$ that
\nGraph the plane through the origin which contains the vectors $\\hat{u} = \\langle 6, 4, −1\\rangle$ and $\\hat{v} = \\langle −3, 12, 5 \\rangle$. On the same graph, plot the cross product, $w = \\hat{u} \\times \\hat{v}$ of these vectors.
\nIs $w$ perpendicular or parallel to both $\\hat{u}$ and $\\hat{v}$?
","metadata":{}}, {"outputs":[{"output_type":"execute_result","data":{"text/latex":[""]},"metadata":{},"execution_count":1}],"cell_type":"code","source":[""],"metadata":{},"execution_count":1}, {"cell_type":"markdown","source":"Is $w$ a unit vector?
","metadata":{}}, {"outputs":[{"output_type":"execute_result","data":{"text/latex":[""]},"metadata":{},"execution_count":1}],"cell_type":"code","source":[""],"metadata":{},"execution_count":1}, {"cell_type":"markdown","source":"For $f(x,y) = 2x^3 + 3xy + 2y^3$ find all points where the gradient is the zero vector.
\nFind the Hessian of $f$
","metadata":{}}, {"outputs":[{"output_type":"execute_result","data":{"text/latex":[""]},"metadata":{},"execution_count":1}],"cell_type":"code","source":[""],"metadata":{},"execution_count":1}, {"cell_type":"markdown","source":"Use the second partials test to say whether these values are a relative maximum, minimum, saddle point. If the second derivative test is inconclusive, say that.
","metadata":{}}, {"outputs":[{"output_type":"execute_result","data":{"text/latex":[""]},"metadata":{},"execution_count":1}],"cell_type":"code","source":[""],"metadata":{},"execution_count":1}, {"cell_type":"markdown","source":"Let $f(x,y) = x^3 \\cdot y^3$. Using Lagrange multipliers, find the maximum value of $f$ over the unit disc, $x^2 + y^2 = 1$.
\n