Question Number 124261 by Ar Brandon last updated on 02/Dec/20
$$\int\frac{\mathrm{2x}^{\mathrm{2}} +\mathrm{5x}+\mathrm{9}}{\left(\mathrm{x}+\mathrm{1}\right)\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}}\mathrm{dx} \\ $$
Commented by MJS_new last updated on 02/Dec/20
$$\mathrm{I}\:\mathrm{think}\:\mathrm{something}\:\mathrm{went}\:\mathrm{wrong}… \\ $$
Commented by Ar Brandon last updated on 02/Dec/20
$$\mathrm{I}\:\mathrm{get} \\ $$$$\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}+\frac{\mathrm{1}}{\:\sqrt{\mathrm{3}}}\mathrm{tan}^{−\mathrm{1}} \left(\frac{\mathrm{2x}+\mathrm{1}}{\:\sqrt{\mathrm{3}}}\right) \\ $$$$−\mathrm{6ln}\mid\frac{\mathrm{1}−\mathrm{x}+\mathrm{2}\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}}{\mathrm{2}\left(\mathrm{x}+\mathrm{1}\right)}\mid+\mathrm{K} \\ $$$${Any}\:{approval},\:{please}\:? \\ $$
Answered by MJS_new last updated on 02/Dec/20
$$\int\frac{\mathrm{2}{x}^{\mathrm{2}} +\mathrm{5}{x}+\mathrm{9}}{\left({x}+\mathrm{1}\right)\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}}{dx}= \\ $$$$\:\:\:\:\:\left[{t}={x}+\frac{\mathrm{1}}{\mathrm{2}}\:\rightarrow\:{dx}={dt}\right] \\ $$$$=\mathrm{4}\int\frac{\mathrm{2}{t}^{\mathrm{2}} +\mathrm{3}{t}+\mathrm{7}}{\left(\mathrm{2}{t}+\mathrm{1}\right)\sqrt{\mathrm{4}{t}^{\mathrm{2}} +\mathrm{3}}}{dt}= \\ $$$$\:\:\:\:\:\left[{u}=\frac{\sqrt{\mathrm{3}}\left(\mathrm{2}{t}+\sqrt{\mathrm{4}{t}^{\mathrm{2}} +\mathrm{3}}\right)}{\mathrm{3}}\:\rightarrow\:{dt}=\frac{\sqrt{\mathrm{3}\left(\mathrm{4}{t}^{\mathrm{2}} +\mathrm{3}\right)}}{\mathrm{2}\left(\mathrm{2}{t}+\sqrt{\mathrm{4}{t}^{\mathrm{2}} +\mathrm{3}}\right)}\right] \\ $$$$=\int\frac{\mathrm{3}\sqrt{\mathrm{3}}{u}^{\mathrm{4}} +\mathrm{18}{u}^{\mathrm{3}} +\mathrm{50}\sqrt{\mathrm{3}}{u}^{\mathrm{2}} −\mathrm{18}{u}+\mathrm{3}\sqrt{\mathrm{3}}}{\mathrm{2}{u}^{\mathrm{2}} \left(\mathrm{3}{u}^{\mathrm{2}} +\mathrm{2}\sqrt{\mathrm{3}}{u}−\mathrm{3}\right)}{du}= \\ $$$$=\int\left(\frac{\sqrt{\mathrm{3}}}{\mathrm{2}}−\frac{\mathrm{6}}{{u}+\sqrt{\mathrm{3}}}+\frac{\mathrm{2}}{{u}}+\frac{\mathrm{6}}{{u}−\frac{\sqrt{\mathrm{3}}}{\mathrm{3}}}−\frac{\sqrt{\mathrm{3}}}{\mathrm{2}{u}^{\mathrm{2}} }\right){du}= \\ $$$$=\frac{\sqrt{\mathrm{3}}}{\mathrm{2}}{u}−\mathrm{6ln}\:\left({u}+\sqrt{\mathrm{3}}\right)+\mathrm{2ln}\:{u}\:+\mathrm{6ln}\:\left({u}−\frac{\sqrt{\mathrm{3}}}{\mathrm{3}}\right)\:+\frac{\sqrt{\mathrm{3}}}{\mathrm{2}{u}}= \\ $$$$=\frac{\sqrt{\mathrm{3}}\left({u}^{\mathrm{2}} +\mathrm{1}\right)}{\mathrm{2}{u}}+\mathrm{6ln}\:\frac{\mathrm{3}{u}−\sqrt{\mathrm{3}}}{{u}+\sqrt{\mathrm{3}}}\:+\mathrm{2ln}\:{u}\:= \\ $$$$… \\ $$$$=\mathrm{2}\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}+\mathrm{6ln}\:\frac{{x}−\mathrm{1}+\mathrm{2}\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}}{{x}+\mathrm{1}}\:+\mathrm{2ln}\:\left(\mathrm{2}{x}+\mathrm{1}+\mathrm{2}\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}\right)\:+{C} \\ $$
Commented by Ar Brandon last updated on 02/Dec/20
Thanks Sir, I found my mistake.
Commented by Ar Brandon last updated on 02/Dec/20
Lol, OK
Commented by Ar Brandon last updated on 02/Dec/20
By the way. I left a message for you privately. Can you please check ?
Commented by Ar Brandon last updated on 02/Dec/20
I don't think so, bro. Perhaps you're talking about the difference in sign. It's due to the absolute value of "u" I think.
Commented by Ar Brandon last updated on 02/Dec/20
OK. Thanks for your opinion, Sir. I'll check and post my solution.
Commented by Ar Brandon last updated on 02/Dec/20
Sir, I don't understand how you decide on your change of variables everytime. And they sound pretty fast
Commented by MJS_new last updated on 02/Dec/20
$$\mathrm{I}\:\mathrm{hate}\:\mathrm{to}\:\mathrm{deal}\:\mathrm{with}\:\mathrm{sinh}\:\mathrm{and}\:\mathrm{cosh}\:\mathrm{so}\:\mathrm{I}\:\mathrm{usually} \\ $$$$\mathrm{use}\:\mathrm{these}: \\ $$$$\sqrt{{ax}^{\mathrm{2}} \pm{b}}\:\Rightarrow\:{t}=\frac{\sqrt{{a}}{x}+\sqrt{{ax}^{\mathrm{2}} \pm{b}}}{\:\sqrt{{b}}}\:\Leftrightarrow\:{x}=\frac{\sqrt{{b}}\left({t}^{\mathrm{2}} \mp\mathrm{1}\right)}{\mathrm{2}\sqrt{{a}}{t}}\:\rightarrow\:{dx}=\frac{\sqrt{{b}\left({ax}^{\mathrm{2}} \pm{b}\right)}}{{ax}+\sqrt{{a}\left({ax}^{\mathrm{2}} \pm{b}\right)}} \\ $$
Commented by Ar Brandon last updated on 02/Dec/20
Oh, I see !
Commented by Dwaipayan Shikari last updated on 02/Dec/20
$$\left.{One}\:{or}\:{two}\:{more}\:{sir}\::\right) \\ $$
Commented by Dwaipayan Shikari last updated on 02/Dec/20
I have told that sir may share one or more examples regarding this process
Commented by Ar Brandon last updated on 02/Dec/20
No, I meant on telegram. Sorry I didn't precise.
Answered by Ar Brandon last updated on 02/Dec/20
$$\mathcal{I}=\int\frac{\mathrm{2x}^{\mathrm{2}} +\mathrm{5x}+\mathrm{9}}{\left(\mathrm{x}+\mathrm{1}\right)\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}}\mathrm{dx}\: \\ $$$$\frac{\mathrm{2x}^{\mathrm{2}} +\mathrm{5x}+\mathrm{9}}{\mathrm{x}+\mathrm{1}}=\frac{\mathrm{2}\left(\mathrm{x}+\mathrm{1}\right)^{\mathrm{2}} +\left(\mathrm{x}+\mathrm{1}\right)+\mathrm{6}}{\mathrm{x}+\mathrm{1}}=\mathrm{2}\left(\mathrm{x}+\mathrm{1}\right)+\mathrm{1}+\frac{\mathrm{6}}{\mathrm{x}+\mathrm{1}} \\ $$$$\mathcal{I}=\int\left\{\mathrm{2}\left(\mathrm{x}+\mathrm{1}\right)+\mathrm{1}+\frac{\mathrm{6}}{\mathrm{x}+\mathrm{1}}\right\}\centerdot\frac{\mathrm{dx}}{\:\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}} \\ $$$$\:\:\:=\mathrm{2}\int\frac{\mathrm{x}+\mathrm{1}}{\:\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}}\mathrm{dx}+\int\frac{\mathrm{dx}}{\:\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}}+\mathrm{6}\int\frac{\mathrm{dx}}{\left(\mathrm{x}+\mathrm{1}\right)\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}} \\ $$$$\:\:\:=\int\frac{\mathrm{2x}+\mathrm{1}}{\:\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}}\mathrm{dx}+\mathrm{2}\int\frac{\mathrm{dx}}{\:\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}}+\mathrm{6}\int\frac{\mathrm{dx}}{\left(\mathrm{x}+\mathrm{1}\right)\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}} \\ $$$$\:\:\:=\mathrm{2}\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}+\mathrm{2ln}\mid\left(\mathrm{x}+\frac{\mathrm{1}}{\mathrm{2}}\right)+\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}\mid+\mathrm{6}\mathcal{J} \\ $$$$\mathrm{For}\:\mathcal{J}, \\ $$$$\mathrm{Let}\:\frac{\mathrm{1}}{\mathrm{x}+\mathrm{1}}=\mathrm{u}\:\Rightarrow\:−\frac{\mathrm{dx}}{\left(\mathrm{x}+\mathrm{1}\right)^{\mathrm{2}} }=\mathrm{du}\:\Rightarrow\:\mathrm{dx}=−\frac{\mathrm{du}}{\mathrm{u}^{\mathrm{2}} } \\ $$$$\Rightarrow\:\mathrm{x}=\frac{\mathrm{1}}{\mathrm{u}}−\mathrm{1},\:\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}=\frac{\mathrm{1}}{\mathrm{u}^{\mathrm{2}} }−\frac{\mathrm{1}}{\mathrm{u}}+\mathrm{1} \\ $$$$\mathcal{J}=−\int\frac{\mathrm{u}}{\:\sqrt{\frac{\mathrm{1}}{\mathrm{u}^{\mathrm{2}} }−\frac{\mathrm{1}}{\mathrm{u}}+\mathrm{1}}}\centerdot\frac{\mathrm{du}}{\mathrm{u}^{\mathrm{2}} }=−\int\frac{\mathrm{du}}{\:\sqrt{\mathrm{1}−\mathrm{u}+\mathrm{u}^{\mathrm{2}} }} \\ $$$$\:\:\:\:=−\int\frac{\mathrm{du}}{\:\sqrt{\left(\mathrm{u}−\frac{\mathrm{1}}{\mathrm{2}}\right)^{\mathrm{2}} +\left(\frac{\sqrt{\mathrm{3}}}{\mathrm{2}}\right)^{\mathrm{2}} }}=−\mathrm{sinh}^{−\mathrm{1}} \left(\frac{\mathrm{u}−\mathrm{1}/\mathrm{2}}{\:\sqrt{\mathrm{3}}/\mathrm{2}}\right)+\mathrm{C} \\ $$$$\:\:\:\:=−\mathrm{ln}\mid\left(\mathrm{u}−\frac{\mathrm{1}}{\mathrm{2}}\right)+\sqrt{\left(\mathrm{u}−\frac{\mathrm{1}}{\mathrm{2}}\right)^{\mathrm{2}} +\left(\frac{\sqrt{\mathrm{3}}}{\mathrm{2}}\right)^{\mathrm{2}} }\mid+\mathrm{C} \\ $$$$\:\:\:\:=−\mathrm{ln}\mid\left(\frac{\mathrm{1}}{\mathrm{x}+\mathrm{1}}−\frac{\mathrm{1}}{\mathrm{2}}\right)+\sqrt{\frac{\mathrm{1}}{\left(\mathrm{x}+\mathrm{1}\right)^{\mathrm{2}} }−\frac{\mathrm{1}}{\mathrm{x}+\mathrm{1}}+\mathrm{1}}\mid+\mathrm{C} \\ $$$$\:\:\:\:=−\mathrm{ln}\mid\frac{\mathrm{1}−\mathrm{x}+\mathrm{2}\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}}{\mathrm{2}\left(\mathrm{x}+\mathrm{1}\right)}\mid+\mathrm{C} \\ $$$$\Rightarrow\mathcal{I}=\mathrm{2}\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}+\mathrm{2ln}\mid\left(\mathrm{x}+\frac{\mathrm{1}}{\mathrm{2}}\right)+\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}\mid−\mathrm{6ln}\mid\frac{\mathrm{1}−\mathrm{x}+\mathrm{2}\sqrt{\mathrm{x}^{\mathrm{2}} +\mathrm{x}+\mathrm{1}}}{\mathrm{2}\left(\mathrm{x}+\mathrm{1}\right)}\mid+\mathrm{K} \\ $$
Answered by Dwaipayan Shikari last updated on 02/Dec/20
$$=\int\frac{\left(\mathrm{2}{x}+\mathrm{1}\right)}{\:\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}}{dx}\:+\int\frac{\mathrm{2}{x}+\mathrm{8}}{\left({x}+\mathrm{1}\right)\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}}{dx} \\ $$$$=\mathrm{2}\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}\:+\mathrm{2}\int\frac{\mathrm{1}}{\:\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}}+\mathrm{6}\int\frac{\mathrm{1}}{\:\left({x}+\mathrm{1}\right)\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}}{dx}\:\:\:\:\:\:\:\left({x}+\mathrm{1}\right)={t} \\ $$$$=\mathrm{2}\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}\:+\mathrm{2}\int\frac{\mathrm{1}}{\:\sqrt{\left({x}+\frac{\mathrm{1}}{\mathrm{2}}\right)^{\mathrm{2}} +\left(\frac{\sqrt{\mathrm{3}}}{\mathrm{2}}\right)^{\mathrm{2}} }}+\mathrm{6}\int\frac{\mathrm{1}}{{t}\sqrt{{t}^{\mathrm{2}} −{t}+\mathrm{1}}}{dt},\:\:\:{t}=\frac{\mathrm{1}}{{u}} \\ $$$$=\mathrm{2}\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}\:+\mathrm{2}{log}\left({x}+\frac{\mathrm{1}}{\mathrm{2}}+\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}\right)−\mathrm{6}\int\frac{\mathrm{1}}{\:\sqrt{{u}^{\mathrm{2}} −{u}+\mathrm{1}}}{du} \\ $$$$=\mathrm{2}\left(\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}+{log}\left({x}+\frac{\mathrm{1}}{\mathrm{2}}+\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}\right)\right)−\mathrm{6}{log}\left({u}−\frac{\mathrm{1}}{\mathrm{2}}+\sqrt{{u}^{\mathrm{2}} −{u}+\mathrm{1}}\right) \\ $$$$\mathrm{2}\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}+{log}\left({x}+\frac{\mathrm{1}}{\mathrm{2}}+\sqrt{{x}^{\mathrm{2}} +{x}+\mathrm{1}}\right)−\mathrm{6}{log}\left(\frac{\mathrm{1}}{{x}+\mathrm{1}}−\frac{\mathrm{1}}{\mathrm{2}}+\sqrt{\frac{\mathrm{1}}{\left({x}+\mathrm{1}\right)^{\mathrm{2}} }−\frac{\mathrm{1}}{\left({x}+\mathrm{1}\right)}−\mathrm{1}}\right)+{C} \\ $$