MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Integrate lesson




User beware.  If you want to use Integrate, DSolve, Solve, etc. on 
complicated expressions
you should ensure the expressions are simplified.  Consider the
contrived  case of Integrate below.  Integrate makes no progress if the
expression  isn't simplified.  However, (expr) can be simplified to
(Sqrt[2] x) so the  integral is just ( x^2/Sqrt[2] ).

First I selected:
 - Cell
     - Default Output Format Type
           - InputForm
__________________________

In[1]:=
expr=Sqrt[2] x - (Sqrt[2]+Sqrt[3])x^x+Sqrt[5+2Sqrt[6]]x^x;


In[2]:=
Integrate[expr,x]

Out[2]=
Integrate[Sqrt[2] x - (Sqrt[2] + Sqrt[3])*x^x +
   Sqrt[5 + 2*Sqrt[6]]*x^x, x]


In[3]:=
FullSimplify[expr]

Out[3]=
Sqrt[2] x


Ted Ersek




  • Prev by Date: Did I have mathlink installed?
  • Next by Date: Animation to MPEG
  • Prev by thread: Did I have mathlink installed?
  • Next by thread: Re: Integrate lesson