       # Re: Integrate lesson

```
Will Self wrote:
|
|Hi Ted,
|
|expr=Sqrt x - (Sqrt+Sqrt)x^x+Sqrt[5+2Sqrt]x^x; |
|FullSimplify[expr]
|
|My results varied from yours.  There is no way that FullSimplify |is
going to get rid of that x^x.
|

I am using Version 3.0.1.
FullSimplify[expr]  gives me   Sqrt*x. You say there is no way
FullSimplify is going to get rid of that x^x. Well it can be done with
the steps below:

expr=Sqrt x - (Sqrt+Sqrt)x^x+Sqrt[5+2*Sqrt]x^x

Factor (x^x) out of two terms.

expr= Sqrt x + (  -(Sqrt+Sqrt)+Sqrt[5+2*Sqrt]  )x^x;

expr==Sqrt x + (-u+Sqrt[5+2*Sqrt])x^x

expr==Sqrt x + (-Sqrt[u^2]+Sqrt[5+2*Sqrt])x^x

u^2=(Sqrt+Sqrt)^2
u^2=2+2*Sqrt*Sqrt+ 3
u^2=5+2 Sqrt

expr=Sqrt x + ( -Sqrt[5+2 Sqrt] +Sqrt[5+2 Sqrt] )x^x

expr=Sqrt x + (0) x^x

expr=Sqrt x

I will not jump on the band wagon with those who want to complain that
Integrate, DSolve, Solve etc. aren't smart enough.  These people want a
few  commands that can solve any problem.  Solutions would take much
longer if  every expression went through FullSimplify (or other
changes) before trying  to solve the problems.

The better approach is to simplify the expression with Together, Expand,
Factor, TrigExpand, FunctionExpand, ComplexExpand, etc.  WITH human
intelligence.  After all that a user can use Simplify  (or in some
cases use  FullSimplify).

Ted Ersek

```

• Prev by Date: Plotting w/o artifacts at discontinuities
• Next by Date: Saving List to a file
• Prev by thread: Integrate lesson
• Next by thread: Animation to MPEG