K
Khách

Hãy nhập câu hỏi của bạn vào đây, nếu là tài khoản VIP, bạn sẽ được ưu tiên trả lời.

7 tháng 8 2023

a) ĐKXĐ: \(x\ge0;x\ne9;x\ne4\)

\(M=\dfrac{2\sqrt{x}-9}{x-5\sqrt{x}+6}-\dfrac{\sqrt{x}+3}{\sqrt{x}-2}-\dfrac{2\sqrt{x}+1}{3-\sqrt{x}}\)

\(M=\dfrac{2\sqrt{x}-9}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}-\dfrac{\sqrt{x}+3}{\sqrt{x}-2}+\dfrac{2\sqrt{x}+1}{\sqrt{x}-3}\)

\(M=\dfrac{2\sqrt{x}-9}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}-\dfrac{\left(\sqrt{x}+3\right)\left(\sqrt{x}-3\right)}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}+\dfrac{\left(2\sqrt{x}+1\right)\left(\sqrt{x}-2\right)}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}\)

\(M=\dfrac{2\sqrt{x}-9-x+9+2x-4\sqrt{x}+\sqrt{x}-2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}\)

\(M=\dfrac{x-\sqrt{x}-2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}\)

\(M=\dfrac{\left(\sqrt{x}-2\right)\left(\sqrt{x}+1\right)}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}\)

\(M=\dfrac{\sqrt{x}+1}{\sqrt{x}-3}\)

b) Ta có M ϵ Z thì \(\dfrac{\sqrt{x}+1}{\sqrt{x}-3}=\dfrac{\sqrt{x}-3+4}{\sqrt{x}-3}=\dfrac{\sqrt{x}-3}{\sqrt{x}-3}+\dfrac{4}{\sqrt{x}-3}=1+\dfrac{4}{\sqrt{x}-3}\)

Phải thuộc Z vậy:

4 ⋮ \(\sqrt{x}-3\)

\(\Rightarrow\sqrt{x}-3\inƯ\left(4\right)=\left\{1;-1;2;-2;4;-4\right\}\)

Mà: \(x\ge0,x\ne4,x\ne9\) nên \(\sqrt{x}-3\in\left\{1;2;-2;4\right\}\)

\(\Rightarrow x\in\left\{16;25;1;49\right\}\)

6 tháng 8 2023

\(M=\dfrac{2\sqrt{x}-9}{x-5\sqrt{x}+6}-\dfrac{\sqrt{x}+3}{\sqrt{x}-2}+\dfrac{2\sqrt{x}+1}{3-\sqrt{x}}\left(\text{đ}k\text{x}\text{đ}:x\ge3\right)\\ =\dfrac{2\sqrt{x}-9}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}-\dfrac{\sqrt{x}+3}{\sqrt{x}-2}-\dfrac{2\sqrt{x}+1}{\sqrt{x}-3}\\ =\dfrac{2\sqrt{x}-9}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}-\dfrac{x-9}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}-\dfrac{\left(2\sqrt{x}+1\right)\left(\sqrt{x}-2\right)}{\left(\sqrt{x}-3\right)\left(\sqrt{x}-2\right)}\\ =\dfrac{2\sqrt{x}-9-\left(x-9\right)-\left(2x-4\sqrt{x}+\sqrt{x}-2\right)}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}\)

\(=\dfrac{2\sqrt{x}-9-x+9-2x+4\sqrt{x}-\sqrt{x}+2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}\\ =\dfrac{5\sqrt{x}-3x+2}{x-5\sqrt{x}+6}\)

__

Để \(M\in Z\) thì \(x-5\sqrt{x}+6\) thuộc ước của \(5\sqrt{x}-3x+2\)

\(\Rightarrow x-5\sqrt{x}+6=-5\sqrt{x}-3x+2\\ \Leftrightarrow x-5\sqrt{x}+6+5\sqrt{x}+3x-2=0\\ \Leftrightarrow4x-4=0\\ \Leftrightarrow4x=4\\ \Leftrightarrow x=1\)

 

 

6 tháng 8 2023

Điều kiện có sai k v? Xem lại giúp mình với

a: Ta có: \(P=\dfrac{\sqrt{x}}{\sqrt{x}-1}+\dfrac{3}{\sqrt{x}+1}-\dfrac{6\sqrt{x}-4}{x-1}\)

\(=\dfrac{x+\sqrt{x}+3\sqrt{x}-3-6\sqrt{x}+4}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)

\(=\dfrac{x-2\sqrt{x}+1}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)

\(=\dfrac{\sqrt{x}-1}{\sqrt{x}+1}\)

b: Thay \(x=\dfrac{1}{4}\) vào P, ta được:

\(P=\left(\dfrac{1}{2}-1\right):\left(\dfrac{1}{2}+1\right)=\dfrac{-1}{2}:\dfrac{3}{2}=-\dfrac{1}{3}\)

c: Ta có: \(P< \dfrac{1}{2}\)

\(\Leftrightarrow P-\dfrac{1}{2}< 0\)

\(\Leftrightarrow\dfrac{\sqrt{x}-1}{\sqrt{x}+1}-\dfrac{1}{2}< 0\)

\(\Leftrightarrow\dfrac{2\sqrt{x}-2-\sqrt{x}-1}{2\left(\sqrt{x}+1\right)}< 0\)

\(\Leftrightarrow\sqrt{x}< 3\)

hay x<9

Kết hợp ĐKXĐ, ta được: \(\left\{{}\begin{matrix}0\le x< 9\\x\ne1\end{matrix}\right.\)

Bài 2: 

a: \(A=\dfrac{15\sqrt{x}-11}{\left(\sqrt{x}+3\right)\left(\sqrt{x}-1\right)}-\dfrac{\left(3\sqrt{x}-2\right)\left(\sqrt{x}+3\right)}{\left(\sqrt{x}+3\right)\left(\sqrt{x}-1\right)}-\dfrac{\left(2\sqrt{x}+3\right)\left(\sqrt{x}-1\right)}{\left(\sqrt{x}+3\right)\left(\sqrt{x}-1\right)}\)

\(=\dfrac{15\sqrt{x}-11-3x-9\sqrt{x}+2\sqrt{x}+6-2x+2\sqrt{x}-3\sqrt{x}+3}{\left(\sqrt{x}+3\right)\left(\sqrt{x}-1\right)}\)

\(=\dfrac{-5x+7\sqrt{x}-2}{\left(\sqrt{x}+3\right)\left(\sqrt{x}-1\right)}\)

\(=\dfrac{-\left(5\sqrt{x}-2\right)\left(\sqrt{x}-1\right)}{\left(\sqrt{x}+3\right)\left(\sqrt{x}-1\right)}=\dfrac{-5\sqrt{x}+2}{\sqrt{x}+3}\)

b: Thay \(x=5-2\sqrt{6}\) vào A, ta được:

\(A=\dfrac{-5\left(\sqrt{3}-\sqrt{2}\right)+2}{\sqrt{3}-\sqrt{2}+3}=\dfrac{-5\sqrt{3}+5\sqrt{2}+2}{\sqrt{3}-\sqrt{2}+3}\simeq0,124\)

d: Để A=1/2 thì \(\sqrt{x}+3=-10\sqrt{x}+4\)

\(\Leftrightarrow11\sqrt{x}=1\)

hay x=1/121

24 tháng 6 2017

ĐKXĐ \(x\ge0,x\ne4\)

a) \(B=\dfrac{\left(\sqrt{x}-1\right)\left(\sqrt{x}-2\right)-\left(\sqrt{x}+3\right)\cdot\left(\sqrt{x}+1\right)-\left(x+5\right)}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-2\right)}\)

\(=\dfrac{x-2\sqrt{x}-\sqrt{x}+2-\left(x+\sqrt{x}+3\sqrt{x}+3\right)-x-5}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-2\right)}\)

\(=\dfrac{-x-7\sqrt{x}-6}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-2\right)}=\dfrac{-\left(\sqrt{x}+1\right)\cdot\left(\sqrt{x}+6\right)}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-2\right)}\)

\(=\dfrac{\sqrt{x}+6}{2-\sqrt{x}}\)

b) B > -1 <=> B + 1 > 0.

\(\Leftrightarrow\dfrac{\sqrt{x}+6}{2-\sqrt{x}}+1>0\Leftrightarrow\dfrac{8}{2-\sqrt{x}}>0\)

=> \(2-\sqrt{x}>0\Leftrightarrow\sqrt{x}< 2\Rightarrow x< 4\)

Vậy \(0\le x< 4\) thì B > -1.

c) \(B=\dfrac{\sqrt{x}+6}{2-\sqrt{x}}=-1-\dfrac{8}{2-\sqrt{x}}\in Z\)

\(\Rightarrow2-\sqrt{x}\inƯ_{\left(8\right)}=\left\{\pm1;\pm2;\pm4;\pm8\right\}\)

\(\Rightarrow\sqrt{x}\in\left\{1;3;0;4;-2;6;-6;10\right\}\)

\(\Rightarrow x\in\left\{1;9;0;16;36;100\right\}\)thì \(B\in Z\)

24 tháng 6 2017

a) đk : \(x\ne4;x\ge0\)

B = \(\dfrac{\sqrt{x}-1}{\sqrt{x}+1}-\dfrac{\sqrt{x}+3}{\sqrt{x}-2}-\dfrac{x+5}{x-\sqrt{x}-2}\)

B = \(\dfrac{\left(\sqrt{x}-1\right)\left(\sqrt{x}-2\right)-\left(\sqrt{x}+3\right)\left(\sqrt{x}+1\right)-\left(x+5\right)}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-2\right)}\)

B = \(\dfrac{x-2\sqrt{x}-\sqrt{x}+2-\left(x+\sqrt{x}+3\sqrt{x}+3\right)-x-5}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-2\right)}\)

B = \(\dfrac{x-2\sqrt{x}-\sqrt{x}+2-x-\sqrt{x}-3\sqrt{x}-3-x-5}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-2\right)}\)

B = \(\dfrac{-x-7\sqrt{x}-6}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-2\right)}\) = \(\dfrac{\left(-\sqrt{x}-6\right)\left(\sqrt{x}+1\right)}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-2\right)}\)

B = \(\dfrac{-\sqrt{x}-6}{\sqrt{x}-2}\)

23 tháng 7 2018

a) ĐKXĐ: \(x\ge0;x\ne9\) . Rút gọn: \(A=\dfrac{\sqrt{x}-2}{\sqrt{x}+1}+\dfrac{\sqrt{x}+3}{\sqrt{x}-3}-\dfrac{x-4\sqrt{x}+7}{x-2\sqrt{x}-3}=\dfrac{\sqrt{x}-2}{\sqrt{x}+1}+\dfrac{\sqrt{x}+3}{\sqrt{x}-3}-\dfrac{x-4\sqrt{x}+7}{x+\sqrt{x}-3\sqrt{x}-3}=\dfrac{\sqrt{x}-2}{\sqrt{x}+1}+\dfrac{\sqrt{x}+3}{\sqrt{x}-3}-\dfrac{x-4\sqrt{x}+7}{\sqrt{x}\left(\sqrt{x}+1\right)-3\left(\sqrt{x}+1\right)}=\dfrac{\sqrt{x}-2}{\sqrt{x}+1}+\dfrac{\sqrt{x}+3}{\sqrt{x}-3}-\dfrac{x-4\sqrt{x}+7}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-3\right)}=\dfrac{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)+\left(\sqrt{x}+3\right)\left(\sqrt{x}+1\right)-x+4\sqrt{x}-7}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-3\right)}=\dfrac{x-3\sqrt{x}-2\sqrt{x}+6+x+\sqrt{x}+3\sqrt{x}+3-x+4\sqrt{x}-7}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-3\right)}=\dfrac{x+3\sqrt{x}+2}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-3\right)}=\dfrac{x+\sqrt{x}+2\sqrt{x}+2}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-3\right)}=\dfrac{\sqrt{x}\left(\sqrt{x}+1\right)+2\left(\sqrt{x}+1\right)}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-3\right)}=\dfrac{\left(\sqrt{x}+1\right)\left(\sqrt{x}+2\right)}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-3\right)}=\dfrac{\sqrt{x}+2}{\sqrt{x}-3}\)

23 tháng 7 2018

A>-1\(\Leftrightarrow\dfrac{\sqrt{x}+2}{\sqrt{x}-3}\)>-1\(\Leftrightarrow\dfrac{\sqrt{x}+2}{\sqrt{x}-3}+1>0\Leftrightarrow\dfrac{\sqrt{x}+2+\sqrt{x}-3}{\sqrt{x}-3}>0\Leftrightarrow\dfrac{2\sqrt{x}-1}{\sqrt{x}-3}>0\Leftrightarrow\left[{}\begin{matrix}\left\{{}\begin{matrix}2\sqrt{x}-1>0\\\sqrt{x}-3>0\end{matrix}\right.\\\left\{{}\begin{matrix}2\sqrt{x}-1< 0\\\sqrt{x}-3< 0\end{matrix}\right.\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}\left\{{}\begin{matrix}\sqrt{x}>0,5\\\sqrt{x}>3\end{matrix}\right.\\\left\{{}\begin{matrix}\sqrt{x}< 0,5\\\sqrt{x}< 3\end{matrix}\right.\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}\left\{{}\begin{matrix}x>0,25\\x>9\end{matrix}\right.\\\left\{{}\begin{matrix}x< 0,25\\x< 9\end{matrix}\right.\end{matrix}\right.\Leftrightarrow}}\left[{}\begin{matrix}x>9\\0\le x< 0,25\end{matrix}\right.\)

1 tháng 7 2017

Đề khá hay đấy! Nhưng lần sau đừng viết sai đề nx!

a) ĐK: \(x>4\)

b) \(P=\dfrac{\sqrt{x+4\sqrt{x-4}}+\sqrt{x-4\sqrt{x-4}}}{\sqrt{1-\dfrac{8}{x}+\dfrac{16}{x^2}}}\)

= \(\dfrac{\sqrt{\left(x-4\right)+4\sqrt{x-4}+4}+\sqrt{\left(x-4\right)-4\sqrt{x-4}+4}}{\sqrt{1-2.\dfrac{4}{x}+\left(\dfrac{4}{x}\right)^2}}\)

= \(\dfrac{\sqrt{\left(\sqrt{x-4}+2\right)^2}+\sqrt{\left(\sqrt{x-4}-2\right)^2}}{\sqrt{\left(1-\dfrac{4}{x}\right)^2}}\)

= \(\dfrac{\left|\sqrt{x-4}+2\right|+\left|\sqrt{x-4}-2\right|}{\left|1-\dfrac{4}{x}\right|}\)

= \(\dfrac{\sqrt{x-4}+2+\left|\sqrt{x-4}-2\right|}{1-\dfrac{4}{x}}\) = \(\left[{}\begin{matrix}\dfrac{2x\sqrt{x-4}}{x-4}khix\ge8\\\dfrac{4x}{x-4}khi4< x< 8\end{matrix}\right.\)

Xét \(P=\dfrac{2x}{\sqrt{x-4}}\left(x\ge8\right)\) thì:

Để \(P\in Z\) khi \(\dfrac{2x-8+8}{\sqrt{x-4}}\in Z\)

<=> \(2.\left(\sqrt{x-4}\right)+\dfrac{8}{\sqrt{x-4}}\in Z\)

<=> \(\left\{{}\begin{matrix}\sqrt{x-4}\in Z^+\\\sqrt{x-4}\inƯ\left(8\right)\end{matrix}\right.\)

\(x\ge8\) => \(\left[{}\begin{matrix}\sqrt{x-4}=2\\\sqrt{x-4}=4\\\sqrt{x-4}=8\end{matrix}\right.\) <=> \(\left[{}\begin{matrix}x=8\\x=20\\x=68\end{matrix}\right.\)

Xét \(P=\dfrac{4x}{x-4}\left(4< x< 8\right)\) thì:

Để \(P\in Z\) khi \(\dfrac{4x-16+16}{x-4}\in Z\) <=> \(4+\dfrac{16}{x-4}\in Z\)

=> \(x-4\inƯ\left(16\right)\) \(0< x-4< 4\)

=> \(x-4=2\) => \(x=6\)

Vậy \(x\in\left\{6;8;20;68\right\}\) thì \(P\in Z\)

P/s: Vì bài này dài nên mk lm khá tắt, ko hiểu cứ hỏi!

5 tháng 7 2017

Thiếu x= 5 :V?

20 tháng 10 2018

1) +) ta có : \(C-\dfrac{1}{3}\Leftrightarrow\dfrac{\sqrt{x}}{x+\sqrt{x}+1}-\dfrac{1}{3}=\dfrac{3\sqrt{x}-x+\sqrt{x}-1}{3\left(x+\sqrt{x}+1\right)}\)

\(=\dfrac{-\left(x-4\sqrt{x}+4\right)+3}{3\left(x+\sqrt{x}+1\right)}=\dfrac{-\left(\sqrt{x}-2\right)^2+3}{3\left(x+\sqrt{x}+1\right)}\)

không thể cm được đâu bn --> xem lại đề

2) +) ta có : \(D=\dfrac{\sqrt{x}-1}{\sqrt{x}+2}=1-\dfrac{3}{\sqrt{x}+2}\)

--> để \(D\in Z\Leftrightarrow\sqrt{x}+2\) là ước của 3 \(\Leftrightarrow\sqrt{x}+2\in\left\{\pm1;\pm3\right\}\)

\(\Leftrightarrow x=1\) vậy \(x=1\)

3) +) tương tự 2)

4) a) +) điều kiện xác định : \(x>0;x\ne4\)

ta có : \(A=\left(\dfrac{2}{\sqrt{x}+3}-\dfrac{1}{\sqrt{x}}\right):\dfrac{\sqrt{x}-2}{x+3\sqrt{x}}\)

\(\Leftrightarrow A=\left(\dfrac{2\sqrt{x}-\sqrt{x}-3}{\sqrt{x}\left(\sqrt{x}+3\right)}\right):\dfrac{x+3\sqrt{x}}{\sqrt{x}-2}=\dfrac{\sqrt{x}-3}{\sqrt{x}-2}\)

b) ta có : \(A=3\Leftrightarrow\dfrac{\sqrt{x}-3}{\sqrt{x}-2}=3\Leftrightarrow\sqrt{x}-3=3\sqrt{x}-6\)

\(\Leftrightarrow2\sqrt{x}=3\Leftrightarrow\sqrt{x}=\dfrac{3}{2}\Leftrightarrow x=\dfrac{9}{4}\) vậy \(x=\dfrac{9}{4}\)

c) ta có : \(B=A.\dfrac{\sqrt{x}+3}{\sqrt{x}+2}=\dfrac{\sqrt{x}-3}{\sqrt{x}-2}.\dfrac{\sqrt{x}+3}{\sqrt{x}+2}=\dfrac{x-9}{x-4}=1-\dfrac{5}{x-4}\)

tương tự 2 )
\(\)

a: ĐKXĐ: \(\left\{{}\begin{matrix}x\ge0\\x\ne9\end{matrix}\right.\)

Ta có: \(A=\dfrac{\sqrt{x}}{\sqrt{x}+3}+\dfrac{2\sqrt{x}}{\sqrt{x}-3}-\dfrac{3x+9}{x-9}\)

\(=\dfrac{x-3\sqrt{x}+2x+6\sqrt{x}-3x-9}{\left(\sqrt{x}+3\right)\left(\sqrt{x}-3\right)}\)

\(=\dfrac{3\left(\sqrt{x}-3\right)}{\left(\sqrt{x}-3\right)\left(\sqrt{x}+3\right)}\)

\(=\dfrac{3}{\sqrt{x}+3}\)

b: Thay x=16 vào A, ta được:

\(A=\dfrac{3}{4+3}=\dfrac{3}{7}\)

30 tháng 8 2021

các câu ở dưới nữa ah

 

ĐKXĐ: x>=0; \(x\notin\left\{9;4\right\}\)\(P=\left(\dfrac{x-3\sqrt{x}}{x-9}-1\right):\left(\dfrac{9-x}{x+\sqrt{x}-6}-\dfrac{\sqrt{x}-3}{2-\sqrt{x}}-\dfrac{\sqrt{x}-2}{\sqrt{x}+3}\right)\)

\(=\left(\dfrac{\sqrt{x}\left(\sqrt{x}-3\right)}{\left(\sqrt{x}-3\right)\left(\sqrt{x}+3\right)}-1\right):\left(\dfrac{9-x}{\left(\sqrt{x}+3\right)\left(\sqrt{x}-2\right)}+\dfrac{\sqrt{x}-3}{\sqrt{x}-2}-\dfrac{\sqrt{x}-2}{\sqrt{x}+3}\right)\)

\(=\left(\dfrac{\sqrt{x}}{\sqrt{x}+3}-1\right):\left(\dfrac{3-\sqrt{x}}{\sqrt{x}-2}+\dfrac{\sqrt{x}-3}{\sqrt{x}-2}-\dfrac{\sqrt{x}-2}{\sqrt{x}+3}\right)\)

\(=\dfrac{\sqrt{x}-\sqrt{x}-3}{\sqrt{x}+3}:\dfrac{-\left(\sqrt{x}-2\right)}{\sqrt{x}+3}\)

\(=\dfrac{3}{\sqrt{x}-2}\)

Để P là số nguyên thì \(3⋮\sqrt{x}-2\)

=>\(\sqrt{x}-2\in\left\{1;-1;3;-3\right\}\)

=>\(\sqrt{x}\in\left\{3;1;5;-1\right\}\)

=>\(\sqrt{x}\in\left\{3;1;5\right\}\)

=>\(x\in\left\{9;1;25\right\}\)

Kết hợp ĐKXĐ, ta được; \(x\in\left\{1;25\right\}\)

AH
Akai Haruma
Giáo viên
29 tháng 1 2024

Lời giải:
ĐKXĐ: $x\geq 0; x\neq 9; x\neq 4$

\(P=\frac{-3\sqrt{x}+9}{x-9}: \left[\frac{9-x}{(\sqrt{x}-2)(\sqrt{x}+3)}+\frac{(\sqrt{x}-3)(\sqrt{x}+3)}{(\sqrt{x}-2)(\sqrt{x}+3)}-\frac{(\sqrt{x}-2)^2}{(\sqrt{x}-2)(\sqrt{x}+3)}\right]\)

\(=\frac{-3(\sqrt{x}-3)}{(\sqrt{x}-3)(\sqrt{x}+3)}:\frac{9-x+x-9-(\sqrt{x}-2)^2}{(\sqrt{x}-2)(\sqrt{x}+3)}\)

\(=\frac{-3}{\sqrt{x}+3}:\frac{-(\sqrt{x}-2)^2}{(\sqrt{x}-2)(\sqrt{x}+3)}=\frac{-3}{\sqrt{x}+3}:\frac{-(\sqrt{x}-2)}{\sqrt{x}+3}\\ =\frac{-3}{\sqrt{x}+3}.\frac{\sqrt{x}+3}{-(\sqrt{x}-2)}=\frac{3}{\sqrt{x}-2}\)

Với $x\in\mathbb{Z}$, để $P$ nguyên thì $\sqrt{x}-2$ là ước nguyên của 3

$\Rightarrow \sqrt{x}-2\in \left\{1; -1; 3; -3\right\}$

$\Rightarrow \sqrt{x}\in \left\{3; 1; 5; -1\right\}$

$\Rightarrow x\in \left\{9; 1; 25\right\}$

Theo ĐKXĐ suy ra $x=1$ hoặc $x=25$