To solve this problem, you need to be familiar with the following linear algebra concepts:
Symmetric Matrix: A matrix A is symmetric if AT=A. In this problem, A∈Sn, so this property holds.
Transpose Properties:
(A+B)T=AT+BT
(AB)T=BTAT
Scalar Transpose: If a result is a scalar (a 1×1 matrix), its transpose is equal to itself. For vectors x,b∈Rn, the dot product xTb is a scalar, so xTb=(xTb)T=bTx.
We want to show that the quadratic form:
f(x)=xTAx−2xTb+c(1.28)
can be rewritten as:
f(x)=(x−d)TA(x−d)+e(1.29)
given:
d=A−1b(1.30)e=c−dTAd=c−bTA−1b(1.31)
Let's start by expanding the proposed form (1.29) and substituting the values of d and e to see if we arrive at (1.28).
The two middle terms are −xTAd and −dTAx.
Note that these terms are scalars (1×1).
Let's look at the term dTAx. Since it is a scalar, it equals its transpose:
(dTAx)T=xTAT(dT)T=xTATd
Since A is symmetric (A∈Sn), we know AT=A. Therefore:
(dTAx)T=xTAd
So, dTAx=xTAd. The cross terms are identical.
The expression becomes:
(x−d)TA(x−d)=xTAx−2xTAd+dTAd
Step 3: Substitute expressions for d and e back into original equation (1.29)
Now substitute this expansion back into (1.29):
f(x)=(xTAx−2xTAd+dTAd)+e
Substitute d=A−1b into the term −2xTAd:
−2xTAd=−2xTA(A−1b)=−2xT(AA−1)b=−2xTIb=−2xTb
Substitute the definition of e from (1.31):
e=c−dTAd
So the full expression becomes:
f(x)=xTAx−2xTb+dTAd+(c−dTAd)