Given are:
an open cover of $\{U_\alpha\}_{\alpha\in A}$ of a smooth manifold $M$.
smooth maps $\tau_{\alpha\beta}\colon U_{\alpha}\cap U_{\beta}\rightarrow \text{GL}(k,\mathbb{R})$ with $\tau_{\alpha\beta}(p)\tau_{\gamma\alpha}(p)=\tau_{\gamma\beta}(p)$ for all $p\in U_{\alpha}\cap U_{\beta}\cap U_{\gamma}$
I have to construct from this a vector bundle $E$ over $M$. The hint they gave in the book is to consider $X=\cup_{\alpha\in A}U_{\alpha}\times\mathbb{R^k}$ and define here on an appropriate equivalence relation. I found a page here where someone else asked the same but I don't understand it yet:
" Let $X=\coprod_{\alpha\in A}(U_\alpha\times\mathbf R^k)$. You want to find a relation ${\sim}$ on $X$ such that $X/{\sim}$ and $E$ are in bijection. The obvious candidate for a bijection is the one defined on each $U_\alpha\times\mathbf R^k$ by $\phi:(p,v)\in U_\alpha\times\mathbf R^k \mapsto (p,v)\in E_p$. This $\phi$ is surjective, but not injective: if $p$ is in $U_\alpha\cap U_\beta$, then both $(p,v)\in U_\alpha\times\mathbf R^k$ and $(p,v)\in U_\beta\times\mathbf R^k$ are sent to $(p,v)\in E_p$. The obvious solution is to define the relation ${\sim}$ by: for $(p,v)\in U_\alpha\times\mathbf R^k$ and $(q,w)\in U_\beta\times\mathbf R^k$, say that $(p,v)\sim(q,w)$ when $p=q$ and $w=\tau_{\alpha\beta}(p)v$. Then $\phi$ gives a bijection $X/{\sim}\to E$, and you can use it to build the bijections $\Phi_\alpha$ in the construction lemma."
The confusing thing is that if we define the equivalence relation like that, we can not say whether $(p,v)\in U_{\alpha}\times\mathbb{R}^k$ and $(p,v)\in U_{\beta}\times\mathbb{R}^k$ are equivalent to each other, because then we would have $v=\tau_{\alpha\beta}(p)v$, but how can we know if this is true? Also can you give me hints of how to construct the $\Phi_{\alpha}$ in the lemma from this, because I don't see it.
The confusion is with the meaning of disjoint union. Write elements of $X$ as triples $(p,v,\alpha)$ for $p\in U_\alpha$. Denote elements of $X/\sim$ as $[p,v,\alpha]$. Then you have $[p,v,\alpha]=[p,\tau_{\alpha\beta} v,\beta]$.