6.1 and 6.2 Flashcards

1
Q

What is an nxm matrix?

A

A rectangular array of numbers with n rows and m coloumns

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

List some examples of how to create matrices in Matlab.

A
  • A = [1 2; 2 3]
  • zeroes(2, 3)
  • ones(5, 7)
  • randn(2, 3)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When typing in X = A\b in Matlab to solve linear systems, which algorithm is used to solve it?

A

Gaussian elimination which is optimized for accuracy, but not efficiency

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

What happens to the error of the Matlab algorithm as N increases?

A

The error increases a great deal

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

When the lines are ________, the system Ax = b has no solution.

A

parallel

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

When the lines are ___________ each other, the system Ax = b has infinitely many solutions.

A

overlapping

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

When a Gaussian Elimination succeeds, we find a ______ solution to the linear system Ax = b.

A

unique

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

What is partial pivoting?

A

Partial pivoting is when you move the number with the largest magnitude to the pivot position before subtracting the rows below it to create zeroes.

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

What is the efficiency of Gaussian Elimination?

A

O(2/3n^3), for large n

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

What does the condition number of a matrix determine?

A

Kappa(A) measures how close to singular A is

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

When kappa(A) is large, A is ___-________

A

ill conditioned

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

How do you calculate kappa(A)?

A

||A||*||A^-1||

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

What is an example of an ill-conditioned matrix?

A

The Hilbert matrix

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