Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Simplify Exponential Output

17 views
Skip to first unread message

davef

unread,
Mar 13, 2010, 7:58:48 AM3/13/10
to
4^(0.5x) can be rewritten as 2^x (i.e., 2^[(2)(0.5)(x)]).

How can I get Mathematica to output 4^0.5x as 2^x?

E.g., my input is 4^(.5 x); how do I get output of 2^x?

Nasser M. Abbasi

unread,
Mar 14, 2010, 7:03:05 AM3/14/10
to

"davef" <davidfr...@yahoo.com> wrote in message
news:hng268$s1j$1...@smc.vnet.net...

> 4^(0.5x) can be rewritten as 2^x (i.e., 2^[(2)(0.5)(x)]).
>
> How can I get Mathematica to output 4^0.5x as 2^x?
>
> E.g., my input is 4^(.5 x); how do I get output of 2^x?
>

If you Rationalize[] the value you are multiplying x with first, then you
can use simplify,

In[10]:= a = 0.5;

Simplify[4^(Rationalize[a]*x)]

Out[11]= 2^x

--Nasser

0 new messages