Group A
3×4=12
(Answer any four questions)
1. Define tautology, contradiction and satisfiable with an example.
Tautology: In propositional logic we define a term tautology for a compound statement, such that its truth value is always true for all possible combinations. Example (p∧q)→(p∨q), is a tautologic expression.
Contradiction: In propositional logic, we define a term contradiction for a compound statement, such that its truth vaule is always false for all possible combinations. Example ¬(¬(p∧q)↔(¬p∨¬q)), is a contradictory statement.
Satisfiable: In propositional logic, a compound statement is satisfiable, if there exists atleast one combination such that, the compound statement evaluates to true. Example A∧¬B is true when A=T, and B=F, thereby making them solution for satisfiability.
2. Represent the statement "It is raining and I will not go to college." using propositional logic.
Breaking the compound statement into two propositions:
- P: It is raining.
- Q: I will go to college.
The above compound statement can be written as: P∧¬Q.
3. Prove that in a graph the number of vertices of odd degree is always even.
Expressing the total number of vertices in terms of vertices with odd degrees and vertices with even degrees:
i=1∑nni=even∑ni+odd∑ni
We know that the total degree of a graph is twice the number of edges e. Therefore the above expression can be written as:
2⋅e=even∑ni+odd∑ni
Now, the expression on the left hand side, i.e., 2⋅e is always even. The first expression on the right hand side, ∑evenni is always even as it is the sum of even numbers.
Therefore, the sum of odd degrees, ∑oddni, is nothing but the difference between two even numbers, hence it is always even.
4. Find the generating function for the sequence {0,0,1,1,1…}.
5. A committee of 7 members is to be chosen from 6 artists, 4 singers and 5 writers. In how many ways can this be done if in the committee there must be at least one member from each group and at least 3 artists?
6. Prove using Venn diagram: (B−A)∪(C−A)=(B∪C)−A.
The given expression is (B−A)∪(C−A)=(B∪C)−A.
The expression on the left hand side contains the union of all elements that are present in B but not in A, and all elements that are present in C but not in A. The Venn diagram is:

The expression on the right hand side contains all elements that are present in B and C but not in A. The Venn diagram is:

Group B
6×4=24
(Answer any four questions)
7. Prove the following logic argument: If horses fly or cows eat grass, then the mosquito is the national bird. If the mosquito is the national bird then peanut butter tastes good on hot dogs. But peanut butter tastes terrible on hot dogs. Therefore, cows don't eat grass.
Breaking the above compound statements into propositions:
- p: Horses fly.
- q: Cows eat grass.
- r: Mosquito is the national bird.
- s: Peanut butter tastes good on hot dogs.
As per the question, the first compound statement is: (p∨q)→r
The second compound statement that can be brought out is: r→s
Relating the two compound statements using hypothetical syllogism, we get:
(p∨q)→rr→s−−−−−−−∴(p∨q)→s
Inverting the above result, we get: ¬s→¬(p∨q)
Relating the above result with the third compound statement ¬s, using Modus Ponen's, we get:
¬s→¬(p∨q)¬s−−−−−−−∴¬(p∨q)
The above result can be written as: ¬p∧¬q. Applying simplification, on the result we get: ¬q, which translates to "Cows don't eat grass".
8. A new flag is to be designed for your college; it should have 6 vertical strips using four colors. In how many ways can this be done such that no two adjacent strips should have the same color?
9. Solve the recurrence relation: an=an−1+2an−2 with a0=2 and a1=7.
Given relation:
an=an−1+2an−2
The above is an example of homogenous recurrence relation. We can find the characteristic equation by replacing an=rn. Therefore, we get:
⇒ rn=rn−1+2rn−2rn−rn−1−2rn−2=0
On dividing both sides with rn−2, we get:
⇒ ⇒ ⇒ r2−r−2=0r2−2r+r−2=0r(r−2)+(r−2)=0r=−1,2
Since the roots found are different, therefore the solution equation can be found out using:
an=A1r1n+A2r2n
We know a0=2:
⇒ a0=A1(−1)0+A2⋅20A1+A2=2(1)
We know a1=7:
⇒ a1=A1(−1)1+A2⋅21−A1+2A2=7(2)
On adding equations (1) and (2), we get:
3A2=9⇒A2=3
And putting the value of A2 in (1), we get: A1=−1.
Therefore, the solution for the given recurrence relation is:
an=−1⋅(−1)n+3⋅2n
10. Let f:A→B and g:B→C be bijective then show that the relation (g∘f)−1=f−1∘g−1 holds true.
11. Prove using mathematical induction 12+22+32+…+n2=6n(n+1)(2n+1).
Given relation:
12+22+32+…+n2=6n(n+1)(2n+1)
Solving the basis:
| n | LHS | RHS |
|---|
| 1 | 12=1 | 61⋅2⋅3=1 |
| 2 | 12+22=5 | 62⋅3⋅5=5 |
Therefore, the basis holds true. For n=k:
12+22+32+…+k2=6k(k+1)(2k+1)(1)
For n=k+1:
LHSRHS=12+22+32+…+k2+(k+1)2=6k(k+1)(2k+1)+(k+1)2=(k+1)[6k(2k+1)+6(k+1)]=(k+1)[62k2+7k+6]=(k+1)[62k2+4k+3k+6]=(k+1)[62k(k+2)+3(k+2)]=6(k+1)(k+2)(2k+3)=6(k+1)[(k+1)+1][2(k+1)+1]=6(k+1)(k+2)(2k+3)[From eq. (1)]
Since, LHS=RHS, therefore through mathematical induction, the given equation holds true.
12. Explain the steps to determine the planarity of a graph.
Group C
6×2=12
(Answer any four questions)
13. Prove using mathematical induction:
1+4+7+…+(3n−2)=2n(3n−1),n∈N
Given equation:
1+4+7+…+(3n−2)=2n(3n−1),n∈N
Solving the basis:
| n | LHS | RHS |
|---|
| 1 | 1 | 21⋅2=1 |
| 2 | 1+4=5 | 22⋅5=5 |
Therefore, the basis holds true. For n=k:
1+4+7+…+(3k−2)=2k(3k−1)(1)
For n=k+1:
LHSRHS=1+4+7+…+(3k−2)+(3k+1)=2k(3k−1)+(3k+1)=23k2+5k+2=23k2+3k+2k+2=23k(k+1)+2(k+1)=2(k+1)(3k+2)=2(k+1)[3(k+1)−1]=2(k+1)(3k+2)[From eq. (1)]
Since LHS=RHS, therefore the above equation holds true for all values of n, where n∈N.
14. If f:Z×Z→Z, where Z is the set of integers and the relation f(x,y)=x∗y=x+y−xy. Prove that the binary operation ∗ is commutative and associative, also find the identity element and inverse of each element.
Depreciated — Not in syllabus.
15. Prove that in a simple graph with n vertices and k components can have utmost (n−k)(n−k+1)/2 edges.
Let us consider a graph G, where the number of vertices in each of the k components be n1,n2,…,nk. Thus we have:
⇒ ⇒ n1+n2+…+nk=n(n1−1)+(n2−2)+…+(nk−1)=n−ki=1∑k(ni−1)=n−k
On squaring both sides we get:
⇒ ⇒ (i=1∑k(ni−1))2=(n−k)2i=1∑kni2−2i=1∑kni+k+Cross Term+=n2−2nk+k2i=1∑kn2≤n2−2nk+k2+2n−k
On removing the non-negative cross term, we get:
i=1∑kn2≤n2−(k−1)(2n−k)(1)
The maximum number of edges in the ith component is 21ni(ni−1). Therefore, the maximum number of edges in the graph G is equal to:
i=1∑k21ni(n1−1)⇒Em⇒Em⇒Em⇒Em=21i=1∑kni2−21i=1∑kni≤21[n2−(k−1)(2n−k)−n]≤21(n2−2nk+k2+2n−k−n)≤21[(n−k)2+(n−k)]≤21(n−k)(n−k+1)[From eq. (1)]
Taking the maximum value from above, we can state a simple graph with n vertices and k components can have at most, Em edges as stated below:
Em=21(n−k)(n−k+1)
Hence the theorem is proved.
16. Prove using propositional logic:
- (i) (p→r)∨(q→r)≡(p∧q)→r
- (ii) p↔q≡(p∧q)∨(¬p∧¬q)
(i) Given: (p→r)∨(q→r)≡(p∧q)→r
LHP=(p→r)∨(q→r)=(¬p∨r)∨(¬q∨r)=(¬p∨¬q)∨(¬r∨¬r)=¬(p∧q)∨r=(p∧q)→r=RHP[∵a→b=¬a∨b][∵associative][De-Morga’s law][∵a→b=¬a∨b]
Hence proved.
(ii) Given: p↔q≡(p∧q)∨(¬p∧¬q)
LHP=p↔q=(p→q)∧(q→p)=(¬p∨q)∧(¬q∨p)=[(¬p∨q)∧¬q]∨[(¬p∨q)∧p]=[(¬p∧¬q)∨(q∧¬q)]∨[(¬p∧p)∨(q∧p)]=[(¬p∧¬q)∨F]∨[F∨(p∧q)]=(p∧q)∨(¬p∧¬q)=RHP[∵a→b=¬a∨b][∵a∨F=a]
Hence proved.