I know that the expressions Series[Exp[x],{x,0,2}] and Exp[x]+O[x]^3are equivalent in Mathematica. I was wondering if a similar syntax applies for Limit or any other function? Where can I look for or read about such "shortcuts"?

  • $\begingroup$ Technically, they are not equivalent. They just happen to lead to the same result in the cases you have tried. For example, Series[Exp[1/x] BesselK[1, 1/x], {x, 0, 2}] and Exp[1/x] BesselK[1, 1/x] + O[x]^3 do not agree. $\endgroup$ – QuantumDot Feb 23 at 18:33

You can enter 5 10^6 as 5*^6 and save two characters, although I don't think that's really worthwhile or improves readability.

Limit can be entered as Esc lim Escwith the limit in an underscript. Not sure whether you would consider that a shortcut.

| improve this answer | |
  • $\begingroup$ Hey Sjoerd! Good to see you post again. :-) $\endgroup$ – Mr.Wizard Mar 9 at 11:23
  • $\begingroup$ Hey Mr.W! I'll drop by occasionally, but after 15 years of Mathematica forums it's difficult to stay interested all the time. $\endgroup$ – Sjoerd C. de Vries Mar 11 at 17:19
  • $\begingroup$ I understand and sympathize. Thanks for saying hello. $\endgroup$ – Mr.Wizard Mar 11 at 17:24

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