Question Number 170212 by otchereabdullai@gmail.com last updated on 18/May/22
$$\:\mathrm{which}\:\mathrm{rectangle}\:\mathrm{with}\:\mathrm{integer}\:\mathrm{length}\: \\ $$$$\:\:\mathrm{side}\:\mathrm{have}\:\mathrm{numerically}\:\mathrm{the}\:\mathrm{same}\:\mathrm{area} \\ $$$$\:\:\mathrm{and}\:\mathrm{perimeter}?\:\mathrm{Find}\:\mathrm{them}\:\mathrm{all}.\:\mathrm{Find} \\ $$$$\:\mathrm{a}\:\mathrm{proof}\:\mathrm{that}\:\mathrm{convinces}\:\mathrm{that}\:\mathrm{you}\:\mathrm{have} \\ $$$$\:\mathrm{found}\:\mathrm{them}\:\mathrm{all}.\:\mathrm{what}\:\mathrm{about}\:\mathrm{right}− \\ $$$$\:\mathrm{angled}\:\mathrm{triangle}?\:\mathrm{how}\:\mathrm{many}\:\mathrm{solutions}? \\ $$
Answered by aleks041103 last updated on 18/May/22
$${rectangle}\:−\:{a},{b} \\ $$$$\Rightarrow{ab}={a}+{b} \\ $$$${ab}−{a}−{b}+\mathrm{1}=\mathrm{1} \\ $$$${a}\left({b}−\mathrm{1}\right)−\left({b}−\mathrm{1}\right)=\mathrm{1} \\ $$$$\left({a}−\mathrm{1}\right)\left({b}−\mathrm{1}\right)=\mathrm{1} \\ $$$${a},{b}\geqslant\mathrm{0}\:{and}\:{are}\:{integers} \\ $$$$\Rightarrow{a}−\mathrm{1}\mid\mathrm{1}\:{and}\:{b}−\mathrm{1}\mid\mathrm{1} \\ $$$${but}\:{of}\:{all}\:{natural}\:{numbers},\:{only}\:\mathrm{1}\mid\mathrm{1}. \\ $$$$\Rightarrow{a}−\mathrm{1}={b}−\mathrm{1}=\mathrm{1}\Rightarrow{a}={b}=\mathrm{2} \\ $$$$\Rightarrow{Square}\:{of}\:{sidelength}\:\mathrm{2}\:{is}\:{the}\:{only} \\ $$$${soln}. \\ $$$$\: \\ $$
Commented by Rasheed.Sindhi last updated on 18/May/22
$$\cap\mathrm{i}\subset\in! \\ $$
Commented by otchereabdullai@gmail.com last updated on 18/May/22
$$\mathrm{God}\:\mathrm{bless}\:\mathrm{you}\:\mathrm{sir}\:\mathrm{am}\:\mathrm{much}\:\mathrm{grateful} \\ $$$$\mathrm{for}\:\mathrm{your}\:\mathrm{time}! \\ $$
Commented by floor(10²Eta[1]) last updated on 18/May/22
$$\mathrm{the}\:\mathrm{perimeter}\:\mathrm{is}\:\mathrm{2a}+\mathrm{2b} \\ $$$$ \\ $$
Commented by floor(10²Eta[1]) last updated on 18/May/22
$$\mathrm{man}\:\mathrm{if}\:\mathrm{the}\:\mathrm{side}\:\mathrm{of}\:\mathrm{the}\:\mathrm{square}\:\mathrm{is}\:\mathrm{2}\:\mathrm{the}\:\mathrm{perimeter}\:\mathrm{is}\:\mathrm{8} \\ $$
Commented by aleks041103 last updated on 19/May/22
$${Yes},\:{you}'{re}\:{right}.\:{Sorry}! \\ $$
Answered by aleks041103 last updated on 18/May/22
$${for}\:{rigth}\:{triangles}: \\ $$$${want}:\:{xy}=\mathrm{2}\left({x}+{y}+\sqrt{{x}^{\mathrm{2}} +{y}^{\mathrm{2}} }\right) \\ $$$${since}\:{x},{y}\:{are}\:{integers},\:{we}\:{need}\:\sqrt{{x}^{\mathrm{2}} +{y}^{\mathrm{2}} }\:{to} \\ $$$${be}\:{an}\:{integer}.\:{This}\:{can}\:{happen}\:{if}\:{we}\: \\ $$$${have}\:{a}\:{pythagorian}\:{triple}. \\ $$$${All}\:{of}\:{them}\:{are}\:{generated}\:{by}: \\ $$$${x}={u}^{\mathrm{2}} −{w}^{\mathrm{2}} \\ $$$${y}=\mathrm{2}{uw} \\ $$$$\sqrt{{x}^{\mathrm{2}} +{y}^{\mathrm{2}} }={u}^{\mathrm{2}} +{w}^{\mathrm{2}} \\ $$$$\Rightarrow\left({u}^{\mathrm{2}} −{w}^{\mathrm{2}} \right)\mathrm{2}{uw}=\mathrm{2}\left({u}^{\mathrm{2}} −{w}^{\mathrm{2}} +\mathrm{2}{uw}+{u}^{\mathrm{2}} +{w}^{\mathrm{2}} \right) \\ $$$$\Rightarrow{uw}\left({u}^{\mathrm{2}} −{w}^{\mathrm{2}} \right)=\mathrm{2}{u}\left({u}+{w}\right) \\ $$$$\Rightarrow{w}\left({u}−{w}\right)\left({u}+{w}\right)=\mathrm{2}\left({u}+{w}\right) \\ $$$$\Rightarrow{w}\left({u}−{w}\right)=\mathrm{2} \\ $$$${Since}\:{x},{y}\in\mathbb{N},\:{u},{w}\in\mathbb{N} \\ $$$$\Rightarrow{w}\mid\mathrm{2}\:{and}\:{u}−{w}\mid\mathrm{2} \\ $$$$\Rightarrow{w}=\mathrm{1},\mathrm{2}\:{and}\:{u}−{w}=\mathrm{2},\mathrm{1} \\ $$$$\Rightarrow\left({u},{w}\right)\in\left\{\left(\mathrm{3},\mathrm{1}\right),\left(\mathrm{3},\mathrm{2}\right)\right\} \\ $$$$\Rightarrow\left({x},{y}\right)\in\left\{\left(\mathrm{8},\mathrm{6}\right),\left(\mathrm{5},\mathrm{12}\right)\right\} \\ $$$${and}\:{really} \\ $$$$\bullet{x}=\mathrm{8},{y}=\mathrm{6},{z}=\sqrt{{x}^{\mathrm{2}} +{y}^{\mathrm{2}} }=\mathrm{10} \\ $$$$\frac{\mathrm{1}}{\mathrm{2}}{xy}=\mathrm{24}=\mathrm{6}+\mathrm{8}+\mathrm{10}\checkmark \\ $$$$\bullet{x}=\mathrm{5},{y}=\mathrm{12},{z}=\mathrm{13} \\ $$$$\frac{\mathrm{1}}{\mathrm{2}}{xy}=\mathrm{30}=\mathrm{5}+\mathrm{12}+\mathrm{13}\checkmark \\ $$
Commented by Rasheed.Sindhi last updated on 18/May/22
$$\mathcal{N}{ice}! \\ $$
Commented by otchereabdullai@gmail.com last updated on 18/May/22
$$\mathrm{God}\:\mathrm{bless}\:\mathrm{you}\:\mathrm{sir}\:\mathrm{am}\:\mathrm{much}\:\mathrm{grateful}\: \\ $$$$\:\mathrm{for}\:\mathrm{your}\:\mathrm{time}! \\ $$
Answered by floor(10²Eta[1]) last updated on 18/May/22
$$\mathrm{ab}=\mathrm{2a}+\mathrm{2b} \\ $$$$\mathrm{2a}−\mathrm{ab}+\mathrm{2b}=\mathrm{0} \\ $$$$\mathrm{a}\left(\mathrm{2}−\mathrm{b}\right)−\mathrm{2}\left(\mathrm{2}−\mathrm{b}\right)=−\mathrm{4} \\ $$$$\left(\mathrm{2}−\mathrm{a}\right)\left(\mathrm{2}−\mathrm{b}\right)=\mathrm{4} \\ $$$$\mathrm{2}−\mathrm{a}=−\mathrm{1} \\ $$$$\mathrm{2}−\mathrm{b}=−\mathrm{4} \\ $$$$\mathrm{a}=\mathrm{3},\:\mathrm{b}=\mathrm{6} \\ $$$$\mathrm{2}−\mathrm{a}=−\mathrm{2} \\ $$$$\mathrm{2}−\mathrm{b}=−\mathrm{2} \\ $$$$\mathrm{a}=\mathrm{b}=\mathrm{4} \\ $$$$\mathrm{all}\:\mathrm{sol}:\:\left\{\left(\mathrm{4},\mathrm{4}\right),\left(\mathrm{3},\mathrm{6}\right),\left(\mathrm{6},\mathrm{3}\right)\right\} \\ $$
Commented by Rasheed.Sindhi last updated on 18/May/22
$$\vee.\:\cap\mathrm{i}\subset\in! \\ $$