In applied mathematics, weak duality is a concept in optimization which states that the duality gap is always greater than or equal to 0. That means the solution to the primal (minimization) problem is always greater than or equal to the solution to an associated dual problem. This is opposed to strong duality which only holds in certain cases. In applied mathematics, weak duality is a concept in optimization which states that the duality gap is always greater than or equal to 0. That means the solution to the primal (minimization) problem is always greater than or equal to the solution to an associated dual problem. This is opposed to strong duality which only holds in certain cases. Many primal-dual approximation algorithms are based on the principle of weak duality. The primal problem: The dual problem, The weak duality theorem states cTx ≤ bTy. Namely, if ( x 1 , x 2 , . . . . , x n ) {displaystyle (x_{1},x_{2},....,x_{n})} is a feasible solution for the primal maximization linear program and ( y 1 , y 2 , . . . . , y m ) {displaystyle (y_{1},y_{2},....,y_{m})} is a feasible solution for the dual minimization linear program, then the weak duality theorem can be stated as ∑ j = 1 n c j x j ≤ ∑ i = 1 m b i y i {displaystyle sum _{j=1}^{n}c_{j}x_{j}leq sum _{i=1}^{m}b_{i}y_{i}} , where c j {displaystyle c_{j}} and b i {displaystyle b_{i}} are the coefficients of the respective objective functions. Proof:cTx = xTc≤ xTATy≤ bTy More generally, if x {displaystyle x} is a feasible solution for the primal maximization problem and y {displaystyle y} is a feasible solution for the dual minimization problem, then weak duality implies f ( x ) ≤ g ( y ) {displaystyle f(x)leq g(y)} where f {displaystyle f} and g {displaystyle g} are the objective functions for the primal and dual problems respectively.