[tex] \displaystyle [2f(x)-3x+1].f'(x)=3[1+f(x)]\\ \displaystyle \Leftrightarrow (2f(x)+1)f'(x)=3(1+f(x))+3x.f'(x)[/tex]
Nguyên hàm 2 vế:
[tex]\displaystyle \int (2f(x)+1)f'(x)dx=\int (3x(1+f(x)))' dx\\\Leftrightarrow \displaystyle \frac{1}{2}\int (2f(x)+1)d(2f(x)+1)=\int (3x(1+f(x)))' dx\\ \displaystyle \Rightarrow \frac{1}{4}(2f(x)+1)^2 =3x(1+f(x))+C\\ \displaystyle \Leftrightarrow f^2(x)+f(x)+\frac{1}{4}=3x(1+f(x))+C[/tex]
Do $ \displaystyle f(1)=3$ nên $C=\frac{1}{4}$
Do đó có: [tex]\displaystyle f^2(x)+f(x)=3x(1+f(x))\\\Leftrightarrow (f(x)-3x)(1+f(x))=0[/tex]
Do $f(x)$ không âm nên $f(x)+1>0$
Vì vậy $f(x)=3x$
Tích phân bạn làm nhé

.