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

integral (x + |x|) dx

OpenStudy (anonymous):

well you have two functions here, one for \(x>0\) and one for \(x<0\)

OpenStudy (anonymous):

\(x>0\implies |x|=x\) so you have \[\int(2x)dx\] whereas \(x<0\implies |x|=-x\) so you have \[\int 0dx\]

OpenStudy (anonymous):

First, let us define a function sign(x) such that: sign(x) = 1 if x > 0, -1 if < 0 and 0 if x = 0. Then let us integrate as two separate x. We get: \[ \frac{1}{2}x^2 + sign(x)\frac{1}{2}x^2 + C\]Because if x <= 0, we get C. If x > 0, we get the integral of 2x, which is x^2.

OpenStudy (anonymous):

And @satellite73 's way works fine too :-)

OpenStudy (anonymous):

so your "anti derviatve" is a piecewise function, \[f(x) = \left\{\begin{array}{rcc} x^2& \text{if} & x \>0 \\ 0& \text{if} & x < 0 \end{array} \right. \] although bmp answer is more elegant

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!