Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I need to calculate double integral as shown below. I used the Classroom Assistant palette to write the integral. How can I enter it as ordinary text, i.e., Integrate[....], so Mathematica would treat it exactly the same as the form entered by means of the palette? How would I formulate it for submission to Wolfram Alpha?

enter image description here

share|improve this question

closed as off-topic by Jens, ciao, Michael E2, RunnyKine, Mr.Wizard May 3 '14 at 6:10

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." – Jens, ciao, Michael E2, RunnyKine, Mr.Wizard
If this question can be reworded to fit the rules in the help center, please edit the question.

There were many similar questions. Take a look here Symbolic Definite Integration which fairly appears to be a duplicate. –  Artes May 2 '14 at 17:58
The image appears to have an elementary syntax error, it should be Sin[x+y], rather than Sin(x+y). –  DumpsterDoofus May 2 '14 at 19:52

1 Answer 1

up vote 2 down vote accepted

Before we look at how to generate the textual form, let's correct a syntax error in your code; function application in Mathematica is indicated by square brackets, so Sin(x + y) in your integral must replaced Sin[x + y]. With this change your integral evaluates correctly:


We verify that the above is correct by taking the derivative with respect to $dx\,dy$.

D[-Sin[x + y], y, x]
Sin[x + y]

Now let's attend to converting the integral expression into a form that doesn't use special symbols. Best to make a copy of input cell when doing this (at least for your first time).

  1. Select the cell bracket at the right of the copied cell.
  2. Go to the Cell menu.
  3. Select Convert to from that menu.
  4. Click on Input Form on the pop-up sub-menu.

You should get

Integrate[Sin[x + y], y, x]

As for your question about Wolfram|Alpha: we don't take questions concerning Wolfram|Alpha on this site.

share|improve this answer

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