πŸŽ“ Computer Science & Engineering Portal

Master Engineering Disciplines with Structured Notes

Comprehensive academic lecture notes, exam-oriented unit summaries, laboratory manuals, and previous year question papers designed strictly for university students.

πŸ“‘

University Syllabi

AKTU & AICTE aligned semester guidelines.

πŸ“

Exam Question Papers

Previous 5 years solved university papers.

πŸ’‘

Lab Manuals & Viva

Practical codes with outputs & interview Qs.

Core Subjects & Units Hub

Click on any specific unit to immediately view its lecture notes below

Viewing All Lectures

Rings and Fields

Rings in Discrete Mathematics

The ring is a type of algebraic structure (R, +, .) or (R, *, .) which is used to contain non-empty set R. Sometimes, we represent R as a ring. It usually contains two binary operations that are multiplication and addition.

An algebraic system is used to contain a non-empty set R, operation o, and operators (+ or *) on R such that:

  • (R, 0) will be a semigroup, and (R, *) will be an algebraic group.
  • The operation o will be said a ring if it is distributive over operator *.

We have some postulates that need to be satisfied. These postulates are described as follows:

R1

The algebraic group is described by the system (R, +). So it contains some properties, which is described as follows:

1. Closure Property

In the closure property, the set R will be called for composition '+' like this:

x ∈R, y ∈R => x+y ∈ R for all x, y ∈ R

2. Association

In association law, the set R will be related to composition '+' like this:

(x+y) + z = x + (y+z) for all x, y, z ∈ R.

3. Existence of identity

Here, R is used to contain an additive identity element. That element is known as zero elements, and it is denoted by 0. The syntax to represent this is described as follows:

x+ y = x = 0 + x, x ∈ R

4. Existence of inverse

In existence of inverse, the elements x ∈ R is exist for each x ∈ R like this:

x + (-x) = 0 = (-x) + x

5. Commutative of addition

In the commutative law, the set R will represent for composition + like this:

x + y = y + x for all x, y ∈ R

R2

Here, the set R is closed under multiplication composition like this:

xy ∈ R

R3

Here, there is an association of multiplication composition like this:

(x.y).z = x.(y.z) for all x, y, z ∈ R

R4

There is left and right distribution of multiplication composition with respect to addition, like this:

Right distributive law

(y + z). x = y.x + z.x

Left distributive law

x.(y + z) = x.y + x.z

Types of Ring

There are various types of rings, which is described as follows:

Null ring

A ring will be called a zero ring or null ring if singleton (0) is using with the binary operator (+ or *). The null ring can be described as follows:

0 + 0 = 0 and 0.0 = 0

Commutative ring

The ring R will be called a commutative ring if multiplication in a ring is also a commutative, which means x is the right divisor of zero as well as the left divisor of zero. The commutative ring can be described as follows:

x.y = y.x for all x, y ∈ R

The ring will be called non-commutative ring if multiplication in a ring is not commutative.

Ring with unity

The ring will be called the ring of unity if a ring has an element e like this:

e.x = x.e = x for all R

Where

e can be defined as the identity of R, unity, or units elements.

Ring with zero divisor

If a ring contains two non-zero elements x, y ∈ R, then the ring will be known as the divisor of zero. The ring with zero divisors can be described as follows:

y.x = 0 or x.y = 0

Where

x and y can be said as the proper divisor of zero because in the first case, x is the right divisor of zero, and in the second case, x is the left divisor of zero.

0 is described as additive identity in R

Ring without zero divisor

If products of no two non-zero elements is zero in a ring, the ring will be called a ring without zero divisors. The ring without zero elements can be described as follows:

xy = 0 => x = 0 or y = 0

Properties of Rings

All x, y, z ∈ R if R is a ring

  1. (-x)(-y) = xy
  2. x0 = 0x = 0
  3. (y-z)x = yx- zx
  4. x(-y) = -(xy) = (-x)y
  5. x(y-z) = xy - xz

Field – A non-trivial ring R wit unity is a field if it is commutative and each non-zero element of R is a unit . Therefore a non-empty set F forms a field .r.t two binary operations + and . if 
 

  1. For all a, b \epsilon  F, a+b\epsilon  F, 
  2. For all a, b, c \epsilon  F a+(b+c)=(a+b)+c, 
  3. There exists an element in F, denoted by 0 such that a+0=a for all a \epsilon  F 
  4. For every a \epsilon  R there exists an y \epsilon  R such that a+y=0. y is usually denoted by (-a) 
  5. a+b=b+a for all a, b \epsilon  F. 
  6. a.b \epsilon  F for all a.b \epsilon  F. 
  7. a.(b.c)=(a.b).c for all a, b \epsilon  F 
  8. There exists an element I in F, called the identity element such that a.I=a for all a in F 
  9. For each non-zero element a in F there exists an element, denoted by a^{-1}  in F such that a a^{-1}  =I. 
  10. a.b =b.a for all a, b in F . 
  11. a.(b+c) =a.b + a.c for all a, b, c in F 
     

Examples – The rings (\mathbb Q  , +, .), (\mathbb R  , + . .) are familiar examples of fields. 

Some important results: 

  1. A field is an integral domain. 
  2. A finite integral domain is a field. 
  3. A non trivial finite commutative ring containing no divisor of zero is an integral domain 

Labels: ,

Permutation Group

Permutation Group

Let, X be a non-empty set. A permutation of X is a one-one function from X onto X. A group (G,*) is called a permutation group on a non-empty set X if the elements of G are a permutation of X and the operation * is the composition of two functions.

For instance ro = 1 2 3 4 denotes the permutation on the four 2 1 4 3 symbols { 1, 2, 3, 4} which maps 1 on 2, 2 on 1, 3 on 4 and 4 on 3. This is the permutation corresponding to the symmetry of the square which is a reflection along the vertical bisector.

Clearly, the order of the column in the symbol is immaterial so long as the corresponding elements above and below in that column remain unchanged. The number of elements of a finite set is the degree of the permutation.

Equality of two permutation

Let, f and g be two permutation on a X. Then f = g if only if f(x) = g(x) for all x in X.

Example: Let, f and g be given by:

    f = 1 2 3 4         g = 3 2 1 4
    2 3 4 1             4 3 2 1

    Evidently f(1) = 2 = g(1), f(2) = 3 = g(2)
    f(3) = 4 = g(3), f(4) = 1 = g(4)
    Thus, f(x)  = g(x) for all x E {1, 2, 3, 4} which implies f = g.

Total Number of permutation

Let, X, is a set consisting of n distinct elements. Then the elements of X can be permitted in n! different ways. If Sn be the set consisting of all permutation of degree n then the set Sn will have n! different permutation of degree n. This set Sn is called the symmetric set of permutation of degree n.

Types of permutation

1. Identity permutation

If each element of permutation is replaced by itself then it is known as the identity permutation and is denoted by the symbol I.

    I = a  b  c
    a  b  c  is an identity permutation

2. Product of permutation

A permutation is one- one onto the map and hence it is invertible, i.e. every permutation f on a set P ={ a1, a2, ..., an} has a unique inverse permutation denoted by f^-1.

Thus if

    f =     a1      a2 ......an
            b1      b2 ......bn    then

    f^-1 =  b1      b2 ......bn
            a1      a2 ......an

3. Cyclic permutation

A permutation which replaces n objects cyclically is called cyclic permutation of degree n.

Consider the permutation p = 1 2 3 4 this assignment of 2 3 4 1 values could be presented.

The number of elements permuted by a cycle is said to be its length and disjoint cycles are those which have no common elements. A cycle of length 1 means that the image of an element is the element itself and represents identity permutation.

4. Transposition

A cyclic permutation such (a, b) which interchanges the symbol leaving all other unchanged is called transposition. In other words, transposition is a cycle of length two of the form (a, b) i.e. it is a mapping which maps each object onto itself expecting two, each of which is mapped on the other. For example (1, 2) is a transposition.

5. Even and odd permutation

When a permutation is expressed as a product of even or odd number of transpositions then the permutation is called as even or odd permutation.

Labels: ,

Normal SubGroup

Let G be a group. A subgroup H of G is said to be a normal subgroup of G if for all h∈ H and x∈ G, x h x-1∈ H

If x H x-1 = {x h x-1| h ∈ H} then H is normal in G if and only if xH x-1βŠ†H, βˆ€ x∈ G

Statement: If G is an abelian group, then every subgroup H of G is normal in G.

Proof: Let any h∈ H, x∈ G, then
x h x-1= x (h x-1)
x h x-1= (x x-1) h
x h x-1 = e h
x h x-1 = h∈ H

Hence H is normal subgroup of G.

Group Homomorphism:

A homomorphism is a mapping f: Gβ†’ G' such that f (xy) =f(x) f(y), βˆ€ x, y ∈ G. The mapping f preserves the group operation although the binary operations of the group G and G' are different. Above condition is called the homomorphism condition.

Kernel of Homomorphism: - The Kernel of a homomorphism f from a group G to a group G' with identity e' is the set {x∈ G | f(x) =e'}

The kernel of f is denoted by Ker f.

If f: G→G' is a homomorphism of G intoG', then the image set of f is the range, denoted by f (G), of the map f. Thus

Im (f) = f (G) = {f(x)∈ G'| x ∈G}

If f (G) =G', then G' is called a homomorphic image of G.

Note: - A group homomorphism

Isomorphism:

Let (G1,*) and (G2,0) be two algebraic system, where * and 0 both are binary operations. The systems (G1,*) and (G2,0) are said to be isomorphic if there exists an isomorphic mapping f: G1β†’G2

When two algebraic systems are isomorphic, the systems are structurally equivalent and one can be obtained from another by simply remaining the elements and operation.

Example: Let (A1,*) and (A2,⊑) be the two algebraic systems as shown in fig. Determine whether the two algebraic systems are isomorphic.

Normal SubGroup

Solution: The two algebraic system (A1,*) and (A2,⊑) are isomorphic and (A2,⊑) is an isomorphic image of A1, such that

        f( a)=1
        f (b)=w
        f (c)= w2

Automorphism:

Let (G1,*) and (G2,0) be two algebraic system, where * and 0 both are binary operations on G1 and G2 respectively. Then an isomorphism from (G1,*) to (G2,0) is called an automorphism if G1= G2

Rings:

An algebraic system (R, +,) where R is a set with two arbitrary binary operations + and ., is called aring if it satisfies the following conditions

  1. (R, +) is an abelian group.
  2. (R,βˆ™) is a semigroup.
  3. The multiplication operation, is distributive over the addition operation +i.e.,
            a (b+c)=ab +ac and (b+c)a = ba + ca for all a, b, c ∈ R.

Example1: Consider M be the set of all matrices of the type Normal SubGroup over integers under matrix addition and matrix multiplication. Thus M form a ring.

Example2: The set Z9 = {0, 1, 2, 3, 4, 5, 6, 7, 8} under the operation addition and multiplication modulo 9 forms a ring.

Types of Rings:

1. Commutative Rings: A ring (R, +,) is called a commutative ring if it holds the commutative law under the operation of multiplication i.e., a. b = b. a, for every a, b∈ R

Example1: Consider a set E of all even integers under the operation of addition and multiplication. The set E forms a commutative ring.

2. Ring with Unity: A ring (R, +,) is called a ring with unity, if it has a multiplicative identity i.e,

Example: Consider a set M of all 2 x 2 matrices over integers under matrix multiplication and matrix addition. The set M forms a ring with unityNormal SubGroup.

3. Ring with Zero Divisions: If a.b=0, where a and b are any two non-zero elements of R in the ring (R, +) then a and b are called divisions of zero and the ring (R, +) is called ring with zero division.

4. Rings without Zero Division: An algebraic system (R, +) where R is a set with two arbitrary binary operation + and is called a ring without divisors of zero if for every a, b ∈R, we have a.bβ‰ 0 ⟹aβ‰ 0 and b β‰ 0

SubRings:

A subset A of a ring (R, +) is called a subring of R, if it satisfies following conditions:

(A, +) is a subgroup of the group (R,+)

A is closed under the multiplication operation i.e., a.b ∈A,for every a,b ∈A.

Example: The ring (I, +) of integers is a subring of ring (R, +) of real numbers.

Note:
1. If R is any ring then {0} and R are subrings of R.
2. Sum of two subrings may not be a subring.
3. Intersection of subring is a subring.

Labels: ,

Subgroups and order

If a non-void subset H of a group G is itself a group under the operation of G, we say H is a subgroup of G.

Theorem: - A subset H of a group G is a subgroup of G if:

  • the identity element a∈ H.
  • H is closed under the operation of G i.e. if a, b∈ H, then a, b∈ H and
  • H is closed under inverses, that is if a∈ H then a-1∈ H.

Cyclic Subgroup:-

A Subgroup K of a group G is said to be cyclic subgroup if there exists an element x∈ G such that every element of K can be written in the form xn for some n ∈Z.

The element x is called generator of K and we write K= <x>

Cyclic Group:-

In the case when G=, we say G is cyclic and x is a generator of G. That is, a group G is said to be cyclic if there is an element x∈ G such that every element of G can be written in the form xn for the some n∈ Z.

Example: The group G= {1, -1, i,-i} under usual multiplication is a finite cyclic group with i as generator, since i1=i,i2=-1,i3=-i and i4=1

Abelian Group:

Let us consider an algebraic system (G,*), where * is a binary operation on G. Then the system (G,*) is said to be an abelian group if it satisfies all the properties of the group plus a additional following property:

(1) The operation * is commutative i.e.,
a * b = b * a βˆ€ a,b ∈G

Example: Consider an algebraic system (G, *), where G is the set of all non-zero real numbers and * is a binary operation defined by

Subgroup

Show that (G, *) is an abelian group.

Solution:

Closure Property: The set G is closed under the operation *, since a * b = Subgroup is a real number. Hence, it belongs to G.

Associative Property: The operation * is associative. Let a,b,c∈G, then we have

Subgroup

Identity: To find the identity element, let us assume that e is a +ve real number. Then e * a = a, where a ∈G.

Subgroup

Thus, the identity element in G is 4.

Inverse: let us assume that a ∈G. If a-1∈Q, is an inverse of a, then a * a-1=4

Subgroup

Thus, the inverse of element a in G isSubgroup

Commutative: The operation * on G is commutative.

Subgroup

Thus, the algebraic system (G, *) is closed, associative, identity element, inverse and commutative. Hence, the system (G, *) is an abelian group.

Product of Groups:

Theorem: Prove that if (G1,*1)and (G2,*2) are groups, then G = G1 x G2 i.e., (G, *) is a group with operation defined by (a1,b1)*( a2,b2 )=(a1,*1,a2, b1 *2 b2).

Proof: To prove that G1 x G2 is a group, we have to show that G1 x G2 has the associativity operator, has an identity and also exists inverse of every element.

Associativity. Let a, b, c ∈ G1 x G2,then

So,        a * (b * c) = (a1,a2 )*((b1,b2)*(c1,c2))
                = (a1,a2 )*(b1 *1 c1,b2 *2 c2)
                = (a1 *1 (b1 *1 c1 ),a2 *2 (b2 *2 c2)
                = ((a1 *1 b1) *1 c1,( a2 *2 b2) *2 c2)
                = (a1 *1 b1,a2 *2 b2)*( c1,c2)
                = ((a1,a2)*( b1,b2))*( c1,c2)
                = (a * b) * c.

Identity: Let e1 and e2 are identities for G1 and G2 respectively. Then, the identity for G1 x G2 is e=(e1,e2 ).Assume same a ∈ G1 x G2

Then,        a * e = (a1,a2)*( e1,e2)
                = (a1 *1 e1,a2 *2 e2)
                = (a1,a2)=a

Similarly, we have e * a = a.

Inverse: To determine the inverse of an element in G1 x G2, we will determine it component wise i.e.,
                a-1=(a1,a2)-1=(a1-1,a2-1 )

Now to verify that this is the exact inverse, we will compute a * a-1 and a-1*a.

Now,         a * a-1=(a1,a2 )*(a1-1,a2-1 )
                = (a1 *1 a1-1,a2 *2 a2-1)=( e1,e2)=e

Similarly, we have a-1*a=e.

Thus, (G1 x G2,*) is a group.

In general, if G1,G2,....Gn are groups, then G = G1 x G2 x.....x Gn is also a group.

Cosets:

Let H be a subgroup of a group G. A left coset of H in G is a subset of G whose elements may be expressed as xH={ xh | h ∈ H } for any x∈ G. The element x is called a representation of the coset. Similarly, a right coset of H in G is a subset that may be expressed as Hx= {hx | h ∈H } , for any x∈G. Thus complexes xH and Hx are called respectively a left coset and a right coset.

If the group operation is additive (+) then a left coset is denoted as x + H={x+h | h ∈H} and a right coset is denoted by H + x = {h+x | h ∈ H}

 

Order of Group –

The Order of a group (G) is the number of elements present in that group, i.e it’s cardinality. It is denoted by |G|.
Order of element a ∈ G is the smallest positive integer n, such that an= e, where e denotes the identity element of the group, and an denotes the product of n copies of a. If no such n exists, a is said to have infinite order. All elements of finite groups have finite order.

Lagrange’s Theorem:

If H is a subgroup of finite group G then the order of subgroup H divides the order of group G.

    Properties of the order of an element of the group:
  • The order of every element of a finite group is finite.
  • The Order of an element of a group is the same as that of its inverse a-1.
  • If a is an element of order n and p is prime to n, then ap is also of order n.
  • Order of any integral power of an element b cannot exceed the order of b.
  • If the element a of a group G is order n, then ak=e if and only if n is a divisor of k.
  • The order of the elements a and x-1ax is the same where a, x are any two elements of a group.
  • If a and b are elements of a group then the order of ab is same as order of ba.



Labels: ,