Ta có :
\(a\left(b+1\right)+b\left(a+1\right)\)
\(=ab+a+ba+b\)
\(=2ab+a+b\)
\(=2.1+a+b\)
\(=2+a+b\left(1\right)\)
Lại có :
\(\left(a+1\right)\left(b+1\right)\)
\(=ab+b+a+1\)
\(=1+b+a+1\)
\(=2+a+b\left(2\right)\)
Từ \(\left(1\right);\left(2\right)\)
\(\Rightarrow a\left(b+1\right)+b\left(a+1\right)=\left(a+1\right)\left(b+1\right)\left(đpcm\right)\)
a(b+1) + b(a+1)
= ab+a+b+ab
= ab+a+b+1
=(a+1)(b+1)