Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5389

Re: simplification

From "Dr. Wolfgang Hintze" <weh@snafu.de>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: simplification
Date 2011-10-05 08:01 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j6h2tn$6ro$1@smc.vnet.net> (permalink)
References <j6e693$kef$1@smc.vnet.net>

Show all headers | View raw


"dimitris" <dimmechan@yahoo.com> schrieb im Newsbeitrag 
news:j6e693$kef$1@smc.vnet.net...
> Hello.
>
> Let
>
> o1 = 1 + Sqrt[15 + 2*Sqrt[35] + 2*Sqrt[6*(6 + Sqrt[35])]];
> o2 = 1 + Sqrt[3] + Sqrt[5] + Sqrt[7];
>
> o1 is equal to o2.
>
> o1 == o2 // FullSimplify
> True
>
> The question is how to make Mathematica to simplify o1 to o2.
>
> Thanks
> Dimitris
>
There are even simpler examples which seem to bring Mathematica to its 
limits very soon.

Consider this sequence
In[95]:=
Simplify[Sqrt[1 + a + 2*Sqrt[a]], {a > 0}]
Out[95]=
1 + Sqrt[a]


In[96]:=
Simplify[Sqrt[a^2 + b + 2*a*Sqrt[b]], {a > 0, b > 0}]
Out[96]=
a + Sqrt[b]


In[97]:=
Simplify[Sqrt[a + b + 2*Sqrt[a*b]], {a > 0, b > 0}]
Out[97]=
Sqrt[a + b + 2*Sqrt[a*b]]

Maybe Mathematica does not like radicals. If we help a little bit, it 
works out fine

In[126]:=
Simplify[Sqrt[a + b + 2*Sqrt[a*b]] /. {a -> u^2, b -> v^2}, {u > 0, v > 
0}] /. {u -> Sqrt[a], v -> Sqrt[b]}
Out[126]=
Sqrt[a] + Sqrt[b]

The example o1 provided can be treated by Factor using the option 
Extension like this ...

In[140]:=
f = Factor[Sqrt[15 + 2*Sqrt[35] + 2*Sqrt[6*(6 + Sqrt[35])]], 
Extension -> {Sqrt[3], Sqrt[5], Sqrt[7]}]
Out[140]=
Root[3481 - 3180*#1^2 + 782*#1^4 - 60*#1^6 + #1^8 & , 8]
In[141]:=
N[%]
Out[141]=
6.613870096133257

... but this seems to lead to nothing useful.

Wolfgang

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

simplification dimitris <dimmechan@yahoo.com> - 2011-10-04 05:40 +0000
  Re: simplification "Dr. Wolfgang Hintze" <weh@snafu.de> - 2011-10-05 08:01 +0000
  Re: simplification Peter Pein <petsie@dordos.net> - 2011-10-05 08:10 +0000
    Re: simplification "Dr. Wolfgang Hintze" <weh@snafu.de> - 2011-10-06 08:42 +0000
  Re:  Re: simplification DrMajorBob <btreat1@austin.rr.com> - 2011-10-06 08:30 +0000
  Re:  Re: simplification Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-10-07 08:54 +0000
  Re:  Re: simplification Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-10-07 09:03 +0000
  Re:  Re: simplification Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-10-07 09:06 +0000
  Re: find two numbers a,b, such that a+b=5432 & LCM[a,b]=223020 Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-10-16 20:47 +0000
  Re: find two numbers a,b, such that a+b=5432 & LCM[a,b]=223020 "Harvey P. Dale" <hpd1@nyu.edu> - 2011-10-17 12:10 +0000
  Re: find two numbers a,b, such that a+b=5432 & LCM[a,b]=223020 Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-10-17 12:12 +0000
  Re: find two numbers a,b, such that a+b=5432 & LCM[a,b]=223020 Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-10-18 11:40 +0000

csiph-web