Study Notes

Discrete math

Igualdade


Um elemento é igual a outro a=ba=b se eles são exatamente a mesma coisa. 5=(4+1)5=(4+1).

Equivalência


No entanto, a equivalência depende de um contexto. "Comporta-se da mesma forma nesse contexto?"

Set Theory


Conjunto: É uma coleção de elementos distintos.

Union

AB={xzA or zB}A \cup B = \{x \mid z\in A \text{ or } z \in B\}

Intersection

AB={xxA and xB}A \cap B = \{x \mid x \in A \text{ and } x \in B\}

Subset

AB(x,xAxB)A \subseteq B \Leftrightarrow (\forall x, x \in A \Rightarrow x \in B). A pode ser igual a B. AB(AB and AB)A \subset B \Leftrightarrow (A \subseteq B \text{ and } A \neq B). Conjunto próprio

Power set

P(A)=k=0A(Ak)\mathcal{P}(A) = \bigcup_{k=0}^{|A|} \binom{A}{k} É o conjunto com todas as combinações possíveis de um conjunto AA. A={1,2,3}P(A)={,{1},{2},{3},{1,2},{1,3},{2,3},{1,2,3}}A = \{1, 2, 3\} \Rightarrow \mathcal{P}(A) = \{\emptyset, \{1\}, \{2\}, \{3\}, \{1,2\}, \{1,3\}, \{2,3\}, \{1,2,3\}\}. Vale ressaltar que a cardinalidade do conjunto potência é: P(A)=2A|\mathcal{P}(A)| = 2^{|A|}.

Reflection

Translation

Function Theory


Função: É uma regra que atribuí um valor de output para cada input. f:ABA×Bf: A \to B \subset A \times B.

  • Domain: The set of all possible input values for a function.
  • Range: The set of all possible output values for a function.

Total Function


É quando todos os elementos do domínio estão associados. Ou seja, a função é aplicável em todos os elementos. Seja g,f:RRg,f: \mathbb{R} \to \mathbb{R} f(x)=x2 e g(x)=1/xf(x)=x^2 \text{ e } g(x)=1/x, podemos falar que f(x)f(x) é total, porém, g(x)g(x) é parcial já que não existe uma output para x=0x=0 do domínio.

Numeric Sets


  • N\mathbb{N}
  • Z\mathbb{Z}
  • Q\mathbb{Q}
  • R\mathbb{R}
  • C\mathbb{C}

On this page