Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2017/discrete-mathematics-continuous-mathematics-and-probability/4/b/solution

Write , , , , and , . Put . The product rule and chain rule give
Here are derivatives with respect to . In the first derivative, because the expression is scalar. Likewise if desired. This differentiation of a parameter-dependent quadratic form does not assume that is symmetric. The positive linear term contributes the positive chain-rule terms in the derivatives; it is independent of .

New to topics? Read the docs here!