0
$\begingroup$

I observe that if I execute in the url of wolfram alpha the integral of the function (3/x^2)Sin(x)Sin(x/3) with the limits between zero and infinity:

integrate (3/x^2)sin(x)sin(x/3) from 0 to inf

I get a correct PI/2 value, but if I do it on my computer with my Mathematica, it does not return anything, as a result shows me the same integral.

Integrate [(3 / x ^ 2) Sin[x] Sin[x / 3], {x, 0, inf}]

Why? Is it because my computer?

Thank you

$\endgroup$

closed as off-topic by Szabolcs, Kuba Aug 25 '17 at 8:23

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Szabolcs, Kuba
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ Syntax error: infinity is represented as Infinity, not inf. $\endgroup$ – Szabolcs Aug 25 '17 at 8:15
1
$\begingroup$

You should use Infinity rather than inf.

Integrate[(3/x^2) Sin[x] Sin[x/3], {x, 0, Infinity}]
 π/2
$\endgroup$
  • $\begingroup$ Thank you very much; I had try with inf and with the symbol; I will try with infinity. $\endgroup$ – Perico Cruel Aug 25 '17 at 8:26

Not the answer you're looking for? Browse other questions tagged or ask your own question.