3.4.2. For instance, q(1,0) = 1, while q(2,−1) = −1.
♦3.4.3.
(a) The associated quadratic form q(x) = xTDx=c1x2
1+c2x2
2+··· +cnx2
nis a sum of
squares. If all ci>0, then q(x)>0 for x6=0, since q(x) is a sum of non-negative terms,
at least one of which is strictly positive. If all ci≥0, then, by the same reasoning, D
is positive semi-definite. If all the ci<0 are negative, then Dis negative definite. If D
has both positive and negative diagonal entries, then it is indefinite.
(b)hv,wi=vTDw=c1v1w1+c2v2w2+··· +cnvnwn, which is the weighted inner
product (3.10).
3.4.6. First, (cK)T=cKT=cK is symmetric. Second, xT(c K)x=cxTKx>0 for any
x6=0, since c > 0 and K > 0.
♦3.4.7. (a)xT(K+L)x=xTKx+xTLx>0 for all x6=0, since both summands are strictly
positive. (b) For example, K= 2 0
♦3.4.10.
(a) Since K−1is also symmetric, xTK−1x=xTK−1K K−1x= (K−1x)TK(K−1x) = yTKy.
(b) If K > 0, then yTKy>0 for all y=K−1x6=0, and hence xTK−1x>0 for all x6=0.
♦3.4.11. It suffices to note that K > 0 if and only if cos θ=v·Kv
kvk kKvk=vTKv
kvk kKvk>0 for
all v6=0, which holds if and only if |θ|<1
90