0% found this document useful (0 votes)
16 views2 pages

Workshop 1 Extended

Uploaded by

dtaaa001
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

Workshop 1 Extended

Uploaded by

dtaaa001
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Mathematics for AI - MAI391

Dr. Vu Khac Ky - [email protected]

Assignment 1
Homework 1 (2 points)
Given a function f (x, y) = x3 + 3x2 y + 2y 2 x − 2x + y from R2 → R.
1. (1 points) Compute the gradient of f (x, y) at (1,-2).
2. (1 points) Compute the determinant of the Hessian matrix of f (x, y) at (1,-2).

Homework 2 (2 points)
1
1. (1 points) Find the coefficient of x3 in the Taylor expansion of f (x) = x−2 at x = 0.
2. (1 points) Find the quadratic approximation of f (x, y) = sin(x + y)cos(y) at (x, y) = (0, 0).

Homework 3 (2 points)
1. Find the sum of the two singular values of
 
a 1
A= for a ∈ R.
0 2a

2. Find the SVD of the matrix  


3 2 2
B=
2 3 −2
Homework 4 (2 points)
1. Let    
2 0 0 4 2 −3 −2 0 0
A = 0 3 0  1 −3 5  0 2 0
0 0 −2 −2 3 −4 0 0 4
Compute trace(A) and det(A)?
2. Find the determinant of the following matrix
 
0 1 1 1 1
1 0 1 1 1
 
B= 1 1 0 1 1
1 1 1 0 1
1 1 1 1 0

Homework 5 - Code (2 points)


Let  
1 3 5 −2 3 7
−6 6 2 −1 1 7
 
0
A= 2 4 −3 −1 4
1 0 −2 −3 3 0
3 6 2 −2 1 −1
Using computer to find the sum of the 4 largest singular values of A?

1
Practical problems (not grading)
Problem 1
An n × n matrix is called nilpotent if Ak equals the zero matrix for some positive integerk. If λ is an
eigenvalue of a nilpotent matrix A, show that λ = 0.

Problem 2
If a matrix A is diagonalizable, show that for any scalar c, the matrix A + cI is also diagonalizable.

Problem 3
Two matrices A, B can be simultaneously diagonalized if there is an invertible matrix that diagonalizes both
of them.
(a) If A and B can be simultaneously diagonalized, show that AB = BA.

(b) Conversely, if AB = BA, and if one of these matrices, say A, has distinct eigenvalues, show they can
be simultaneously diagonalized.
Problem 4
Let U, V, W be orthogonal vectors and let Z = aU + bV + cW , where a, b, c are scalars. Show that

kZk2 = a2 kU k2 + b2 kV k2 + c2 kW k2 .

Problem 5
Let A be an n × n matrix such that A17 = 0. Prove that I − A is invertible.
Find the SDV of the matrix  
1 0 1 0
A=
0 1 0 1

You might also like