Free Online Flashcard Deck

04 Gradients and Optimization Free Online FlashCards

Study 04 Gradients and Optimization with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What is the gradient formula for a directional derivative?

Back

For a differentiable function, the directional derivative in unit direction u\mathbf{u} is Duf=∇f⋅uD_{\mathbf{u}}f=\nabla f\cdot\mathbf{u}.

02
Front

How do you convert a direction vector into a unit vector?

Back

Normalize a nonzero direction vector v\mathbf{v} by dividing it by its magnitude: u=v∥v∥\mathbf{u}=\frac{\mathbf{v}}{\|\mathbf{v}\|}.

03
Front

How is the gradient of f(x,y,z)f(x,y,z) defined?

Back

For f(x,y,z)f(x,y,z), the gradient is ∇f=⟨∂f∂x,∂f∂y,∂f∂z⟩\nabla f=\left\langle\frac{\partial f}{\partial x},\frac{\partial f}{\partial y},\frac{\partial f}{\partial z}\right\rangle.

04
Front

What do the direction and magnitude of the gradient represent?

Back

The gradient points in the direction of steepest ascent, and its magnitude ∥∇f∥\|\nabla f\| is the maximum rate of increase.

05
Front

When is a directional derivative zero?

Back

A direction perpendicular to ∇f\nabla f has directional derivative zero, because Duf=∇f⋅u=0D_{\mathbf{u}}f=\nabla f\cdot\mathbf{u}=0.

06
Front

What is the geometric relation between a gradient and a level curve?

Back

The gradient is normal, or perpendicular, to a level curve f(x,y)=cf(x,y)=c at a regular point.

07
Front

What equation gives the tangent plane to F(x,y,z)=cF(x,y,z)=c?

Back

For F(x,y,z)=cF(x,y,z)=c at P=(x0,y0,z0)P=(x_0,y_0,z_0), the tangent plane is ∇F(P)⋅⟨x−x0,y−y0,z−z0⟩=0\nabla F(P)\cdot\langle x-x_0,y-y_0,z-z_0\rangle=0.

08
Front

What is the tangent-plane formula for z=f(x,y)z=f(x,y)?

Back

For z=f(x,y)z=f(x,y), the tangent plane at (x0,y0,f(x0,y0))(x_0,y_0,f(x_0,y_0)) is z−f(x0,y0)=fx(x0,y0)(x−x0)+fy(x0,y0)(y−y0)z-f(x_0,y_0)=f_x(x_0,y_0)(x-x_0)+f_y(x_0,y_0)(y-y_0).

09
Front

What makes an interior point a critical point?

Back

An interior point is critical if ∇f(a)=0\nabla f(\mathbf{a})=\mathbf{0} or if a relevant partial derivative does not exist.

10
Front

How does the second-derivative test classify a critical point?

Back

For a critical point, let D=fxxfyy−(fxy)2D=f_{xx}f_{yy}-(f_{xy})^2. If D>0D>0 and fxx>0f_{xx}>0, it is a local minimum; if D>0D>0 and fxx<0f_{xx}<0, a local maximum; if D<0D<0, a saddle.

11
Front

What equations define Lagrange multipliers for one constraint?

Back

To optimize ff subject to g=cg=c, solve ∇f=λ∇g\nabla f=\lambda\nabla g together with g=cg=c, then compare the objective values at all candidates.

12
Front

What are the extrema of xyxy on the unit circle?

Back

For f(x,y)=xyf(x,y)=xy on x2+y2=1x^2+y^2=1, the maximum is 12\frac{1}{2} when y=xy=x, and the minimum is −12-\frac{1}{2} when y=−xy=-x.