Virtual Book >

Mathematical Notation in Notebooks

If you use the notebook front end for Mathematica, then you can enter some of the operations discussed here in special ways.
Sum[f,{i,imin,imax}]sum
Product[f,{i,imin,imax}]product
Integrate[f,x]indefinite integral
Integrate[f,{x,xmin,xmax}]definite integral
D[f,x]partial derivative
D[f,x,y]multivariate partial derivative

Special and ordinary ways to enter mathematical operations in notebooks.

This one of the standard palettes for entering mathematical operations. When you click a button in the palette, the form shown in the button is inserted into your notebook, with the black square replaced by whatever you had selected in the notebook.
Esc sum Escsummation sign
Esc prod Escproduct sign
Esc int Escintegral sign
Esc dd Escspecial differential for use in integrals
Esc pd Escpartial derivative
Ctrl+_ or Ctrl+-move to the subscript position or lower limit of an integral
Ctrl+^ or Ctrl+6move to the superscript position or upper limit of an integral
Ctrl++ or Ctrl+=move to the underscript position or lower limit of a sum or product
Ctrl+& or Ctrl+7move to the overscript position or upper limit of a sum or product
Ctrl+% or Ctrl+5switch between upper and lower positions
Ctrl+Spacereturn from upper or lower positions

Ways to enter special notations on a standard English-language keyboard.

You can enter an integral like this. Be sure to use the special differential entered as Esc dd Esc, not just an ordinary .
In[1]:=
Click for copyable input
Out[1]=
Here is the actual key sequence you type to get the input.
In[2]:=
Click for copyable input
Out[2]=
When entering a sum, product or integral that has limits, you can create the first limit using the standard control sequences for subscripts, superscripts, underscripts, or overscripts. However, you must use Ctrl+% to create the second limit.
You can enter a sum like this.
In[3]:=
Click for copyable input
Out[3]=
Here is the actual key sequence you type to get the input.
In[4]:=
Click for copyable input
Out[4]=
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF