Skip to content
← All questions

What is an approximation bound?

An approximation bound is a guaranteed multiplicative limit on how much worse the algorithm's result can be than the true optimum in the worst case.

Conditions

  • Used for minimization or maximization problems.
  • Expresses a worst-case guarantee relative to the optimum.

Reasoning, step by step

  1. Define the algorithm's cost CC and the optimal cost C∗C^*.
  2. Establish a bound ρ(n)\rho(n).
  3. For minimization, ensure C≤ρ(n)⋅C∗C \leq \rho(n) \cdot C^*.
  4. For maximization, ensure C≥C∗ρ(n)C \geq \frac{C^*}{\rho(n)}.

Example

The narrator introduces an approximation bound and uses the number 2 as a tangible example, stating that a 2-approximation means the algorithm's cost is never more than twice the optimal cost in the worst case.

Common misconceptions

  • Thinking the bound applies only to average cases.
  • Assuming the bound is a fixed number regardless of input size.

Watch the explanation

Connected concepts

Explore next

Related questions

Find a method

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.