compute the Hessian Matrix of a function from R^n to R
Hessian(f, v, det, opts)
Hessian(f, v=p, det, opts)
list(name); specify the variables of differentiation
(optional) list(algebraic); point at which the Hessian is evaluated
(optional) equation of the form determinant=b, where b is either true or false; specify whether to return both the computed Hessian Matrix and its determinant
The Hessian(f, v) command computes the Hessian Matrix of the function f with respect to the variables in v. This is the Matrix with an (i,j)th entry of ∂2∂vj⁢∂vi⁢f.
If the point p is supplied, the computed Hessian will be evaluated at that point. The dimension of the point must equal the number of variables in v.
If the right side of det is true, an expression sequence containing the Hessian Matrix and its determinant, in that order, is returned. If the right side of det is false, the Hessian Matrix is returned. If this parameter is the word determinant, it is interpreted as determinant=true. If the det parameter is not specified, it defaults to determinant=false.
If any options are given in opts, they will be passed on to the construction of the returned Matrix. For details on available options, see Matrix.
H ≔ Hessian⁡1x2+y2+z2,x,y,z
H ≔ 8⁢x2x2+y2+z23−2x2+y2+z228⁢x⁢yx2+y2+z238⁢x⁢zx2+y2+z238⁢x⁢yx2+y2+z238⁢y2x2+y2+z23−2x2+y2+z228⁢y⁢zx2+y2+z238⁢x⁢zx2+y2+z238⁢y⁢zx2+y2+z238⁢z2x2+y2+z23−2x2+y2+z22
H,d ≔ Hessian⁡x2+y⁢ⅇx,x,y=1,−1,determinant
H,d ≔ 2−ⅇⅇⅇ0,−ⅇ2
The p parameter was introduced in Maple 16.
The determinant option was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.