Linear Algebra and Matrices Flashcards

1
Q

How is the nullspace of a matrix defined?

A

The set of all vectors x, that satisfies the equation Ax = ZeroVektor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Nullity of Matrix
and which is it’s relation the the Rank?

A

The Nullity is the number of vectors in the null spact. Relation: NumberOfColumns = Rank + Nullity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What can I say about the rank of a matriz of Order x (x,x), if the det != 0 ?

A

The rank is x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what are the errors in the following function to evaluate wheter if a,b,c are right angled or not:
#ENTER YOUR CODE BELOW
def triangle_right_angled(a, b, c):
import math
return (c ** 2 == a ** 2 + b ** 2)

A

comparison between float numbers => give forecarst of small number, no exact comparison
c ** 2 - a ** 2 - b ** 2 <= 10 ** -6

should allow for arbitrary (unsorted) lengths => first define catetes and hip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

how to increment the dic resources on key ingredient by the value of amount?

A

resources[ingredient] += amount

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

explain the row and column pictures for the linear equation A x = b in R2

A
  • row picture: get two points for each row in equation (e.g. replace one of the var. by zero) to plot lines. The solution will be the intersection
  • column picture: plot the column vectors and the point b. the x vector defines how much do I need from each column vector to reach b.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

in which vector space will be A . x always?

A

C(A) : column space of A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

which kind of functions can be represented as matrix?

A

linear functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is the geometrical interpretation of the determinant? How can I trlate it to condition fol solving Ax = b?

A

det(A) is the vol of the unity cube x after Ax. If A.x applied to the unity cube x, can I find A-1 ? If A squishes the unity cube I can’t. In this case det(A) = 0 and I can’t solve Ax = b.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

if one eingenvalue of a square matrix is zero then ….

A

The det o the matrix is zero

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what does the function call np.linalg.eig(Q) returns?

A

a tuple with eigenvalues and eigenvectors of Q

How well did you know this?
1
Not at all
2
3
4
5
Perfectly