Mastering Integrals: A Cute Factoring Trick

  • Thread starter Thread starter ToxicBug
  • Start date Start date
  • Tags Tags
    Integration
AI Thread Summary
The integral \(\int\sqrt{x-x^2}dx\) can be evaluated using a substitution \(u = x - \frac{1}{2}\), transforming it into \(\int\sqrt{\frac{1}{4} - u^2}du\). This approach leads to a solution involving trigonometric functions and the arcsine function. Some users expressed frustration with Mathematica's output, suggesting that it can provide incorrect answers. An alternative method discussed includes completing the square, which also facilitates the substitution and subsequent evaluation. The conversation highlights the importance of proper substitution techniques in solving integrals effectively.
ToxicBug
Messages
84
Reaction score
0
Could anyone evaluate this integral for me? I got it in an exam and didn't know how to do it.

\int\sqrt{x-x^2}
 
Last edited:
Physics news on Phys.org
let u = x-1/2 and do the substitude,...
 
What do you mean? Can you evaluate it completely showing the steps?
 
Ok, Mathematica was definitely wrong. There's going to be a trig substitution in this integral somewhere.
 
Last edited by a moderator:
Mathematica is **** and I'm sure that's not a right answer.
 
What do you mean? Can you evaluate it completely showing the steps?
what do I mean? I thought I make it very clear already!
\int\sqrt{x-x^2}dx=\int\sqrt{x(1-x)}dx

let u=x-\frac{1}{2}

It become:

\int\sqrt{(\frac{1}{2}-u)(\frac{1}{2}+u)}du

=\int\sqrt{\frac{1}{4}-u^2 }du

=\frac{u}{4}\sqrt{1-4u^2}+\frac{1}{8}sin^{-1}(2u)+C

=\frac{x-1/2}{4}\sqrt{1-4(x-1/2)^2}+\frac{1}{8}sin^{-1}(2x-1)+C
 
Sick, thanks.
 
And one more thing:"Mathematica" is ALWAYS RIGHT...

Daniel.
 
Cute factoring.

What I would have done is "complete the square": x- x2= 1/4-1/4+ x-x2= 1/4-(x-1/2)2 which would have led me to the u= x- 1/2 substitution. Once I had it in the form \sqrt{\frac{1}{4}- u^2} I would use a trig substitution.
 
Back
Top