SlideShare ist ein Scribd-Unternehmen logo
1 von 8
DISCRETEMATHEMATICS
BSc IT semester 2
Name: Muhama Mark
BT0069
Roll: 1210000081
1. Let A ={ 1,2,3,4 }, B = { 3,4,5,6 } and C = { 1,4,7,8 }
DetermineA B C = (A B) C Also verify that
a) A B C = (A B) C
b) A B C = A B C)
Solution
A B C means that the value common in all the sets.
A B C = (A B) C
{1,2,3,4} {3,4,5,6} {1,4,7,8}= ( {1,2,3,4} {3,4,5,6} ) {1,4,7,8}
{4} = {3, 4} {1, 4, 7, 8}
{4} = {4}
a) A B C = (A B) C
{1,2,3,4} {3,4,5,6} {1,4,7,8} = ( {1,2,3,4} {3,4,5,6} ) {1,4,7,8}
{4} = {3, 4} {1, 4, 7, 8}
{4} = {4}
b) A B C = A (B C)
{1,2,3,4} {3,4,5,6} {1,4,7,8} = {1,2,3,4} {3,4,5,6} {1,4,7,8} )
{4} = {1, 2, 3, 4} {4}
{4} = {4}
Qn 2. If pth
qth
, rth
terms of a G.P are x, y, z respectively, prove that
Xq-r
. yr-p
. zp-q
=1
i) If the first term of the GP is A and common ration is R, then
pth term: A*{R^(p - 1)} = x
qth term: A*{R^(q - 1)} = y
rth term: A*{R^(r - 1)} = z
So, x^(q - r)*y^(r - p)*z^(p - q) =
= [A*{R^(p - 1)}}^(q - r) x [A*{R^(q - 1)}]^(r - p) x [A*{R^(r - 1)}]^(p - q)
= [A^(q - r)*A^(r - p)*A^(p - q)]*[R^{(p - 1)(q - r)]* .....
= [A^(q - r + r - p + p - q)]*[R^{(p - 1)(q - r) + (q - 1)(r - p) + (r - 1)(p - q)}]
= (A^0)*[R^(pq - q - pr + r + qr - r - pq + p + pr - p - qr + q)]
= 1*[R^0] = 1*1 = 1 [Proved]
3. How many different two digit positive integers can be formed from the digits?
0, 1, 2, 3,4, 5, 6, 7, 8, 9.
(i) When repetition is not allowed,
Solution
Let’s take the first number to be 10 and the second to be 9
Hence
1st
= 10
2nd
= 9
So the number of ways that the two digit numbers can be formed without repetition
Is
10*9 = 90 ways
(ii) When repetition is allowed.
Here it means that the number can be picked twice without restriction
Solution
Let
1st
= 10
2nd
= 10
10*10 = 100
So there are 100 ways the two digit number can be formed with repetition allowed
4. Solve the recurrence an = -3an-1 + 10an-2, n ≥2, given a0 = 1, a1 = 4.
an=-3an-1+10an-2, n 2
a0=1, a1=4
It’s a quadratic equation
Solution:
C1 = -3 and C2 = 10
r2
- C1r – C2 = 0
r2
+3r - 10 = 0
r1=2 and r2=-5
General solution
an=α1(r1)n
+ α2(r2)n
an=α1(2)n
+ α2(-5)n
when n =0
a0=α1(2)0
+ α2(-5)0
a0=α1+ α2
a0=1
1=α1+ α2----------------equation 1
when n=1
a1=α1(2)1
+ α2(-5)1
a1= 2α1- 5α2
a1=4
4= 2α1- 5α2---------------------equation 2
We generate two simultaneous equations
α1+ α2=1----------------equation 1
2α1- 5α2=4---------------------equation 2
Elimination method
2(α1 + α2=1)
1(2α1 - 5α2=4)
2α1 +2α2=2
2α1 - 5α2=4
2α1 + 2α2=2
- 2α1 - 5α2=4
7α2= -2
Divide through both sides by 7
α2 = -2/7
Substitute
α1+ α2=1----------------equation 1
α1 - 2/7=1
α1 = 1 + 2/7
α1= 9/7
Replace values
an=α1(r1)n
+ α2(r2)n
an = 9/7(2)n
– 2/7(-5)n
an = (-2/7*-5n
) + 9/7*2n
Consider the lattice A = {0, a1, a2, a3, a4, a5, 1} given below.
i) Is A is a distributive lattice
Laws of distributive are
a (a2 ˅ a3) = (a1 ˅ a2)˅(a1 ˅ a3)
a1˅a2= a1˅a1
a1 = a1
a1˅(a2 ˅a3) = (a1 ˅ a2)˅(a1 ˅ a3)
a1˅a2 = a2 ˅a3
a2 = a2
The lattice above complies with the distributive laws hence it is a distributive lattice.
ii) What are the complements of a1 and a2?
The complement of a1 is a5
The complement of a2 is a4
Qn 5.Check whether the following set of vectors is LD or LI
(i) {(1, 0, 0), (2 , 0, 0), (0, 0, 1)},
(ii) {(1, 0, 1) ,(1, 1, 0), (1, 1, -1)}
Soln
Let (1, 0, 0) be vector 3, (2, 0, 0) be vector 1, (0, 0, 1) be vector 2
(i)
1=2c1
0=0
0=c2
This shows that the set of vectors is linear dependent
Let (1, 0, 1) be vector 3, (1, 1, 0) be vector 1, (1, 1, -1) be vector 2
(ii)
1=c1+c2
0=c1+c2
1= – c2 or c2 is = -1
This shows that the above set of vectors in (ii) is LI
6. Prove the theorem:
(i)Let (L, ≤) be a lattice ordered set. Define x˄y=inf(x,y), and x˄y=sup(x,y).Then(L, ˄, ˄)
is an algebraic lattice.
Solution
Let (L, ≤)be a lattice ordered set and x,y, z L.
We apply commutative laws first
x = inf (x, y)
=inf (y,x)
=yx.
x y = sup (x,y)
=sup (y,x)
=y x
Associative laws
x˅(y˅z) =x˅inf(y, z)
=inf(x, inf(y, z))
=inf (x, y, z)
=inf (inf(x, y),z)
=inf (x, y) ˅ z
=(x ˅ y) z.
x˅ (y˅z) =(x ˅ y) ˅z
Absorption laws
x˅(x˅y) =x˅sup(x, y)
=inf (x, sup (x, y))
=x also x˅ (x˅y)
=x˅ inf (x, y)
=sup (x, inf (x, y))
=x
Let (L, ˅) be an algebraic lattice. Let x, y, z L
Proof that (L, ≤) is a partially ordered set.
Reflexive
If x ˅ x = x and x ˅ x = xand so x ≤ x
Anti-symmetric
Take x ≤ y and y ≤ x
x ˅ y =x and y ˅ x = y
x =x ˅ y = y ˅ x this is a commutative law.
=y
x = y
Transitive
Take x ≤ y and y ≤ z
x ˅ y =x and y ˅ z=y
x=x˅ y = x ˅ (y ˅ z)
=(x ˅ y)˅z associative law is employed here
=x˅z x=x˅z x ≤ z
This shows that ≤ is transitive. So we can conclude that (L,≤) is a poset.
Proof that sup (x, y) = x ˅y
X ≤y x ˅y = y x ˅y = x …. (i)
Let
x, y L.
Then x ˅(x˅y) = x x ≤x ˅y.
Similarly
y≤ x ˅y.
x˅y is an upper bound for {x, y}.
Suppose z L be an upper bound for {x, y}.
Then
x≤ z and y ≤ z.
x ˅z = z and y ˅z = z.
Now
(x˅y) ˅z = x ˅(y ˅z) associative law
= x ˅z
= z.
This implies x ˅ y ≤ z
Sup(x, y) = x ˅ y
From the above working on step 1 and 2
I conclude that (L,≤) is a lattice ordered set.
Math

Weitere ähnliche Inhalte

Was ist angesagt?

Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-II
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-IIEngineering Mathematics-IV_B.Tech_Semester-IV_Unit-II
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-IIRai University
 
3 areas, riemann sums, and the fundamental theorem of calculus x
3 areas, riemann sums, and the fundamental theorem of calculus x3 areas, riemann sums, and the fundamental theorem of calculus x
3 areas, riemann sums, and the fundamental theorem of calculus xmath266
 
t7 polar equations and graphs
t7 polar equations and graphst7 polar equations and graphs
t7 polar equations and graphsmath260
 
Quaternion algebra
Quaternion algebraQuaternion algebra
Quaternion algebravikash0001
 
4 ftc and signed areas x
4 ftc and signed areas x4 ftc and signed areas x
4 ftc and signed areas xmath266
 
4 areas in polar coordinates
4 areas in polar coordinates4 areas in polar coordinates
4 areas in polar coordinatesmath267
 
16 partial fraction decompositions x
16 partial fraction decompositions x16 partial fraction decompositions x
16 partial fraction decompositions xmath266
 
1 polar coordinates
1 polar coordinates1 polar coordinates
1 polar coordinatesmath267
 
Complex analysis notes
Complex analysis notesComplex analysis notes
Complex analysis notesPrakash Dabhi
 
5 parametric equations, tangents and curve lengths in polar coordinates
5 parametric equations, tangents and curve lengths in polar coordinates5 parametric equations, tangents and curve lengths in polar coordinates
5 parametric equations, tangents and curve lengths in polar coordinatesmath267
 
1 review on derivatives
1 review on derivatives1 review on derivatives
1 review on derivativesmath266
 
Toc chapter 1 srg
Toc chapter 1 srgToc chapter 1 srg
Toc chapter 1 srgShayak Giri
 
Geometric progressions
Geometric progressionsGeometric progressions
Geometric progressionsDr. Nirav Vyas
 
Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...
Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...
Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...Abu Bakar Soomro
 
12 derivatives and integrals of inverse trigonometric functions x
12 derivatives and integrals of inverse trigonometric functions x12 derivatives and integrals of inverse trigonometric functions x
12 derivatives and integrals of inverse trigonometric functions xmath266
 
2 polar graphs
2 polar graphs2 polar graphs
2 polar graphsmath267
 

Was ist angesagt? (20)

Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-II
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-IIEngineering Mathematics-IV_B.Tech_Semester-IV_Unit-II
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-II
 
3 areas, riemann sums, and the fundamental theorem of calculus x
3 areas, riemann sums, and the fundamental theorem of calculus x3 areas, riemann sums, and the fundamental theorem of calculus x
3 areas, riemann sums, and the fundamental theorem of calculus x
 
t7 polar equations and graphs
t7 polar equations and graphst7 polar equations and graphs
t7 polar equations and graphs
 
Quaternion algebra
Quaternion algebraQuaternion algebra
Quaternion algebra
 
4 ftc and signed areas x
4 ftc and signed areas x4 ftc and signed areas x
4 ftc and signed areas x
 
4 areas in polar coordinates
4 areas in polar coordinates4 areas in polar coordinates
4 areas in polar coordinates
 
16 partial fraction decompositions x
16 partial fraction decompositions x16 partial fraction decompositions x
16 partial fraction decompositions x
 
1 polar coordinates
1 polar coordinates1 polar coordinates
1 polar coordinates
 
HERMITE SERIES
HERMITE SERIESHERMITE SERIES
HERMITE SERIES
 
Complex analysis notes
Complex analysis notesComplex analysis notes
Complex analysis notes
 
Set Operations
Set OperationsSet Operations
Set Operations
 
A
AA
A
 
5 parametric equations, tangents and curve lengths in polar coordinates
5 parametric equations, tangents and curve lengths in polar coordinates5 parametric equations, tangents and curve lengths in polar coordinates
5 parametric equations, tangents and curve lengths in polar coordinates
 
1 review on derivatives
1 review on derivatives1 review on derivatives
1 review on derivatives
 
Toc chapter 1 srg
Toc chapter 1 srgToc chapter 1 srg
Toc chapter 1 srg
 
Geometric progressions
Geometric progressionsGeometric progressions
Geometric progressions
 
Progression
ProgressionProgression
Progression
 
Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...
Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...
Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...
 
12 derivatives and integrals of inverse trigonometric functions x
12 derivatives and integrals of inverse trigonometric functions x12 derivatives and integrals of inverse trigonometric functions x
12 derivatives and integrals of inverse trigonometric functions x
 
2 polar graphs
2 polar graphs2 polar graphs
2 polar graphs
 

Ähnlich wie Math

Ähnlich wie Math (20)

Mathsclass xii (exampler problems)
Mathsclass xii (exampler problems)Mathsclass xii (exampler problems)
Mathsclass xii (exampler problems)
 
maths 12th.pdf
maths 12th.pdfmaths 12th.pdf
maths 12th.pdf
 
Chapter 1 review topic in algebra 1
Chapter 1 review topic in algebra 1Chapter 1 review topic in algebra 1
Chapter 1 review topic in algebra 1
 
Chpt 2-sets v.3
Chpt 2-sets v.3Chpt 2-sets v.3
Chpt 2-sets v.3
 
Em01 ba
Em01 baEm01 ba
Em01 ba
 
Assignments for class XII
Assignments for class XIIAssignments for class XII
Assignments for class XII
 
Ch1 sets and_logic(1)
Ch1 sets and_logic(1)Ch1 sets and_logic(1)
Ch1 sets and_logic(1)
 
file_5.pptx
file_5.pptxfile_5.pptx
file_5.pptx
 
WEEK-1.pdf
WEEK-1.pdfWEEK-1.pdf
WEEK-1.pdf
 
Probability theory
Probability theoryProbability theory
Probability theory
 
Differential calculus
Differential calculus  Differential calculus
Differential calculus
 
01_Sets.pdf
01_Sets.pdf01_Sets.pdf
01_Sets.pdf
 
Complex differentiation contains analytic function.pptx
Complex differentiation contains analytic function.pptxComplex differentiation contains analytic function.pptx
Complex differentiation contains analytic function.pptx
 
Annie
AnnieAnnie
Annie
 
final15
final15final15
final15
 
Interval valued intuitionistic fuzzy homomorphism of bf algebras
Interval valued intuitionistic fuzzy homomorphism of bf algebrasInterval valued intuitionistic fuzzy homomorphism of bf algebras
Interval valued intuitionistic fuzzy homomorphism of bf algebras
 
Question bank -xi (hots)
Question bank -xi (hots)Question bank -xi (hots)
Question bank -xi (hots)
 
SETS - Vedantu.pdf
SETS - Vedantu.pdfSETS - Vedantu.pdf
SETS - Vedantu.pdf
 
Matlab lab manual
Matlab lab manualMatlab lab manual
Matlab lab manual
 
Algebra
AlgebraAlgebra
Algebra
 

Kürzlich hochgeladen

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 

Kürzlich hochgeladen (20)

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

Math

  • 1. DISCRETEMATHEMATICS BSc IT semester 2 Name: Muhama Mark BT0069 Roll: 1210000081 1. Let A ={ 1,2,3,4 }, B = { 3,4,5,6 } and C = { 1,4,7,8 } DetermineA B C = (A B) C Also verify that a) A B C = (A B) C b) A B C = A B C) Solution A B C means that the value common in all the sets. A B C = (A B) C {1,2,3,4} {3,4,5,6} {1,4,7,8}= ( {1,2,3,4} {3,4,5,6} ) {1,4,7,8} {4} = {3, 4} {1, 4, 7, 8} {4} = {4} a) A B C = (A B) C {1,2,3,4} {3,4,5,6} {1,4,7,8} = ( {1,2,3,4} {3,4,5,6} ) {1,4,7,8} {4} = {3, 4} {1, 4, 7, 8} {4} = {4} b) A B C = A (B C) {1,2,3,4} {3,4,5,6} {1,4,7,8} = {1,2,3,4} {3,4,5,6} {1,4,7,8} ) {4} = {1, 2, 3, 4} {4} {4} = {4} Qn 2. If pth qth , rth terms of a G.P are x, y, z respectively, prove that Xq-r . yr-p . zp-q =1 i) If the first term of the GP is A and common ration is R, then pth term: A*{R^(p - 1)} = x qth term: A*{R^(q - 1)} = y rth term: A*{R^(r - 1)} = z
  • 2. So, x^(q - r)*y^(r - p)*z^(p - q) = = [A*{R^(p - 1)}}^(q - r) x [A*{R^(q - 1)}]^(r - p) x [A*{R^(r - 1)}]^(p - q) = [A^(q - r)*A^(r - p)*A^(p - q)]*[R^{(p - 1)(q - r)]* ..... = [A^(q - r + r - p + p - q)]*[R^{(p - 1)(q - r) + (q - 1)(r - p) + (r - 1)(p - q)}] = (A^0)*[R^(pq - q - pr + r + qr - r - pq + p + pr - p - qr + q)] = 1*[R^0] = 1*1 = 1 [Proved] 3. How many different two digit positive integers can be formed from the digits? 0, 1, 2, 3,4, 5, 6, 7, 8, 9. (i) When repetition is not allowed, Solution Let’s take the first number to be 10 and the second to be 9 Hence 1st = 10 2nd = 9 So the number of ways that the two digit numbers can be formed without repetition Is 10*9 = 90 ways (ii) When repetition is allowed. Here it means that the number can be picked twice without restriction Solution Let 1st = 10 2nd = 10 10*10 = 100 So there are 100 ways the two digit number can be formed with repetition allowed 4. Solve the recurrence an = -3an-1 + 10an-2, n ≥2, given a0 = 1, a1 = 4. an=-3an-1+10an-2, n 2 a0=1, a1=4 It’s a quadratic equation
  • 3. Solution: C1 = -3 and C2 = 10 r2 - C1r – C2 = 0 r2 +3r - 10 = 0 r1=2 and r2=-5 General solution an=α1(r1)n + α2(r2)n an=α1(2)n + α2(-5)n when n =0 a0=α1(2)0 + α2(-5)0 a0=α1+ α2 a0=1 1=α1+ α2----------------equation 1 when n=1 a1=α1(2)1 + α2(-5)1 a1= 2α1- 5α2 a1=4 4= 2α1- 5α2---------------------equation 2 We generate two simultaneous equations α1+ α2=1----------------equation 1 2α1- 5α2=4---------------------equation 2 Elimination method
  • 4. 2(α1 + α2=1) 1(2α1 - 5α2=4) 2α1 +2α2=2 2α1 - 5α2=4 2α1 + 2α2=2 - 2α1 - 5α2=4 7α2= -2 Divide through both sides by 7 α2 = -2/7 Substitute α1+ α2=1----------------equation 1 α1 - 2/7=1 α1 = 1 + 2/7 α1= 9/7 Replace values an=α1(r1)n + α2(r2)n an = 9/7(2)n – 2/7(-5)n an = (-2/7*-5n ) + 9/7*2n Consider the lattice A = {0, a1, a2, a3, a4, a5, 1} given below. i) Is A is a distributive lattice Laws of distributive are a (a2 ˅ a3) = (a1 ˅ a2)˅(a1 ˅ a3) a1˅a2= a1˅a1 a1 = a1 a1˅(a2 ˅a3) = (a1 ˅ a2)˅(a1 ˅ a3) a1˅a2 = a2 ˅a3 a2 = a2 The lattice above complies with the distributive laws hence it is a distributive lattice.
  • 5. ii) What are the complements of a1 and a2? The complement of a1 is a5 The complement of a2 is a4 Qn 5.Check whether the following set of vectors is LD or LI (i) {(1, 0, 0), (2 , 0, 0), (0, 0, 1)}, (ii) {(1, 0, 1) ,(1, 1, 0), (1, 1, -1)} Soln Let (1, 0, 0) be vector 3, (2, 0, 0) be vector 1, (0, 0, 1) be vector 2 (i) 1=2c1 0=0 0=c2 This shows that the set of vectors is linear dependent Let (1, 0, 1) be vector 3, (1, 1, 0) be vector 1, (1, 1, -1) be vector 2 (ii) 1=c1+c2 0=c1+c2 1= – c2 or c2 is = -1 This shows that the above set of vectors in (ii) is LI 6. Prove the theorem: (i)Let (L, ≤) be a lattice ordered set. Define x˄y=inf(x,y), and x˄y=sup(x,y).Then(L, ˄, ˄) is an algebraic lattice. Solution Let (L, ≤)be a lattice ordered set and x,y, z L. We apply commutative laws first x = inf (x, y) =inf (y,x) =yx.
  • 6. x y = sup (x,y) =sup (y,x) =y x Associative laws x˅(y˅z) =x˅inf(y, z) =inf(x, inf(y, z)) =inf (x, y, z) =inf (inf(x, y),z) =inf (x, y) ˅ z =(x ˅ y) z. x˅ (y˅z) =(x ˅ y) ˅z Absorption laws x˅(x˅y) =x˅sup(x, y) =inf (x, sup (x, y)) =x also x˅ (x˅y) =x˅ inf (x, y) =sup (x, inf (x, y)) =x Let (L, ˅) be an algebraic lattice. Let x, y, z L Proof that (L, ≤) is a partially ordered set. Reflexive If x ˅ x = x and x ˅ x = xand so x ≤ x Anti-symmetric Take x ≤ y and y ≤ x x ˅ y =x and y ˅ x = y
  • 7. x =x ˅ y = y ˅ x this is a commutative law. =y x = y Transitive Take x ≤ y and y ≤ z x ˅ y =x and y ˅ z=y x=x˅ y = x ˅ (y ˅ z) =(x ˅ y)˅z associative law is employed here =x˅z x=x˅z x ≤ z This shows that ≤ is transitive. So we can conclude that (L,≤) is a poset. Proof that sup (x, y) = x ˅y X ≤y x ˅y = y x ˅y = x …. (i) Let x, y L. Then x ˅(x˅y) = x x ≤x ˅y. Similarly y≤ x ˅y. x˅y is an upper bound for {x, y}. Suppose z L be an upper bound for {x, y}. Then x≤ z and y ≤ z. x ˅z = z and y ˅z = z. Now (x˅y) ˅z = x ˅(y ˅z) associative law = x ˅z = z. This implies x ˅ y ≤ z Sup(x, y) = x ˅ y From the above working on step 1 and 2 I conclude that (L,≤) is a lattice ordered set.