Subset


A subset of regular polygons.
A subset of regular polygons.

A subset is a set whose elements are all contained within another set. Expressed as a relation, a set \(A\) is a subset of a set \(B\) if all elements of \(A\) are also elements of \(B\), written as \(A \subseteq B.\) If \(A\) has an element that \(B\) does not have, then \(A \nsubseteq B.\)

For every set \(S\), if the universal set is \(U\), then \(\emptyset \subseteq S \subseteq U.\)

You can prove that two sets are equal if you show that each is a subset of the other. This method is called "double-inclusion."

Contents

Proper subsets


For two sets \(A\) and \(B\), if \(A \subseteq B\), and there is an element which \(B\) has that \(A\) does not have, then \(A\) is considered a proper subset of \(B\), expressed as \(A \subset B.\) A proper subset of a set cannot be equal to that set. Here, the superset is larger; it has a greater cardinality.

⚠ Notice that the symbols for subset and proper subset, \(\subseteq\) and \(\subset\), are analogous to the inequality symbols \(\geq\) and \(\gt\), or \(\leq\) and \(\lt.\) Therefore, if \(A \subseteq B\), then \(A\) may equal \(B\), but if \(A \subset B\), \(A\) is definitely not equal to \(B.\)
Logic & Proofs
IntegerRational numberInequalityReal numberTheoremProofStatementProof by exhaustionUniversal generalizationCounterexampleExistence proofExistential instantiationAxiomLogicTruthPropositionCompound propositionLogical operationLogical equivalenceTautologyContradictionLogic lawPredicateDomainQuantifierArgumentRule of inferenceLogical proofDirect proofProof by contrapositiveIrrational numberProof by contradictionProof by casesSummationDisjunctive normal form
Set Theory
SetElementEmpty setUniversal setSubsetPower setCartesian productStringBinary stringEmpty stringSet operationSet identitySet proof
Functions
FunctionFloor functionCeiling functionInverse function
Algorithms
AlgorithmPseudocodeCommandAsymptotic notationTime complexityAtomic operationBrute-force algorithm
Relations
RelationReflexive relationSymmetric relationTransitive relationRelation compositionEquivalence relationEquivalence class
Number Theory
Integer divisionLinear combinationDivision algorithmModular arithmeticPrime factorizationGreatest common divisorLeast common multiplePrimality testFactoring algorithmEuclid's theoremPrime number theoremEuclidean algorithm
Induction
Proof by inductionFibonacci sequenceProof by strong inductionWell-ordering principleSequenceFactorialRecursive definition
Combinatorics
Rule of productRule of sumBijection rulePermutationCombinationComplement ruleExperimentOutcomeSample spaceEventProbabilityProbability distributionUniform distributionMultisetSixfold wayInclusion-exclusion principlePigeonhole principle
Graph Theory
GraphWalkSubgraphRegular graphComplete graphEmpty graphCycle graphHypercube graphBipartite graphComponentEulerian circuitEulerian trailHamiltonian cycleHamiltonian pathTreeHuffman treeSubstringForestPath graphStarSpanning treeWeighted graphMinimum spanning treeGreedy algorithmPrim's algorithm
Recursion
RecursionRecursive algorithmCorrectness proofDivide-and-conquer algorithmSorting algorithmMerge sort