Let $A$ be a unique factorization domain (UFD), $b_1 \neq b_2$ two algebraic elements over $A$, with minimal polynomials $h_1(T_1)$ and $h_2(T_2)$. Assume that $\sum_{i=0}^{n} \sum_{j=0}^{m} a_{ij}b_1^ib_2^j=0$, where $a_{ij} \in A$.
Is it true that there exist $u,v \in A[T_1,T_2]$ such that $\sum_{i=0}^{n} \sum_{j=0}^{m} a_{ij}T_1^iT_2^j = uh_1(T_1)+vh_2(T_2)$? If not, what is a possible counterexample?
Remark: For example, if $m=0$, then $\sum_{i=0}^{n} a_{i0}b_1^i=0$, so $\sum_{i=0}^{n} a_{ij}T_1^i$ is a multiple of $h_1(T_1)$, and my above claim is true, with $u \in A[T_1]$ and $v=0$. However, my above claim may be false in case $n > 1$ and $m > 1$.
Thank you very much!
Take $A=\mathbb{C}[t]$, $b_1=t^{\frac{1}{2}}, b_2=t^{\frac{1}{4}}$. Then, $b_2^2-b_1=0$, $h_1(T_1)=T_1^2-t, h_2(T_2)=T_2^4-t$. But, $T_2^2-T_1\not\in (h_1(T_1),h_2(T_2))$.