Exercise 1. Given a function f:R2→R, the first-order partial derivatives are provided:∂x∂f(x,y)=6x−6y and ∂y∂f(x,y)=6y2−6x.(a) Determine all stationary points of f.(b) Compute the second-order partial derivatives of f and find the Hessian matrix Hf(x,y) of f. Determine the points in the (x,y) plane where f has a local maximum, a local minimum or a saddle point.(c) It is now stated that f(0,0)=1. Determine the second-degree Taylor polynomial P2(x,y) for f with the expansion point f0.Exercise 2. Define the function f1 byf(x)={xsin(x)1x=0,x=0.(a) Find the third-degree Taylor polynomial f2 of f3 with expansion point f4.(b) Show thatx→0limxsin(x)=1.Hint: Use (a) and Taylor's limit formula.(c) Argue that f is continuous on f6.(d) Compute, e.g. using SymPy, a decimal approximation of f7. You should include at least 5 decimals.(e) Compute a Riemann sum f8 approximating f7, where we require that f0 for each f1.
Q. Exercise 1. Given a function f:R2→R, the first-order partial derivatives are provided:∂x∂f(x,y)=6x−6y and ∂y∂f(x,y)=6y2−6x.(a) Determine all stationary points of f.(b) Compute the second-order partial derivatives of f and find the Hessian matrix Hf(x,y) of f. Determine the points in the (x,y) plane where f has a local maximum, a local minimum or a saddle point.(c) It is now stated that f(0,0)=1. Determine the second-degree Taylor polynomial P2(x,y) for f with the expansion point f0.Exercise 2. Define the function f1 byf(x)={xsin(x)1x=0,x=0.(a) Find the third-degree Taylor polynomial f2 of f3 with expansion point f4.(b) Show thatx→0limxsin(x)=1.Hint: Use (a) and Taylor's limit formula.(c) Argue that f is continuous on f6.(d) Compute, e.g. using SymPy, a decimal approximation of f7. You should include at least 5 decimals.(e) Compute a Riemann sum f8 approximating f7, where we require that f0 for each f1.
Identify Stationary Points: Identify the stationary points by setting the first-order partial derivatives to zero.∂x∂f(x,y)=6x−6y=0∂y∂f(x,y)=6y2−6x=0Solving these equations:x=y6y2−6y=0y(y−1)=0So, y=0 or y=1, hence x=0 or x=1.Stationary points are (0,0) and (1,1).
Compute Partial Derivatives: Compute the second-order partial derivatives and the Hessian matrix.∂x2∂2f=6,∂y2∂2f=12y,∂x∂y∂2f=−6Hessian matrix Hf(x,y) is:[6−6−612y]
Determine Critical Points: Determine the nature of the critical points using the Hessian matrix.For (0,0):Hf(0,0)=[6−6−60]Determinant = 6×0−(−6)×(−6)=−36, which is negative, indicating a saddle point.For (1,1):Hf(1,1)=[6−6−612]Determinant = 6×12−(−6)×(−6)=36, which is positive. Since ∂x2∂2f>0, it's a local minimum.
Compute Taylor Polynomial: Compute the second-degree Taylor polynomial for f at (0,0).Given f(0,0)=1,P2(x,y)=1+∂x∂f(0,0)x+∂y∂f(0,0)y+21(∂x2∂2f(0,0)x2+2∂x∂y∂2f(0,0)xy+∂y2∂2f(0,0)y2)P2(x,y)=1+0⋅x+0⋅y+21(6x2−12xy+0y2)P2(x,y)=1+3x2−6xy
More problems from Find derivatives of sine and cosine functions