solving systems
- L. Olson
Department of Computer Science University of Illinois at Urbana-Champaign
1
solving systems L. Olson Department of Computer Science University - - PowerPoint PPT Presentation
solving systems L. Olson Department of Computer Science University of Illinois at Urbana-Champaign 1 objectives Construct a linear system for a problem Solve a linear system Analyze the cost (and accuracy?) of a solve Develop an
Department of Computer Science University of Illinois at Urbana-Champaign
1
2
3
4
5
1
2
3
4
5
6
7
8
9
6
1
2
3
4
5
6
7
8
9
6
j=1 2j − 1 = 2 n(n+1) 2
7
8
9
10
11
12
13
14
x x x x x x x x x x x x x x x x x x x x −→ x x x x x x ′ x ′ x ′ x ′ x x x x x x x x x x −→ x x x x x x ′ x ′ x ′ x ′ x ′ x ′ x ′ x ′ x x x x x −→ x x x x x x ′ x ′ x ′ x ′ x ′ x ′ x ′ x ′ x ′ x ′ x ′ x ′
15
16
17
18
1
2 3
4
5
6
7
8
9
10
20
1
2 3
4
5
6
7
8
9
10
11
12
21
22
j=1 j2
j=1 j2
j=1 j
23
j=1 j2
j=1 j2
j=1 j
j=1 j = p(p+1) 2
j=1 j2 = p(p+1)(2p+1) 6
n(n−1)(2n−1) 6
n(n−1)(2n−1) 6
2
3
24
n(n−1)(2n−1) 6
n(n2−1) 3
n(n−1) 2
n(n−1) 2
25
n(n−1) 2
n(n+1) 2
26
n(n−1)(2n−1) 6
2
2
3
n(n2−1) 3
2
2
3
27
28
k where mk = [0, . . . , 0, mk+1, . . . , mn]T and ek is
k
k , which means M−1 k
k
k
k ?
29
k − mjeT j + mkeT k mjeT j
k − mjeT j + mk(eT k mj)eT j
k − mjeT j
k M−1 j
30
31
1
2
32
33
1 M−1 2
n )(MnMn−1 . . . M1)A
1 M−1 2
n )((MnMn−1 . . . M1)A)
1
n
34
35