MATH 1302 - Unit 3 Written Assignment
MATH 1302 - Unit 3 Written Assignment
MATH 1302 - Unit 3 Written Assignment
Since English is mandatory, you've already used one of your three choices.
The formula for this combination is: C(10,2) = 10! / (2! * 8!) = (10 * 9) / 2 = 45
2.
Let's define our sets: Set A: {circle, square, triangle, pentagon} Set B: {red, blue, green, yellow,
purple}
Cardinality of A = 4 Cardinality of B = 5
a. Injective Functions:
An injective function (also called one-to-one) maps each element of the domain
to a unique element in the codomain. No two elements in the domain can map to
Explanation:
This is a permutation because the order matters (each mapping creates a different
function).
b. Bijective Functions:
requires that every element in the codomain is mapped to by exactly one element
in the domain. For a function to be bijective, the cardinality of the domain and
In our case, since |A| ≠ |B|, there are 0 bijective functions possible.
However, if we were to modify set B to have the same cardinality as A, let's say:
Explanation:
For the fourth (last) element of A, we have only 1 remaining choice in B'.
Example of a bijective function (with B'): circle → blue, square → red, triangle
3.
We need to find the term with x4 in (x+2)10, because when multiplied by x3, it will
4 6 10 !
We need the term with x4, which is C ( 10 , 6 ) x ∗2 =C ( 10 , 6 )= =210
6! 4 !
4.
In this case, we're selecting 7 members out of 30 to form the committee. The
order of selection doesn't matter (i.e., selecting members A, B, and C is the same
We use the combination formula: C(n, r) = n! / (r! * (n-r)!) Where n is the total
number of items to choose from, and r is the number of items being chosen.
b. Part 2: How many committees are possible if it is mandatory to have the selected
In this scenario, we know one position is already filled (by the treasurer), so we
Therefore, there are 475,020 possible committees when the treasurer must be
included.
Explanation:
1. In the first part, we're using the combination formula because the order of selection
doesn't matter, and we're choosing a subset (7 members) from a larger set (30 members)
without replacement.
2. In the second part, we're using the same principle, but with different numbers. Since the
treasurer must be included, they automatically take one of the seven spots. This leaves us
with only 6 spots to fill, and only 29 other members to choose from.
5.
A bit string is a sequence of binary digits (0s and 1s). The length of the bit string refers to how
many digits are in the sequence, and the weight refers to the number of 1s in the string.
Let’s say we have a bit string of length 5 with a weight of 3 (meaning there are 3 ones).
The number of different bit strings of length 5 with a weight of 3 can be calculated using
Combinations are used here because the order doesn't matter (e.g., 10100000 and 00001010 are
considered the same in terms of weight and length), and we're selecting positions for 1s from the
A derangement is a permutation where no element appears in its original position. For 123, valid
n
1 1 1 (−1 )
D(n)=n !∗(1− + − + ...+ )
1! 2! 3! n!
For n = 3:
()
3
1 1 1 1 1 1
D(3)=3 !∗(1− + − )=6∗(1−1+ − )=6∗ =2
1! 2! 3 ! 2 6 3
We're arranging 4 digits out of 10 (0-9), where order matters and repetition is not
allowed.
b. Digits can be repeated: This is also a permutation, but with repetition allowed.
In both cases, we use permutations because the order of the digits matters (1234 is
different from 4321 in a password). The difference lies in whether repetition is allowed.
For (a), we use permutations without repetition because each digit can only be used once.
For (b), we use permutations with repetition because digits can be reused.
We do not use combinations in these password scenarios because the order of the digits is