Anki Deck Changes

Commit: 26758701 - i wü nimma, i kau nimma, i hoid des ois nimma aus

Author: lhorva <lhorva@student.ethz.ch>

Date: 2026-01-17T03:21:14+01:00

Changes: 41 note(s) changed (0 added, 41 modified, 0 deleted)

ℹ️ Cosmetic Changes Hidden: 6 note(s) had formatting-only changes and are not shown below • 4 HTML formatting changes • 1 mixed cosmetic changes

Note 1: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Classic
GUID: PF|EmWOMd:
modified

Before

Front

ETH::1._Semester::A&D::10._Shortest_Paths
Cost of a walk in a weighted graph \(G = (V, E, c)\):

Back

ETH::1._Semester::A&D::10._Shortest_Paths
Cost of a walk in a weighted graph \(G = (V, E, c)\):

sum of the weight of it's edges: \(\sum_{i = 0}^{l - 1} c(v_i, v_i+1)\)

After

Front

ETH::1._Semester::A&D::10._Shortest_Paths
Cost of a walk in a weighted graph \(G = (V, E, c)\)?

Back

ETH::1._Semester::A&D::10._Shortest_Paths
Cost of a walk in a weighted graph \(G = (V, E, c)\)?

Sum of the weight of it's edges: \(\sum_{i = 0}^{l - 1} c(v_i, v_{i+1})\)
Field-by-field Comparison
Field Before After
Front Cost of a walk in a weighted graph&nbsp;\(G = (V, E, c)\): Cost of a walk in a weighted graph&nbsp;\(G = (V, E, c)\)?
Back sum of the weight of it's edges:&nbsp;\(\sum_{i = 0}^{l - 1} c(v_i, v_i+1)\) Sum of the weight of it's edges:&nbsp;\(\sum_{i = 0}^{l - 1} c(v_i, v_{i+1})\)
Tags: ETH::1._Semester::A&D::10._Shortest_Paths

Note 2: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Cloze
GUID: n=wUJ;@Xl(
modified

Before

Front

ETH::1._Semester::A&D::09._Graph_Search::2._Breadth_First_Search
In BFS enter/leave ordering, the FIFO queue guarantees that the enter order = leave order within a given level.

Back

ETH::1._Semester::A&D::09._Graph_Search::2._Breadth_First_Search
In BFS enter/leave ordering, the FIFO queue guarantees that the enter order = leave order within a given level.

After

Front

ETH::1._Semester::A&D::09._Graph_Search::2._Breadth_First_Search
In BFS enter/leave ordering, the FIFO queue guarantees that the enter order equals the leave order within a given level.

Back

ETH::1._Semester::A&D::09._Graph_Search::2._Breadth_First_Search
In BFS enter/leave ordering, the FIFO queue guarantees that the enter order equals the leave order within a given level.

Field-by-field Comparison
Field Before After
Text In BFS enter/leave ordering, the FIFO queue guarantees that {{c1:: the&nbsp;<b>enter</b>&nbsp;order =&nbsp;<b>leave</b>&nbsp;order}} within a given level. In BFS enter/leave ordering, the FIFO queue guarantees that {{c1:: the&nbsp;<b>enter</b>&nbsp;order equals the&nbsp;<b>leave</b>&nbsp;order}} within a given level.
Tags: ETH::1._Semester::A&D::09._Graph_Search::2._Breadth_First_Search

Note 3: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Classic
GUID: rK[r{Nqt?9
modified

Before

Front

ETH::1._Semester::A&D::08._Directed_Graphs::1._Introduction_to_Directed_Graphs
In a directed graph can we have \((u, v) \land (v, u) \in E\)?

Back

ETH::1._Semester::A&D::08._Directed_Graphs::1._Introduction_to_Directed_Graphs
In a directed graph can we have \((u, v) \land (v, u) \in E\)?

Yes

After

Front

ETH::1._Semester::A&D::08._Directed_Graphs::1._Introduction_to_Directed_Graphs
In a directed graph can we have \((u, v) \land (v, u) \in E\)?

Back

ETH::1._Semester::A&D::08._Directed_Graphs::1._Introduction_to_Directed_Graphs
In a directed graph can we have \((u, v) \land (v, u) \in E\)?

Yes.
Field-by-field Comparison
Field Before After
Back Yes Yes.
Tags: ETH::1._Semester::A&D::08._Directed_Graphs::1._Introduction_to_Directed_Graphs

Note 4: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Classic
GUID: vE[;wMoI5.
modified

Before

Front

ETH::1._Semester::A&D::10._Shortest_Paths
Optimal substructure of cheapest paths:

Back

ETH::1._Semester::A&D::10._Shortest_Paths
Optimal substructure of cheapest paths:

A cheapest path in a weighted graph (without negative cycles) has the optimal substructure property: any subpath is itself the cheapest path between it's endpoints.

After

Front

ETH::1._Semester::A&D::10._Shortest_Paths
What is the optimal substructure property of shortest paths?

Back

ETH::1._Semester::A&D::10._Shortest_Paths
What is the optimal substructure property of shortest paths?

Any subpath of a shortest path is itself the shortest path between its endpoints (requires no negative cycles).
Field-by-field Comparison
Field Before After
Front Optimal substructure of cheapest paths: What is the optimal substructure property of shortest paths?
Back A cheapest path in a weighted graph (without negative cycles) has the optimal substructure property: <i>any subpath is itself the cheapest path between it's endpoints</i>. Any subpath of a shortest path is itself the shortest path between its endpoints (requires no negative cycles).
Tags: ETH::1._Semester::A&D::10._Shortest_Paths

Note 5: ETH::A&D

Deck: ETH::A&D
Note Type: Algorithms
GUID: y@l`JCIJ<4
modified

Before

Front

ETH::1._Semester::A&D::09._Graph_Search::2._Breadth_First_Search
Runtime of BFS (Breadth First Search)?

Back

ETH::1._Semester::A&D::09._Graph_Search::2._Breadth_First_Search
Runtime of BFS (Breadth First Search)?

\(O(|V|+|E|)\) (Adjacency List)

The runtime of BFS:
  1. each loop we take \(O(1 + \deg(u))\) time (go through the vertex \(u\)'s edges
  2. We loop a total of \(|V|\) times (we visit each edge max. 1 time)

After

Front

ETH::1._Semester::A&D::09._Graph_Search::2._Breadth_First_Search
Runtime of BFS (Breadth First Search)?

Back

ETH::1._Semester::A&D::09._Graph_Search::2._Breadth_First_Search
Runtime of BFS (Breadth First Search)?

\(O(|V|+|E|)\) (Adjacency List)

The runtime of BFS:
  1. each loop we take \(O(1 + \deg(u))\) time (go through the vertex \(u\)'s edges
  2. We loop a total of \(|V|\) times (we visit each edge max. 1 time)
Field-by-field Comparison
Field Before After
Requirements Directed Graph ((negative) cycles accepted, as "shortest" (not cheapest) path not affected) Directed Graph.<br><br>Note that (negative) cycles are accepted, as we are looking for the "shortest" (not cheapest) path.
Use Case Shortest Path in a directed graph, Bipartite Test Shortest Path in a directed graph, Bipartite test
Tags: ETH::1._Semester::A&D::09._Graph_Search::2._Breadth_First_Search

Note 6: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Cloze
GUID: yX`f0NZg((
modified

Before

Front

ETH::1._Semester::A&D::10._Shortest_Paths
The triangle inequality in a weighted graph is \(d(u, v) \leq d(u, w) + d(w, v)\)

Back

ETH::1._Semester::A&D::10._Shortest_Paths
The triangle inequality in a weighted graph is \(d(u, v) \leq d(u, w) + d(w, v)\)

This holds as if the path through \(w\) was actually cheaper, then \(d(u, v)\) would be wrong.

Does not hold in graphs with negative cycles.

After

Front

ETH::1._Semester::A&D::10._Shortest_Paths
The triangle inequality in a weighted graph is \(d(u, v) \leq d(u, w) + d(w, v)\).

Back

ETH::1._Semester::A&D::10._Shortest_Paths
The triangle inequality in a weighted graph is \(d(u, v) \leq d(u, w) + d(w, v)\).

This holds, since if the path through \(w\) was actually cheaper, then \(d(u, v)\) would be wrong.

Does not hold in graphs with negative cycles.
Field-by-field Comparison
Field Before After
Text The {{c1::<b>triangle inequality</b>}} in a weighted graph is {{c2::\(d(u, v) \leq d(u, w) + d(w, v)\)}} The {{c1::<b>triangle inequality</b>}} in a weighted graph is {{c2::\(d(u, v) \leq d(u, w) + d(w, v)\)}}.
Extra This holds as if the path through&nbsp;\(w\)&nbsp;was actually cheaper, then \(d(u, v)\)&nbsp;would be wrong.<br><br>Does not hold in graphs with negative cycles. This holds, since if the path through&nbsp;\(w\)&nbsp;was actually cheaper, then \(d(u, v)\)&nbsp;would be wrong.<br><br>Does not hold in graphs with negative cycles.
Tags: ETH::1._Semester::A&D::10._Shortest_Paths

Note 7: ETH::A&D

Deck: ETH::A&D
Note Type: Algorithms
GUID: z{8WPibSbC
modified

Before

Front

ETH::1._Semester::A&D::10._Shortest_Paths::1._Dijkstra's_Algorithm
Runtime of Dijkstra's Algorithm?

Back

ETH::1._Semester::A&D::10._Shortest_Paths::1._Dijkstra's_Algorithm
Runtime of Dijkstra's Algorithm?

\(O((|E| + |V|) \log |V|)\) (or \(O(|V|^2)\)

The runtime is calculated from \(O(n + (\#\text{extract-min} + \#\text{decrease-key}) \cdot \log n)\)  which gives \(O((n + m) \cdot \log n)\).

After

Front

ETH::1._Semester::A&D::10._Shortest_Paths::1._Dijkstra's_Algorithm
Runtime of Dijkstra's Algorithm?

Back

ETH::1._Semester::A&D::10._Shortest_Paths::1._Dijkstra's_Algorithm
Runtime of Dijkstra's Algorithm?

\(O((|V| + |E|) \log |V|)\) (or \(O(|V|^2)\)

The runtime is calculated from \(O(n + (\#\text{extract-min} + \#\text{decrease-key}) \cdot \log n)\)  which gives \(O((n + m) \cdot \log n)\).

Field-by-field Comparison
Field Before After
Runtime \(O((|E| + |V|) \log |V|)\)&nbsp;(or&nbsp;\(O(|V|^2)\)<br><br>The runtime is calculated from \(O(n + (\#\text{extract-min} + \#\text{decrease-key}) \cdot \log n)\)&nbsp; which gives \(O((n + m) \cdot \log n)\). \(O((|V| + |E|) \log |V|)\)&nbsp;(or&nbsp;\(O(|V|^2)\)<br><br>The runtime is calculated from \(O(n + (\#\text{extract-min} + \#\text{decrease-key}) \cdot \log n)\)&nbsp; which gives \(O((n + m) \cdot \log n)\).
Tags: ETH::1._Semester::A&D::10._Shortest_Paths::1._Dijkstra's_Algorithm

Note 8: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Au5Kz9Rp2H
modified

Before

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
\(F\)\(\vdash\)\( \vdash F \lor G\) and \(F \vdash G \lor F\) are valid derivation rules.

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
\(F\)\(\vdash\)\( \vdash F \lor G\) and \(F \vdash G \lor F\) are valid derivation rules.

After

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
\(F\)  \(\vdash\) \(F \lor G\) and \(F \vdash G \lor F\) are valid derivation rules.

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
\(F\)  \(\vdash\) \(F \lor G\) and \(F \vdash G \lor F\) are valid derivation rules.
Field-by-field Comparison
Field Before After
Text {{c1::\(F\)}}\(\vdash\){{c2::\( \vdash F \lor G\)}}&nbsp;and {{c2::\(F \vdash G \lor F\)}} are valid derivation rules. {{c1::\(F\)&nbsp;}}&nbsp;\(\vdash\)&nbsp;{{c2::\(F \lor G\)}}&nbsp;and {{c2::\(F \vdash G \lor F\)}} are valid derivation rules.
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules

Note 9: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Bv6Pw3Tn8L
modified

Before

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
Prop. Logic Dervation rules: {{c1::\(\{F, F \rightarrow G\}\)}}\( \vdash\)  \( G\).

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
Prop. Logic Dervation rules: {{c1::\(\{F, F \rightarrow G\}\)}}\( \vdash\)  \( G\).

(modus ponens)

After

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
Derivation rule of modus ponens:

{{c1::\(\{F, F \rightarrow G\}\)}} \( \vdash\)  \( G\)

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
Derivation rule of modus ponens:

{{c1::\(\{F, F \rightarrow G\}\)}} \( \vdash\)  \( G\)
Field-by-field Comparison
Field Before After
Text Prop. Logic Dervation rules:&nbsp;{{c1::\(\{F, F \rightarrow G\}\)}}\( \vdash\)&nbsp;{{c2::&nbsp;\( G\)}}. Derivation rule of modus ponens:<br><br>{{c1::\(\{F, F \rightarrow G\}\)}}&nbsp;\( \vdash\)&nbsp;{{c2::&nbsp;\( G\)}}
Extra (modus ponens)
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules

Note 10: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Cw7Qx4Vm9M
modified

Before

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
Prop. Logic Dervation rules: {{c1::\(\{F \lor G, F \rightarrow H, G \rightarrow H\}\)}}\(\vdash\)\( \vdash H\).

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
Prop. Logic Dervation rules: {{c1::\(\{F \lor G, F \rightarrow H, G \rightarrow H\}\)}}\(\vdash\)\( \vdash H\).

(case distinction)

After

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
Derivation rule of case distinction:

{{c1::\(\{F \lor G, F \rightarrow H, G \rightarrow H\}\)}} \(\vdash\) \(H\)

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
Derivation rule of case distinction:

{{c1::\(\{F \lor G, F \rightarrow H, G \rightarrow H\}\)}} \(\vdash\) \(H\)
Field-by-field Comparison
Field Before After
Text Prop. Logic Dervation rules: {{c1::\(\{F \lor G, F \rightarrow H, G \rightarrow H\}\)}}\(\vdash\){{c2::\( \vdash H\)}}. Derivation rule of case distinction:<br><br>{{c1::\(\{F \lor G, F \rightarrow H, G \rightarrow H\}\)}}&nbsp;\(\vdash\){{c2::&nbsp;\(H\)}}
Extra (case distinction)
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules

Note 11: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ga8Ty4Rl9M
modified

Before

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::1._Syntax
A formula in propositional logic is defined recursively:
- An atomic formula is a formula
- If \(F\) and \(G\) are formulas, then also \(\lnot F\), \(F \lor G\), \(F \land G\).

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::1._Syntax
A formula in propositional logic is defined recursively:
- An atomic formula is a formula
- If \(F\) and \(G\) are formulas, then also \(\lnot F\), \(F \lor G\), \(F \land G\).

After

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::1._Syntax
A formula in propositional logic is defined recursively:
  1. An atomic formula is a formula
  2. If \(F\) and \(G\) are formulas, then also \(\lnot F\), \(F \lor G\), \(F \land G\).

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::1._Syntax
A formula in propositional logic is defined recursively:
  1. An atomic formula is a formula
  2. If \(F\) and \(G\) are formulas, then also \(\lnot F\), \(F \lor G\), \(F \land G\).
Field-by-field Comparison
Field Before After
Text A formula in propositional logic is defined recursively:<br>- {{c2::An atomic formula is a formula}}<br>- If&nbsp;\(F\)&nbsp;and&nbsp;\(G\)&nbsp;are formulas, then also {{c3::\(\lnot F\), \(F \lor G\), \(F \land G\)}}. A formula in propositional logic is defined recursively:<br><ol><li>{{c2::An atomic formula is a formula}}</li><li>If&nbsp;\(F\)&nbsp;and&nbsp;\(G\)&nbsp;are formulas, then also {{c3::\(\lnot F\), \(F \lor G\), \(F \land G\)}}.</li></ol>
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::1._Syntax

Note 12: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: IY+[tV3KDj
modified

Before

Front

ETH::1._Semester::DiskMat::5._Algebra::5._Rings_and_Fields::2._Units_and_the_Multiplicative_Group_of_a_Ring

State Lemma 5.18 about the units of a ring and the property they satisfy? (Proof included)

Back

ETH::1._Semester::DiskMat::5._Algebra::5._Rings_and_Fields::2._Units_and_the_Multiplicative_Group_of_a_Ring

State Lemma 5.18 about the units of a ring and the property they satisfy? (Proof included)


Lemma 5.18: For a ring \(R\), \(R^*\) is a group (the multiplicative group of units of \(R\)).

Proof idea: Every element of \(R^*\) has an inverse by definition, so axiom G3 holds. The other group axioms (associativity, neutral element) are inherited from the ring.

After

Front

ETH::1._Semester::DiskMat::5._Algebra::5._Rings_and_Fields::2._Units_and_the_Multiplicative_Group_of_a_Ring

State Lemma 5.18 about the units of a ring and the property their set satisfies? (Proof included)

Back

ETH::1._Semester::DiskMat::5._Algebra::5._Rings_and_Fields::2._Units_and_the_Multiplicative_Group_of_a_Ring

State Lemma 5.18 about the units of a ring and the property their set satisfies? (Proof included)


Lemma 5.18: For a ring \(R\), \(R^*\) is a group (the multiplicative group of units of \(R\)).

Proof idea: Every element of \(R^*\) has an inverse by definition, so axiom G3 holds. The other group axioms (associativity, neutral element) are inherited from the ring.

Field-by-field Comparison
Field Before After
Front <p>State Lemma 5.18 about the units of a ring and the property they satisfy?&nbsp;<i>(Proof included)</i></p> <p>State Lemma 5.18 about the units of a ring and the property their set satisfies?&nbsp;<i>(Proof included)</i></p>
Tags: ETH::1._Semester::DiskMat::5._Algebra::5._Rings_and_Fields::2._Units_and_the_Multiplicative_Group_of_a_Ring

Note 13: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: M035/^ZEJ$
modified

Before

Front

ETH::1._Semester::DiskMat::5._Algebra::3._The_Structure_of_Groups::5._Cyclic_Groups
What is the number of subgroups of \(\mathbb{Z}_n\)?

Back

ETH::1._Semester::DiskMat::5._Algebra::3._The_Structure_of_Groups::5._Cyclic_Groups
What is the number of subgroups of \(\mathbb{Z}_n\)?

The number of divisors of \(n\) (as the order of each subgroup divides the group order (which is n here) by Lagrange). 
if \(n\) is written \(n = p_1^{e_1} \cdot p_2^{e_2} \cdots p_k^{e_k}\) then it is \(\prod_{i=1}^k (e_i+1)\)

Note: This only holds because \(\mathbb{Z}_n\) is cyclic and therefore the subgroups are unique.

After

Front

ETH::1._Semester::DiskMat::5._Algebra::3._The_Structure_of_Groups::5._Cyclic_Groups
What is the number of subgroups of \(\mathbb{Z}_n\)?

Back

ETH::1._Semester::DiskMat::5._Algebra::3._The_Structure_of_Groups::5._Cyclic_Groups
What is the number of subgroups of \(\mathbb{Z}_n\)?

The number of divisors of \(n\) (as the order of each subgroup divides the group order (which is n here) by Lagrange). 

If \(n\) is written \(n = p_1^{e_1} \cdot p_2^{e_2} \cdots p_k^{e_k}\) then it is \(\prod_{i=1}^k (e_i+1)\).

Note: This only holds because \(\mathbb{Z}_n\) is cyclic and therefore the subgroups are unique.
Field-by-field Comparison
Field Before After
Back The number of divisors of&nbsp;\(n\)&nbsp;(as the order of each subgroup divides the group order (which is n here) by Lagrange).&nbsp;<br>if&nbsp;\(n\)&nbsp;is written&nbsp;\(n = p_1^{e_1} \cdot p_2^{e_2} \cdots p_k^{e_k}\)&nbsp;then it is&nbsp;\(\prod_{i=1}^k (e_i+1)\)<br><br><i>Note:</i> This only holds because&nbsp;\(\mathbb{Z}_n\)&nbsp;is cyclic and therefore the subgroups are unique. The number of divisors of&nbsp;\(n\)&nbsp;(as the order of each subgroup divides the group order (which is n here) by Lagrange).&nbsp;<br><br>If&nbsp;\(n\)&nbsp;is written&nbsp;\(n = p_1^{e_1} \cdot p_2^{e_2} \cdots p_k^{e_k}\)&nbsp;then it is&nbsp;\(\prod_{i=1}^k (e_i+1)\).<br><br><i>Note:</i> This only holds because&nbsp;\(\mathbb{Z}_n\)&nbsp;is cyclic and therefore the subgroups are unique.
Tags: ETH::1._Semester::DiskMat::5._Algebra::3._The_Structure_of_Groups::5._Cyclic_Groups

Note 14: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: grVf##]DMH
modified

Before

Front

ETH::1._Semester::DiskMat::5._Algebra::5._Rings_and_Fields::1._Definition_of_a_Ring

Lemma 5.17(4): If a ring \(R\) is non-trivial (has more than one element), then \(1 \neq 0\). (Proof in Extra)

Back

ETH::1._Semester::DiskMat::5._Algebra::5._Rings_and_Fields::1._Definition_of_a_Ring

Lemma 5.17(4): If a ring \(R\) is non-trivial (has more than one element), then \(1 \neq 0\). (Proof in Extra)


Proof: Assume \(1 = 0\) for contradiction. For any \(a \in R\)
  1. \(a = a \cdot 1\)
  2. \(a = a \cdot 0\) (by assumption)
  3. \(a = 0\)
  4. Thus there is only the zero element, which is a contradiction to the non-triviality.

After

Front

ETH::1._Semester::DiskMat::5._Algebra::5._Rings_and_Fields::1._Definition_of_a_Ring

If a ring \(R\) is non-trivial (has more than one element), then \(1 \neq 0\). (Proof in Extra)

Back

ETH::1._Semester::DiskMat::5._Algebra::5._Rings_and_Fields::1._Definition_of_a_Ring

If a ring \(R\) is non-trivial (has more than one element), then \(1 \neq 0\). (Proof in Extra)


Proof: Assume \(1 = 0\) for contradiction. For any \(a \in R\)
  1. \(a = a \cdot 1\)
  2. \(a = a \cdot 0\) (by assumption)
  3. \(a = 0\)
  4. Thus there is only the zero element, which is a contradiction to the non-triviality.
Lemma 5.17(4)
Field-by-field Comparison
Field Before After
Text <p><strong>Lemma 5.17(4)</strong>: If a ring \(R\) is {{c1::non-trivial (has more than one element)}}, then {{c2::\(1 \neq 0\)}}. <i>(Proof in Extra)</i></p> <p>If a ring \(R\) is {{c1::non-trivial (has more than one element)}}, then {{c2::\(1 \neq 0\)}}. <i>(Proof in Extra)</i></p>
Extra Proof: Assume&nbsp;\(1 = 0\)&nbsp;for contradiction. For any&nbsp;\(a \in R\)<br><ol><li>\(a = a \cdot 1\)</li><li>\(a = a \cdot 0\)&nbsp;(by assumption)</li><li>\(a = 0\)</li><li>Thus there is only the zero element, which is a contradiction to the non-triviality.</li></ol> Proof: Assume&nbsp;\(1 = 0\)&nbsp;for contradiction. For any&nbsp;\(a \in R\)<br><ol><li>\(a = a \cdot 1\)</li><li>\(a = a \cdot 0\)&nbsp;(by assumption)</li><li>\(a = 0\)</li><li>Thus there is only the zero element, which is a contradiction to the non-triviality.</li></ol><div><strong>Lemma 5.17(4)</strong><br></div>
Tags: ETH::1._Semester::DiskMat::5._Algebra::5._Rings_and_Fields::1._Definition_of_a_Ring

Note 15: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: hAzQO,E_+E
modified

Before

Front

ETH::1._Semester::DiskMat::5._Algebra::3._The_Structure_of_Groups::4._The_Order_of_Group_Elements_and_of_a_Group

What property does the order of elements in finite groups have?

Back

ETH::1._Semester::DiskMat::5._Algebra::3._The_Structure_of_Groups::4._The_Order_of_Group_Elements_and_of_a_Group

What property does the order of elements in finite groups have?


Lemma 5.6: In a finite group \(G\), every element has a finite order.

(This doesn't hold for infinite groups - elements can have infinite order.)

Proof: Since the order is finite, elements must repeat. That means, there exist \(m > n \geq 0\) s.t. \(g^m = g^n\)
\(\implies g^{m-n} = e\)

After

Front

ETH::1._Semester::DiskMat::5._Algebra::3._The_Structure_of_Groups::4._The_Order_of_Group_Elements_and_of_a_Group

What property do the orders of elements in finite groups have?

Back

ETH::1._Semester::DiskMat::5._Algebra::3._The_Structure_of_Groups::4._The_Order_of_Group_Elements_and_of_a_Group

What property do the orders of elements in finite groups have?


Lemma 5.6: In a finite group \(G\), every element has a finite order.

(This doesn't hold for infinite groups - elements can have infinite order.)

Proof: Since the order is finite, elements must repeat. That means, there exist \(m > n \geq 0\) s.t. \(g^m = g^n\)
\(\implies g^{m-n} = e\)

Field-by-field Comparison
Field Before After
Front <p>What property does the order of elements in finite groups have?</p> <p>What property do the orders of elements in finite groups have?</p>
Tags: ETH::1._Semester::DiskMat::5._Algebra::3._The_Structure_of_Groups::4._The_Order_of_Group_Elements_and_of_a_Group

Note 16: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: ymyo>YcM?L
modified

Before

Front

ETH::1._Semester::DiskMat::5._Algebra::5._Rings_and_Fields::5._Polynomial_Rings

Lemma 5.22(1): If \(D\) is an integral domain, then \(D[x]\) is also an integral domain.

Back

ETH::1._Semester::DiskMat::5._Algebra::5._Rings_and_Fields::5._Polynomial_Rings

Lemma 5.22(1): If \(D\) is an integral domain, then \(D[x]\) is also an integral domain.

After

Front

ETH::1._Semester::DiskMat::5._Algebra::5._Rings_and_Fields::5._Polynomial_Rings

If \(D\) is an integral domain, then \(D[x]\) also is an integral domain.

Back

ETH::1._Semester::DiskMat::5._Algebra::5._Rings_and_Fields::5._Polynomial_Rings

If \(D\) is an integral domain, then \(D[x]\) also is an integral domain.


Lemma 5.22(1)
Field-by-field Comparison
Field Before After
Text <p><strong>Lemma 5.22(1)</strong>: If \(D\) is an {{c1::integral domain}}, then {{c2::\(D[x]\) is also an integral domain}}.</p> <p>If \(D\) is an {{c1::integral domain}}, then&nbsp;\(D[x]\)&nbsp;{{c2::also is an integral domain}}.</p>
Extra <strong>Lemma 5.22(1)</strong>
Tags: ETH::1._Semester::DiskMat::5._Algebra::5._Rings_and_Fields::5._Polynomial_Rings

Note 17: ETH::EProg

Deck: ETH::EProg
Note Type: Horvath Classic
GUID: G#$#7KW!b}
modified

Before

Front

ETH::1._Semester::EProg::10._Inheritance::2._Polymorphism::1._Instance_Of
instanceof can result in a Compile / Runtime / No error?

Back

ETH::1._Semester::EProg::10._Inheritance::2._Polymorphism::1._Instance_Of
instanceof can result in a Compile / Runtime / No error?

instanceof never throws an exception, just compile errors.

After

Front

ETH::1._Semester::EProg::10._Inheritance::2._Polymorphism::1._Instance_Of
instanceof can result in a Compile-/Runtime-/No error?

Back

ETH::1._Semester::EProg::10._Inheritance::2._Polymorphism::1._Instance_Of
instanceof can result in a Compile-/Runtime-/No error?

instanceof never throws an exception, just compile errors.
Field-by-field Comparison
Field Before After
Front instanceof can result in a Compile / Runtime / No error? instanceof can result in a Compile-/Runtime-/No error?
Tags: ETH::1._Semester::EProg::10._Inheritance::2._Polymorphism::1._Instance_Of

Note 18: ETH::EProg

Deck: ETH::EProg
Note Type: Horvath Cloze
GUID: i2g|!nNV|m
modified

Before

Front

ETH::1._Semester::EProg::3._Control_Structures::4._Loops::1._For_Loops
We can omit everything but the semicolons in the for loop for(...)

Back

ETH::1._Semester::EProg::3._Control_Structures::4._Loops::1._For_Loops
We can omit everything but the semicolons in the for loop for(...)

After

Front

ETH::1._Semester::EProg::3._Control_Structures::4._Loops::1._For_Loops
We can omit everything but the semicolons in a for-loop.

Back

ETH::1._Semester::EProg::3._Control_Structures::4._Loops::1._For_Loops
We can omit everything but the semicolons in a for-loop.
Field-by-field Comparison
Field Before After
Text We can omit everything but {{c1::the semicolons}} in the for loop <b>for(...)</b> We can omit everything but {{c1::the semicolons}} in a for-loop.
Tags: ETH::1._Semester::EProg::3._Control_Structures::4._Loops::1._For_Loops

Note 19: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Classic
GUID: AXk(.4O|pc
modified

Before

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
Why is \(R\) upper triangular in the QR decomp?

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
Why is \(R\) upper triangular in the QR decomp?

\(R\) is upper triangular because each \(q_k\) is orthogonal to every \(a_i\) for \(i < k\) (all after it), thus they are \(0\).

You can see here, since \(q_2, \dots, q_m\) are by construction orthogonal to \(q_1\) thus \(a_1\), all entries below \(1\) in the first column are \(0\). The same goes for all entries below \(2\) in the second column.

After

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
Why is \(R\) upper triangular in the QR decomposition?

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
Why is \(R\) upper triangular in the QR decomposition?

\(R\) is upper triangular because each \(q_k\) is orthogonal to every \(a_i\) for \(i < k\) (all after it), thus they are \(0\).

You can see here, since \(q_2, \dots, q_m\) are by construction orthogonal to \(q_1\) thus \(a_1\), all entries below \(1\) in the first column are \(0\). The same goes for all entries below \(2\) in the second column.
Field-by-field Comparison
Field Before After
Front Why is&nbsp;\(R\)&nbsp;upper triangular in the QR decomp? Why is&nbsp;\(R\)&nbsp;upper triangular in the QR decomposition?
Tags: ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition

Note 20: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Cloze
GUID: Bs.wqkt>9r
modified

Before

Front

ETH::1._Semester::LinAlg::4._The_Three_Fundamental_Subspaces::2._Bases_and_dimension::2._Bases
Every set of \(n\)  linearly independent vectors spans {{c1:: \(\mathbb{R}^n\)}}.

Back

ETH::1._Semester::LinAlg::4._The_Three_Fundamental_Subspaces::2._Bases_and_dimension::2._Bases
Every set of \(n\)  linearly independent vectors spans {{c1:: \(\mathbb{R}^n\)}}.

This is from the script.

After

Front

ETH::1._Semester::LinAlg::4._The_Three_Fundamental_Subspaces::2._Bases_and_dimension::2._Bases
Every set of \(n\) linearly independent vectors spans {{c1::\(\mathbb{R}^n\)}}.

Back

ETH::1._Semester::LinAlg::4._The_Three_Fundamental_Subspaces::2._Bases_and_dimension::2._Bases
Every set of \(n\) linearly independent vectors spans {{c1::\(\mathbb{R}^n\)}}.

This is from the script.
Field-by-field Comparison
Field Before After
Text Every set of&nbsp;\(n\)&nbsp;{{c1:: linearly independent}} vectors spans {{c1::&nbsp;\(\mathbb{R}^n\)}}. Every set of&nbsp;\(n\)&nbsp;{{c1::linearly independent}} vectors spans {{c1::\(\mathbb{R}^n\)}}.
Tags: ETH::1._Semester::LinAlg::4._The_Three_Fundamental_Subspaces::2._Bases_and_dimension::2._Bases

Note 21: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Cloze
GUID: FjSbP7PsTQ
modified

Before

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::2._Properties
\(A^\dagger A\) is the projection matrix on \(C(A^\top)\)

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::2._Properties
\(A^\dagger A\) is the projection matrix on \(C(A^\top)\)

After

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::2._Properties
\(A^\dagger A\) is the projection matrix onto \(C(A^\top)\).

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::2._Properties
\(A^\dagger A\) is the projection matrix onto \(C(A^\top)\).
Field-by-field Comparison
Field Before After
Text \(A^\dagger A\) is {{c1::the projection matrix on \(C(A^\top)\)}} \(A^\dagger A\) is {{c1::the projection matrix onto&nbsp;\(C(A^\top)\)}}.
Tags: ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::2._Properties

Note 22: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Cloze
GUID: G1|bG=ffVu
modified

Before

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt
Let \(Q\) be the \(m \times n\) matrix whose columns are an orthonormal basis of \(C(A)\).

Then the projection matrix that projects to \(C(A)\) is given by \(QQ^\top\)Proof Included

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt
Let \(Q\) be the \(m \times n\) matrix whose columns are an orthonormal basis of \(C(A)\).

Then the projection matrix that projects to \(C(A)\) is given by \(QQ^\top\)Proof Included

\(A^\top A\) simplifies to \(I\) in the case where our \(A\) is orthogonal. Thus \(P = A (A^\top A)^{-1} A^\top\) simplifies to \(P = AA^\top\).

After

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt
Let \(Q\) be the \(m \times n\) matrix whose columns are an orthonormal basis of \(C(A)\).

Then the projection matrix that projects to \(C(A)\) is given by \(QQ^\top\)Proof Included

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt
Let \(Q\) be the \(m \times n\) matrix whose columns are an orthonormal basis of \(C(A)\).

Then the projection matrix that projects to \(C(A)\) is given by \(QQ^\top\)Proof Included

\(Q^\top Q\) simplifies to \(I\) in the case where our \(Q\) is orthogonal.

Thus \(P = Q (Q^\top Q)^{-1} Q^\top\) simplifies to \(P = QQ^\top\).
Field-by-field Comparison
Field Before After
Extra \(A^\top A\) simplifies to \(I\) in the case where our \(A\) is orthogonal. Thus \(P = A (A^\top A)^{-1} A^\top\) simplifies to \(P = AA^\top\). \(Q^\top Q\) simplifies to \(I\) in the case where our \(Q\) is orthogonal. <br><br>Thus \(P = Q (Q^\top Q)^{-1} Q^\top\) simplifies to \(P = QQ^\top\).
Tags: ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt

Note 23: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Classic
GUID: G2Hf{n(RiQ
modified

Before

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
How do we get the \(QR\) decomp for \(A\) with linearly independent columns?

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
How do we get the \(QR\) decomp for \(A\) with linearly independent columns?

  1. \(Q\) is the result of Gram-Schmidt on \(A\)
  2. \(R = Q^\top A\)

After

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
How do we get the \(QR\) decomposition for \(A\) with linearly independent columns?

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
How do we get the \(QR\) decomposition for \(A\) with linearly independent columns?

  1. \(Q\) is the result of Gram-Schmidt on \(A\)
  2. \(R = Q^\top A\)
Field-by-field Comparison
Field Before After
Front How do we get the&nbsp;\(QR\)&nbsp;decomp for&nbsp;\(A\)&nbsp;with linearly independent columns? How do we get the&nbsp;\(QR\)&nbsp;decomposition for&nbsp;\(A\)&nbsp;with linearly independent columns?
Tags: ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition

Note 24: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Cloze
GUID: K=a-HUOVwC
modified

Before

Front

ETH::1._Semester::LinAlg::2._Matrices::4._Invertible_and_Inverse_matrices::1._Undoing_matrix_transformations
Three equivalent statements:

(i) {{c1::\(T_A : \mathbb{R}^m \rightarrow \mathbb{R}^m\) is bijective.}}
(ii) There is an \(m \times m\) matrix \(B\) such that \(BA = I\).
(iii) The columns of \(A\) are linearly independent.

Back

ETH::1._Semester::LinAlg::2._Matrices::4._Invertible_and_Inverse_matrices::1._Undoing_matrix_transformations
Three equivalent statements:

(i) {{c1::\(T_A : \mathbb{R}^m \rightarrow \mathbb{R}^m\) is bijective.}}
(ii) There is an \(m \times m\) matrix \(B\) such that \(BA = I\).
(iii) The columns of \(A\) are linearly independent.

The third one can be derived from the fact that if \(BA = I\), there  is only a single \(x \in \mathbb{R}^m\) such that \(A \textbf{x} = 0\).

It is also intuitively clear that if not all columns were linearly independent, we'd actually have a tall linear transformation and would be losing information.

After

Front

ETH::1._Semester::LinAlg::2._Matrices::4._Invertible_and_Inverse_matrices::1._Undoing_matrix_transformations
Three equivalent statements:
  1. {{c1::\(T_A : \mathbb{R}^m \rightarrow \mathbb{R}^m\) is bijective.}}
  2. There is an \(m \times m\) matrix \(B\) such that \(BA = I\).
  3. The columns of \(A\) are linearly independent.

Back

ETH::1._Semester::LinAlg::2._Matrices::4._Invertible_and_Inverse_matrices::1._Undoing_matrix_transformations
Three equivalent statements:
  1. {{c1::\(T_A : \mathbb{R}^m \rightarrow \mathbb{R}^m\) is bijective.}}
  2. There is an \(m \times m\) matrix \(B\) such that \(BA = I\).
  3. The columns of \(A\) are linearly independent.

The third one can be derived from the fact that if \(BA = I\), there  is only a single \(x \in \mathbb{R}^m\) such that \(A \textbf{x} = 0\).

It is also intuitively clear that if not all columns were linearly independent, we'd actually have a tall linear transformation and would be losing information.
Field-by-field Comparison
Field Before After
Text Three equivalent statements:<br><br>(i) {{c1::\(T_A : \mathbb{R}^m \rightarrow \mathbb{R}^m\) is bijective.}}<br>(ii) {{c2::There is an \(m \times m\) matrix&nbsp;\(B\)&nbsp;such that \(BA = I\).}}<br>(iii) {{c3::The columns of \(A\) are linearly independent.}} Three equivalent statements:<br><ol><li>{{c1::\(T_A : \mathbb{R}^m \rightarrow \mathbb{R}^m\) is bijective.}}</li><li>{{c2::There is an \(m \times m\) matrix&nbsp;\(B\)&nbsp;such that \(BA = I\).}}</li><li>{{c3::The columns of \(A\) are linearly independent.}}</li></ol>
Tags: ETH::1._Semester::LinAlg::2._Matrices::4._Invertible_and_Inverse_matrices::1._Undoing_matrix_transformations

Note 25: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Cloze
GUID: OE;g^EoLnT
modified

Before

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
The \(R\) in QR-decomposition is upper triangular and invertible

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
The \(R\) in QR-decomposition is upper triangular and invertible

After

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
The \(R\) in QR-decomposition is upper triangular and invertible.

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
The \(R\) in QR-decomposition is upper triangular and invertible.
Field-by-field Comparison
Field Before After
Text The&nbsp;\(R\)&nbsp;in QR-decomposition is {{c1::<i>upper triangular</i>}} and {{c1::<i>invertible</i>}} The&nbsp;\(R\)&nbsp;in QR-decomposition is {{c1::<i>upper triangular</i>}} and {{c1::<i>invertible</i>}}.
Tags: ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition

Note 26: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Cloze
GUID: QGIRdw&4iR
modified

Before

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = n\), the pseudoinverse \(A^\dagger\) is a left inverse of \(A\), meaning \[ A^\dagger A = I \]Proof Included

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = n\), the pseudoinverse \(A^\dagger\) is a left inverse of \(A\), meaning \[ A^\dagger A = I \]Proof Included

Proof: Since \(A\) has full column rank, \(A^\top A\) invertible and then \(A^\dagger A = ((A^\top A)^{-1} A^\top)A\) \(= (A^\top A)^{-1} (A^\top A) = I\).

After

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = n\), the pseudoinverse \(A^\dagger\) is a left inverse of \(A\), meaning: \[ A^\dagger A = I \]Proof Included

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = n\), the pseudoinverse \(A^\dagger\) is a left inverse of \(A\), meaning: \[ A^\dagger A = I \]Proof Included

Proof: Since \(A\) has full column rank, \(A^\top A\) invertible and then \(A^\dagger A = ((A^\top A)^{-1} A^\top)A\) \(= (A^\top A)^{-1} (A^\top A) = I\).
Field-by-field Comparison
Field Before After
Text For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = n\), the pseudoinverse \(A^\dagger\) is {{c1::a left inverse}} of \(A\), meaning \[{{c1:: A^\dagger A = I }}\]<i>Proof Included</i> For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = n\), the pseudoinverse \(A^\dagger\) is {{c1::a left inverse}} of \(A\), meaning:&nbsp;\[{{c1:: A^\dagger A = I }}\]<i>Proof Included</i>
Tags: ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions

Note 27: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Classic
GUID: dle9WT5o|g
modified

Before

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::0._Prelude
What is the pseudoinverse in the case where \(A \in \mathbb{R}^{n \times m}\) has independent rows?

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::0._Prelude
What is the pseudoinverse in the case where \(A \in \mathbb{R}^{n \times m}\) has independent rows?

Because \(rank(A) = r = m\) and thus \(n \geq m\)
  • \(C(A)\)spans \(\mathbb{R}^m\) (columns span the space)
  • \(R(A) \subseteq\) \(\mathbb{R}^n\)
There could be multiple \(x \in \mathbb{R}^n\) that map to \(T_A(x) = b\). We pick the one with the smallest norm \(||x||^2\).
We know \(x = x_r + x_n\) for \(x_r \in R(A)\) and \(x_n \in N(A)\) thus we pick \(x = x_r + 0\) to get the smallest norm.

  

After

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::0._Prelude
What is the pseudoinverse in the case where \(A \in \mathbb{R}^{n \times m}\) has independent rows?

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::0._Prelude
What is the pseudoinverse in the case where \(A \in \mathbb{R}^{n \times m}\) has independent rows?

Because \(rank(A) = r = m\) and thus \(n \geq m\)
  • \(C(A)\) spans \(\mathbb{R}^m\) (columns span the space)
  • \(R(A) \subseteq\) \(\mathbb{R}^n\)
There could be multiple \(x \in \mathbb{R}^n\) that map to \(T_A(x) = b\). We pick the one with the smallest norm \(||x||^2\).

We know \(x = x_r + x_n\) for \(x_r \in R(A)\) and \(x_n \in N(A)\) thus we pick \(x = x_r + 0\) to get the smallest norm.

  
Field-by-field Comparison
Field Before After
Back Because&nbsp;\(rank(A) = r = m\)&nbsp;and thus&nbsp;\(n \geq m\)<ul><li>\(C(A)\)spans&nbsp;\(\mathbb{R}^m\)&nbsp;(columns span the space)</li><li>\(R(A) \subseteq\)&nbsp;\(\mathbb{R}^n\)</li></ul>There could be multiple&nbsp;\(x \in \mathbb{R}^n\)&nbsp;that map to&nbsp;\(T_A(x) = b\). We pick the one with the smallest norm&nbsp;\(||x||^2\).<br>We know&nbsp;\(x = x_r + x_n\)&nbsp;for&nbsp;\(x_r \in R(A)\)&nbsp;and&nbsp;\(x_n \in N(A)\)&nbsp;thus we pick&nbsp;\(x = x_r + 0\)&nbsp;to get the smallest norm.<br><br><div> &nbsp;<img src="paste-4707a6f9abbe720721f1a4ab781ab8c8fda3c76a.jpg"></div> Because&nbsp;\(rank(A) = r = m\)&nbsp;and thus&nbsp;\(n \geq m\)<ul><li>\(C(A)\)&nbsp;spans&nbsp;\(\mathbb{R}^m\)&nbsp;(columns span the space)</li><li>\(R(A) \subseteq\)&nbsp;\(\mathbb{R}^n\)</li></ul>There could be multiple&nbsp;\(x \in \mathbb{R}^n\)&nbsp;that map to&nbsp;\(T_A(x) = b\). We pick the one with the smallest norm&nbsp;\(||x||^2\).<br><br>We know&nbsp;\(x = x_r + x_n\)&nbsp;for&nbsp;\(x_r \in R(A)\)&nbsp;and&nbsp;\(x_n \in N(A)\)&nbsp;thus we pick&nbsp;\(x = x_r + 0\)&nbsp;to get the smallest norm.<br><br><div> &nbsp;<img src="paste-4707a6f9abbe720721f1a4ab781ab8c8fda3c76a.jpg"></div>
Tags: ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::0._Prelude

Note 28: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Classic
GUID: f?EhyxxJ04
modified

Before

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
Rewrite \(A^\dagger = R^\dagger C^\dagger\) in terms of A, R, C:

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
Rewrite \(A^\dagger = R^\dagger C^\dagger\) in terms of A, R, C:

\(A^\dagger = R^\top {(RR^\top)}^{-1} {(C^\top C)}^{-1} C^\top =\) \(R^\top {(C^\top C R R^\top)}^{-1} C^\top =\) \(R^\top {(C^\top A R^\top)}^{-1}C^\top\).

After

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
Rewrite \(A^\dagger = R^\dagger C^\dagger\) in terms of \(A\), \(R\), \(C\):

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
Rewrite \(A^\dagger = R^\dagger C^\dagger\) in terms of \(A\), \(R\), \(C\):

\(\begin{aligned} A^\dagger &= R^\top (RR^\top)^{-1} (C^\top C)^{-1} C^\top \\ &= R^\top (C^\top C R R^\top)^{-1} C^\top \\ &= R^\top (C^\top A R^\top)^{-1} C^\top \end{aligned}\)
Field-by-field Comparison
Field Before After
Front Rewrite&nbsp;\(A^\dagger = R^\dagger C^\dagger\)&nbsp;in terms of A, R, C: Rewrite&nbsp;\(A^\dagger = R^\dagger C^\dagger\)&nbsp;in terms of&nbsp;\(A\),&nbsp;\(R\),&nbsp;\(C\):
Back \(A^\dagger = R^\top {(RR^\top)}^{-1} {(C^\top C)}^{-1} C^\top =\) \(R^\top {(C^\top C R R^\top)}^{-1} C^\top =\) \(R^\top {(C^\top A R^\top)}^{-1}C^\top\). \(\begin{aligned} A^\dagger &amp;= R^\top (RR^\top)^{-1} (C^\top C)^{-1} C^\top \\ &amp;= R^\top (C^\top C R R^\top)^{-1} C^\top \\ &amp;= R^\top (C^\top A R^\top)^{-1} C^\top \end{aligned}\)
Tags: ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions

Note 29: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Cloze
GUID: gRXLRWq0n1
modified

Before

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
Let \(A\) be an \(m \times n\) matrix with linearly independent columns. The QR decomposition is given by \[ A = QR \]where
  • \(Q\) is an \(m \times n\) matrix with orthonormal columns (they are the output of Gram-Schmidt)
  • \(R\) is an upper triangular matrix given by \(R = Q^\top A\).

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
Let \(A\) be an \(m \times n\) matrix with linearly independent columns. The QR decomposition is given by \[ A = QR \]where
  • \(Q\) is an \(m \times n\) matrix with orthonormal columns (they are the output of Gram-Schmidt)
  • \(R\) is an upper triangular matrix given by \(R = Q^\top A\).

After

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
Let \(A\) be an \(m \times n\) matrix with linearly independent columns. The QR decomposition is given by: \[ A = QR \]where
  • \(Q\) is an \(m \times n\) matrix with orthonormal columns (they are the output of Gram-Schmidt)
  • \(R\) is an upper triangular matrix given by \(R = Q^\top A\).

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
Let \(A\) be an \(m \times n\) matrix with linearly independent columns. The QR decomposition is given by: \[ A = QR \]where
  • \(Q\) is an \(m \times n\) matrix with orthonormal columns (they are the output of Gram-Schmidt)
  • \(R\) is an upper triangular matrix given by \(R = Q^\top A\).
Field-by-field Comparison
Field Before After
Text <div>Let \(A\) be an \(m \times n\) matrix with {{c1::<b>linearly independent</b>}}<b> </b>columns. The QR decomposition is given by \[ A = QR \]where</div><div><ul><li>\(Q\) is {{c1::an \(m \times n\) matrix with orthonormal columns (they are the output of Gram-Schmidt) }}</li><li>\(R\) is {{c2:: an upper triangular matrix given by \(R = Q^\top A\)}}.</li></ul></div> <div>Let \(A\) be an \(m \times n\) matrix with {{c1::<b>linearly independent</b>}}<b> </b>columns. The QR decomposition is given by:&nbsp;\[ A = QR \]where</div><div><ul><li>\(Q\) is {{c1::an \(m \times n\) matrix with orthonormal columns (they are the output of Gram-Schmidt) }}</li><li>\(R\) is {{c2:: an upper triangular matrix given by \(R = Q^\top A\)}}.</li></ul></div>
Tags: ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition

Note 30: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Cloze
GUID: gmHrq^j=e&
modified

Before

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
 \(QQ^\top A = A\) because   \(QQ^\top \) is the projection onto \(A\), and \(C(Q) = C(A)\).

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
 \(QQ^\top A = A\) because   \(QQ^\top \) is the projection onto \(A\), and \(C(Q) = C(A)\).

After

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
 \(QQ^\top A = A\) because  \(QQ^\top \) is the projection onto \(A\), and \(C(Q) = C(A)\).

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition
 \(QQ^\top A = A\) because  \(QQ^\top \) is the projection onto \(A\), and \(C(Q) = C(A)\).
Field-by-field Comparison
Field Before After
Text &nbsp;\(QQ^\top A = {{c1::A}}\)&nbsp;because&nbsp; {{c1::&nbsp;\(QQ^\top \)&nbsp;is the projection onto&nbsp;\(A\), and&nbsp;\(C(Q) = C(A)\)}}. &nbsp;\(QQ^\top A = {{c1::A}}\)&nbsp;because&nbsp; {{c1::\(QQ^\top \)&nbsp;is the projection onto&nbsp;\(A\), and&nbsp;\(C(Q) = C(A)\)}}.
Tags: ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::3._Orthonormal_Bases_and_Gram_Schmidt::2._QR_Decomposition

Note 31: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Classic
GUID: l
modified

Before

Front

ETH::1._Semester::LinAlg::3._Solving_Linear_Equations::3._Gauss-Jordan_Elimination::6._Solving_Ax=b
How do we solve \(Ax = b\) using RREF

Back

ETH::1._Semester::LinAlg::3._Solving_Linear_Equations::3._Gauss-Jordan_Elimination::6._Solving_Ax=b
How do we solve \(Ax = b\) using RREF

We run \(\text{RREF}(A, b)\) and solve the resulting equation using back-substitution.

After

Front

ETH::1._Semester::LinAlg::3._Solving_Linear_Equations::3._Gauss-Jordan_Elimination::6._Solving_Ax=b
How do we solve \(Ax = b\) using RREF?

Back

ETH::1._Semester::LinAlg::3._Solving_Linear_Equations::3._Gauss-Jordan_Elimination::6._Solving_Ax=b
How do we solve \(Ax = b\) using RREF?

We run \(\text{RREF}(A, b)\) and solve the resulting equation using back-substitution.
Field-by-field Comparison
Field Before After
Front How do we solve&nbsp;\(Ax = b\)&nbsp;using RREF How do we solve&nbsp;\(Ax = b\)&nbsp;using RREF?
Tags: ETH::1._Semester::LinAlg::3._Solving_Linear_Equations::3._Gauss-Jordan_Elimination::6._Solving_Ax=b

Note 32: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Classic
GUID: p:TgRlDdKr
modified

Before

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::0._Prelude
What is the pseudoinverse in the case where \(A \in \mathbb{R}^{n \times m}\) has independent columns?

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::0._Prelude
What is the pseudoinverse in the case where \(A \in \mathbb{R}^{n \times m}\) has independent columns?

Because \(rank(A) = r = n\) and thus \(m \geq n\)
  • \(R(A)\) spans \(\mathbb{R}^n\)(rows span the space)
  • \(C(A) \subseteq\) \(\mathbb{R}^m\) (as \(A\) is not necessarily square)
We therefore first project  into \(b\) into \(C(A)\) and then invert, which is Least Squares

  

After

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::0._Prelude
What is the pseudoinverse in the case where \(A \in \mathbb{R}^{n \times m}\) has independent columns?

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::0._Prelude
What is the pseudoinverse in the case where \(A \in \mathbb{R}^{n \times m}\) has independent columns?

Because \(rank(A) = r = n\) and thus \(m \geq n\)
  • \(R(A)\) spans \(\mathbb{R}^n\)(rows span the space)
  • \(C(A) \subseteq\) \(\mathbb{R}^m\) (as \(A\) is not necessarily square)
We therefore first project \(b\) into \(C(A)\) and then invert, which is Least Squares.

  
Field-by-field Comparison
Field Before After
Back Because&nbsp;\(rank(A) = r = n\)&nbsp;and thus&nbsp;\(m \geq n\)<br><ul><li>\(R(A)\)&nbsp;spans&nbsp;\(\mathbb{R}^n\)(rows span the space)</li><li>\(C(A) \subseteq\)&nbsp;\(\mathbb{R}^m\)&nbsp;(as&nbsp;\(A\)&nbsp;is not necessarily square)</li></ul><div>We therefore first project&nbsp; into&nbsp;\(b\)&nbsp;into&nbsp;\(C(A)\)&nbsp;and then invert, which is&nbsp;<b>Least Squares</b></div><br><div> &nbsp;<img src="paste-455009459e5a5c70fa5574bdbcedcfb838341523.jpg"></div> Because&nbsp;\(rank(A) = r = n\)&nbsp;and thus&nbsp;\(m \geq n\)<br><ul><li>\(R(A)\)&nbsp;spans&nbsp;\(\mathbb{R}^n\)(rows span the space)</li><li>\(C(A) \subseteq\)&nbsp;\(\mathbb{R}^m\)&nbsp;(as&nbsp;\(A\)&nbsp;is not necessarily square)</li></ul><div>We therefore first project&nbsp;\(b\)&nbsp;into&nbsp;\(C(A)\)&nbsp;and then invert, which is&nbsp;<b>Least Squares.</b></div><br><div> &nbsp;<img src="paste-455009459e5a5c70fa5574bdbcedcfb838341523.jpg"></div>
Tags: ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::0._Prelude

Note 33: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Classic
GUID: u8Qxy,>bCQ
modified

Before

Front

ETH::1._Semester::LinAlg::2._Matrices::4._Invertible_and_Inverse_matrices::2._Definitions_and_basic_properties
Let \(A \in \mathbb{R}^{m \times m}\). \(A\) is invertible if:

Back

ETH::1._Semester::LinAlg::2._Matrices::4._Invertible_and_Inverse_matrices::2._Definitions_and_basic_properties
Let \(A \in \mathbb{R}^{m \times m}\). \(A\) is invertible if:

There is a \(m \times m\) matrix \(B\) such that \(BA = I\).

Exists only if \(A\) has linearly independent columns

After

Front

ETH::1._Semester::LinAlg::2._Matrices::4._Invertible_and_Inverse_matrices::2._Definitions_and_basic_properties PlsFix::ClozeThatBish
Let \(A \in \mathbb{R}^{m \times m}\). \(A\) is invertible if:

Back

ETH::1._Semester::LinAlg::2._Matrices::4._Invertible_and_Inverse_matrices::2._Definitions_and_basic_properties PlsFix::ClozeThatBish
Let \(A \in \mathbb{R}^{m \times m}\). \(A\) is invertible if:

There is a \(m \times m\) matrix \(B\) such that \(BA = I\).

Exists only if \(A\) has linearly independent columns.
Field-by-field Comparison
Field Before After
Back There is a&nbsp;\(m \times m\)&nbsp;matrix&nbsp;\(B\)&nbsp;such that&nbsp;\(BA = I\).<br><br><i>Exists only if&nbsp;</i>\(A\)<i>&nbsp;has linearly independent columns</i> There is a&nbsp;\(m \times m\)&nbsp;matrix&nbsp;\(B\)&nbsp;such that&nbsp;\(BA = I\).<br><br><i>Exists only if&nbsp;</i>\(A\)<i>&nbsp;has linearly independent columns.</i>
Tags: ETH::1._Semester::LinAlg::2._Matrices::4._Invertible_and_Inverse_matrices::2._Definitions_and_basic_properties PlsFix::ClozeThatBish

Note 34: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Cloze
GUID: ve7Q_/^p1y
modified

Before

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = m\), we define the pseudo-inverse \(A^\dagger \in \mathbb{R}^{n \times m}\) as \[ A^\dagger = {{c1::A^\top (A A^\top)^{-1} }}\]

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = m\), we define the pseudo-inverse \(A^\dagger \in \mathbb{R}^{n \times m}\) as \[ A^\dagger = {{c1::A^\top (A A^\top)^{-1} }}\]

For an \(A\) with full column-rank, we basically define, \(A^\dagger\) as the transpose of the pseudoinverse of the transpose:


After

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = m\), we define the pseudo-inverse \(A^\dagger \in \mathbb{R}^{n \times m}\) as:\[ A^\dagger = {{c1::A^\top (A A^\top)^{-1} }}\]

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = m\), we define the pseudo-inverse \(A^\dagger \in \mathbb{R}^{n \times m}\) as:\[ A^\dagger = {{c1::A^\top (A A^\top)^{-1} }}\]

For an \(A\) with full column-rank, we basically define, \(A^\dagger\) as the transpose of the pseudoinverse of the transpose:


Field-by-field Comparison
Field Before After
Text For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = m\), we define the <b>pseudo-inverse</b>&nbsp;\(A^\dagger \in \mathbb{R}^{n \times m}\) as \[ A^\dagger = {{c1::A^\top (A A^\top)^{-1} }}\] For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = m\), we define the <b>pseudo-inverse</b>&nbsp;\(A^\dagger \in \mathbb{R}^{n \times m}\) as:\[ A^\dagger = {{c1::A^\top (A A^\top)^{-1} }}\]
Tags: ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions

Note 35: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Cloze
GUID: v~twgkx^)U
modified

Before

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = r\) and CR decomposition \(A = CR\), we define the pseudoinverse \(A^\dagger\) as \[ A^\dagger = R^\dagger C^\dagger \]

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = r\) and CR decomposition \(A = CR\), we define the pseudoinverse \(A^\dagger\) as \[ A^\dagger = R^\dagger C^\dagger \]

We can rewrite this as \(A^\dagger = R^\top {(RR^\top)}^{-1} {(C^\top C)}^{-1} C^\top =\) \(R^\top {(C^\top C R R^\top)}^{-1} C^\top =\) \(R^\top {(C^\top A R^\top)}^{-1}C^\top\).

After

Front

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = r\) and CR decomposition \(A = CR\), we define the pseudoinverse \(A^\dagger\) as: \[ A^\dagger = R^\dagger C^\dagger \]

Back

ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = r\) and CR decomposition \(A = CR\), we define the pseudoinverse \(A^\dagger\) as: \[ A^\dagger = R^\dagger C^\dagger \]

We can rewrite this as:

\(\begin{aligned} A^\dagger &= R^\top (RR^\top)^{-1} (C^\top C)^{-1} C^\top \\ &= R^\top (C^\top C R R^\top)^{-1} C^\top \\ &= R^\top (C^\top A R^\top)^{-1} C^\top \end{aligned}\) 
Field-by-field Comparison
Field Before After
Text For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = r\) and CR decomposition \(A = CR\), we define the pseudoinverse \(A^\dagger\) as \[ A^\dagger = {{c1::R^\dagger C^\dagger }}\]<br> For \(A \in \mathbb{R}^{m \times n}\) with \(\text{rank}(A) = r\) and CR decomposition \(A = CR\), we define the pseudoinverse \(A^\dagger\) as:&nbsp;\[ A^\dagger = {{c1::R^\dagger C^\dagger }}\]
Extra We can rewrite this as \(A^\dagger = R^\top {(RR^\top)}^{-1} {(C^\top C)}^{-1} C^\top =\) \(R^\top {(C^\top C R R^\top)}^{-1} C^\top =\) \(R^\top {(C^\top A R^\top)}^{-1}C^\top\). We can rewrite this as:<br><br>\(\begin{aligned} A^\dagger &amp;= R^\top (RR^\top)^{-1} (C^\top C)^{-1} C^\top \\ &amp;= R^\top (C^\top C R R^\top)^{-1} C^\top \\ &amp;= R^\top (C^\top A R^\top)^{-1} C^\top \end{aligned}\)&nbsp;
Tags: ETH::1._Semester::LinAlg::6._Applications_of_orthogonality_and_projections::4._The_Pseudoinverse,_also_known_as_Moore-Penrose_Inverse::1._Definitions
↑ Top