First, we find the partial derivative of f with respect to x: ∂x∂f=∂x∂(xzln(x+y+z)) Using the product rule, we have
∂x∂f=zln(x+y+z)+xz⋅x+y+z1⋅1=zln(x+y+z)+x+y+zxz Next, we find the partial derivative of f with respect to y: ∂y∂f=∂y∂(xzln(x+y+z)) ∂y∂f=xz⋅x+y+z1⋅1=x+y+zxz Finally, we find the partial derivative of f with respect to z: ∂z∂f=∂z∂(xzln(x+y+z)) Using the product rule, we have
∂z∂f=xln(x+y+z)+xz⋅x+y+z1⋅1=xln(x+y+z)+x+y+zxz Therefore, the gradient is
∇f=(zln(x+y+z)+x+y+zxz,x+y+zxz,xln(x+y+z)+x+y+zxz).