Let $R$ be a commutative ring with unit and let $a,b\in R$ be two elements which together generates the unit ideal. Show that $a^2$ and $b^2$ also generate the unit ideal together.
My Work:
Unit ideal is $R$. So, $R=\{ra+sb|r,s\in R\}$. Let $S=\{ra^2+sb^2|r,s\in R\}$. Then $S\subset R$. But, stuck in proving $R\subset S$. Can anyone please help me?
A useful characterization of the unit ideal is that an ideal is the unit ideal if and only if it contains $1$. e.g. your hypothesis is that there are elements $m$ and $n$ such that $am + bn = 1$.
Another hint, since I think I always have to spend a while to rediscover it every time I feel like I need to prove this, is as an intermediate step, try and show that $a^2$ and $b$ generate the unit ideal together. There may be other approaches that don't use this intermediate step, though.