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:
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:
 

Similar threads

Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
28
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K