Engineering Mathematics - III Module 3-1
Engineering Mathematics - III Module 3-1
Mor,ro-3
Oloo rer
lSSo* "
o9
.x'
:? 1 Formal Logic
PREVIEW
Aristotle was the pioneer of logical reasoning. The Stoics developed an early form of
propositional logic, where the propositions have a truth-value such that at any time they are
either true or false. Logic is the study ofvalid inference. First order predicate logic is a kind of
mathematical logic which was developed to provide a logical foundation for Mathematics. Logical
reasoning provides the theoretical base for many areas of Mathematics and consequently computer
science. Logic is concerned with reasoning and with establishing the validity of arguments. It
allows conclusions to be deduced from premises according to logical rules and the logical argument
establishes the truth of the conclusion provided that the premises are true.
TEARNING OBJECTIVES
After studying this chapter, the students will be able to:
o understand proposition and propositional variables
o understand compound propositions, basic connectors and derived connectors
I
I
o understand principle of duality and logical equivalence of propositions
I
a
r understand the algebra ofpropositions
o understand tautology, contradiction and contingency
o understand functionallycomplete sets of connectives
. understand argument and its types
. understand rules of inference, proof of validity and normal forms
o understand existential and universal quantifiers, negation ofquantifred propositions
and multiple quantified propositions.
1.1 INTRODUCTION
Logic is about deducing whether a statement is true or false on the basis of information we
have been given. Logic plays an important in the development of every area of learning. Math-
ematical logic is often used for logical proofs. Proofs are valid arguments that determine the
M-3.1
M-3.2 A TEXTB@K OF ENGINEER]NG MATHEMATICS
truth values of mathematical statements. There are two parts of logic. The
propositional or sentential logic and the second part is callei
first part is called
first-order or predicate logic. propo-
sitional Logic is concerned with statements to which the truth values, .true,
and ofalse,, can be
assignerl' The pur?ose is to analyze these statements either individually
or in a composite
manner' Propositional logic has very limited expressive power. First
order togi" o"p""dicate logic
generalizes propositional logic by involving quantifiers
{;for au", "there exists""). Fiist-order Iogic
is an extension ofpropositional logic, which allows quantification
overvariables. In propositional
logic we can onlytalk about specifics, whereasin predicate logicwe
can also talk more generally.
This chapter discuses basic concepts of propositional logic, mlthods
orp"oorr, oo;.1forms and
introduction to first order predicate logic.
t.2 PROPOSTTTON
1.2.1 PropositionalVariables
The lower case letters starting from P onwards are used to represent propositions
e.g.,
p : India is in Asia
q:2+2=4.
B3q'"'ple l. Clossify the following statements as propositions or non-propositions.
(i) The population of India goes upto 100 rniilion
in year 2000.
(ii)x+t=30
(iii) Come here
(iu) The Intel Pentiurn-Ill is a 64-bit computer.
Sol. (l) Proposition (u) Not a proposition
(ru) Not a proposition (du) Proposition.
I
Exanple 2. Consider the following :
p : He is rich
q : He is Generous.
Write the proposition which combines the proposition p and q using conjunction (n),
disjunction (v), and negation (-).
Sol. Conjunction. He is rich and generous i.e., p
Disjunction. He is rich or generous i.e., p v q. ^q.
Negation. He is not ichi.e., - p
He is not generous i.e., - q.
It is false that he is rich or generous i.e., - (p v q).
He is neither rich nor generous i.e., - p t - q.
It is false that he is not rich i.e., - (- p).
Example 3. Let p be "It is hot day" and q be "The temperature is 45"C". Write in simple
sentences the meaning of following :
(i)-p (ii) -(pvq) (iii) - (p nq)
(iu) - (- p) (u)pvq (ui) p aq
(uii) -p n-e (uiii)-(-pv-q).
M-3.4 r ^F :iJ3^€=a..v3
\.ATHEMATICS
=t-:t:r:r
Sol. (j) It is not a hot day.
(il) It is false that it is hot day
or temperarure is 4b.C.
(iii) Itis not true that it is hot day
(lu) It is false that it is not
ur,ji"-p""ature is {5"C.
a hot iay.
(u) It is hot day or temperature
is 4S"C.
(ui) It is hot day and temperature
is 4boC.
(uii) h is neither a hot day nor
temperature is 4S.C.
(uiii) h is false that it is not a hot
day o" t"-p"".ture is not 45oc.
Example 4. Consider the following statements: -
p : He is coward.
q : He is lazy.
r : He is rich.
Y!i!: tl, following compound statements in the symbolic
(i) He is either coward i, porr. form.
(ii) He is neither coward, nir lazy.
(iii) It is false that he is cowqrd,
but not lazy.
(iu) He is coward or lazy but
not rich.
(u) It is false that he is coward
or lazy but not rich.
(ui) It is not true that he is
not rich.
(uii) He is rich or else he is both
coward and. lazy.
Sol.(l)pv-r (ii)-pn-q (p n-
(iu)(pvq)n-r tiii) - q)
(u)-((pvq)n-r) tui) - (- r)
(uii)rv(pnq).
L.3.2 DerivedConnectors
The commonlyused derived connectors
are NAND, NoR and XoR.
l'3'2'1 NAND' It means negation after ANDing of two statements.
two propositions' Nanding ofp and q Io be proposition ^\sume p and q be
a which is fal-"e *,hen bothp and q are true,
otherwise true. It is denoied by p T q.(Fiel.
a)
1.3.2.3 XOR. Assume p and q be two propositions. XORing ofp and q is true ifp is true or
if g is true but not both and vice-versa. It is denoted byp @ q. (Fig. 6)
p@q
T T F
T F T
F T T
F F F
Fig.6. Truth table of XOR.
A1B ATB,IC
T T T F T
T T F F T
T F T T F
T F F T T
F T T T F
F T F T T
F F T T F
F F F T T
Fig. 8. Truth table of A'l B t C.
Example X @Y = (X n - Y) v (- X rY).
6. Proue that
Sol. Construct the truth table for both the propositions. (Fig. 9)
x@Y -Y -x Xn -Y - XnY (Xn-Y)v(-XnY)
T T F F F F F F
T F T T F T F T
F T T F T F T T
F F F T T F F E\
Fig.9
M-3.6
A TEXTB@K OF EI.IGINEERII.JG I'ATHEMATICS
F'
Fig I!
Since, thevalues of (pT
e@@T ilar:d,p .q .p - g. are sarne as shown in Fig. 11. Hence,
they are equivalent.
T T T
T F F
F T T
F F T
Fig. 12. Truth Table of p _+ q.
FORMAL LOGIC M-3.7
T F F F
T F T T
F T F F
F T T F
Fig.15
In the above table (Fig. 15), the values ofp -+ q is equivalent to (l), (ii) and (iii), hence they
are equivalent top -+ g. Hence proved.
r
=r-EEF :F
Biconditional. Statements of the form _if and crr-r-_i- 1_;
.,ur"_lrrt"1.r., ::. :nditional
It is denoted.sr q and read as "p,if and
? and is only ifq-. Tne proposirrc,i-:
q have the same truth values :- :s ::-re ifp and
falseifp and q do rr.r" ,rr" iame r,rth , i,r._. -
The name
biconditional comes from the fact thatp e+ "oi to (p _>
q is equivalent q I n (q __+ p
The truth table ofp e+ q is shown in Fig.
16.
q
T T
F F
T F
T' T
Fig. f 6. Truth Table of p <-+ q
For example : (l) Two rines are parallel if and
onry if they have same slope.
(il) You will pass the exam if
and only ifyou will work hard.
Example 12. Proue that p ++ q is equiualent to (p _+
a) n (q - Or.
Sol. Construct the truth tables ofboth propositions
:
(p --: q) a (q -+ p)
T T T
T F T
ir IT
l"
T'
F
T T F F TFI T
T F T Irl F
F T
E'
T F lrl F
F F T T
bl -
Fig. 19. Truth table of - p v q and
- (p rq).
F
Since, the final values of both the propositions are same, hence the two propositions are
equivalent.
L.7 TAUTOLOGIES
A proposition P is a tautology if it is true under all circumstances. It means it contains
only T in the final column of its truth table.
Example that the statement (p -+ q) <+ (- q
15. Proue ) - p) is a tautology.
Sol. Make the truth table of above statement :
M-3.10
A TEXTBOOK OF ENGINEERING MATHEMATICS
1.8 CONTRADICTION
A statement that is alq.a-vs false is caileci a
.(-,nrracliction.
Example 17. Show that the statemen:; . _
i :; 2 ._rrti:radiction.
Trtr
Flr I
1.9 CONTINGENCY
T T T
T F F F
F T T F
F F T F a
As, the value of final column depends on the truth value of the variables, so it is a contingency.
(Fig.23)
Example 19. From the following formulae, find out tati,tology, contingency and contra-
diction.
(il A=A n(Av B) (ii)(pn-q)v(-p^q) tiii)-(pvq)v(-pv-q).
Sol. (j) Construct the truth table for A -+ A n (A v B).
AvB A t(A vB) A -+A t'(A vB)
T T T T T
m T
T F T .1
F T T F T
F F F F T
Fig.24. Truth table ofA -+A x(Av Bl.
Since, the last column of the table contains all T's, hence it is a tautology. (Fig. 24)
'(li) Construct the truth table for (p n - q) v (-p g) as shown in Fig.25.
^
(pa-q)r(-pnq)
T T F F F F F
T F F T T F T
t1 T T F F T T
F F T T F F F
p-+(q-+p)
Example 22. Write an equiualent formula for p t (R e S) v IS <= p, u.hich does not
inu ol ue bi condition al.
Sol. We know that P <+ Q = (P
= e) n (e =
p) ...(,)
59, applying eqn" (l) to the given formula, we can obtain an equivalent
formuia s-hich does
not involve biconditional.
Example 23. Write an equiualent formula for R v (S e T), which rloes not inuolue
biconditional as well as conditional.
Sol. We know that
(P<+Q)=(P=Q)n(Q=+P) . ..(i)
(P+Q)=-PvQ ...(,r)
So, applying the eqn. (l) and (il) on the given formula, we can obtain an equivalent formula,
which does not involve biconditional as well as conditional.
lR v (S <+ T)l = [R v (($ =+ T) v (T S))]
=
= [Rv ((- S v T) v (- T v S))].
Example that {-, N is functionally complete.
24. Show
Sol. Take any formula which involve all the five connectives r, v, -,
= and <+. We can
obtain an equivalent formula by first replacing biconditional and then replacing conditional and
finally replacing v.
Wehave P<+Q-(P=Q)n(Q=P)
=(- PvQ)r.(- Q"P)= (- (--Pn - e)) (- p))
Hence, {-, n} is functionally complete.
"(- - en -
Similarly, ue can show that (-, vlis functionally complete.
Since, { -, v} is functionally complete. Hence f}om above, {-, -+} is also functionally complete.
'e.-
i given any formula which involve all the five connectives, we can obtain an equivalent for-
mula using {-, -->} by first replacing biconditional (er) and then replacing (n) AND and finally
replacingv (OR).
PROBLEM SET.I
1. Let p be "Aditya speaks English" and let q be "Arshita speaks Hindi". Given a simple verbal
sentence which describes each of the following:
(i)pvq Gi) p nq (iii) p n -q
(iu) -p v -q (u) --q fui) -(-p n -q)
M-3.14
A TEXTEECK OF ENGINEERING MATHEMATICS
M-3.17
Itt.) (qvr\--s1c _|qvr)vp
= Def. of Conditional
=(_qn_r)vp De-Morgan,s law
(_q v p) n (_r vp)
= Distributive law
=(q_+p)a(_rvp) Def. of Conditional
=(q_>ptr(r_+pr Def. of Conditional
1.11 ARGUMENT
An argument is an assertion
that a gr-oup ofpropositions
oroposition' cailed the conclusio". ; called premises, yields another
ionciLrsion e. Then, it is
r,"ie, rr", rr,- , ri'i."r"# group
ofpropositions that yierds
denoted * f, er, p,,,...,p, the
l_ e.
,",,, tl,"
"l;il:lffi;#Hffi:',Tffiff ";"*;J'''" proposition that is asserted on the
which are assumed for accepting
.,.," o""o,rrlil'r1,"J;Ji?i,1,Tr"";;:""', the concrusion, are cajred
Premise #n
Conclusion
T T
T F
F F T T T
p.
sol. The truth table of the rule of simplification is as shown in (Fig. 86).
p q p^q
T T T
T F F
F T -nr
.l
F F F
Fig. 36. Truth table firr simplifrcation.
In the truth table, p n g is true in line 1 andp is also true in line 1. Hence, the argument
is valid.
=ORMAu LOGIC M-3.21
Example 34. Show that the rule of conjunction is ualid,.
p
q
p
^q.
Sol. The argument is valid if p n q -) p q is a tautology. The truth table for the rule of
conjunction is shown in (Fig. B7). ^
p p^q p^q+p^q
T T T
T F F
F T F
F. F F
Fig. 37. Truth table for conjunction.
As the proposition is a tautology. Hence, the argument is valid.
Sol. ti ) \p -+ q) ,r (r -+ s) (Given)
(ii) q -+ s (Given)
Gii) (q + .s) -> (p v r) (Given)
(iu) P , ,'
Modus ponens using0ll) and (jj)
(i,) q rz.s
Coirstructive dilem,ma using 0) antl (ll).
: -=t,rAL LOGIC M-3.23
Fig.39
Inthetruthtable,p-)-gistrueinline2,Sand4.qistrueinlineland4and-pistrue
:n line 3 and 4. Hence, all three are true in line 4. So it is a valid statement.
Example 46. Consider the following argument and determine whether it is ualid.
Either I will get good marks or I will not graduate. If I did. not graduate I will go to
Canada. I get good marks. Thus, I would not go to Cana.da.
Sol. Let p be "I will get good marks" and g be "I will graduate" and r be "I u'ill go to
Canada". Thus, the above argument can be rn'ritten in symbolic form as follows:
pY-q
-q-)r
p
-r
M-3.24 A TEXTBOOK OF ENGINEERING MATHEMATICS
(i)pv-q (Given)
(ii)-q'+t (Given)
(iiil - p (Given)
(iu) - q Disjunctive syllogism using (l) and (ili)
(u) t Modus ponen.3 :-rsrng (ii) and (iu)
Hence proved.
Example 48. Determine the ualidity of the following argument using deduction metlnd.
If I study, tlten I will pass examination. If I do not go to picnic, then I will study. But I
failed. exami,nation. Therefore, I went to picnic.
Sol. Letp be "I study" and q be "I will pass examination" and r be "I go to picnic". Then the
above argument is written in symbolic form as follows :
p+q
-t +p
*p
t
=:IMAL LOGIC
M-3.25
Thus to prove the validity of the argument use the rules of inference.
(i)p+q (Given)
Qi)-t-->p (Given)
(iiil - p (Given)
(lrD- - I Modustollensusing(il)and(lii)
fu) t Complement property using (lu)
Hence proved.
Example 4g. Proue the ualidity of the following argument using truth tqble as well as
:--,luction method.
"If the market is free then there is no inflation. If there is no inflation then there are price
:,-,:trols. Since there are price controls, therefore, the marhet is free"'
Sol. Letp be "The market is free" and q be "There is inflation" and r be "There are price
:,:rntrols". Thenthe above argument can be written in symbolic form as follows:
p)-q
;"'
,,. p
Ist Method. By using truth table
construct the truth table of above argument as shown in (Fig. 41)
p q r -q p)-q -q+r
T T T F F T
T T F F F T
T F F T T F
T F T T T T
F T T F T T
F T F F T T
F F T T T T
F F F T T F
Fig.41
In the truth tat'Ie , p ) - q is true in line 3, 4, 5,6, 7 and 8 - q --s r is true in line 1,2, 4,
5.6,Tristrueinline !,4,S,T.Alltheabovethreearetrueinline4and5.Alsopistrueinline4'
Hence the argument is valid.
IInd Method. Using deduction method
(i)p--+-q (Given)
(ii)-q+r (Given)
(iii) p + r Hypothetical syllogism using (i) and (li)
(iu) - p -+ - r Transpositionusing(lil)
(u) r (Given)
(ui) - - p Modus tollens using (iu) and (u)
(uii) p ComPlementof(ul).
Hence proved.
M-3.26 A TEXTBOOK OF ENGTNEERTNG TvtATHEMATICS
called a minterm- The disjunction (ORing) of the minterms is the DNF of the given logical
expression. This type of form is calledprl rucipal Disjunctiue Norntal
form.
For Example: Letp and q be two statement variables, thenp e, p -q, -p n q and -p n
-q are the minterms ofp and q. ^ ^
Let p,q and r be three statement variables, then p q r, p q A -r, p -q r, p _q
^
-r, -p Aq ,'.r, -p ^q A -r, -p -q
^r, -p A -q _r are the^ minterms ^ ^
of p, q and r.
^ ^ ^
^ ^
Steps to find DNF using Truth Table
The following steps are applied to a logical expression to obtain DNF.
1. Construct the truth table ofthe given proposition.
2. For every truth value T of the given proposition, select the minterm, which also has the
value T for the same combination of the truth value of the statement variables,
3' Then take the disjunctive (ORing) of the minterms selected. in step 2. It is the required
disjunctive normal form.
Example 56. Obtain the DNF or principal disjunctiue Normal form of the following
logical expressions using truth table.
=s
(i) p (ii) -p v -q (iii) (-p -+ r) r, (p e q)
(l)
Sol. The truth table ofp + q is shown in Fig. 42
p q p-q
T T T
T F F
F T T
F F T
Fig.42
There are three combinations in which the expr:essionp
three minterms corresponding top q isp n e, -p
= q has truth value T. So the
= and -p n -q. Now to obtain the
disjunctive normal form take the disjuntion of these^qminterms. Thus,
(p n q) v (-p r' q) v (-p n -q) is the requared DNF.
(li) The truth table of -p v -g is shown in Fig. 48
p -p q -q -pv-q
T F T F F
T F F T T
F T T F T
F T F T T
Fig.43
There are three combinations in which the expression -p v -q has truth value T. So the
three minterrns corresponding to -p v -q is (p n -d,Gp,r q) and -p -q.Now to obtain
the disjunctive normal form take the disjunction of these minterms. ^ Thus,
(p n -q) v (-p nq) v (-p r -q) is the required DNF.
=CRMAL LOGIC M-3.29
p q r -p (-p
= r) (p eq) (-p -+ r) n(p e q)
T T T F T T T
T T F F T T T
T F T F T F F
T F F F T F F
F T T T T F F
F T F T F F F
F F T T T T T
F F F T F T F
F'ig.44
There are three combinations in which the expression (-p + r) n (p e q) has truth
value T. So the three minterms corresponding to (-p = r) n (p <+ q) are (p n q r' r), (p
^
q -r) and (-p -q r). To obtain the disjunctive normal form take the disjunction of
^ ^
these minterms. Thus,
^
(p x q n r) v (p n q n -r) v (-p v -q r) is the required DNF.
^
Sol.
(l) It is in CN!' (li) It is in CNF
(iii) h is not in CNF (ir,) It is in CNF
Exarnple 60. Which of the following are not in conjunctive normal form ICNF)?
(i) -pv (qnr) (li) (p v qvr')rx-r
(ii{) ip v ,-) ,r (-q vp)
Sol.
(i) It is not in CNF (li) It is not in CNF
(iii) It is in CNF
2. Eliminate nut (-) before products and sums by using the double negation anilor using
DeMorgan's law.
Repeat the steps 1-2 until tlte only connectives are and (n) and or (v) and all the negations
are attached to sentential constants rather than to formulas.
3. Apply the distributive law until the logical expression is a ANDing of disjunctions
(ORs) of clauses.
Fig.45
There are two combinations in which the expression q ep has truth value F. So, the
two terms corresponding to q <+p is (p n -q) and (-p n q).
Now negate these terms -(p n -q) and -(-p zr, g). These becomes (-p v q) and (p v -q).
These are required maxterms. Now to obtain the CNF, take the conjunctionr of tU"r"
maxternrs. Thus,
(-p v q) n (p v -q) is the required CNF of the expression.
M-3.32 A TEXTtsOCK OF ENGINEERING MATHEMATICS
Fig.46
There ail
three combinations in which the expression (p u q) r (p v r) has truth value F.
So the three terms corresponding to (f v g) a (p v -r) is (-p n q -r), (-p -q and
(-p n -q r' -,). Now Negate these terms, we obtain (p, -q ^v r),(p v^g v ^r) -r) and
(p v q v r). Now to obtain the CNF, take the conjunction of these maxterms. Thus,
(p u-q v r) n(p v q v -r) (p v qv r) is the required CNF ofthe expression.
(lii) The truth table of (-p ^r) n (p e q) is shown in Fig. 47
=
p q r -p Gp=r) peq (-p r) n(p e q)
=
T T T F T T T
T T F F T T T
T F T F T F F
T F F F T F F
F T T T T F F
F T F T F F F
F F T T T T T
F F F T F T F
F.ig.47
There are five combinations in which the expression (-p .r) n (p a q) has truth value F.
=
So the frve terms corresponding to the expression are (p n -q n r), (p n -q n -r),
(-p nq r"r),(-p t,q n -r) and (-p n -q n-r). Now negate these terms to obtain the
maxterms. The obtained maxterms are (-p v q v - r), (-p v q v r), (p, -q y -r),
(p u-q v r) and (p v q v r). To obtain the CNF, take the conjunction ofthese maxterms.
Thus, (-p, q v -r) n (-p u q v r:) n (p v -q v -r) n (p v -g v r) n (p v q v r)is the required
CNF ofthe expression.
FORMAL LOGIC M-3.33
PROBLEM SET.II
l. Which of the following logical expressions are in DNF?
(i)(prqn-r)v(-pnr) (ii) (p) v (-p v q)
(iii) p v q (iu) p
(u)pn(-pvq)
2. Which of the following logical expressions are in CNF?
(i) (p) n (-p, q) (ii)pvq
(iii) p (iu)pv(-pnq)
(u) (((p v q) t -r) v -p) (vi)(pvqv-r)n(-pvr)
3. Obtain the conjunctive normal form (CNF) of the following formulas.
O -Gp vq)n(r=-s) (ii)(-p+g)+(q+-r)
4. Convert the following logical expressions into CNF
(i) (p*q)e(p+r) (ii) (p v q) t(p ,.r)
b. Convert the following formula into CNF using truth table
(peq)+(-pnr)
6. Obtain the CNF and DNF from the following truth table.
(r) x Y Z flx,y,z)
T T T T
T T F F
T F T F
T F F T
F T T F
F T F T
F F T T
F F F F
Fig.48
(r,) p q r l\p, q, r)
F F F T
F F T F
F T F T
F T T F
T F F T
T F T F
T T F F
T T T T
Fig.49
7. Obtain the DNF of the following logical expressions:
(i)(pr.(p+q))+q (ii) (p + q) n (-p + q)
(iii) (-p +r) n (p eq)
M-3.34 A TEXTBOOK OF ENGINEERING MATHEMATICS
Promises: If there was a rally, then travellingwas difficult. If they arrived on time, then travelling
was not diffrcult. They arrived on time.
Conelusion: There u'as no rally.
Determine whether the conclusion follows logically from the premises. Explain by representing
the statements symbolically and using rules of inference.
13. Consider
If Manjeet has public support, then he will contest from Bengaluru. If Manjeet says "Jai Hind" in
Bengaluru, he will not content froin Bengaluru. Manjeet says " Jai Hind" in Bengaluru. 'fherefore,
Maenjeet does not have public support.
Determine whetler the conclusion follows logically from the premises. Explain by representing
statements symbolically and using rules of inference.
14. Show that the following inferenee is valid using rules of inference.
"peq
q=r
.,p
First order logic or predicate logic generalizes propositional logic by involving quantifiers
,-for all", "there exits"). These quantifiers can only range :.:er individual elements in your dornairr
of discourse. E.g. "for all r P(r)", or " there exists r Q(r)". P and Q are just propositions from
M-3.36 A TEXTBOOK OF ENGINEERING MATHEMATICS
propositional logic. All the inference rules in propositional calculus are also valid in predicate
calculus.
There are two important rules:
1. Universal Quantifier: Form (Vr)F(r), infer F(o), where a is a constant, and F(o) is
obtained frcm F(r) with r substituted by o throughout F.
2. Existential Quantifier: From F(o), infer (fr)F(r), where o is a constant, and F(r) is
obtained form F(o) with a substituted byr throughout F.
Intuitively, the frrst one says that what is true for everything must be true for a given
thing. The second one says that it is fine to replace a constant name with an existential variable.
Example64.LetA(x):xhasawhitecolour,B(x):xisapolarbear,C(x):xisfoundin
cold. regions, ouer the uniuerse of animals. Translate the following into simple sentences:
6 3x @(x) n - A(x)) Qi) (1x) (- Ck))
Uiil Nx) (B(il r,C(x) __;A(x)).
Sol. (i) There exists a polar bear whose colour is not white.
(li) There exists an animal that is not found in cold regions.
(ill) Every polar bear that is found in cold regions has a white colour'
Example6S.LetK(x):xisatwo-wheeler,L(x):xisascooter.M(x):xismanufactured
by Bajaj. Express the following using quantifiers.
(i) Euery two wheeler is a scooter.
(ii) There is a two utheeler that is not manufactured by Bajaj.
(iii) Ttrcre is a two wheeler maruufactured by Bajaj that is not a scooter.
(iu) Euery two wheeler that is a scooter is manufactured by Bajaj'
Sol. (i) (V r) (K(r) + L(r))
(li) (l r) (K(r) r. M(r))
(,,,) (= r) (K(r) n M(r) -+ - L(r))
(lu) (Vr) (K(r) r L(r) + M(r))
=:EMAL LOGIC M-3.37
1.16 NEGATION OF qUANTIFIED PROPOSTTTONS
When we negate a quantified proposition i.e., when a universally quantified proposition is
:egated, we obtain an existentially quantified proposition and when an existentiaily quantified
:rcposition is negated, we obtain a universally quantified proposition
The two rules for negation of quantified proposition are as follows. These are also called
D; Morgan's law.
(i) - 1x p(x) x - p(x)
=Y (iil-Vxp(x)=1*-p(*).
Example 66. Negate each of the following propositions:
(i) All boys can run faster than all girls.
(ii) Some girls are rnore intelligent than all boys.
Qii) Some students do not liue in hostel.
(iu) All students pass the semester ex,arrls.
(u) Some of the students are absent
and the classroom is empty.
(l)
Sol. Some boys can run faster than some girls.
(rr) All girls are more intelligent than some boys.
(rrr) All students live in hostel.
(lu) Some students do not pass the semester exams.
(u) All students are present and the class-room is full.
Example 68.Write the negation for each of the following. Determine whether the result'
ing statement is true or false. Assume U = R.
(i)Y xlm(x2 <m) ' (ii)lmY x(x2 <m).
Sol. (l) Negation of V r ! m(x2 <m) is I xY m (x2 > m).The meaning of3 r Y m(x2 > m) is
that there exists some r such that x2 ) nt, for every rz. The statement is true as there is some
greatest r such that x2 2 m, for eYery m.
(il) Negation of 1mY x(xz <nl)is Y m1x(x2>-m).ThemeaningofY mlx(x2 >m)isthat
for every m,there exists some r such that (x2 2 m). The statement is true as for every m,thete
exists some greatest r such that x2 >- m.
Example 69. Check the ualidity of following formula under giuen interpretation.
(a) Y x 1 y P(x, y) under interpretation dornain = {1, 2) and P(1, 1) = T, P(1, 2) = F,
Pe, 1) = T, P(2, 2) = T where T and F refer to true and false respectiuely-
(b)Vx(P(x)-->Q@,f(x))underinterpretationdomain={1,2}anda=1,t(1)=2,f(2)=1,
P(1)=F,P(2)=T,Q(7,7)=T,Q(1,2)=T,QQ, 1)=FandQ2,Zl=T.HereTandFrefertotrue
and false respectiuely.
Sol. (o) Y x 1 y P(x, y) means for every r, there exists y such that P(x, y) is true.
some
Since P(1, 1) = T and P(2, 1) = T. Hence, the formula is valid under the domain = ll,2l.
(b) V r (P(r) -+ Q(o, F(r)) means for every r, whenever P(r) is true implies Q(o, flr)) is
also true. So, under the domain 11.,2l, the different values of V r (P(r) -+ Q(o, flf)) are as
follows:
Q(o,flr))
Fig.5o
So. when P(r) is true, Q(o, flr)) is also true. Hence, the formula is valid.
PROBLEM SET.III
1. Determine the negations of the following quantifred predicates without'-' in front of any quantifrer.
1. Vrly: lr,-vy)=z
2. V,t Vy: (r >y) =r (r -y) > 0
3. Vr V-y: (r <y) = 3z (x <z <y)
;ORMAL LOGIC M-3.39
2. Write the following propositions as quantified predicates.
(i) No pigs have wings (ii) Men with short hair have all been to prison
(rrr) All soldiers can march (iu) Some babies are not soldiers
3. Let the universe be a social club, and let r and y range over the members of the club. Define the
predicate P(r, y) as
P (x, y) = r loves y
Translate the following quantified predicate into English sentences.
(i) Yx Yy P(x, y) (ii) lx 1y P(x, y)
(iiil YxlyP(x, y) (iu) 1x YyP(x, y)
4. Transform the informal argument below into predicate logic.
"All cats are liked by some dogs. No dog likes a pig. There fore, no cat is a pig."
SOLVED PROBLEMS
(iii) If John is elected class representatiue, then either Mary is elected treasurer or Alice is
elected uice -treasurer.
(iu) Either taxes are increased or if expenditures rise, then the debt ceiling is raised.
Sol. (i) Letp be'You study" and q be'You will get good marks" and r be'You will enjoy".
'lhen the proposition logic is
p+q
-p+r
:. qvr
(ii) Let p be "The catalogue is correct" and g be "Seeds are planted in April" and r be "The
flowers bloom in July". Then, proposition logic is
p-+(q-+r)
(iii) Letp be "John is electdd class representative" and g be "Mary is elected treasurer" and
r be "Alice is elected vice-treasurer". Then, proposition logic is
p)qvr
(iu) Let p be "Taxes are increased" and q be "Expenditures rise" and r be "The debt ceiling
is raised". Then proposition logic is
Pv(q+r)'
Problem 2. The meaning of proposition p -) q is "If p then q" or "q is a necessary
condition fu p" or "p only if q" or "p is a sufficient condition for q".
Write the following statements in terms of aboue.
1. p : New Delhiis capitaloflndia q : IndiaisinAsia.
2.p:x2=4 e:x=2
3.p:x2=y2 e:x=y.
4. p = he works hard q : he is a Gold Medalist.
Sol. 1. (l) If New Delhi is capital of India, then India is in Asia.
(ii) India is in Asia is a necessary condition for New Delhi to be capital of India.
(lll) New Delhi is capital of India only if India is in Asia.
(iu) The fact that New Delhi is capital of India is a sufficient condition that India is in Asia.
2. G) If x2 = 4,then x = 2
(ii) r = 2 is necessary for x2 = 4
(.iii)x2-4onlyifx=2
iu) x2 = 4 is sufficient for x = 2.
3. Q)If x2=y2t]nenx=y
lii) x = y is necessaty for x2 = yz
Gii) x2 - y2 only if x = !
Qu) x2 = y2 is sufficient for r = y.
4. (l) If he works hard then he is a Gold Medalist.
(ll) Gold medal is necessary for hard work.
(lli) He works hard only ifhe is a Gold Medalist.
(lu) llard work is sufficient condition for Gold Medalist.
FORMAL LOGIC M-3.41
Fis.62
Problem 4. Construct the truth tables for the following statements
O b + @ -> r)) -> ((p + q) + (p + r))
(ii)p<+(-pv-q)
(iii) (p +p) v (p + - p).
Sot. (i) The truth table for 1p -+ @ + r)) -+ ((p + q) + (p + r)) is shown in (Fig. 53)
1p -> @+r)) |
((p -t q) --> (p +r)) | K-+ L
T T T T T T T T T
T T F F T F F F T
T F F T F F T T T
T F T T F T T T T
F T T T T T T T T
F T F F T T T T T
F F T T T T T T T
F F F T T T T T T
K
Fig.68
(a) The truth table forp er (-p r, - q) is shown in (Fig. 54)
-pv-q p<->(-pv-q)
T T F F F F
T F F T T T
F T T F T F
F F T T T F
Fig.64
M-3.42 A TEXTBOOK OF ENGINEERING MATHEMATICS
(zil) The truth table for (p -+p) ,',,(p + -p) is shown in (Fig. 55)
p)-p (p-+p)v(p-+-p)
F T F T
T T T T
Fig.56
Problem 5. Assume the ualue of p + q is false. Determine the ualue of (- p v - q) -+ q.
Sol. Construct the truth table for both the statements and determine the value of
(- p , - q) ) q against the false values of p -+ q. (Fig. 56)
p q -p -q I p)q -pv-q (-pv -q)+q
T T F F T F T
T F F T F T F
F T T F T T T
Fig.66
So,whenp -+ q is false,the value of (- p v - q) --+ q is also false.
Problem 6. Giuen the ualue of p + q is true. Determine the ualue of - p v (p <+ q).
Sol. Construct the truth table for both statements. (Fig. 57)
F T T T F T
T T T
Fig.57
So, when the value of p + q is true in line 1, 3 and 4. The value of -p v (p <-+ q) is also true.
Problem 7. Proue that the negation of conditional statement - (p -+ q) is equiualent to
p^-q.
Sol. The truth table of the given propositions are shown in (Fig. 58)
p+q - (p --> q)
T T F T F F
T F T F T T
F T F T F F
F F T T F F
Fig.58
As the values of both the propositions are same in the truth table, hence - (p -+ q) =p - q.
^
M-3.43
=ORMAL LOGIC
.re-qor-peq.
sol. The truth table of all the given propositions is shown in (Fig. 59)
-q poq I -(p++q) po-q -peq
T T F F T
T F F T F
F T T r F
F F T T T
Fig.69
-
As the values of o q are same, hence they all are equivalent.
@++ q) andp
- e g and - p
Problem 9, Frorn the following formulae, find out tautology, contingency and
contradiction.
O) - 6-+B)v (-Av (A,.B)) Gil @ -+(I t0) + - (H +I)
(iii) @ €q) rq) v (- P ,.q).
=(p
Sol. (i) Construcfthe truth table for - (A -+ B) v (- A " (A n B)) as shown in Fig. 60.
-A I -Av(ArB) A-+B I -(e-rS) -(A-rB)v(-Av(A,rB))
T T F T T F T
T F F F F T T
F T T T T F T
F F T T T F T
Fig.60
As the last column of the table contains all T's, hence it is a tautology'
(lr) Construct the truth table for (H + I n J) + - (H + I)) as shown in (Fig' 61)
InJ) I H-r H-r -rI -+InJ)-+- -+I
T T T T T T F F
T T F F F T F T
T F F F F F T T
T F T F F F T T
F T T T T T F F
F F T F T T F F
F T F F T T F F
F F F F T T F F
Fig.61
As the value oflast column depends upon the value ofthe variables, hence it is a
contingency'
(iii) Construct the truth table for ++ q) + n
(p (p q) v (- n n q) as shown in (Fig' 62)
Fig.62
As the last column contains all T's, hence the above formulae is a tautology'
M-3.44 A TEXTBOOK OF ENGINEERING MATHEMATICS
Problem 17. Proue the ualidity of following arguments without using truth tables.
1.pvq,-pl-q 2.p,p+e,e+rl-r
3. p,q,(p
"q)
+r l-r 4.p,(pn-q)+-pl-p+q.
Sol. 1. (i) p v q (Given)
(iil _p (Given)
(iiil q Disjunctive syllogism
M-3.46 A TEXTBOOK OF ENGINEERING MATHEMATICS
2.(i) p (Given)
(ii) p -+q (Given)
(iii) q +r (Given)
(iu) p +r Hypothetical syllogism using (ir) and (iir)
(u) r Modus ponens using (lu) and (l)
s. (j) p (Given)
(ii) q (Given)
(iii) (p n q) -+ r (Given)
(iu) p nq Rule of conjunction using (i) and (ii)
(u) r Modus ponens using (lrl) and (iu)
4.(il p (Given)
(iil @ (Given)
(iii) -(p^-q)+-p
n-q) Modus tollens using (ii) and (i)
(iu) --(p+q) As-(p+q)=(pn-q)
(u) p+q Complement property using (ru).
Problem 19. Proue that the following arguments are ualid without using truth tables.
1.(pvd+-r,rvt,pl-t
2. (prq) + r, (r + q), (r + q) -s (q n r) l-(p -+(q nr)
"q)
Sol. 1.(i) (pvq)+-r (Given)
(iil rvt (Given)
(iii) p (Given)
(iu) pvq Rule of addition using (lri)
(u) -r Modus ponens using (i) and (iu)
(ui) t Disjunctive syllogism using (ll) and (u)
2.(D p^q+r (Given)
(ii) r -+ q (Given)
(iiil(r n g) -+ (q n r) (Given)
(iu) r -> (r n q) Rule of absorption using (ii)
(u) (prg)+(rnq) Hypothetical syllogism using (r) and (iu)
(ui) (p n g) -+ (q t r) Hypothetical syllogism using (u) and (iii)
ryr.aL LOGTC M-3.47
Problem 2O. Proue the ualidity of following argument using deduction system.
(1)A+B (2)B-+-C
Q)-CtD @)A-+D
:. B.
Sol.(j) A+B (Given)
(ii) B-r-C (Given)
(jjj) -CnD (Given)
(iu) A -r D (Given)
(u) A+-C Hypothetical syllogism using (r) and (ii)
(ui) - C Simplification of (iri)
(uii) -A+C Tlansposition of(iu)
(uiii) A Modus tollens using (uii) and (ul)
(,tr) B Modus ponens using (i) and (uiil)
Problem 22. Proue the ualidity of fottowing argurnent using truth tables.
"If it rains then it will be cold. If it is cold then I shall stay at home. Since it rains
therefore, I shall stay at honle".
Sol. Letp be "It rains" and q be "It will be cold" and r be "I shall stay at home". Then the
above argument in symbolic form is
p+q
q+r
p
r
construct the truth table of (p + g) n (q -s r) + r as shown in (Fig. 66).
^p
g -+r I @ +q) r(q --tr) (p+q)n(g-rr)np (p+q)n(q+r)z.p-+r
T T T T T T T T
T T F T F F F T
T F F F T F F T
T F T F T F F T
F T T T T T F T
F T F T F F F T
F F T T T T F T
F F F T T T F T
Fig.66
As the last column contain all T's, hence the argument is valid.
Problem 23. Translate the following into syrnbolic form and test the ualid.ity of the
argument.
If 6 is euen then 2 does not diuide 7. Either 5 is not prime or 2 d,iuid,es 7. But 5 is prirne,
therefore, 6 is odd.
sol. Let p be "6 is even" and q be "2 divide 7" and r be "5 is prime". Thus, the above
argument in symbolic form can be written as
p)-q
-rvq
r
-p
Construct the truth table to test the validity as shown in (Fig. 6T)
r -q -r -r-q
TIT T F F F
rlr F F F T
F
F
T
T
rlr F F' T T T F
T F T F T F T T
F T T T F F T T
FIT F T F T T T
Flr' T T T F T F
Flr F T T T T F
Fig.67
3:RMAL LOGIC M-3.49
ve
MITLTTPLE CHOTCE QTTESTIONS
l. Which one of the following is false? Read n as AND, u as OR, - as NOT, -+ as one way implication
and e+ as two way implication. (GATE, 1996)
(a) ((x -->y)nx) -+y (b) ((- x-+y) n(-*--r-y))-->r
(c) (,r + (r vy)) (d ((* vy ) o (- r --> - y)).
2. Which of the following proposition is a tautology? (GATE, 1997)
(a) (pvq)+p (6) pv(q-+p)
(c) Pv(P-+q) (d) p ) (p -+ q).
3. Which of the following is not a proposition?
(o) India is in Asia (b) 2+2=4
(c) The Intel Pentium - III is a 64-bit processor
(d) X+Y=30.
4. Letp: He is coward and g: He is rich. Which of the following is the symbolic form of the statement
"He is neither coward nor rich"?
(a) - (p nq) (b) -pn-q
(c) -p-q (d) -(pn-q).
M-3.50 A TEXTBOOK OF ENGINEERING MATHEMATICS
ANSWERS
1. (c) 2. $) 3. (d) 4. (b) 5. (d) 6. (a)
7. (c) 8. (o) 9. (c) 10. (b) 11. (c) t2. (b)
13. (c) L4. (b) 15. (c) 16. (c) 17. @) 18. (d)
REVTEW QUESTTONS
1. What is proposition? Give example.
2. Explain fundamental connectors by giving examples.
3. Explain derived connectors by giving examples.
4. Explain conditional,and Bi-conditional connector by giving example.
5. Write truth tables for fundamental, Derived, conditional and Bi-conditional connectors.
6. Explain contrapositive, converse and inverse ofa conditional statement.
7. Explain principal of duality by giving example.
8. What is logical Equivalence of propositions?
9. What id Tautology? Give example.
10. What is contradiction? Give example.
11. What is contingency? Give example.
12. Explain functionally complete sets of connectives by giving example.
13. What is argument?
14. What is valid and Falacy argument? Give example.
15. Explain rules ofinference.
16. What is Proof of validity?
17. What is Normal Form? Why it is used?
18. Explain various types of Normal forms by giving example.
19. Explain the steps to obtain DNF of a logical expression.
20. How you can frnd DNF of a logical expression using truth table?
21. Explain the steps to obtain CNF ofa logical expression.
22. How you can frnd CNF of a logical expression using truth table?
23. What is frrst order logic?
24. What is Existentiol and universal Quantifier?
25. Explain Negation of quantified propositions.
26. Explain propositions with multiple Quantifiers.
(u)r=1or-1if12=1
(ui) x = 1 or- L onlyif 12 I
=
(uii) x = 1 or - 1 if and only if x2 L
=
(ulii) For all integers r, r must be either an even or an odd
number.
(lr) There is a real number r such that r is neither a positive nor
a negative number.
(r) There is no smallest positive integer.
(ri) r is 5rrr".
kii) I = 2.
kiiil rf a number is not divisible by B or 4, it is also not divisible by 12.
(riu) The sum ofthe angles ofa rectangle is 1g0 degrees.
(xu)x=2 and,y =2 impliesry=4
(xui)xy =4 implies $.=2 and y=2
(ruil) An apple a day keeps the doctor away.
kuiii) lf it is saturday morning, turn on the TV and watch the cartoons.
(rlr) I don't like computing, Mathematics, or Statistics, but Computer Related
Mathematics
and Statistics rocks.
(rr) Just do it.
2. Write in simple English:
-( - (.t > 0 ty > 0) n -( x <0 v y< 0)) =ry*0
3' If p and q are statements, construct truth tables to verify that the following compound statements
are tautologies.
(i) (pn(qv-q))<+p
(ii) (p n (C ,. - C)) *-t (q n -q )
(iii) (p v (q v -q)) <-+ (q v -q)
Gu) (p v (q n -q)) <+ p
4' If p, q, and r are statements, construct truth tables to determine whether each of the following
compound statements is a tautolory, a contradiction, or a contingency.
(i) (p v (q v r)) <+ ((-p n (-q n -r))
(ii) ((p -+ q) --s r) --+ (p + (q -+ r))
(iii) -((-p nq) v -(-q r r)) -+ (p v -r)
(iu) p v (-q --+ (p v -q))
(u) (p tI -@ --t r)) _+ (p _+ ((p n _q\ -+ r))
(ui) p --+ ( -p v (-q -> q))
5. Prove that the following implications are tautologies:
(,) ((p -+q) ,.p) -+ q (RTU,2009)
(ii) p^q+ pvq (RTU,2010)
(iii) -p -+ (p -+ q) (RTU,\010)
6. Show that the propositional formula (p ,t q) n (r n s) -+ p
for any propositions p, q, r, s is a tautology.
(RTU,2010)
7. Prove that the following statement is a tautology:
A student studied in the VCE finds employment in computer science or information
technology. To
find employment in computer science, he must haue a good. understanding of logic. Howeuer, ii ao",
not haue a good understanding of logic. Therefore, hi
finds employment in information technology.
8. Using truth tables prove that the following statement is a tautology:
-(p v ( -q v r))=r ( ( -p ng ) n -r )
9. Prove by constructing truth table that:
(p v q ).r r e p v (.q v r)is a tautology. (MDU,02(MCA))
FORMAL LOGIC M-3.53
10. Write a compound statement that is true, when none or one or two of the three statementsp, q, r
are true. Justify your answer. KUK,
2006)
11. Using truth tables, determine whether the following statement is a tautology, a contradiction, or
is contingency:
-((p n -q ) v ( q -p )) -(-p <+ -q)
=
^
12. Provethefollowingisafallacy: (pnq)a-(pvg) (RTU,Z00g)
13. Write the contrapositive, the converse, and the inverse of the following statement:
If today is Easter, then tomorrow is Monday.
14. Write the meaning of each statement in English. State whether it is true or false. The universe of
discourse in each case (for both* andy) is the set ofall integers greater than or equal to 0.
(i) 1x Yy(x > y) (ii) 1x1y(x+y=51
(iii) Yx ly (r < y - 5).
15. Given the following argument form,
If interest rates are going up, stock market prices will go down.
Interest rates are not going up.
.'. Stock market prices will not go down.
(o) Write the argument form in propositional logic.
(b) Is the following argument form valid or invalid? Explain your answer using a truth table.
Indicate which columns represent the premises and which the conclusion.
16. Simplify the following expression:
n(p -+ q)) -+ q
(p
17. Complete the truth table for each:
p is a sufficient p Ls necessat)i
condition for q conditi.on for q
18. Connect left expression with its equivalent expression on the right by drawing bidirectional
arrows:
(i) -(p --> q) (a) -pvq
(ii) -(p nq) (b) -pv-q
(iii) -(pvq-+-q) (c) pn-q
(iu) p )q (d) q
19. Consider the statement:
U: If n and n2 + 8 are prime, then n3 + 4 and na + 2 areprime.
(o) What is the converse statement of U?
(b) What is the contrapositive statement of U?
20. Write in English the converse of the following assertion:
"If I go to the station, I will take the train, unless I am late.,'
21. Write in English the negation of the following assertion:
"The sum of any two odd integers is an even integer."
22. Prove that (p v q) + (p r. g) is logically equivalent to p e q.
M-3.54 A TEXTBOOK OF ENGINEERING MATHEMATICS
(iii) "Yx,r(r) is a sufficient condition for s(r)" means "V*, if s(r) then r(*)".
(iu) "Yx, r(*) is a necessary condition for s(r)" means "Yx,if -r(x) then -s(r)."
(u) "Yx, r(x) only if s@)" means "r, if -s(*) then -r(r)."
66. Write the each of the following statements in symbols using quantifrers and variables.
(i) Any odd natural number is twice some natural number minus one.
(rr) All students in CSE can correctly solve some assigned problems.
(iii) Everybody loves somebody but nobody loves everybody'
67. Write the each of the following statements in words with and without using quantifiers or variables.
(i) Yn e n (n is even -) lk e x(n =2kD.
(rr) lS (S is a student in CSE ,^. VP (P is an assigrred problem -+ S can correctly solve P))
(rrr) V lecturers L, f student S (L thinks they know more than S)
n3 student.s, V lecturers L (S thinks they know more than L)
58. Write in predicate calculus notation using quantifiers and variables:
The sum of any f,wo integers is also an integer.
69. Write in simple English with and without using quantifiers or variables:
3r e R, Vy e R (x>y)
60. LetL(r,y)bethepropositionalfunction"rlovesy".Theuniverseofdiscourseisthesetofallliving
people. Write each of the following propositions symbolically:
(o) Somebodyloveseverybody. (b) Everybodyloveseverybody,
(c) Somebody loves somebody. (d) Everybody loves somebody.
61. Convert the following formulas into CNF and DNF.
(d p+@xr) (b) (pvg)-rr
(c) -(-pvg)v(r-r-r) @) -((p-t(g-rr)))-r((p-+q)-+(p+r))
(e) p v (-q ,'.(r -+ -p))) U) - (((" -+ 6) -r a) -+ a)
@) -(av(o-rb)
PREVIEW
There are many types of algebraic structures namely semigroups, monoids, groups rings,
fields etc. An algebtaic structure will have an underlying set, binary operations, unary opera-
tions, and constants. The algebraic structures have some properties like commutativity, asso-
ciativity. identity elements, irlierse elements, and distributivity etc. The different kinds of
structures will have different operations and properties. The algebraic structures are abstrac-
tions and for each kind of structure there will be more than one example. Lagrange,s theorem
is about finite groups and their subgroups. The theorem is named after Joseph-Louis Lagrange.
There ard some alglebraic structures which have more than one binary operation. Rings and
fields have additioi, subtraction and multiplication operations. In a field, division is also
possible' Rings were studied in the 1800s. Noether gave general concept of commutative ring
in 1921 which was later generalized to include non-commutative rings.
IEARNING OBJECTIVES
M-3.58
ALGEBRAIC STRUCTURES M-3.59
2.L INTRODUCTION
In the year 1850's Cayley gave the general definition for a group. A group is one of the
fundamental objects of study in the field of mathematics known as abstract algebra. A group
consists of a set of elements and an operation that takes any two elements of the set and forms
another element of the set in such a way that certain conditions are met.
Group theory many applications in mathematics, science, and engineering. Many algebraic
structures such as rings, integral domain, ideals and frelds my be defined concisely in terms of
groups. A group is an algebraic structure consisting of a set together with an operation that
combines any two of its elements to form a third element.
Groups having ability to represent geometric transformations find applications in chemistry,
computer graphics, and other fields. This chapter explains basic concepts ofgroups, types of
groups, properties of fioups, Lagrange's theorem, cosets, permutation and cyclic groups, rings,
integral domain and frelds.
2.2 DEFINITION
If there exists a system such that it consists of a non-empty set and one or more opera-
tions on that, set, then that system is called an algebraic system. It is generally denoted by
I A, opL, op2, ..., opr), where A is a non-empty set and oPL, oPz, ..., oP, are operations on A.
An algebraic system is also called an algebraic structure because the operations on the
set A define a structure on the elements of A.
ru-ARY Operation
Afunction f : Ax A x ... A+Ais called ar,n'ary operation.
d^ dz*dz
a3 aB*@g
an dn*an
Example l. Consider the set A = {7, 2, 3J and a binary operation * on the set A defined by
a*b=2a+2b.
Represent operation'x as a table on A.
Sol. The table of the operation is shown in Fig. 2.
2
6
8
10