SlideShare ist ein Scribd-Unternehmen logo
1 von 10
Downloaden Sie, um offline zu lesen
ABSTRACT ALGEBRA IN 3 HOURS!
Ashwin Rao
Meant to be a quick preparation
for learning Category Theory
Overview of Preliminaries
• Set: unordered and unique elements
• Cartesian Product of Sets
• Relation: A subset of a cartesian product
• Reflexive, Symmetric, Transitive Relation on a set ó Equivalence Classes (Partition)
• Partially Ordered Set: Reflexive, Anti-symmetric and Transitive
• Function: Just a relation on A x B with every a in A mapped to a single b in B
• Domain, Codomain, Range, Injective, Surjective, Bijective functions
• Inverse and Composition of functions
Semigroup
• A set with an operation (*) under which the set is closed, along with associativity.
• Associativity: a * (b * c) = (a * b) * c
• Commutativity a * b = b * a is fairly common, but not part of semigroup definition.
• Canonical Example: Positive Integers Z+ with operation as + or *
• Funky Example: Integers with Min or Max operation.
• Example: Free semigroup of an alphabet (List[T] except empty list, with concat)
• Or, List[T] of length n, for any n in Z+
• Eg: Set of Functions f : X -> X with composition (think “shrinking” functions)
• Sub-Semigroup example: nZ+, for n in Z+
• Semigroup homomorphism (structure-preserving) f: G -> H : f(a *G b) = f(a) *H f(b)
Monoid
• Semigroup together with an identity element (call it “1”)
• Canonical Example: Natural numbers N with + as * , 0 as 1
• or, Z+ with * as * and 1 as 1
• Example: Free monoid of an alphabet (List[T] with concat)
• Or, List[T] of length n, for any n in N.
• Eg: {True, False} with AND as *, True as 1 (or with OR as *, False as 1)
• Eg: All subsets of a set S with Union as *, Empty as 1 (or Intersect as *, S as 1)
• Note: Cartesian product of monoids is a monoid
• Note: All functions from a set to a monoid form a monoid (pointwise operation)
• Eg: All Functions f: X -> X for any set X, with composition as * and identity function as 1
Monoid (continued)
• Submonoid example: nN
• Monoid homomorphism f: G -> H : f(a *G b) = f(a) *H f(b) and f(1G) = 1H
• Example: f(x) = 2x from (N,+,0) to (N,*,1)
• Isomorphism is when we have homomorphisms f: G -> H and g: H -> G such that g . f
= idG and f . g = idH
• Isomorphism means the two monoids are “basically the same”
• Kernel(f) = {a in G | f(a) = 1H} is a monoid
• Isomorphism can also be defined as a homomorphism f with Kernel(f) = {1G}
• Note: The f(x) = 2x example is an isomorphism
Group
• Monoid together with an inverse a-1 for every a such that a * a-1 = a-1 * a = 1
• Canonical Example: Z
• Eg: Bijective functions f : X -> X for any set X with {func composition, identity func, inverse func}
• Great Example: All Permutations of a finite set of size n (refered to as Sn)
• Eg: n-th complex root of unity zn and its powers (zn is called the generator of the group)
• Example of subgroup: nZ for any n in Z+
• Homomorphism f: G -> H: f(a *G b) = f(a) *H f(b), f(1G) = f(1H), f(a-1) = f(a)-1, eg: Z -> nZ
• Coseta,H for any a in G and any subgroup H if defined as: {a + h: h in H}
• Quotient Group: G/H is a group consisting of all the cosets of H (H becomes identity element)
• Canonical Example of Quotient Group: Z / nZ = Zn (Integers modulo n for any n in Z+)
• Isomorphism is same as defined for a monoid (isomorphism means “basically the same group“)
• First Isomorphism Theorem: Homomorphism f: G -> H, Kernel(f) is a subgroup of G, Range(f) is a
subgroup of H, G/Kernel(f) is isomorphic to Range(f)
Semiring and Ring
• Semiring has two monoid operations (*,1) and (+,0) with a * (b + c) = (a * b) + (a *
c), (a + b) * c = (a * c) + (b * c), and 0 * a = a * 0 = 0. Moreover, + is commutative.
• Canonical Example: N
• Ring is a semiring with + operation having an inverse (i.e., a group under +)
• Ring Homomorphism means homomorphism under both + and *
• Canonical Example: Z
• Another Canonical Example: Polynomials over R
• Ideal I is a subset of Ring R s.t. for any x, y in I and r in R, x + y and r * x are in I
• Canonical Example of Ideal: nZ
• R / I is a ring (Quotient Ring) consisting of all the cosets of I s.t. (a+I)+(b+I) =
(a+b)+I and (a+I)*(b+I) = (ab)+I
Field
• Field is a ring with an inverse for *, and * commutative.
• Canonical Example: Rational Numbers Q or Real Numbers R
• Finite Field Example: Zp for any prime p
• Every finite field is isomorphic to the set of polynomials over the finite field Zp
modulo an irreducible polynomial (over Zp)
• Hence, finite fields are of size pr (r is the degree of the irreducible polynomial)
Vector Space and Linear Map
• Vector Space V (associated with scalar Field F) is a commutative group under vector addition,
together with scalar multiplication, and the following properties:
o a(bv) = (ab)v
o 1(v) = v
o a(u+v) = au + av
o (a+b)v = av + bv
• Canonical Example: Rn
• Eg: Complex numbers and other field extensions
• Eg: Functions from a set X to a field F (pointwise addition and pointwise scalar multiplication)
• Linear Map f: V -> W has property f(v+w) = f(v) + f(w) and f(a.x) = a.f(x)
• Canonical Example: m by n Matrix M: Rn -> Rm
• Linear maps V -> W forms a vector space L(V,W)
• Linear maps V -> F (F the scalar Field) is called the Dual Vector Space V*
Fundamental Theorem of Linear Algebra
• Consider a linear map expressed as a m x n matrix M : Rn -> Rm
• Column Space (Range): Subspace of Rm consisting of all Mx (over all x in Rn)
• Row Space (CoRange): Subspace of Rn consisting of all MTy (over all y in Rm)
• Kernel Space: Subspace of Rn mapping (through M) to 0 in Rm
• CoKernel Space: Subspace of Rm mapping (through MT) to 0 in Rn
• Rank r is defined as the dimension of Column Space(= Dimension of Row Space)
• Kernel Space is orthogonal to Row Space and has rank n – r (a.k.a. Nullity)
• CoKernel Space is orthogonal to Column Space and has rank m – r (a.k.a. CoRank)
• More generally, we know from the First Isomorphism Theorem (on Groups) that the
Kernel Quotient (i.e., Row Space) and Range (i.e., Column Space) are isomorphic.

Weitere ähnliche Inhalte

Was ist angesagt?

Signal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier TransformsSignal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier Transforms
Arvind Devaraj
 
Half range sine cosine fourier series
Half range sine cosine fourier seriesHalf range sine cosine fourier series
Half range sine cosine fourier series
Hardik Parmar
 
Domain & range intro presentation
Domain & range intro presentationDomain & range intro presentation
Domain & range intro presentation
daldridge530
 

Was ist angesagt? (19)

Lesson 30: The Definite Integral
Lesson 30: The  Definite  IntegralLesson 30: The  Definite  Integral
Lesson 30: The Definite Integral
 
Signal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier TransformsSignal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier Transforms
 
Half range sine cosine fourier series
Half range sine cosine fourier seriesHalf range sine cosine fourier series
Half range sine cosine fourier series
 
Deep generative model.pdf
Deep generative model.pdfDeep generative model.pdf
Deep generative model.pdf
 
Function in Mathematics
Function in MathematicsFunction in Mathematics
Function in Mathematics
 
Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)
 
Fourier series of odd functions with period 2 l
Fourier series of odd functions with period 2 lFourier series of odd functions with period 2 l
Fourier series of odd functions with period 2 l
 
Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)Lesson 23: Antiderivatives (slides)
Lesson 23: Antiderivatives (slides)
 
Fourier series
Fourier series Fourier series
Fourier series
 
Expressiveness and Model of the Polymorphic λ Calculus
Expressiveness and Model of the Polymorphic λ CalculusExpressiveness and Model of the Polymorphic λ Calculus
Expressiveness and Model of the Polymorphic λ Calculus
 
Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)
Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)
Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)
 
Fourier transform
Fourier transformFourier transform
Fourier transform
 
senior seminar
senior seminarsenior seminar
senior seminar
 
Domain & range intro presentation
Domain & range intro presentationDomain & range intro presentation
Domain & range intro presentation
 
Lesson 18: Maximum and Minimum Values (slides)
Lesson 18: Maximum and Minimum Values (slides)Lesson 18: Maximum and Minimum Values (slides)
Lesson 18: Maximum and Minimum Values (slides)
 
Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)
 
Lesson 8: Basic Differentation Rules (slides)
Lesson 8: Basic Differentation Rules (slides)Lesson 8: Basic Differentation Rules (slides)
Lesson 8: Basic Differentation Rules (slides)
 
Maximums and minimum
Maximums and minimum Maximums and minimum
Maximums and minimum
 
Functions (Theory)
Functions (Theory)Functions (Theory)
Functions (Theory)
 

Andere mochten auch

OmniChannelNewsvendor
OmniChannelNewsvendorOmniChannelNewsvendor
OmniChannelNewsvendor
Ashwin Rao
 

Andere mochten auch (18)

The Newsvendor meets the Options Trader
The Newsvendor meets the Options TraderThe Newsvendor meets the Options Trader
The Newsvendor meets the Options Trader
 
Risk Pooling sensitivity to Correlation
Risk Pooling sensitivity to CorrelationRisk Pooling sensitivity to Correlation
Risk Pooling sensitivity to Correlation
 
The Fuss about || Haskell | Scala | F# ||
The Fuss about || Haskell | Scala | F# ||The Fuss about || Haskell | Scala | F# ||
The Fuss about || Haskell | Scala | F# ||
 
Introduction to Stochastic calculus
Introduction to Stochastic calculusIntroduction to Stochastic calculus
Introduction to Stochastic calculus
 
OmniChannelNewsvendor
OmniChannelNewsvendorOmniChannelNewsvendor
OmniChannelNewsvendor
 
Careers outside Academia - USC Computer Science Masters and Ph.D. Students
Careers outside Academia - USC Computer Science Masters and Ph.D. StudentsCareers outside Academia - USC Computer Science Masters and Ph.D. Students
Careers outside Academia - USC Computer Science Masters and Ph.D. Students
 
Career Advice at University College of London, Mathematics Department.
Career Advice at University College of London, Mathematics Department.Career Advice at University College of London, Mathematics Department.
Career Advice at University College of London, Mathematics Department.
 
IIT Bombay - First Steps to a Successful Career
IIT Bombay - First Steps to a Successful CareerIIT Bombay - First Steps to a Successful Career
IIT Bombay - First Steps to a Successful Career
 
Fitness 101 - Mumbai
Fitness 101 - MumbaiFitness 101 - Mumbai
Fitness 101 - Mumbai
 
Recovery Colleges
Recovery CollegesRecovery Colleges
Recovery Colleges
 
Introduction to Risk-Neutral Pricing
Introduction to Risk-Neutral PricingIntroduction to Risk-Neutral Pricing
Introduction to Risk-Neutral Pricing
 
Columbia CS - Roles in Quant Finance
Columbia CS - Roles in Quant Finance Columbia CS - Roles in Quant Finance
Columbia CS - Roles in Quant Finance
 
Careers in Quant Finance talk at UCLA Financial Engineering
Careers in Quant Finance talk at UCLA Financial EngineeringCareers in Quant Finance talk at UCLA Financial Engineering
Careers in Quant Finance talk at UCLA Financial Engineering
 
Stanford FinMath - Careers in Quant Finance
Stanford FinMath - Careers in Quant FinanceStanford FinMath - Careers in Quant Finance
Stanford FinMath - Careers in Quant Finance
 
Berkeley Financial Engineering - Guidance on Careers in Quantitative Finance
Berkeley Financial Engineering - Guidance on Careers in Quantitative FinanceBerkeley Financial Engineering - Guidance on Careers in Quantitative Finance
Berkeley Financial Engineering - Guidance on Careers in Quantitative Finance
 
Careers in Quant Finance - IIT Delhi
Careers in Quant Finance - IIT DelhiCareers in Quant Finance - IIT Delhi
Careers in Quant Finance - IIT Delhi
 
Implementing Higher-Kinded Types in Dotty
Implementing Higher-Kinded Types in DottyImplementing Higher-Kinded Types in Dotty
Implementing Higher-Kinded Types in Dotty
 
HOW can India's Parliament function better?
HOW can India's Parliament function better?HOW can India's Parliament function better?
HOW can India's Parliament function better?
 

Ähnlich wie Abstract Algebra in 3 Hours

presentation on polynomial rings ankita bora-1.pdf
presentation on polynomial rings ankita bora-1.pdfpresentation on polynomial rings ankita bora-1.pdf
presentation on polynomial rings ankita bora-1.pdf
kalitagagu
 
Data structures and Algorithm analysis_Lecture4.pptx
Data structures and Algorithm analysis_Lecture4.pptxData structures and Algorithm analysis_Lecture4.pptx
Data structures and Algorithm analysis_Lecture4.pptx
AhmedEldesoky24
 
Functions for Grade 10
Functions for Grade 10Functions for Grade 10
Functions for Grade 10
Boipelo Radebe
 

Ähnlich wie Abstract Algebra in 3 Hours (20)

Ring and Field Theory Cheat Sheet and booklet short notes
Ring and Field Theory Cheat Sheet and booklet short notesRing and Field Theory Cheat Sheet and booklet short notes
Ring and Field Theory Cheat Sheet and booklet short notes
 
lecture16.ppt
lecture16.pptlecture16.ppt
lecture16.ppt
 
Linear Transformations_part1.pdf
Linear Transformations_part1.pdfLinear Transformations_part1.pdf
Linear Transformations_part1.pdf
 
presentation on polynomial rings ankita bora-1.pdf
presentation on polynomial rings ankita bora-1.pdfpresentation on polynomial rings ankita bora-1.pdf
presentation on polynomial rings ankita bora-1.pdf
 
Z transfrm ppt
Z transfrm pptZ transfrm ppt
Z transfrm ppt
 
U 2-bm-2
U 2-bm-2U 2-bm-2
U 2-bm-2
 
High-dimensional polytopes defined by oracles: algorithms, computations and a...
High-dimensional polytopes defined by oracles: algorithms, computations and a...High-dimensional polytopes defined by oracles: algorithms, computations and a...
High-dimensional polytopes defined by oracles: algorithms, computations and a...
 
Transformations
TransformationsTransformations
Transformations
 
Functions
FunctionsFunctions
Functions
 
Bartosz Milewski, “Re-discovering Monads in C++”
Bartosz Milewski, “Re-discovering Monads in C++”Bartosz Milewski, “Re-discovering Monads in C++”
Bartosz Milewski, “Re-discovering Monads in C++”
 
Lti and z transform
Lti and z transformLti and z transform
Lti and z transform
 
Complex Analysis And ita real life problems solution
Complex Analysis And ita real life problems solutionComplex Analysis And ita real life problems solution
Complex Analysis And ita real life problems solution
 
Different types of functions
Different types of functionsDifferent types of functions
Different types of functions
 
math camp
math campmath camp
math camp
 
Data structures and Algorithm analysis_Lecture4.pptx
Data structures and Algorithm analysis_Lecture4.pptxData structures and Algorithm analysis_Lecture4.pptx
Data structures and Algorithm analysis_Lecture4.pptx
 
Functions
Functions Functions
Functions
 
Functionsandpigeonholeprinciple
FunctionsandpigeonholeprincipleFunctionsandpigeonholeprinciple
Functionsandpigeonholeprinciple
 
Signal Processing Homework Help
Signal Processing Homework HelpSignal Processing Homework Help
Signal Processing Homework Help
 
03 convexfunctions
03 convexfunctions03 convexfunctions
03 convexfunctions
 
Functions for Grade 10
Functions for Grade 10Functions for Grade 10
Functions for Grade 10
 

Mehr von Ashwin Rao

Mehr von Ashwin Rao (18)

Stochastic Control/Reinforcement Learning for Optimal Market Making
Stochastic Control/Reinforcement Learning for Optimal Market MakingStochastic Control/Reinforcement Learning for Optimal Market Making
Stochastic Control/Reinforcement Learning for Optimal Market Making
 
Adaptive Multistage Sampling Algorithm: The Origins of Monte Carlo Tree Search
Adaptive Multistage Sampling Algorithm: The Origins of Monte Carlo Tree SearchAdaptive Multistage Sampling Algorithm: The Origins of Monte Carlo Tree Search
Adaptive Multistage Sampling Algorithm: The Origins of Monte Carlo Tree Search
 
Fundamental Theorems of Asset Pricing
Fundamental Theorems of Asset PricingFundamental Theorems of Asset Pricing
Fundamental Theorems of Asset Pricing
 
Evolutionary Strategies as an alternative to Reinforcement Learning
Evolutionary Strategies as an alternative to Reinforcement LearningEvolutionary Strategies as an alternative to Reinforcement Learning
Evolutionary Strategies as an alternative to Reinforcement Learning
 
Principles of Mathematical Economics applied to a Physical-Stores Retail Busi...
Principles of Mathematical Economics applied to a Physical-Stores Retail Busi...Principles of Mathematical Economics applied to a Physical-Stores Retail Busi...
Principles of Mathematical Economics applied to a Physical-Stores Retail Busi...
 
Understanding Dynamic Programming through Bellman Operators
Understanding Dynamic Programming through Bellman OperatorsUnderstanding Dynamic Programming through Bellman Operators
Understanding Dynamic Programming through Bellman Operators
 
Stochastic Control of Optimal Trade Order Execution
Stochastic Control of Optimal Trade Order ExecutionStochastic Control of Optimal Trade Order Execution
Stochastic Control of Optimal Trade Order Execution
 
A.I. for Dynamic Decisioning under Uncertainty (for real-world problems in Re...
A.I. for Dynamic Decisioning under Uncertainty (for real-world problems in Re...A.I. for Dynamic Decisioning under Uncertainty (for real-world problems in Re...
A.I. for Dynamic Decisioning under Uncertainty (for real-world problems in Re...
 
Overview of Stochastic Calculus Foundations
Overview of Stochastic Calculus FoundationsOverview of Stochastic Calculus Foundations
Overview of Stochastic Calculus Foundations
 
Risk-Aversion, Risk-Premium and Utility Theory
Risk-Aversion, Risk-Premium and Utility TheoryRisk-Aversion, Risk-Premium and Utility Theory
Risk-Aversion, Risk-Premium and Utility Theory
 
Value Function Geometry and Gradient TD
Value Function Geometry and Gradient TDValue Function Geometry and Gradient TD
Value Function Geometry and Gradient TD
 
Stanford CME 241 - Reinforcement Learning for Stochastic Control Problems in ...
Stanford CME 241 - Reinforcement Learning for Stochastic Control Problems in ...Stanford CME 241 - Reinforcement Learning for Stochastic Control Problems in ...
Stanford CME 241 - Reinforcement Learning for Stochastic Control Problems in ...
 
HJB Equation and Merton's Portfolio Problem
HJB Equation and Merton's Portfolio ProblemHJB Equation and Merton's Portfolio Problem
HJB Equation and Merton's Portfolio Problem
 
Policy Gradient Theorem
Policy Gradient TheoremPolicy Gradient Theorem
Policy Gradient Theorem
 
A Quick and Terse Introduction to Efficient Frontier Mathematics
A Quick and Terse Introduction to Efficient Frontier MathematicsA Quick and Terse Introduction to Efficient Frontier Mathematics
A Quick and Terse Introduction to Efficient Frontier Mathematics
 
Towards Improved Pricing and Hedging of Agency Mortgage-backed Securities
Towards Improved Pricing and Hedging of Agency Mortgage-backed SecuritiesTowards Improved Pricing and Hedging of Agency Mortgage-backed Securities
Towards Improved Pricing and Hedging of Agency Mortgage-backed Securities
 
Recursive Formulation of Gradient in a Dense Feed-Forward Deep Neural Network
Recursive Formulation of Gradient in a Dense Feed-Forward Deep Neural NetworkRecursive Formulation of Gradient in a Dense Feed-Forward Deep Neural Network
Recursive Formulation of Gradient in a Dense Feed-Forward Deep Neural Network
 
Demystifying the Bias-Variance Tradeoff
Demystifying the Bias-Variance TradeoffDemystifying the Bias-Variance Tradeoff
Demystifying the Bias-Variance Tradeoff
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
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...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

Abstract Algebra in 3 Hours

  • 1. ABSTRACT ALGEBRA IN 3 HOURS! Ashwin Rao Meant to be a quick preparation for learning Category Theory
  • 2. Overview of Preliminaries • Set: unordered and unique elements • Cartesian Product of Sets • Relation: A subset of a cartesian product • Reflexive, Symmetric, Transitive Relation on a set ó Equivalence Classes (Partition) • Partially Ordered Set: Reflexive, Anti-symmetric and Transitive • Function: Just a relation on A x B with every a in A mapped to a single b in B • Domain, Codomain, Range, Injective, Surjective, Bijective functions • Inverse and Composition of functions
  • 3. Semigroup • A set with an operation (*) under which the set is closed, along with associativity. • Associativity: a * (b * c) = (a * b) * c • Commutativity a * b = b * a is fairly common, but not part of semigroup definition. • Canonical Example: Positive Integers Z+ with operation as + or * • Funky Example: Integers with Min or Max operation. • Example: Free semigroup of an alphabet (List[T] except empty list, with concat) • Or, List[T] of length n, for any n in Z+ • Eg: Set of Functions f : X -> X with composition (think “shrinking” functions) • Sub-Semigroup example: nZ+, for n in Z+ • Semigroup homomorphism (structure-preserving) f: G -> H : f(a *G b) = f(a) *H f(b)
  • 4. Monoid • Semigroup together with an identity element (call it “1”) • Canonical Example: Natural numbers N with + as * , 0 as 1 • or, Z+ with * as * and 1 as 1 • Example: Free monoid of an alphabet (List[T] with concat) • Or, List[T] of length n, for any n in N. • Eg: {True, False} with AND as *, True as 1 (or with OR as *, False as 1) • Eg: All subsets of a set S with Union as *, Empty as 1 (or Intersect as *, S as 1) • Note: Cartesian product of monoids is a monoid • Note: All functions from a set to a monoid form a monoid (pointwise operation) • Eg: All Functions f: X -> X for any set X, with composition as * and identity function as 1
  • 5. Monoid (continued) • Submonoid example: nN • Monoid homomorphism f: G -> H : f(a *G b) = f(a) *H f(b) and f(1G) = 1H • Example: f(x) = 2x from (N,+,0) to (N,*,1) • Isomorphism is when we have homomorphisms f: G -> H and g: H -> G such that g . f = idG and f . g = idH • Isomorphism means the two monoids are “basically the same” • Kernel(f) = {a in G | f(a) = 1H} is a monoid • Isomorphism can also be defined as a homomorphism f with Kernel(f) = {1G} • Note: The f(x) = 2x example is an isomorphism
  • 6. Group • Monoid together with an inverse a-1 for every a such that a * a-1 = a-1 * a = 1 • Canonical Example: Z • Eg: Bijective functions f : X -> X for any set X with {func composition, identity func, inverse func} • Great Example: All Permutations of a finite set of size n (refered to as Sn) • Eg: n-th complex root of unity zn and its powers (zn is called the generator of the group) • Example of subgroup: nZ for any n in Z+ • Homomorphism f: G -> H: f(a *G b) = f(a) *H f(b), f(1G) = f(1H), f(a-1) = f(a)-1, eg: Z -> nZ • Coseta,H for any a in G and any subgroup H if defined as: {a + h: h in H} • Quotient Group: G/H is a group consisting of all the cosets of H (H becomes identity element) • Canonical Example of Quotient Group: Z / nZ = Zn (Integers modulo n for any n in Z+) • Isomorphism is same as defined for a monoid (isomorphism means “basically the same group“) • First Isomorphism Theorem: Homomorphism f: G -> H, Kernel(f) is a subgroup of G, Range(f) is a subgroup of H, G/Kernel(f) is isomorphic to Range(f)
  • 7. Semiring and Ring • Semiring has two monoid operations (*,1) and (+,0) with a * (b + c) = (a * b) + (a * c), (a + b) * c = (a * c) + (b * c), and 0 * a = a * 0 = 0. Moreover, + is commutative. • Canonical Example: N • Ring is a semiring with + operation having an inverse (i.e., a group under +) • Ring Homomorphism means homomorphism under both + and * • Canonical Example: Z • Another Canonical Example: Polynomials over R • Ideal I is a subset of Ring R s.t. for any x, y in I and r in R, x + y and r * x are in I • Canonical Example of Ideal: nZ • R / I is a ring (Quotient Ring) consisting of all the cosets of I s.t. (a+I)+(b+I) = (a+b)+I and (a+I)*(b+I) = (ab)+I
  • 8. Field • Field is a ring with an inverse for *, and * commutative. • Canonical Example: Rational Numbers Q or Real Numbers R • Finite Field Example: Zp for any prime p • Every finite field is isomorphic to the set of polynomials over the finite field Zp modulo an irreducible polynomial (over Zp) • Hence, finite fields are of size pr (r is the degree of the irreducible polynomial)
  • 9. Vector Space and Linear Map • Vector Space V (associated with scalar Field F) is a commutative group under vector addition, together with scalar multiplication, and the following properties: o a(bv) = (ab)v o 1(v) = v o a(u+v) = au + av o (a+b)v = av + bv • Canonical Example: Rn • Eg: Complex numbers and other field extensions • Eg: Functions from a set X to a field F (pointwise addition and pointwise scalar multiplication) • Linear Map f: V -> W has property f(v+w) = f(v) + f(w) and f(a.x) = a.f(x) • Canonical Example: m by n Matrix M: Rn -> Rm • Linear maps V -> W forms a vector space L(V,W) • Linear maps V -> F (F the scalar Field) is called the Dual Vector Space V*
  • 10. Fundamental Theorem of Linear Algebra • Consider a linear map expressed as a m x n matrix M : Rn -> Rm • Column Space (Range): Subspace of Rm consisting of all Mx (over all x in Rn) • Row Space (CoRange): Subspace of Rn consisting of all MTy (over all y in Rm) • Kernel Space: Subspace of Rn mapping (through M) to 0 in Rm • CoKernel Space: Subspace of Rm mapping (through MT) to 0 in Rn • Rank r is defined as the dimension of Column Space(= Dimension of Row Space) • Kernel Space is orthogonal to Row Space and has rank n – r (a.k.a. Nullity) • CoKernel Space is orthogonal to Column Space and has rank m – r (a.k.a. CoRank) • More generally, we know from the First Isomorphism Theorem (on Groups) that the Kernel Quotient (i.e., Row Space) and Range (i.e., Column Space) are isomorphic.