Re: Only real solutions for a=a^0.7*b
- To: mathgroup at smc.vnet.net
- Subject: [mg119727] Re: Only real solutions for a=a^0.7*b
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Sun, 19 Jun 2011 07:24:37 -0400 (EDT)
On 6/18/11 at 7:56 PM, niels.gierse at googlemail.com
(niels.gierse at gmail.com) wrote:
>Is there a way to make Mathematica only report the real solution for
>eq = a == a^0.7*b
>Solve[eq, a]
>reports: {{a -> 0.}, {a -> (-0.5 - 0.866025 I) b^(
>10/3)}, {a -> (-0.5 + 0.866025 I) b^(10/3)}, {a -> 1. b^(10/3)}}
Use the third optional argument for Solve to specify the domain, i.e.,
Solve[eq,a,Reals]