Integral: sqrt(4-x^2)*sign(x-1) dx

  • Context: Undergrad 
  • Thread starter Thread starter Alexx1
  • Start date Start date
  • Tags Tags
    Dx Integral
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
9 replies · 8K views
Alexx1
Messages
86
Reaction score
0
Integral: sqrt(4-x^2)*sign(x-1) dx

Can someone help me with this integral?
I've never worked with a sign funtion before, so I have absolutely no idea how to solve this integral
 
Physics news on Phys.org
I would be inclined to do this as two separate integrals.

If [itex]x\ge 1[/itex], [itex]x-1\ge 0[/itex] so sng(x-1)= 1 and your integral is [itex]\int \sqrt{4-x^2}dx[/itex].

If x< 1, x-1< 0 so sgn(x-1)= -1 and your integral is [itex]-\int\sqrt{4- x^2}dx[/itex].
 
Last edited by a moderator:
HallsofIvy said:
I would be inclined to do this as two separte integrals.

If [itex]x\ge 1[/itex], [itex]x-1\ge 0[/itex] so sng(x-1)= 1 and your integral is [itex]\int \sqrt{4-x^2}dx[/itex].

If x< 1, x-1< 0 so sgn(x-1)= -1 and your integral is [itex]-\int\sqrt{4- x^2}dx[/itex].

Thanks, but how do you solve [itex]\int \sqrt{4-x^2}dx[/itex]
I've tried with: x= 2sin(t) ==> dx= 2cos(t)dt and sin(t)= x/2 ==> t= arcsin(x/2)

But then I get: 2 arcsin(x/2) + sin(2(arcsin(x/2)))
And that's wrong: the first part is correct, but the second part isn't.
What have I done wrong?
 
[tex]\int \sqrt{4-x^2}dx[/tex]

Now, using your substitutions...

[itex]x=2sint[/itex]
[itex]dx=2costdt[/itex]

[tex]\int \sqrt{4-(2sint)^2}.(2costdt)[/tex]

Simplifying this would give you:

[tex]4\int cos^2tdt[/tex]

Did you get this? Now, you'll need to use a double-angle equality for the trigo to take the integral of this.
 
Mentallic said:
[tex]\int \sqrt{4-x^2}dx[/tex]

Now, using your substitutions...

[itex]x=2sint[/itex]
[itex]dx=2costdt[/itex]

[tex]\int \sqrt{4-(2sint)^2}.(2costdt)[/tex]

Simplifying this would give you:

[tex]4\int cos^2tdt[/tex]

Did you get this? Now, you'll need to use a double-angle equality for the trigo to take the integral of this.

I solved it till there..
but what I did then was wrong

This is what I did:

[tex]4\int cos^2tdt[/tex]

= 4((t/2)+(sin(2t)/4))
= 2t + sin (2t)

Because t= arcsin(x/2) you get:

2(arcsin(x/2)) + sin(2arcsin(x/2))

The first part is correct, the second isn't..
What have I done wrong?
 
Mentallic said:
[tex]\int \sqrt{4-x^2}dx[/tex]

Now, using your substitutions...

[itex]x=2sint[/itex]
[itex]dx=2costdt[/itex]

[tex]\int \sqrt{4-(2sint)^2}.(2costdt)[/tex]

Simplifying this would give you:

[tex]4\int cos^2tdt[/tex]

Did you get this? Now, you'll need to use a double-angle equality for the trigo to take the integral of this.

I solved it till there..
but what I did then was wrong

This is what I did:

[tex]4\int cos^2tdt[/tex]

= 4((t/2)+(sin(2t)/4))
= 2t + sin (2t)

Because t= arcsin(x/2) you get:

2(arcsin(x/2)) + sin(2arcsin(x/2))

The first part is correct, the second isn't..
What have I done wrong?
 
Alexx1 said:
Because t= arcsin(x/2) you get:

2(arcsin(x/2)) + sin(2arcsin(x/2))

The first part is correct, the second isn't..
What have I done wrong?

Not wrong, just not fully simplified. Often when you have a trig of inverse-trig you can simplify it to an algebraic expression. In this case start out be using :

[tex]\sin(2 \theta) = 2 \sin(\theta) \, \cos(\theta)[/tex]

and see if you can simplify it from there.

BTW. Since you know it's "wrong" then I assume that you have the correct answer at hand and you know that this second part should simplify to :

[tex]\frac{x}{2} \, \sqrt{4-x^2}[/tex]

It does. :)
 
uart said:
Not wrong, just not fully simplified. Often when you have a trig of inverse-trig you can simplify it to an algebraic expression. In this case start out be using :

[tex]\sin(2 \theta) = 2 \sin(\theta) \, \cos(\theta)[/tex]

and see if you can simplify it from there.

BTW. Since you know it's "wrong" then I assume that you have the correct answer at hand and you know that this second part should simplify to :

[tex]\frac{x}{2} \, \sqrt{4-x^2}[/tex]

It does. :)

Thank you very much!
But.. when I do this (t= arcsin(x/2)) I get:

sin(2t)
= 2 sin(t) cos (t)
= 2 sin(arcsin(x/2)) cos(arcsin(x/2)
= 2 (x/2) (sqrt(1-(x/2)))

Do I have to bring the 2 into the sqrt to get sqrt(4-x^2)?
 
Alexx1 said:
Thank you very much!
But.. when I do this (t= arcsin(x/2)) I get:

sin(2t)
= 2 sin(t) cos (t)
= 2 sin(arcsin(x/2)) cos(arcsin(x/2)
= 2 (x/2) (sqrt(1-(x/2)))

Do I have to bring the 2 into the sqrt to get sqrt(4-x^2)?
You are missing the square in [itex]2(x/2)\sqrt{1- (x/2)^2}[/itex].
You don't have to but putting that 2 inside the square root will give you the form of the answer above:
[tex](x/2)\sqrt{4(1- x^2/4)}= (x/2)\sqrt{4- x^2}[/tex]
 
HallsofIvy said:
You are missing the square in [itex]2(x/2)\sqrt{1- (x/2)^2}[/itex].
You don't have to but putting that 2 inside the square root will give you the form of the answer above:
[tex](x/2)\sqrt{4(1- x^2/4)}= (x/2)\sqrt{4- x^2}[/tex]

Thank you!