MCA Mathematical Foundation For Computer Application 03
MCA Mathematical Foundation For Computer Application 03
Names of Sub-Units
The Well-ordering Principle: Mathematical Induction, Recursive Definitions, the Division Algorithms:
Prime Numbers, the Fundamental Theorem of Arithmetic.
Overview
The unit started with the concept of integers and its properties. Also, the unit explained the
mathematical induction, recursive definitions, division algorithm for all the prime numbers and
fundamental theorem of arithmetic.
Learning Objectives
Learning Outcomes
3.1 INTRODUCTION
Properties of the integers include all basic properties of the positive integers, i.e., the set Z = {…...-1, 0,
1, 2, 3…….} includes commutative property for addition and commutative property for multiplication,
associative property for addition and associative property for multiplication, distributive property,
identity property for addition, identity property for multiplication, inverse property for addition and
zero property for multiplication.
The following rules of addition and multiplication of these numbers are
a) Associative law for multiplication and addition:
(a+b)+c = a+ (b+c)
And
(ab)c= a(bc)
Example:
Use of correct symbol ,<, > or = between each pair of integers
(a) 4 > -7
2
UNIT 03: Properties of the Integers JGI JAIN
DEEMED-TO-BE UNI VE RSI TY
(b) -2 > -9
(c) 6 < 8
(d) -8 < 3
3
JGI JAIN
DEEMED-TO-BE UNI VE RSI TY
Mathematical Foundation for Computer Application
(ii) If P(k+1) is true whenever P(k) is true, the truth of P(k) implies the truth of P(k+1)
Thus P(n) is true for every integer n≥1, i.e., for all natural numbers n.
In order to prove a statement P(n) to be true for all natural numbers, you have the following working
rule:
1. Prove that P(1) is true,
i.e., P(n) is true for n= 1
2. Assume P(k) to be true ,
i.e., P(n) is true for n = k
3. Prove that P(k+1) is also true,
i.e., P(n) is also true for n = k+1
Example:
(a) Let P be the proposition that the sum of first n odd numbers is n2; , that is
P(n) = 1+3+5+…….+ (2n – 1) = n2
P(n) is true for n =1; that is
P(1): 1 = 12
Suppose P(n) is true. (Inductive Hypothesis).
Adding 2n+1 to both sides of P(n) you obtain
1+3+5+………+(2n-1)+(2n+1) = n2 + (2n+1)
= (n+1)2
Which is P(n+1).
You have shown that P(n+1) is true whenever P(n) is true.
Thus by the Principle of mathematical induction, P is is true for all n.
(b) Using the principle of mathematical induction, prove that n(n+1)(n+2) is a multiple of 6 for all n
belongs to N.
Let P(n): n(n+1)(n+2) is a multiple of 6
When n=1, P(1): 1.(1+1)(1+2) = 1.2.3 = 6, which is a multiple of 6
P(1) is true
Let us assume that P(k) is true for any natural number k
P(k): k(k+1)(k+2) is a multiple of 6 ------------------- (1)
Now, you shall prove that P(k+1) is also true
P(k+1): (k+1)(K+2)(k+3) is a multiple of 6
Now, (k+1)(K+2)(k+3) = (k+1)(K+2)k+3(k+1)(K+2)
=k(k+1)(K+2) + 6k’ ---------------------------------(2)
Equation (2) is a multiple of 6 as it is a sum of two multiples of 6.
[ by (1) , k(k+1)(K+2) is a multiple of 6]
4
UNIT 03: Properties of the Integers JGI JAIN
DEEMED-TO-BE UNI VE RSI TY
5
JGI JAIN
DEEMED-TO-BE UNI VE RSI TY
Mathematical Foundation for Computer Application
where the mt are positive an dp1 p2 pr . This is called the canonical factorisation of n.
6
UNIT 03: Properties of the Integers JGI JAIN
DEEMED-TO-BE UNI VE RSI TY
Example:
(a) 15 = 3*5
Where 3 and 5 are prime numbers
(b) 30 = 2*3*5
Where 2 ,3 and 5 are prime numbers
(c) 1000 = 23 * 53
Where 2 and 3 are prime numbers.
In a competition, the time taken by two students to complete one round is 30 minutes and 45 minutes,
respectively. After how much time will they meet again at the starting point.
Solution:
As the time taken by student B is more compared to that of A to complete one round therefore it can be
assumed that A will reach early and both the students will meet again when A has already reached the
starting point. This time can be calculated by finding the L.C.M of the time taken by each.
30 = 2 × 3 × 5
45 = 3 × 3 × 5
The L.C.M is 90.
Thus, both the students will meet at the starting point after 90 minutes.
Prime factor of 70 is
70 = 2*5*7
It is more essay to Prove formulas that are valid for all n belongs to N by using the Principle of
Mathematical induction.
The division algorithm computes the Quotient as well as the remainder of the given number.
Recursion function is used to compute power of a number, factorial function and to draw a type of
fractal.
Integers are very applicable in daily life, i.e., integers are used in describing temperature above/
below, freezing point, the geographical level above/below sea level bonus and penalty in quizzes/
games, etc.
3.8 GLOSSARY
7
JGI JAIN
DEEMED-TO-BE UNI VE RSI TY
Mathematical Foundation for Computer Application
Division Algorithm:
Let a and b be integers with b≠ 0, then there exist integers q and r such that
a = bq+r and 0 ≤ r < |b|.
Here, the integer q and r are unique numbers.
The Fundamental Theorem of Arithmetic: Every integer number n>1 can be expressed uniquely as
the product of primes. It is also called the unique factorization theorem.
Factors: A factor is a number that divides into another number exactly and leaves a remainder zero
in all cases.
8
UNIT 03: Properties of the Integers JGI JAIN
DEEMED-TO-BE UNI VE RSI TY
https://byjus.com/maths/number-system/