Integral with trig substitution

mbrmbrg
Messages
486
Reaction score
2
The bit of the problem that I'm working on:
[tex]6\int\frac{dx}{x^2-x+1}[/tex]

My work:
[tex]=6\int\frac{dx}{(x^2-x+\frac{1}{4})+1-\frac{3}{4}}[/tex]
[tex]=6\int\frac{dx}{(x-\frac{1}{2})^2+\sqrt{\frac{3}{4}}^2}[/tex]

let [tex]x-\frac{1}{2}=\sqrt{\frac{3}{4}}\tan\theta[/tex]
so [tex]dx=\sqrt{\frac{3}{4}}\sec^2\theta d\theta[/tex]

[tex]=6\int\frac{\sqrt{\frac{3}{4}}sec^2\theta d\theta}{\frac{3}{4}+\frac{3}{4}tan^2\theta}[/tex]
[tex]=(6)(\frac{\sqrt{3}}{2})(\frac{4}{3})\int\frac{sec^2\theta d\theta}{1+tan^2\theta}[/tex]
[tex]=4\sqrt{3}\int d\theta[/tex]
[tex]=4\sqrt{3}\theta[/tex]

My answer:
[tex]=4\sqrt{3}\arctan{\frac{2x-1}{\sqrt{3}}}[/tex]

An integrator's answer:
[tex]\frac{2}{\sqrt{3}}\arctan{\frac{2x-1}{\sqrt{3}}}[/tex]

I don't think the two answers differ by a constant, but I can't find my error.
 
on Phys.org
Your answer is 6 times greater than the integrator's. I assume you just didn't include the 6 when you put your integrand into the integrator since you can't write stuff before the integral when using that program. Try using the integrator again, bringing the 6 into the numerator of the integrand.
 
:redface:
Thank you.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
Replies
2
Views
2K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
14K
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
Replies
3
Views
3K
  • · Replies 19 ·
Replies
19
Views
4K