Assignment
Assignment
Notes: There are seven questions. Answer all the questions. Symbols carry the usual meaning as given
in the text book. Your answer must adhere to the approach, formula contained in the scope of the course.
Your answers must contain all the details. For example,
In Q1, if the implication is true you must give formal proof. If it is false, you must mention the reason.
In Q2, you answer must contain the details of how you count such paths.
Q1. Write the following open propositions into symbolic languages [You can use your own symbols].
Prove or disprove the validity of the arguments. [4*.5 = 2M]
a) All students in this class understand logic. Xavier is a student in this class. Therefore, Xavier
understands logic.
b) Every computer science major student takes discrete mathematics. Natasha takes discrete
mathematics. Therefore, Natasha is a computer science major student.
c) All parrots like fruit. My pet bird is not a parrot. Therefore, my pet bird does not like fruit.
d) Everyone who eats granola every day is healthy. Linda is not healthy. Therefore, Linda does not
eat granola every day.
Q2. In this problem we will count the number of paths in the xy plane between the origin (0, 0) and
point (m, n), where m and n are nonnegative integers, such that each path is made up of a series of
steps, where each step is a move one unit to the right or a move one unit upward. (No moves to
the left or downward are allowed.) Two such paths from (0, 0) to (5, 3) are illustrated here.
Using appropriate method, find the number of such paths between the origin (0, 0) and point (m, n).
[1M]
Q3. Use mathematical induction to prove the following generalization of one of De Morgan’s laws:
̅̅̅̅̅̅̅̅̅
⋂𝑛𝑖=1 𝐴𝑖 = ⋃𝑛𝑖=1 𝐴̅𝑖 [1M]
Q6. Consider the following relations on the set {1, 2, 3, 4}. Draw digraphs representing each of the
digraphs. Determine
Q7. Find all solutions of the recurrence relation 𝑎𝑛 = 7𝑎𝑛−1 − 16𝑎𝑛−2 + 12𝑎𝑛−3 + 𝑛2𝑛 𝑤𝑖𝑡ℎ 𝑎0 =
−2, 𝑎1 = 0 𝑎𝑛𝑑 𝑎2 = 5. Do not use the formulae table for the particular solution given in the text
book. Instead you must write the generating function and show how you obtain the general
solution. [1M]
------------------------------------------------------------------------------------------------------------