a, x + 5 \(⋮\) x - 2
\(\Leftrightarrow\) ( x - 2 ) + 7 \(⋮\) x - 2
\(\Leftrightarrow\) 7 \(⋮\) x - 2 ( vì x - 2 \(⋮\) x - 2 )
\(\Leftrightarrow\) x - 2 \(\in\) Ư(7) = \(\left\{1,-1,7,-7\right\}\)
Ta có bảng :
| x - 2 | - 1 | 1 | - 7 | 7 |
| x | 1 | 3 | - 5 | 9 |
Vậy x \(\in\) \(\left\{1,3,9,-5\right\}\)
b, 2x + 1\(⋮\) x +5
\(\Leftrightarrow\) 2( x + 5 ) + 9 \(⋮\) x + 5
\(\Leftrightarrow\) 9 \(⋮\) x + 5 [ vì 2(x+5) \(⋮\) x + 5 ]
\(\Leftrightarrow\) x + 5 \(\in\) Ư (9) = { 1; -1; 3; 9; -9}
Ta có bảng :
| x + 5 | 1 | - 1 | - 3 | 3 | 9 | - 9 |
| x | - 4 | - 6 | -8 | -2 | 4 | -14 |
Vậy x \(\in\) { -4;-6;-8;-2;4;-14}
Bài 2. Tìm n \(\in\) Z :
b, (2n+7) \(⋮\) n+1
\(\Leftrightarrow\) 2(n+1)+9 \(⋮\) n+1
\(\Leftrightarrow\) 9 \(⋮\) n + 1 ( vì 2(n+1) \(⋮\) n+1 )
\(\Leftrightarrow\) n + 1 \(\in\) \(Ư\left(9\right)=\left\{-1;1;3;-3;9;-9\right\}\)
Ta có bảng :
| n + 1 | - 1 | 1 | - 3 | 3 | 9 | - 9 |
| n | - 2 | 0 | - 4 | 2 | 8 | - 10 |
Vậy n \(\in\)\(\left\{-2;0;-4;2;8;-10\right\}\)
( Làm thế với các bài còn lại )