Re: (1234*(2/3)^(Log[1234]/Log[3])) === (1234^(Log[2]/Log[3])) should
- To: mathgroup at smc.vnet.net
- Subject: [mg104132] Re: (1234*(2/3)^(Log[1234]/Log[3])) === (1234^(Log[2]/Log[3])) should
- From: Hannes Kessler <HannesKessler at hushmail.com>
- Date: Tue, 20 Oct 2009 04:53:37 -0400 (EDT)
- References: <hbhha4$1s7$1@smc.vnet.net>
On 19 Okt., 13:07, Luka Rahne <luka.ra... at gmail.com> wrote: > what should be result of this evaluation? > > (1234*(2/3)^(Log[1234]/Log[3])) === (1234^(Log[2]/Log[3])) > > subqestion. > > How to make this work? Here are 3 possibilities: lhs = 1234*(2/3)^(Log[1234]/Log[3]); rhs = 1234^(Log[2]/Log[3]); N[lhs == rhs] Simplify[lhs == rhs] {lhs, rhs} = {lhs, rhs} /. {x : Log[_] :> x, x_?Positive :> E^Log[x]}; lhs === rhs Best regards, Hannes