1. ## Trig Substitution

What did I do wrong?

$\displaystyle \int{\frac{dx}{x\sqrt{x^2+3}}}$

$\displaystyle \sin{\Theta}=\frac{\sqrt{3}}{\sqrt{x^2+3}}$

$\displaystyle \cos{\Theta}=\frac{x}{\sqrt{x^2+3}}$

$\displaystyle \tan{\Theta}=\frac{\sqrt{3}}{x}$

$\displaystyle =\int{\frac{1}{\frac{\sqrt{3}}{\tan{\Theta}}*\frac {x}{\cos{\Theta}}}*\frac{x^2*\sec^2{\Theta}}{-\sqrt{3}}d\Theta}$

$\displaystyle =\int{\frac{\tan{\Theta}}{\sqrt{3}}*\frac{\cos{\Th eta}}{x}*\frac{x^2*\sec^2{\Theta}}{-\sqrt{3}}d\Theta}$

$\displaystyle =\int{\frac{\tan{\Theta}*\cos{\Theta}*x*\sec^2{\Th eta}}{-3}d\Theta}$

$\displaystyle =\frac{-1}{3}\int{\tan{\Theta}*{\sec{\Theta}{d\Theta}}}$

The correct answer is $\displaystyle \frac{1}{\sqrt{3}}\int{\csc{\Theta}d\Theta}$

2. Originally Posted by Mike9182
What did I do wrong?

$\displaystyle \int{\frac{dx}{x\sqrt{x^2+3}}}$

$\displaystyle \sin{\Theta}=\frac{\sqrt{3}}{\sqrt{x^2+3}}$

$\displaystyle \cos{\Theta}=\frac{x}{\sqrt{x^2+3}}$

$\displaystyle \tan{\Theta}=\frac{\sqrt{3}}{x}$

$\displaystyle =\int{\frac{1}{\frac{\sqrt{3}}{\tan{\Theta}}*\frac {x}{\cos{\Theta}}}*\frac{x^2*\sec^2{\Theta}}{-\sqrt{3}}d\Theta}$

$\displaystyle =\int{\frac{\tan{\Theta}}{\sqrt{3}}*\frac{\cos{\Th eta}}{x}*\frac{x^2*\sec^2{\Theta}}{-\sqrt{3}}d\Theta}$

$\displaystyle =\int{\frac{\tan{\Theta}*\cos{\Theta}*x*\sec^2{\Th eta}}{-3}d\Theta}$

$\displaystyle =\frac{-1}{3}\int{\tan{\Theta}*{\sec{\Theta}{d\Theta}}}$

The correct answer is $\displaystyle \frac{1}{\sqrt{3}}\int{\csc{\Theta}d\Theta}$
i don't know what you're doing. whatever it is, it is not trig sub.

the correct way is as follows:

$\displaystyle x = \sqrt 3 \tan \theta$

$\displaystyle \Rightarrow dx = \sqrt 3 \sec^2 \theta ~d \theta$

$\displaystyle \int \frac {\sqrt 3 \sec^2 \theta ~d \theta}{\sqrt 3 \tan \theta \cdot \sqrt 3 \sec \theta}$

$\displaystyle = \frac 1{\sqrt 3} \int \csc \theta ~d \theta$

3. I set up a triangle and put the three main trig functions I found in my post, I just didn't place the triangle itself in my post because I wasn't sure how to do so using the latex editor.

4. Originally Posted by Jhevon
$\displaystyle = \frac 1{\sqrt 3} \int \csc \theta ~d \theta$
That's why I don't prefer the trig. substitution much, since people doesn't spot a quickly way in order to compute this integral, it's tricky.

So I stay away when they post and say "trig. sub.," since there're other ways to tackle a certain integral.

5. Originally Posted by Mike9182
I set up a triangle and put the three main trig functions I found in my post, I just didn't place the triangle itself in my post because I wasn't sure how to do so using the latex editor.
you set up the triangle after you see what equation you should use. you should have seen that $\displaystyle x = \sqrt 3 \tan \theta$ and set up the triangle based on that. then you wouldn't have this $\displaystyle \tan \theta = \frac {\sqrt 3}x$ business. be sure to review trig sub so you know what equation to start with and hence how to set up the right triangle (no pun intended, well, maybe a little )

Originally Posted by Krizalid
That's why I don't prefer the trig. substitution much, since people doesn't spot a quickly way in order to compute this integral, it's tricky.

So I stay away when they post and say "trig. sub.," since there're other ways to tackle a certain integral.
Haha, i know. i hate trig sub as well. This is what i thought of when i first saw the integral (then i sighed, grit my teeth and did what the OP asked for)

$\displaystyle \int \frac {dx}{x \sqrt {x^2 + 3}} = \int \frac {x~dx}{x^2 \sqrt {x^2 + 3}}$

Let $\displaystyle u^2 = x^2 + 3$ and the integral becomes

$\displaystyle \int \frac {du}{u(u^2 - 3)} = \frac 13 \int \left( \frac u{u^2 - 3} - \frac 1u \right)~du$

is there an easier way?

6. Originally Posted by Mike9182

$\displaystyle \int{\frac{dx}{x\sqrt{x^2+3}}}$
I set up the triangle so that the hypotenuse was $\displaystyle \sqrt{x^2+3}$, the adjacent angle to theta was $\displaystyle x$, and the opposite angle to theta was $\displaystyle \sqrt{3}$. I'm guessing that when the triangle is set up the constant should be placed adjacent to theta when possible in order to make the process of working the problem out easier. Is this correct?

7. Originally Posted by Mike9182
I set up the triangle so that the hypotenuse was $\displaystyle \sqrt{x^2+3}$, the adjacent angle to theta was $\displaystyle x$, and the opposite angle to theta was $\displaystyle \sqrt{3}$. I'm guessing that when the triangle is set up the constant should be placed adjacent to theta when possible in order to make the process of working the problem out easier. Is this correct?
no, you don't decide where the things go. your equation does.

you had the expression $\displaystyle x^2 + 3 = x^2 + (\sqrt 3)^2$

this is of the form $\displaystyle x^2 + a^2$. the proper trig sub is $\displaystyle x = a \tan \theta$

So that is $\displaystyle x = \sqrt 3 \tan \theta$ here.

This means that $\displaystyle \tan \theta = \frac x{\sqrt 3} = \frac {\text{opposite}}{\text{adjacent}}$ which means that:

Your acute angle is $\displaystyle \theta$
The opposite side is $\displaystyle x$
The adjacent side is $\displaystyle \sqrt 3$ and
The hypotenuse is $\displaystyle \sqrt {x^2 + 3}$

The radical expression is not always the hypotenuse, our expression $\displaystyle x^2 + a^2$ dictated where we put stuff