Temporary - Discrete Math

8 flashcardsby Bernard
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

1
Counting the number of solutions to the following equality:

$x_1 + \cdots + x_n = k$

where all $x_j$ and k belong to $\mathbb{N}$.
Stars and Bars:

$\binom{k+n-1}{k}$
2
Counting number of solutions to the following equality:

$x_1 + \cdots + x_n = k$

where all $x_i > 0$.

E.g., $n = 3$ and $k = 5$.
Substitute $y_i + 1 = x_i$ in the equality:

$x_1 + x_2 + x_3 = 5$ with $x_i > 0 \equiv x_i \ge 1$
$(y_1 + 1) + (y_2 + 1) + (y_3 + 1) = 5$ with $y_i + 1 \ge 1$
$y_1 + y_2 + y_3 = y_i \ge 0$

Now we can use stars and bars as usual.
3
Definition of a Composition of an Integer

Number of Compositions for an Arbitrary $n \in \mathbb{N}$
Sum of strictly positive integers summing to a given n.

The number of compositions is $2^{n-1}$ for any $n \in \mathbb{N}$.
4
Counting the Number of Unit Paths from $\langle 0,0 \rangle$ to $\langle a , b \rangle$ in $\mathbb{N}^2$.
$\binom{a+b}{a}$
5
Value of $\sum_{a+b=n} \binom{a+b}{a}$
$2^n$
6
Catalan Numbers and Interpretation ITO Unit Paths
The nth Catalan number is computed as:

$\frac{1}{n+1} \binom{2n}{n}$

Its value tells us the number of unit paths from the origin to $\langle n , n \rangle$ which never above the line $y = x$.
7
Counting the number of bijections between two (finite) sets A and B.
The number of functions $f : A \to B$ is $\lvert B \rvert ^ { \lvert A \rvert }$.
8
Counting the number of injections between two (finite sets A and B).
Let $n = \lvert A \rvert$ and $m = \lvert B \rvert$.

Then, the number of injections $f : A \to B$ is:

$\frac{ m! }{ (m-n)! }$
Study all 8 cards for free

More Maths flashcards

CIMA Formula43 cardsMaths · EnglishEllaStatistical Testing34 cardsMaths · EnglishHenzoAviation Mental Maths Shortcuts25 cardsMaths · EnglishNateCalculus 2: Ch 7/8.1 Basic Integration Techniques22 cardsMaths · FrenchJordanEspaces vectoriels18 cardsMaths · FrenchLaraThéorèmes / Propositions / Propriétés / Corollaires15 decks · 384 cardsMathsPiouÉquation et inéquations polynomiales13 cardsMaths · FrenchLaraPolynomials11 cardsMaths · Englishan OutLearn studentLinear SHM9 cardsMaths · EnglishHenry_TCAGeometry Formulas and Definitions62 cards · 3 addedMaths · EnglishColdtourSTEEL FORMULA116 cardsMaths · EnglishMPLERelated Rates63 cardsMaths · Englishan OutLearn student

All Maths decks

Study these decks in the app

Free on iPhone, Android, Mac and the web. Add any deck to your account in one tap.

Download on the App StoreGet it on Google Play
Study all 8 cards for free