Anki Deck Changes

Commit: b7292fea - i dont even know anymore

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

Date: 2025-12-25T16:13:02+01:00

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

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

Note 1: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Cloze
GUID: BvQCv]T&c0
modified

Before

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
\(\log(n!)\) \(\leq O(\)\(n \log n\)\()\)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
\(\log(n!)\) \(\leq O(\)\(n \log n\)\()\)

After

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
Choose a tight bound!

\(O(\log(n!))\leq O(n \log(n))\)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
Choose a tight bound!

\(O(\log(n!))\leq O(n \log(n))\)
Field-by-field Comparison
Field Before After
Text {{c2::\(\log(n!)\)}}&nbsp;\(\leq O(\){{c1::\(n \log n\)}}\()\) Choose a tight bound!<br><br>\({{c1::O(\log(n!))}}\leq {{c2::O(n \log(n))}}\)
Tags: ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering

Note 2: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Cloze
GUID: CaRvZ82Z-e
modified

Before

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1:: \(\sum_{i = 1}^{n} \sum_{i = 1}^{n} \sum_{i = 1}^{n} 1\)}}  \(=\)   \(n^3\) (Sum)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1:: \(\sum_{i = 1}^{n} \sum_{i = 1}^{n} \sum_{i = 1}^{n} 1\)}}  \(=\)   \(n^3\) (Sum)

After

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1:: \(\sum_{i = 1}^{n} \sum_{i = 1}^{n} \sum_{i = 1}^{n} 1\)}}  \(=\)   \(n^3\) (Sum) 

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1:: \(\sum_{i = 1}^{n} \sum_{i = 1}^{n} \sum_{i = 1}^{n} 1\)}}  \(=\)   \(n^3\) (Sum) 
Field-by-field Comparison
Field Before After
Text {{c1:: \(\sum_{i = 1}^{n} \sum_{i = 1}^{n} \sum_{i = 1}^{n} 1\)}}&nbsp; \(=\)&nbsp;{{c2::&nbsp; \(n^3\)}} (Sum) {{c1:: \(\sum_{i = 1}^{n} \sum_{i = 1}^{n} \sum_{i = 1}^{n} 1\)}}&nbsp; \(=\)&nbsp;{{c2::&nbsp; \(n^3\)&nbsp;(Sum)}}&nbsp;
Tags: ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums

Note 3: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Cloze
GUID: KgqO:Z_iT+
modified

Before

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
Choose a tight bound!

\(O(\log(n)) \leq O(n)\)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
Choose a tight bound!

\(O(\log(n)) \leq O(n)\)

After

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
Choose a tight bound!

\(\sqrt n \leq O(n)\)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
Choose a tight bound!

\(\sqrt n \leq O(n)\)
Field-by-field Comparison
Field Before After
Text Choose a tight bound!<br><br>\({{c1::O(\log(n))}} \leq {{c2::O(n)}}\) Choose a tight bound!<br><br>\(\sqrt n \leq {{c1::O(n)}}\)
Tags: ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering

Note 4: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Cloze
GUID: R<,pyG}zC
modified

Before

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
\(\log(n)\) \(\leq O(\){{c1::\(\sqrt{n}\)}}\()\)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
\(\log(n)\) \(\leq O(\){{c1::\(\sqrt{n}\)}}\()\)

After

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
Choose a tight bound!

\(O(\log(n))\leq O(n)\)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
Choose a tight bound!

\(O(\log(n))\leq O(n)\)
Field-by-field Comparison
Field Before After
Text {{c2::\(\log(n)\)}}&nbsp;\(\leq O(\){{c1::\(\sqrt{n}\)}}\()\) Choose a tight bound!<br><br>\({{c1::O(\log(n))}}\leq {{c2::O(n)}}\)
Tags: ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering

Note 5: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Cloze
GUID: c&0A&-=*J^
modified

Before

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1::\(\sum_{i = 1}^{n} 1\)}} \(=\)  \(n\) (Sum)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1::\(\sum_{i = 1}^{n} 1\)}} \(=\)  \(n\) (Sum)

After

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1::\(\sum_{i = 1}^{n} 1\)}} \(=\)  \(n\) (Sum) 

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1::\(\sum_{i = 1}^{n} 1\)}} \(=\)  \(n\) (Sum) 
Field-by-field Comparison
Field Before After
Text {{c1::\(\sum_{i = 1}^{n} 1\)}}&nbsp;\(=\)&nbsp;{{c2::&nbsp;\(n\)}} (Sum) {{c1::\(\sum_{i = 1}^{n} 1\)}}&nbsp;\(=\)&nbsp;{{c2::&nbsp;\(n\)&nbsp;(Sum)}}&nbsp;
Tags: ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums

Note 6: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Classic
GUID: ch>ShkzK.z
modified

Before

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation
What is the form of the recursive equations solved by the Master Theorem?

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation
What is the form of the recursive equations solved by the Master Theorem?

Recurrences of the form \(T(n) \leq aT(n/2) + Cn^b\)
where \(a\), \(C > 0\) and \(b \geq 0\) are constants.

After

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation
What is the form of the recursive equations solved by the Master Theorem?

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation
What is the form of the recursive equations solved by the Master Theorem?

\(T(n) \leq aT(n/2) + Cn^b\)
where \(a\), \(C > 0\) and \(b \geq 0\) are constants.
Field-by-field Comparison
Field Before After
Back Recurrences of the form&nbsp;\(T(n) \leq aT(n/2) + Cn^b\)<br>where&nbsp;\(a\),&nbsp;\(C &gt; 0\)&nbsp;and&nbsp;\(b \geq 0\)&nbsp;are constants. \(T(n) \leq aT(n/2) + Cn^b\)<br>where&nbsp;\(a\),&nbsp;\(C &gt; 0\)&nbsp;and&nbsp;\(b \geq 0\)&nbsp;are constants.
Tags: ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation

Note 7: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Cloze
GUID: i3K1KB$5&t
modified

Before

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1::\(\sum_{i = 1}^{n} \sum_{i = 1}^{n} 1\)}} \(=\)  \(n^2\) (Sum)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1::\(\sum_{i = 1}^{n} \sum_{i = 1}^{n} 1\)}} \(=\)  \(n^2\) (Sum)

After

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1::\(\sum_{i = 1}^{n} \sum_{i = 1}^{n} 1\)}} \(=\)  \(n^2\) (Sum)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1::\(\sum_{i = 1}^{n} \sum_{i = 1}^{n} 1\)}} \(=\)  \(n^2\) (Sum)
Field-by-field Comparison
Field Before After
Text {{c1::\(\sum_{i = 1}^{n} \sum_{i = 1}^{n} 1\)}}&nbsp;\(=\)&nbsp;{{c2::&nbsp;\(n^2\)}} (Sum) {{c1::\(\sum_{i = 1}^{n} \sum_{i = 1}^{n} 1\)}}&nbsp;\(=\)&nbsp;{{c2::&nbsp;\(n^2\)&nbsp;(Sum)}}
Tags: ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums

Note 8: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Cloze
GUID: i6hHee%a$O
modified

Before

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
\(O(n!) \leq\) (name the next bigger function)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
\(O(n!) \leq\) (name the next bigger function)

\(\leq O(n^n)\) (name the next smaller function)

After

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
Choose a tight bound!

\(O(n!) \leq O(n^n)\)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
Choose a tight bound!

\(O(n!) \leq O(n^n)\)
Field-by-field Comparison
Field Before After
Text \(O(n!) \leq\)&nbsp;<i>(name the next bigger function)</i> Choose a tight bound!<br><br>\({{c1::O(n!)}} \leq {{c2::O(n^n)}}\)
Extra \(\leq O(n^n)\)&nbsp;<i>(name the next smaller function)</i>
Tags: ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering

Note 9: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Cloze
GUID: u2lDE>&5/e
modified

Before

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1:: \(\sum_{j = 1}^{n} \sum_{k = \textbf{j} }^{n} 1\)}}  \(=\) {{c2::  \(\sum_{j = 1}^n (n - j + 1) = \frac{n(n + 1)}{2}\)}} (Sum)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1:: \(\sum_{j = 1}^{n} \sum_{k = \textbf{j} }^{n} 1\)}}  \(=\) {{c2::  \(\sum_{j = 1}^n (n - j + 1) = \frac{n(n + 1)}{2}\)}} (Sum)

inner loop depends on outer

After

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1:: \(\sum_{j = 1}^{n} \sum_{k = \textbf{j} }^{n} 1\)}}  \(=\) {{c2::  \(\sum_{j = 1}^n (n - j + 1) = \frac{n(n + 1)}{2}\) (Sum)}} 

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums
{{c1:: \(\sum_{j = 1}^{n} \sum_{k = \textbf{j} }^{n} 1\)}}  \(=\) {{c2::  \(\sum_{j = 1}^n (n - j + 1) = \frac{n(n + 1)}{2}\) (Sum)}} 

inner loop depends on outer
Field-by-field Comparison
Field Before After
Text {{c1:: \(\sum_{j = 1}^{n} \sum_{k = \textbf{j} }^{n} 1\)}}&nbsp; \(=\)&nbsp;{{c2::&nbsp; \(\sum_{j = 1}^n (n - j + 1) = \frac{n(n + 1)}{2}\)}} (Sum) {{c1:: \(\sum_{j = 1}^{n} \sum_{k = \textbf{j} }^{n} 1\)}}&nbsp; \(=\)&nbsp;{{c2::&nbsp; \(\sum_{j = 1}^n (n - j + 1) = \frac{n(n + 1)}{2}\)&nbsp;(Sum)}}&nbsp;
Tags: ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Sums

Note 10: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Cloze
GUID: wStzO9J_2Q
modified

Before

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation
If \(f \leq O(h)\) and \(g \leq O(h)\)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation
If \(f \leq O(h)\) and \(g \leq O(h)\)

\(f + g \leq O(h)\)

After

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation
If \(f \leq O(h)\) and \(g \leq O(h)\), then \(f + g \leq O(h)\).

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation
If \(f \leq O(h)\) and \(g \leq O(h)\), then \(f + g \leq O(h)\).
Field-by-field Comparison
Field Before After
Text If&nbsp;\(f \leq O(h)\)&nbsp;and&nbsp;\(g \leq O(h)\) If&nbsp;\(f \leq O(h)\)&nbsp;and&nbsp;\(g \leq O(h)\), then&nbsp;\(f + g {{c1::\leq}} O(h)\).
Extra \(f + g \leq O(h)\)
Tags: ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation

Note 11: ETH::A&D

Deck: ETH::A&D
Note Type: Horvath Cloze
GUID: yOa^MOZU`,
modified

Before

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
Choose a tight bound!

\(O(n) \leq O(n \log(n))\)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
Choose a tight bound!

\(O(n) \leq O(n \log(n))\)

After

Front

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
Choose a tight bound!

\(O(n) \leq O(\log(n!))\)

Back

ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering
Choose a tight bound!

\(O(n) \leq O(\log(n!))\)
Field-by-field Comparison
Field Before After
Text Choose a tight bound!<br><br>\({{c1::O(n)}} \leq {{c2::O(n \log(n))}}\) Choose a tight bound!<br><br>\({{c1::O(n)}} \leq {{c2::O(\log(n!))}}\)
Tags: ETH::1._Semester::A&D::02._Asymptotic_Notation::3._O-Notation::Ordering

Note 12: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: G3^gV5vRZ#
modified

Before

Front

ETH::1._Semester::DiskMat::2._Math._Reasoning,_Proofs,_and_a_First_Approach_to_Logic::6._Some_Proof_Patterns::01._Composition_of_Implications
What is the principle behind composing proofs (Definition 2.12)?

Back

ETH::1._Semester::DiskMat::2._Math._Reasoning,_Proofs,_and_a_First_Approach_to_Logic::6._Some_Proof_Patterns::01._Composition_of_Implications
What is the principle behind composing proofs (Definition 2.12)?

If \(S \Rightarrow T\) and \(T \Rightarrow U\) are both true, then \(S \Rightarrow U\) is also true (transitivity of implication).

After

Front

ETH::1._Semester::DiskMat::2._Math._Reasoning,_Proofs,_and_a_First_Approach_to_Logic::6._Some_Proof_Patterns::01._Composition_of_Implications
What is the principle behind the proof step of composing implications?

Back

ETH::1._Semester::DiskMat::2._Math._Reasoning,_Proofs,_and_a_First_Approach_to_Logic::6._Some_Proof_Patterns::01._Composition_of_Implications
What is the principle behind the proof step of composing implications?

If \(S \Rightarrow T\) and \(T \Rightarrow U\) are both true, then \(S \Rightarrow U\) is also true (transitivity of implication).
Field-by-field Comparison
Field Before After
Front What is the principle behind composing proofs (Definition 2.12)? What is the principle behind the proof step of composing implications?
Tags: ETH::1._Semester::DiskMat::2._Math._Reasoning,_Proofs,_and_a_First_Approach_to_Logic::6._Some_Proof_Patterns::01._Composition_of_Implications

Note 13: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: LWf)m2..vK
modified

Before

Front

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::4._Equivalence_Relations::1._Definition_of_Equivalence_Relations
What three properties must a relation have to be an equivalence relation?

Back

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::4._Equivalence_Relations::1._Definition_of_Equivalence_Relations
What three properties must a relation have to be an equivalence relation?

  1. Reflexive
  2. Symmetric
  3. Transitive

After

Front

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::4._Equivalence_Relations::1._Definition_of_Equivalence_Relations
What are the three properties of an equivalence relation?
  1. Reflexivity
  2. Symmetry
  3. Transitivity

Back

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::4._Equivalence_Relations::1._Definition_of_Equivalence_Relations
What are the three properties of an equivalence relation?
  1. Reflexivity
  2. Symmetry
  3. Transitivity
Field-by-field Comparison
Field Before After
Text What three properties must a relation have to be an equivalence relation? What are the three properties of an equivalence relation?<br><ol><li>{{c1::Reflexivity}}<br></li><li>{{c2::Symmetry}}<br></li><li>{{c3::Transitivity}}<br></li></ol>
Extra <ol><li><span><b>Reflexive</b></span></li><li><b>Symmetric</b></li><li><b>Transitive</b></li></ol>
Tags: ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::4._Equivalence_Relations::1._Definition_of_Equivalence_Relations

Note 14: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: qnpI?yoaky
modified

Before

Front

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::1._Definition
What three properties must a relation have to be a partial order:
1.  Reflexive
2.  Antisymmetric
3.  Transitive

Back

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::1._Definition
What three properties must a relation have to be a partial order:
1.  Reflexive
2.  Antisymmetric
3.  Transitive

After

Front

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::1._Definition
What are the three properties of a partial order relation?
  1.  Reflexivity
  2.  Antisymmetry
  3.  Transitivity

Back

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::1._Definition
What are the three properties of a partial order relation?
  1.  Reflexivity
  2.  Antisymmetry
  3.  Transitivity
Field-by-field Comparison
Field Before After
Text What three properties must a relation have to be a partial order:<br>1. {{c1::&nbsp;<b>Reflexive</b>}}<br>2. {{c2::&nbsp;<b>Antisymmetric</b>}}<br>3. {{c3::&nbsp;<b>Transitive</b>}} What are the three properties of a partial order relation?<br><ol><li>{{c1::&nbsp;<b>Reflexivity</b>}}</li><li>{{c2::&nbsp;<b>Antisymmetry</b>}}</li><li>{{c3::&nbsp;<b>Transitivity</b>}}</li></ol>
Tags: ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::1._Definition

Note 15: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: s(DE`)q*(T
modified

Before

Front

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::1._Definition
A partial order on a set \(A\) is a relation that is
* reflexive
* antisymmetric
* transitive

Back

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::1._Definition
A partial order on a set \(A\) is a relation that is
* reflexive
* antisymmetric
* transitive


Examples: \(\leq, \geq\)

After

Front

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::1._Definition PlsFix::DUPLICATE
A partial order on a set \(A\) is a relation that is:
  1. reflexive
  2. antisymmetric
  3. transitive

Back

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::1._Definition PlsFix::DUPLICATE
A partial order on a set \(A\) is a relation that is:
  1. reflexive
  2. antisymmetric
  3. transitive

Examples: \(\leq, \geq\)
Field-by-field Comparison
Field Before After
Text {{c1::A partial order}} on a set&nbsp;\(A\) is a relation that is<div>{{c2::<div>* reflexive</div><div>* antisymmetric</div><div>* transitive</div>}}<br></div> {{c1::A partial order}} on a set&nbsp;\(A\) is a relation that is:<div><ol><li>{{c2::reflexive}}</li><li>{{c3::antisymmetric}}</li><li>{{c4::transitive}}</li></ol></div>
Tags: ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::1._Definition PlsFix::DUPLICATE

Note 16: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: u}}Ht+=)aT
modified

Before

Front

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::2._Hasse_Diagrams
What is a Hasse diagram of a poset \((A; \preceq)\)?

Back

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::2._Hasse_Diagrams
What is a Hasse diagram of a poset \((A; \preceq)\)?

A directed graph whose vertices are labeled with elements of \(A\) and where there is an edge from \(a\) to \(b\) if and only if \(b\) covers \(a\).

After

Front

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::2._Hasse_Diagrams
What does the Hasse diagram of a poset \((A; \preceq)\) look like?

Back

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::2._Hasse_Diagrams
What does the Hasse diagram of a poset \((A; \preceq)\) look like?

A directed graph whose vertices are labeled with elements of \(A\) and where there is an edge from \(a\) to \(b\) if and only if \(b\) covers \(a\).

Field-by-field Comparison
Field Before After
Front What is a Hasse diagram of a poset \((A; \preceq)\)? What does the Hasse diagram of a poset \((A; \preceq)\)&nbsp;look like?
Back A directed graph whose vertices are labeled with elements of \(A\) and where there is an edge from \(a\) to \(b\) <strong>if and only if</strong> \(b\) <strong>covers</strong> \(a\). A directed graph whose vertices are labeled with elements of \(A\) and where there is an edge from \(a\) to \(b\) <strong>if and only if</strong> \(b\) <strong>covers</strong> \(a\).<br><br><img src="paste-f73994d226c864f7b27dfb8150666efd3d3b8bf6.jpg">
Tags: ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::2._Hasse_Diagrams

Note 17: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: y+%Du@ss=x
modified

Before

Front

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::4._Equivalence_Relations::1._Definition_of_Equivalence_Relations
If we intersect two equivalence relations, what do we get?

Back

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::4._Equivalence_Relations::1._Definition_of_Equivalence_Relations
If we intersect two equivalence relations, what do we get?

The intersection of two equivalence relations (on the same set) is also an equivalence relation.

After

Front

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::4._Equivalence_Relations::1._Definition_of_Equivalence_Relations
If we intersect two equivalence relations, what do we get?

Back

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::4._Equivalence_Relations::1._Definition_of_Equivalence_Relations
If we intersect two equivalence relations, what do we get?

Another equivalence relation.
Field-by-field Comparison
Field Before After
Back The intersection of two equivalence relations (on the same set) is also an equivalence relation. Another equivalence relation.
Tags: ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::4._Equivalence_Relations::1._Definition_of_Equivalence_Relations

Note 18: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: y7i@2u]aPf
modified

Before

Front

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::1._Definition
What properties does the relation \(=\) satisfy?

Back

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::1._Definition
What properties does the relation \(=\) satisfy?

  • Equivalence relation
  • Partial order relation
As it's reflexive, transitive, symmetric and antisymmetric.

After

Front

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::1._Definition
What properties does the relation \(=\) satisfy?

Back

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::1._Definition
What properties does the relation \(=\) satisfy?

  • Reflexivity
  • Symmetry
  • Antisymmetry
  • Transitivity
Thus, it's both an equivalence and a partial order relation!
Field-by-field Comparison
Field Before After
Back <ul><li>Equivalence relation</li><li>Partial order relation</li></ul><div>As it's reflexive, transitive, symmetric and antisymmetric.</div> <ul><li>Reflexivity</li><li>Symmetry</li><li>Antisymmetry</li><li>Transitivity</li></ul><div>Thus, it's both an equivalence and a partial order relation!</div>
Tags: ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::5._Partial_Order_Relations::1._Definition

Note 19: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: z&#Z_j.A(t
modified

Before

Front

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::3._Relations::1._The_Relation_Concept
What is the identity relation \(\text{id}_A\) on set \(A\)?

Back

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::3._Relations::1._The_Relation_Concept
What is the identity relation \(\text{id}_A\) on set \(A\)?

\[\text{id}_A = \{(a, a) \ | \ a \in A\}\]

After

Front

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::3._Relations::1._The_Relation_Concept
What is the definition of the identity relation \(\text{id}_A\) on set \(A\)?

Back

ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::3._Relations::1._The_Relation_Concept
What is the definition of the identity relation \(\text{id}_A\) on set \(A\)?

\[\text{id}_A = \{(a, a) \ | \ a \in A\}\]
Field-by-field Comparison
Field Before After
Front What is the identity relation \(\text{id}_A\) on set \(A\)? What is the definition of the identity relation \(\text{id}_A\) on set \(A\)?
Tags: ETH::1._Semester::DiskMat::3._Sets,_Relations,_and_Functions::3._Relations::1._The_Relation_Concept

Note 20: ETH::EProg

Deck: ETH::EProg
Note Type: Horvath Cloze
GUID: BNF`UuyO%Q
modified

Before

Front

ETH::1._Semester::EProg::2._First_Java_Programs::3._Simple_Calculations::1._Types,_Variables,_Values
var is the keyword for a type inferred variable in Java

Back

ETH::1._Semester::EProg::2._First_Java_Programs::3._Simple_Calculations::1._Types,_Variables,_Values
var is the keyword for a type inferred variable in Java

After

Front

ETH::1._Semester::EProg::2._First_Java_Programs::3._Simple_Calculations::1._Types,_Variables,_Values
var is the keyword for a type inferred variable in Java.

Back

ETH::1._Semester::EProg::2._First_Java_Programs::3._Simple_Calculations::1._Types,_Variables,_Values
var is the keyword for a type inferred variable in Java.
Field-by-field Comparison
Field Before After
Text {{c1:: var}} is the keyword for a type inferred variable in Java {{c1:: var}} is the keyword for a type inferred variable in Java.
Tags: ETH::1._Semester::EProg::2._First_Java_Programs::3._Simple_Calculations::1._Types,_Variables,_Values

Note 21: ETH::EProg

Deck: ETH::EProg
Note Type: Horvath Cloze
GUID: p$+y{A-`_b
modified

Before

Front

ETH::1._Semester::EProg::2._First_Java_Programs::3._Simple_Calculations::2._Expressions_over_Basic_Types
Casts from int to long and double can always be implicit.

Back

ETH::1._Semester::EProg::2._First_Java_Programs::3._Simple_Calculations::2._Expressions_over_Basic_Types
Casts from int to long and double can always be implicit.

After

Front

ETH::1._Semester::EProg::2._First_Java_Programs::3._Simple_Calculations::2._Expressions_over_Basic_Types
Casts from int to long and double can always be implicit.

Back

ETH::1._Semester::EProg::2._First_Java_Programs::3._Simple_Calculations::2._Expressions_over_Basic_Types
Casts from int to long and double can always be implicit.
Field-by-field Comparison
Field Before After
Text Casts from {{c1:: int}} to long and double {{c2:: can always be implicit}}. Casts from {{c1:: int}} to long and double can {{c2::always::never/sometimes/always}} be implicit.
Tags: ETH::1._Semester::EProg::2._First_Java_Programs::3._Simple_Calculations::2._Expressions_over_Basic_Types

Note 22: ETH::EProg

Deck: ETH::EProg
Note Type: Horvath Classic
GUID: pD;qk4geEz
modified

Before

Front

ETH::1._Semester::EProg::2._First_Java_Programs::3._Simple_Calculations::2._Expressions_over_Basic_Types
The output of the code snippet is:

Back

ETH::1._Semester::EProg::2._First_Java_Programs::3._Simple_Calculations::2._Expressions_over_Basic_Types
The output of the code snippet is:

3
0
0

After

Front

ETH::1._Semester::EProg::2._First_Java_Programs::3._Simple_Calculations::2._Expressions_over_Basic_Types
The output of this code snippet is:

Back

ETH::1._Semester::EProg::2._First_Java_Programs::3._Simple_Calculations::2._Expressions_over_Basic_Types
The output of this code snippet is:

3
0
0
Field-by-field Comparison
Field Before After
Front The output of the code snippet is:<br><img src="Screenshot 2025-12-12 at 22.32.55.png"> The output of this code snippet is:<br><img src="Screenshot 2025-12-12 at 22.32.55.png">
Tags: ETH::1._Semester::EProg::2._First_Java_Programs::3._Simple_Calculations::2._Expressions_over_Basic_Types

Note 23: ETH::LinAlg

Deck: ETH::LinAlg
Note Type: Horvath Cloze
GUID: nkL&a6|Q;d
modified

Before

Front

ETH::1._Semester::LinAlg::1._Vectors::3._Linear_(in)dependence::3._Span_of_vectors
The span of m linearly independent vectors is

Back

ETH::1._Semester::LinAlg::1._Vectors::3._Linear_(in)dependence::3._Span_of_vectors
The span of m linearly independent vectors is

\(\mathbb{R}^m\) this also means that a matrix in \(\mathbb{R}^{n \times n}\) with rank(A) = n spans all of the space.

After

Front

ETH::1._Semester::LinAlg::1._Vectors::3._Linear_(in)dependence::3._Span_of_vectors PlsFix::ClozeThatBish
The span of m linearly independent vectors is \({{c1::\mathbb{R}^m}}\).

Back

ETH::1._Semester::LinAlg::1._Vectors::3._Linear_(in)dependence::3._Span_of_vectors PlsFix::ClozeThatBish
The span of m linearly independent vectors is \({{c1::\mathbb{R}^m}}\).

This also means that a matrix in \(\mathbb{R}^{n \times n}\) with rank(A) = n spans all of the space.
Field-by-field Comparison
Field Before After
Text The span of m linearly independent vectors is The span of m linearly independent vectors is&nbsp;\({{c1::\mathbb{R}^m}}\).
Extra \(\mathbb{R}^m\)&nbsp;this also means that a matrix in&nbsp;\(\mathbb{R}^{n \times n}\)&nbsp;with rank(A) = n spans all of the space. This also means that a matrix in&nbsp;\(\mathbb{R}^{n \times n}\)&nbsp;with rank(A) = n spans all of the space.
Tags: ETH::1._Semester::LinAlg::1._Vectors::3._Linear_(in)dependence::3._Span_of_vectors PlsFix::ClozeThatBish
↑ Top