二次型f(x1,x2,x3)=(x1-x2)^2+(x2-x3)^2的矩阵是什么,怎么求?

2025-01-12 05:50:58
推荐回答(2个)
回答1:

f(x1,x2,x3)=(x1-x2)^2+(x2-x3)^2
=x1^2 - 2x1x2 + 2x2^2 - 2x2x3 + x3^2
A =
1 -1 0
-1 2 -1
0 -1 1

回答2:

[x1 x2 x3][1 -1 0 ; -1 2 -1 ; 0 -1 1][x1 x2 x3]T