Ask your own question, for FREE!
Mathematics 13 Online
OpenStudy (anonymous):

Compute integral of discontinuous function

OpenStudy (anonymous):

OpenStudy (dan815):

what is sign mean

hartnn (hartnn):

sign function or signum function http://en.wikipedia.org/wiki/Sign_function

hartnn (hartnn):

so when is x-x^3 positive ? and when it is negative ?

OpenStudy (anonymous):

when x>1 (x-x^3) is negative, if x<-1 (x-x^3) is positive? T^T im confused

hartnn (hartnn):

when x>1 (x-x^3) is negative , correct! how x<-1 ? did u mean x<1 ? if not, when x<1, is x-x^3 positive or negative ?

hartnn (hartnn):

say for example x=1/2 1/2 - 1/8, positive or negative ?

OpenStudy (anonymous):

x<1 the func is 0 right

hartnn (hartnn):

why ?

OpenStudy (anonymous):

oh no sry, wrong haha i mean, positive?

OpenStudy (anonymous):

okay idk why do we need to do that..

hartnn (hartnn):

then yes, this is the way to solve it algebraically. x-x^3 is positive when x-x^3 > 0 x> x^3 1 >x^2 (since the limits indicate x is positive from 0 to 3, we will consider this range only) so, 1 > x so, x>1 function is positive x<1 function is negative

hartnn (hartnn):

did you read the definition of signum function ?

OpenStudy (anonymous):

its something that extracts the sign of the real number? why do u need to extract it?

hartnn (hartnn):

sgn x =1 when x> 0 , that is when x is positive so we need the value of x when your function is positive

hartnn (hartnn):

so sign (x-x^3) = 1 when x-x^3 > 0 that is when x>1 got this ?

OpenStudy (ranga):

^^^ x < 1 ??

OpenStudy (anonymous):

0<x<1 positive 1<x<3 negative

hartnn (hartnn):

yes, sorry for the typo sign (x-x^3) = -1 when x-x^3 < 0 that is when x>1 got this ?

OpenStudy (anonymous):

ah! okay, then so nwo that weve got that x>1 func is positive, x<1 is negative, then

OpenStudy (ranga):

the other way around.

hartnn (hartnn):

we split the integral, from 0 to 1 and 1 to 3

hartnn (hartnn):

careful! :P

hartnn (hartnn):

from 0 to 1, x-x^3 >0 , so sign (x-x^3) = +1

OpenStudy (anonymous):

oh ya, hm ok so,\[\int\limits_{0}^{1}sign(x-x^3)dx+\int\limits_{1}^{3}sign(x-x^3)dx\]

hartnn (hartnn):

from 1 to 3, x-x^3 <0 , so sign (x-x^3) = -1

hartnn (hartnn):

\(\int\limits_{0}^{1}1dx+\int\limits_{1}^{3}(-1)dx\)

OpenStudy (anonymous):

oh, so u gotta follow the sign rule we've come up just now..

OpenStudy (anonymous):

1-2=-1?

hartnn (hartnn):

yes

OpenStudy (anonymous):

You've been my hero for a long time hartnn. Nothing seems to stump you ;)

hartnn (hartnn):

lol, just when you said that, i was thinking, how the hell am i gonna do the 2nd one :P i have no idea about it :O

hartnn (hartnn):

i guess splitting from 0 to 1 and 1 to 2 will work...

OpenStudy (anonymous):

Isn't it just e^x evaluated from 0 to 2? Are those special symbols or something?

OpenStudy (ranga):

We just need to find when e^x is 1 and 2 first

hartnn (hartnn):

yeah, that |_ ... _| means the floor function

OpenStudy (anonymous):

oh man... darn little symbols

hartnn (hartnn):

yes, what ranga said when is e^x = 1 when is e^x = 2 ?

OpenStudy (anonymous):

hm, e^x=1 when x=0?

OpenStudy (anonymous):

e^x=2 when x=ln2? haha idk

OpenStudy (ranga):

e^x = 2 when x = ln(2) e^x = 3 when x = ln(3) ....

OpenStudy (anonymous):

yeah, from 0 to ln2

hartnn (hartnn):

http://www.wolframalpha.com/input/?i=y%3D+e%5Ex+from+x%3D0+to+x%3D2 you know about floor functions ?

OpenStudy (anonymous):

now that you said it... rings a bell

OpenStudy (anonymous):

yup, its the awkward kind of function like staircase haha

OpenStudy (anonymous):

oh my, this doesn't hit 2 until between ln7 and ln8... does that mean multiple integrals?

hartnn (hartnn):

yes

OpenStudy (anonymous):

wait wanna vomit blood.. lol!

OpenStudy (anonymous):

lol

hartnn (hartnn):

so we split the range 0 to 2 into many sub-intervals, like from 0(which is ln 1) to ln 2, then floor(e^x)= ... ? from ln 2 to ln 3 , floor(e^x) =... ? ..... from ln 7 to 2, floor (e^x) = ... ?

OpenStudy (anonymous):

yeah... I like it

OpenStudy (anonymous):

well "like" is subjective

OpenStudy (anonymous):

haha kidding :p okay 1st one e^x=1, ln2 to ln 3 e^x=2......., 3, 4, 5, 6 ,7?

hartnn (hartnn):

correct! just plug in values!

OpenStudy (anonymous):

okay i think i got it then! thanks! :D

hartnn (hartnn):

the 3rd one too ?

OpenStudy (anonymous):

3rd one is same as the 1st one right? i mean also got the sign

hartnn (hartnn):

yes, same 'type'

hartnn (hartnn):

just need to find when cos x is positive and negative in the range 0 to pi and then split the intrgral...

OpenStudy (anonymous):

at x=pi func is negative, at x=0 func is positive

hartnn (hartnn):

we'll need "interval"

OpenStudy (ranga):

cos(x) is positive for 0 < x < pi/2 cos(x) is negative for pi/2 < x < pi

hartnn (hartnn):

from 0 to which value is cos x positive ?

hartnn (hartnn):

yes, that

hartnn (hartnn):

so you'll split your integral from 0 to pi/2 and pi/2 to pi

OpenStudy (anonymous):

i see, okay, if thats the case, \[\int\limits_{0}^{\frac{ \pi }{ 2 }}x(1)dx+\int\limits_{-\frac{ \pi }{ 2 }}^{\pi}x(-1)d\]

OpenStudy (anonymous):

*dx

OpenStudy (ranga):

lower limit on second integral should be +pi/2

OpenStudy (anonymous):

oh ya, omg

hartnn (hartnn):

everything else was correct

OpenStudy (anonymous):

okay great! thanks alot guys!! i appreciate! :D

hartnn (hartnn):

thank you too for asking good questions! :)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!