Question regarding u-substitution

  • Thread starter Thread starter Potatochip911
  • Start date Start date
Potatochip911
Messages
317
Reaction score
3

Homework Statement


I guess it's actually trig substitution...
To demonstrate I'll use the integral of $$ \int \dfrac{x \cdot \ln(x)}{\sqrt{x^2-1}} \cdot dx$$

Homework Equations


3. The Attempt at a Solution [/B]
$$ x=\sec\theta \\ dx=\sec\theta \cdot \tan\theta \\ \int \dfrac{\sec\theta \cdot \ln\sec\theta \cdot \sec\theta \cdot \tan\theta}{\sqrt{\sec^2\theta-1}} \cdot d\theta$$
$$ \int \sec^2\theta \cdot \ln\sec\theta \cdot d\theta $$
Everything in this equation is in terms of ## \sec\theta ## which is what I said x is equal to earlier. However, if I sub x back in for ##\sec\theta## and do integration by parts I end up getting the wrong answer. In the answer key they do the integration by parts with the ##\theta## variable and when they change back to x get a completely different answer than me.
For reference the answer I got was ## \dfrac{x^3 \cdot lnx}{3} - \dfrac{x^3}{9} + C ## and their answer is ## ln|x| \sqrt{x^2-1} - \sqrt{x^2-1} + arcsec(x)+ C ##
Okay so I think my mistake is that I did not replace ## d\theta ## in terms of ##dx##
 
Last edited:
Physics news on Phys.org
Potatochip911 said:

Homework Statement


I guess it's actually trig substitution...
To demonstrate I'll use the integral of $$ \int \dfrac{x \cdot \ln(x)}{\sqrt{x^2-1}} \cdot dx$$

Homework Equations


3. The Attempt at a Solution [/B]
$$ x=\sec\theta \\ dx=\sec\theta \cdot \tan\theta \\ \int \dfrac{\sec\theta \cdot \ln\sec\theta \cdot \sec\theta \cdot \tan\theta}{\sqrt{\sec^2\theta-1}} \cdot d\theta$$
$$ \int \sec^2\theta \cdot \ln\sec\theta \cdot d\theta $$
Everything in this equation is in terms of ## \sec\theta ## which is what I said x is equal to earlier. However, if I sub x back in for ##\sec\theta## and do integration by parts I end up getting the wrong answer. In the answer key they do the integration by parts with the ##\theta## variable and when they change back to x get a completely different answer than me.
For reference the answer I got was ## \dfrac{x^3 \cdot lnx}{3} - \dfrac{x^3}{9} + C ## and their answer is ## ln|x| \sqrt{x^2-1} - \sqrt{x^2-1} + arcsec(x)+ C ##
Okay so I think my mistake is that I did not replace ## d\theta ## in terms of ##dx##

If you are going to use integration by parts anyway, taking a detour thru the Trig Zone :eek: may not be the ideal approach for this integral.

Have you tried taking the integrand as is and finding a suitable u and dv for IBP?
 
Potatochip911 said:

Homework Statement


I guess it's actually trig substitution...
To demonstrate I'll use the integral of $$ \int \dfrac{x \cdot \ln(x)}{\sqrt{x^2-1}} \cdot dx$$

Homework Equations


3. The Attempt at a Solution [/B]
$$ x=\sec\theta \\ dx=\sec\theta \cdot \tan\theta \\ \int \dfrac{\sec\theta \cdot \ln\sec\theta \cdot \sec\theta \cdot \tan\theta}{\sqrt{\sec^2\theta-1}} \cdot d\theta$$
$$ \int \sec^2\theta \cdot \ln\sec\theta \cdot d\theta $$
Everything in this equation is in terms of ## \sec\theta ## which is what I said x is equal to earlier. However, if I sub x back in for ##\sec\theta## and do integration by parts I end up getting the wrong answer. In the answer key they do the integration by parts with the ##\theta## variable and when they change back to x get a completely different answer than me.
For reference the answer I got was ## \dfrac{x^3 \cdot lnx}{3} - \dfrac{x^3}{9} + C ## and their answer is ## ln|x| \sqrt{x^2-1} - \sqrt{x^2-1} + arcsec(x)+ C ##
Okay so I think my mistake is that I did not replace ## d\theta ## in terms of ##dx##
Yes, forgetting to handle dθ with care would cause a problem.

As you might expect, that will simply change the integral back to its original form.
 
SteamKing said:
If you are going to use integration by parts anyway, taking a detour thru the Trig Zone :eek: may not be the ideal approach for this integral.

Have you tried taking the integrand as is and finding a suitable u and dv for IBP?
Yea although I personally find it easier to integrate after using substitutions to get rid of the roots.
 
Potatochip911 said:
Yea although I personally find it easier to integrate after using substitutions to get rid of the roots.

Looks like there's roots in the book's solution. :rolleyes:

In any event, you should always differentiate what you obtain for the integral (or even what the book says) to check that it returns the original integrand. :wink:
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top