Hypercube graph


The 4-dimensional hypercube.
The \(4\)-dimensional hypercube, \(Q_4.\)

A hypercube graph is a graph that depicts a hypercube, which is kinda like a higher-dimensional version of a cube. The symbol \(Q_n\) denotes the graph of an \(n\)-dimensional hypercube.

\(Q_n\) is always an \(n\)-regular graph with \(2^n\) vertices and \(2^{n-1}n\) edges.

Each vertex can be assigned an \(n\)-bit binary string such that if the binary strings of any two vertices differ by just \(1\) bit, they are adjacent. So, \(Q_n\) can be drawn by writing out every possible \(n\)-bit binary string and connecting the ones that are \(1\) bit off from each other.

To draw \(Q_n\) more easily, you can just draw \(2\) copies of \(Q_{n-1}\) and then connect the corresponding vertices. Kind of like how if you draw \(2\) squares \((Q_2)\) and then connect each of their corresponding vertices with an edge, you get a cube \((Q_3).\) This same pattern can be extended to draw \(Q_4\), which is called a "tesseract."

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