How to Correctly Integrate \( \sqrt{1-x^2} \)?

  • Thread starter Thread starter Sink41
  • Start date Start date
  • Tags Tags
    Intergration
Sink41
Messages
21
Reaction score
0
EDIT: my tex is a little broken trying to fix

So i want to intergrate

<br /> \int (1 - x^2)^\frac{1}{2} dx<br />

i start off by saying

\sin u = x

so

<br /> \frac {dx} {du} = \cos u<br />

then

<br /> \int (1 - x^2)^\frac{1}{2} \cos u du<br />

which is

<br /> \int \cos^2 u du<br />

and

<br /> \cos2u = 2cos^2 u - 1<br />

so therefore

<br /> \frac {1} {2} \cos2u + \frac {1} {2}= cos^2 u<br />

so you intergrate

<br /> \int \frac {1} {2} \cos 2u + \frac {1} {2} du<br />

which is

<br /> \frac {1} {4} \sin 2u + \frac {u} {2}<br />

and

<br /> \sin 2u = 2\sin u \cos u = 2\sin u(1 - sin^2 u)^\frac {1} {2}<br />

putting x into u gets

<br /> \frac {x} {2} (1 - x^2)^\frac {1} {2} + \frac {\sin^-1 x} {2}<br />

which I am pretty sure is wrong. So can someone show me how to intergrate (1-(X^2))^0.5 ? i think that using x = sinu is wrong but u = sinx doesn't get me far either. Probably something simple I've overlooked.
 
Last edited:
Physics news on Phys.org
Absolute Values...
 
thats correct
 
arildno said:
Absolute Values...
Is that a subtle hint to stick the natural log function in there? because if you say

<br /> u = 1 - x^2<br />

then

<br /> \int \frac{u^\frac{1}{2}}{(4 - 4u)^\frac{1}{2}} du<br />

which looks sort of f'(x)/f(x) ish... ok tbh i have no clue why you said absolute value except it means always positive and is often in log when intergrating for some reason?
 
\sqrt{x^{2}}=?
 
EDIT: tex is a work in progress... again :\

arildno said:
\sqrt{x^{2}}=?
I'm guessing due to the fact -x and x give the same answer

\sqrt{x^{2}}=|x|

So

(1-(X^2))^\frac {1}{2} = (1-(|x| ^2))^\frac {1}{2}

and answer is

<br /> \frac {x} {2} (1 - |x| ^2)^\frac {1} {2} + \frac {\cosec x} {2}<br />


I'm worried about the fact trig has appeared in the intergral because f(x) didnt have any? And differential of cosec x is -cosecx cotx ?
 
Last edited:
No..according to your (correct guess we must have:
(\cos^{2}(u))^{\frac{1}{2}}=|\cos(u)|
agreed?
 
arildno said:
No..according to your (correct guess we must have:
(\cos^{2}(u))^{\frac{1}{2}}=|\cos(u)|
agreed?
OK... so when i change cosu to sinu... since i have

(\cos^{2}(u))^{\frac{1}{2}}=(1 - \sin^{2}(u))^{\frac{1}{2}}

then i get

(|1 - sin{2}(u)|)^\frac{1}{2} out of it?
so the answer is

<br /> \frac {x} {2} (|1 - x^{2}|)^\frac {1} {2} + \frac {\sin^{-1}(x)} {2}<br />
 
Last edited:
I don't get what you're asking about; I have shown you that your flaw lies in your expression 5 in your original post.
 
  • #10
arildno said:
I don't get what you're asking about; I have shown you that your flaw lies in your expression 5 in your original post.

instead of <br /> \int \cos^2 u du<br />

i should have

<br /> \int \cos(u) | \cos(u) | du<br />

?
 
  • #11
That is correct!
 
  • #12
Ok so how do i intergrate

<br /> \int \cos(u) | \cos(u) | du<br />

?

btw i found a trial of a program called "Derive 6" on a demo disk i got from a maths course. It intergrated

<br /> \int (1 - x^2)^\frac{1}{2} dx<br />

like this (click on thumbnail for bigger picture):

http://img218.imageshack.us/img218/6961/intergration1hl2.th.png

Using that method can you avoid absolute values? I tried putting

<br /> \int \cos(u) | \cos(u) | du<br />

into it and it didnt like it much. Got stuck if you tried to get it to do it step by step. This is what it got if you went straight to the answer.

http://img213.imageshack.us/img213/4346/intergration2xv0.th.png




I don't think it likes or uses absolute values much. When i told it to intergrate tanx it didnt use absolute values in the answer unlike my textbook. So I'm hoping intergrating |cosx| isn't hard or complicated and the programs messing up?
 
Last edited by a moderator:
  • #13
Well, the maximal domain of your x-integrand is -1 to 1.
Divide your u-interval into those regions where the cosine is negative, and those where it is positive.
You lose no generality by assumin 0\leq{u}\leq{\pi}
 
Back
Top