Calculus RⁿMedium

Gradient and tangent plane

For f(x,y)=x2+y2f(x,y)=x^2+y^2, calculate |∇f(3,4)| and write the tangent plane.
Given data
f(x,y) = x²+y²(x₀,y₀) = (3,4)
Review the theory: Calcolo in Rⁿ
Steps
0 / 3
  1. Calculate ∂f/∂x and ∂f/∂y.
  2. Calculate |∇f(3,4)|.
  3. Write the tangent plane z = f₀ + f_x(x−3) + f_y(y−4) and calculate f(3,4).
Full worked solution
  1. Calculate ∂f/∂x and ∂f/∂y.
    fx=2x=6,fy=2y=8f_x = 2x = 6, \quad f_y = 2y = 8
    fx=2xf_x = 2x, fy=2yf_y = 2y. At (3,4)(3,4): fx(3,4)=6f_x(3,4) = 6, fy(3,4)=8f_y(3,4) = 8. The gradient is ∇f=(2x,2y)\nabla f = (2x, 2y).
  2. Calculate |∇f(3,4)|.
    ∣∇f∣=62+82=10|\nabla f| = \sqrt{6^2+8^2} = 10
    ∣∇f(3,4)∣=fx2+fy2=62+82=36+64=100=10|\nabla f(3,4)| = \sqrt{f_x^2 + f_y^2} = \sqrt{6^2 + 8^2} = \sqrt{36 + 64} = \sqrt{100} = \mathbf{10}. The magnitude of the gradient is the Euclidean norm of its components.
  3. Write the tangent plane z = f₀ + f_x(x−3) + f_y(y−4) and calculate f(3,4).
    f(3,4)=25⇒z=25+6(x−3)+8(y−4)f(3,4)=25 \Rightarrow z=25+6(x-3)+8(y-4)
    f(3,4)=32+42=9+16=25f(3,4) = 3^2 + 4^2 = 9 + 16 = 25. Tangent plane: z=25+6(x−3)+8(y−4)=6x−18+8y−32+25=6x+8y−25z = 25 + 6(x-3) + 8(y-4) = 6x - 18 + 8y - 32 + 25 = \mathbf{6x + 8y - 25}.
Result:|∇f(3,4)| = 10; tangent plane: z=6x+8y−25z = 6x+8y-25.