# Math Help - Set notation, basic question

1. ## Set notation, basic question

Hi guys,

Sat i have two set A = {1,2}, P = {1,2,3}, are the two formulations below equivalent:

$
x_{ap} \leq 1 \quad \forall a \in A, \forall p \in P
$

and

$
x_{ap} \leq 1 \quad \forall ap \in (A \times P)
$

I am not sure if i can distinguish.

Thanks

2. Yes, the two conditions
$\forall \, a\in A, \, \forall \, p\in P$ and

$\forall \, (a,p)\in A\times P$

are equivalent. Taking an arbitrary pair, one from A and one from P, is the same as choosing any element from A and any element from P.