How do you use substitution to solve integrals involving x, u, and n?

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 3K views
whkoh
Messages
29
Reaction score
0
Qn.

By using a suitable substituition, find
[tex]\int{\frac{1}{x\sqrt{1+x^n}}dx}[/tex]

I haven't encountered this specific type of question before, so I went to use the obvious substitution
[tex]u^2=1+x^n[/tex], getting:

[tex]2u=n x^{n-1} \frac{dx}{du}\Leftrightarrow \frac{dx}{du}=\frac{2u}{n} x^{1-n}[/tex]

Hence
[tex]\int{\frac{1}{x\sqrt{1+x^n}}dx}[/tex]
[tex]=\int{\frac{2u}{n x^{1-n+1} \sqrt{u^2}}du[/tex]
[tex]=\int{\frac{2ux^n}{nu}}du[/tex]
[tex]=\int{\frac{2x^n}{n}}du[/tex]
[tex]=\frac{2}{n}\int{x^n}du[/tex]
[tex]=\frac{2}{n}\int{u^2-1}du[/tex]
[tex]=\frac{2}{n}\left(\frac{1}{3}u^3 - u\right)+c[/tex]
[tex]=\frac{2}{n}\left[\frac{1}{3}\left(1+x^n\right)^{\frac{3}{2}}-\sqrt{1+x^n}\right] +c[/tex]

Is it correct?
 
Physics news on Phys.org
[tex]=\int{\frac{2u}{n x^{1-n+1} \sqrt{u^2}}du[/tex]

This is the first error I found.

x^(1-n) would be correct if it were in the numerator.
 
I've always found it a bad idea to 'mix' your variables while integrating (the original with the substitution). I think it's better to find expressions for your x's in function of the new variable and then replace all at once.

Letting [itex]u^2 = 1 + x^n[/itex], we have that:

[tex] x^n = u^2 - 1 \Leftrightarrow x = \left( {u^2 - 1} \right)^{1/n} \Leftrightarrow dx = \frac{{2u}}{n}\left( {u^2 - 1} \right)^{\left( {1 - n} \right)/n} du[/tex]

Then substituting

[tex] \int {\frac{1}{{x\sqrt {1 + x^n } }}dx} \to \int {\frac{{2u}}{n}\frac{{\left( {u^2 - 1} \right)^{\left( {1 - n} \right)/n} }}{{\left( {u^2 - 1} \right)^{1/n} u}}du} = \frac{2}{n}\int {\frac{1}{{u^2 - 1}}du} [/tex]

As you can see, this simplifies nicely to a classical integral.

I'll leave integration and substituting back for you :smile: