1. Base Principle

So all we need to do is to find a that satisfies .

2. Useful Rules

2.1. Differential

  • Addition rule:
  • Product rule:
  • Inverse:
  • Transpose:
  • Trace:
  • Determinant: , where is the adjugate matrix
  • Hadamard product:
  • Component-wise(element-wise) function:

2.2. Trace

  • Scalar trace:
  • Transpose:
  • Linearity:
  • Cyclic property: , where and are conformable. Both equal to
  • Cyclic property with Hadamard product: , where have the same dimensions. Both equal to

3. Common differential calculations

  • : dimension of output
  • : predicted value
  • : target value

3.1. MSE

let ,

Thus.

=

3.2. Eigenvalue and Eigenvector

Suppose , then can be decomposed as

where are the eigenvalues of and is the eigenvector matrix.

3.2.1. Eigenvalue

Thus,

3.2.2. Eigenvector

, because
Let

Let