Docsity

Discrete Mathematical Structures - Problems with Solutions | MATH 2513, Assignments of Mathematics

Toggle sidebar
bg1
Class Problem
Math 2513
Thursday, June 16
Problem. Let f:A→Band g:B→Cbe functions. Consider the implication P:
If f:A→Band g:B→Care one–to–one functions then g◦f:A→Cis a one–to–one function.
(a) State the converse of P.
(b) State the contrapositive of P.
(c) State the inverse of P.
(d) Two of the statements among P, its converse, its contrapositive and its inverse are false. Determine
which two are the false ones and explain.
SOLUTION:
(a) If g◦f:A→Cis one–to–one then both f:A→Band g:B→Care one–to–one.
(b) If g◦f:A→Cis not one–to–one then f:A→Band g:B→Care not both one–to–one. This
can also be phrased as: If g◦f:A→Cis not one–to–one then f:A→Bis not one–to–one or
g:B→Cis not one–to–one.
(c) If f:A→Band g:B→Care not both one–to–one then g◦f:A→Cis not one–to–one.
This can also be phrased as: If f:A→Bis not one–to–one or g:B→Cis not one–to–one then
g◦f:A→Cis not one–to–one.
(d) Both Pand its contrapositive are true, but the converse and the inverse of Pare false.
To see that the converse is false: let f:{1}→{1,2}be given by f(1) = 1 and let g:{1,2}→{1}be
given by g(1) = g(2) = 1. Then g◦f:{1}→{1}is given by g◦f(1) = 1, and g◦fis a one–to–one
function. However gis not one–to–one, which shows that the converse of Pis false.
Since the inverse of Pis logically equivalent to the converse of P, the same example shows that the
inverse is false.

Partial preview of the text

Download Discrete Mathematical Structures - Problems with Solutions | MATH 2513 and more Assignments Mathematics in PDF only on Docsity!

Class Problem

Math 2513

Thursday, June 16

Problem. Let f : A → B and g : B → C be functions. Consider the implication P:

If f : A → B and g : B → C are one–to–one functions then g ◦ f : A → C is a one–to–one function.

(a) State the converse of P. (b) State the contrapositive of P. (c) State the inverse of P. (d) Two of the statements among P, its converse, its contrapositive and its inverse are false. Determine which two are the false ones and explain.

SOLUTION:

(a) If g ◦ f : A → C is one–to–one then both f : A → B and g : B → C are one–to–one.

(b) If g ◦ f : A → C is not one–to–one then f : A → B and g : B → C are not both one–to–one. This can also be phrased as: If g ◦ f : A → C is not one–to–one then f : A → B is not one–to–one or g : B → C is not one–to–one.

(c) If f : A → B and g : B → C are not both one–to–one then g ◦ f : A → C is not one–to–one. This can also be phrased as: If f : A → B is not one–to–one or g : B → C is not one–to–one then g ◦ f : A → C is not one–to–one.

(d) Both P and its contrapositive are true, but the converse and the inverse of P are false. To see that the converse is false: let f : { 1 } → { 1 , 2 } be given by f (1) = 1 and let g : { 1 , 2 } → { 1 } be given by g(1) = g(2) = 1. Then g ◦ f : { 1 } → { 1 } is given by g ◦ f (1) = 1, and g ◦ f is a one–to–one function. However g is not one–to–one, which shows that the converse of P is false. Since the inverse of P is logically equivalent to the converse of P, the same example shows that the inverse is false.