A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Parameterized Complexity and Fixed-Parameter Tractability

Graduate Depth 97 in the knowledge graph ☐ I know this ☆ Set as goal
602prerequisites beneath it
See this on the map →
NP-CompletenessFixed-Parameter Tractability (FPT)+1 more→
parameterized-complexity FPT kernelization

Core Idea

Parameterized complexity treats problem instances as pairs (x, k) where k is a parameter (e.g., solution size). An NP-hard problem can be fixed-parameter tractable (FPT) if solvable in time f(k) · poly(|x|), making it practical for small parameters despite NP-hardness. This framework explains why many intractable problems become tractable on restricted inputs and guides algorithm design.

Explainer

You already know that NP-completeness is a worst-case statement: no polynomial-time algorithm handles *all* instances. But NP-completeness hides enormous variation within a problem. Consider the Vertex Cover problem: given a graph G and integer k, does G have a vertex cover of size ≤ k? This is NP-complete. But in practice, the k you care about might be small — perhaps you're covering 10 vertices in a network of millions. Parameterized complexity formalizes this intuition by asking: can we solve the problem efficiently when k is small, even if the input n is huge?

A problem is fixed-parameter tractable (FPT) if there exists an algorithm running in time f(k) · poly(n), where f is any computable function of k alone (often something like 2k or k!), and poly(n) is polynomial in the input size. The key insight is that the super-polynomial part depends only on k. If k = 10, even 2k = 1024 is a small constant multiplied by a polynomial — the algorithm is practical. For Vertex Cover, a classical FPT algorithm runs in time O(2k · n): at each step, pick an uncovered edge, branch on including one of its two endpoints, and recurse. The depth is at most k, giving 2k leaves, and each path processes the graph in linear time.

Kernelization is a complementary technique: reduce any instance (x, k) to an equivalent smaller instance (x', k') where |x'| ≤ g(k) for some function g. This reduced instance is the kernel. For Vertex Cover, the classic kernel applies the crown rule and LP relaxation to reduce to a graph with at most 2k vertices — so you can solve any instance with k ≤ 50 by first kernelizing down to 100 vertices, then running any algorithm on that tiny instance. Kernelization is often the most practical tool because it shrinks the problem before any other computation begins.

The FPT class has an intractability analog: W[1]-hardness means (under standard assumptions) that no FPT algorithm exists, because the problem requires f(k) · n^g(k) time at best. The canonical W[1]-complete problem is k-Clique: find a clique of size k in a graph. This separates problems that are tractable-when-parameterized (FPT) from those that remain hard regardless of how small k is. The hierarchy FPT ⊆ W[1] ⊆ W[2] ⊆ ... mirrors the polynomial hierarchy in classical complexity. When you encounter an NP-hard problem, asking "what is a natural parameter, and is this problem FPT in that parameter?" is often the most practical path to an efficient algorithm.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Boolean Algebra → Introduction to Propositional Logic → Introduction to Predicate Logic (First-Order Logic) → First-Order Logic Syntax → ZFC Axioms Overview → Axiom Schema of Separation → Axiom Schema of Replacement → Von Neumann Ordinals → Hereditarily Finite Sets → Recursive Definitions on Finite Sets → Well-Founded Relations and Transfinite Recursion → The Axiom of Choice and Equivalent Formulations → Axiom of Choice → Well-Ordering Theorem → Infinite Cardinal Numbers → Cantor's Theorem → Uncountability and the Diagonal Argument → The Cantor Set: An Uncountable Nowhere Dense Example → Uncountable Sets and Cantor Diagonalization → The Halting Problem → Computability Reductions → Polynomial-Time Reductions → Lower Bounds Techniques in Computational Complexity → NP-Completeness → The Cook-Levin Theorem → 3-SAT and NP-Completeness via CNF → Clique Problem and Its Variants → Vertex Cover and Set Cover Problems → Fixed-Parameter Tractability (FPT) → Parameterized Complexity and Fixed-Parameter Tractability

Longest path: 98 steps · 602 total prerequisite topics

Prerequisites (3)

Leads To (0)

No topics depend on this one yet.