Integrating \sqrt{x-x^2} using Trig Substitution

  • Thread starter Thread starter autodidude
  • Start date Start date
  • Tags Tags
    Integrate
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 18K views
autodidude
Messages
332
Reaction score
0

Homework Statement


Integrate [tex]\sqrt{x-x^2}[/tex]

The attempt

I did a trig substitution, letting [tex]cos(\theta)=\frac{x}{sqrt(x)}[/tex] and after some manipulation ended up with [tex]-2\int \ |sin(\theta)cos(\theta)|sin(\theta)cos(\theta) d\theta[/tex] which I have no idea how to integrate.

If I make a u-substitution and let u=cos(theta) rather than simplify to get the above, I get [tex]2\int \ u\sqrt{u^2-u^4}du[/tex] which I can't make any progress on either.
 
on Phys.org
autodidude said:
[tex]-2\int \ |sin(\theta)cos(\theta)|sin(\theta)cos(\theta) d\theta[/tex]
The original integral must be over a range in [0, 1]. This means you can restrict theta to [0, pi/2], allowing you to drop the modulus function, leaving sin2cos2. Can you solve it from there?
 
Last edited:
@haruspex: Yeah, I tried that and when I got the incorrect answer, I went back and saw that I overlooked the fact that you need to insert the modulus wheen rooting a square. Will try again in case I made an error though.

@Dick: Thanks, I'll see where I can get with that.
 
Like Dick said. Look at it like this try to reformulate it so you get something like this:

[tex]\int\sqrt{\frac{1}{4}-(x-}\frac{1}{2})^{2}dx[/tex]

and substitute u : [tex]u=x-\frac{1}{2};dx=du[/tex]

and see what you can get.
 
try factorizing out the x... then use a substitution sqrt x = something... simplifies things a lot!