Integral of Sinx with absolute value

14.9k Views Asked by At

Which one is correct?

in Microsoft Mathematics :

enter image description here

in Wolfram Alpha :

enter image description here

and what does $\mathrm{sgn} (\sin x)$ mean ?

Finally, what is the answer to this integral?

1

There are 1 best solutions below

0
On

Both are correct.

In the first case, the integrand was $\sin X$ (note the uppercase) which is independent of $x$. In the second case, the integrand was $\sin x$ which is a function of $x$.

$\operatorname{sgn}(x)$ is the sign function: $$ \operatorname{sgn}(x) = \begin{cases} \begin{align} 1 &: x > 0, \\ 0 &: x = 0,\\ -1 &: x < 0. \end{align} \end{cases} $$