Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11716 > unrolled thread
| Started by | Sergio Sergio <zerge69@gmail.com> |
|---|---|
| First post | 2012-09-12 07:04 +0000 |
| Last post | 2012-09-13 07:43 +0000 |
| Articles | 4 — 4 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Are some equations unsolvable? Sergio Sergio <zerge69@gmail.com> - 2012-09-12 07:04 +0000
Re: Are some equations unsolvable? "Kevin J. McCann" <kjm@KevinMcCann.com> - 2012-09-13 07:42 +0000
Re: Are some equations unsolvable? "Dr. Wolfgang Hintze" <weh@snafu.de> - 2012-09-13 07:43 +0000
Re: Are some equations unsolvable? "Alexander Elkins" <alexander_elkins@hotmail.com> - 2012-09-13 07:43 +0000
| From | Sergio Sergio <zerge69@gmail.com> |
|---|---|
| Date | 2012-09-12 07:04 +0000 |
| Subject | Are some equations unsolvable? |
| Message-ID | <k2pc54$99t$1@smc.vnet.net> |
Hi, This is what I have: f = (1/(sigma*Sqrt[2 Pi]))*Sqrt[(Pi/(-1/(2*sigma^2)))]* Exp[((m/sigma^2)^2)/4*(-1/2*sigma^2) + (m^2/(2*sigma^2))] Solve[f == 216, sigma] And I get this message: "This system cannot be solved with the methods available to Solve" Is it because there is no way to isolate sigma? Or am I doing something wrong? Thanks
[toc] | [next] | [standalone]
| From | "Kevin J. McCann" <kjm@KevinMcCann.com> |
|---|---|
| Date | 2012-09-13 07:42 +0000 |
| Message-ID | <k2s2pr$dpq$1@smc.vnet.net> |
| In reply to | #11716 |
A quick look at your function indicates that you have Sqrt[Pi/(-1/(2 sigma^2)))], which will give you an complex number for real sigma. Kevin On 9/12/2012 3:04 AM, Sergio Sergio wrote: > Hi, > This is what I have: > > f = (1/(sigma*Sqrt[2 Pi]))*Sqrt[(Pi/(-1/(2*sigma^2)))]* > Exp[((m/sigma^2)^2)/4*(-1/2*sigma^2) + (m^2/(2*sigma^2))] > > Solve[f == 216, sigma] > > And I get this message: "This system cannot be solved with the methods available to Solve" > > Is it because there is no way to isolate sigma? Or am I doing something wrong? > > Thanks >
[toc] | [prev] | [next] | [standalone]
| From | "Dr. Wolfgang Hintze" <weh@snafu.de> |
|---|---|
| Date | 2012-09-13 07:43 +0000 |
| Message-ID | <k2s2qf$dpv$1@smc.vnet.net> |
| In reply to | #11716 |
On 12 Sep., 09:05, Sergio Sergio <zerg...@gmail.com> wrote:
> Hi,
> This is what I have:
>
> f = (1/(sigma*Sqrt[2 Pi]))*Sqrt[(Pi/(-1/(2*sigma^2)))]*
> Exp[((m/sigma^2)^2)/4*(-1/2*sigma^2) + (m^2/(2*sigma^2))]
>
> Solve[f == 216, sigma]
>
> And I get this message: "This system cannot be solved with the methods available to Solve"
>
> Is it because there is no way to isolate sigma? Or am I doing something wrong?
>
> Thanks
As a first step try to tell Mathematica something about sigma, for
instance that sigma >0:
In[37]:= fs = Simplify[f, sigma > 0]
Out[37]= I*E^((3*m^2)/(8*sigma^2))
Then Mathematica can solve your equation easily:
In[38]:= Solve[216 == fs, sigma]
During evaluation of In[38]:= Solve::ifun:Inverse functions are being
used by Solve, so some solutions may not be found; use Reduce for
complete solution information. >>
Out[38]= {
{sigma -> -(((-1)^(1/4)*m)/(2*Sqrt[(1/3)*(Pi + 2*I*Log[216])]))},
{sigma -> ((-1)^(1/4)*m)/(2*Sqrt[(1/3)*(Pi + 2*I*Log[216])])}}
By the way your expression looks very similar to a normal distribution
but with strange signs. Are you sure that this is the expression you
had in mind?
Regards,
Wolfgang
[toc] | [prev] | [next] | [standalone]
| From | "Alexander Elkins" <alexander_elkins@hotmail.com> |
|---|---|
| Date | 2012-09-13 07:43 +0000 |
| Message-ID | <k2s2r4$dq3$1@smc.vnet.net> |
| In reply to | #11716 |
One way to get a result is to rewrite f placing everything into Exp[] like
so:
In[1]:= FullSimplify[Log[(1/(sigma*Sqrt[2
Pi]))*Sqrt[(Pi/(-1/(2*sigma^2)))]]]
Out[1]= 1/2 (Log[-sigma] - Log[sigma])
In[2]:= Block[{f, m, sigma},
f = Exp[((m/sigma^2)^2)/4*(-1/2*sigma^2) + (m^2/(2*sigma^2)) +
1/2 (Log[-sigma] - Log[sigma])];
Solve[f == 216, sigma]]
(*Solve::ifun message*)
Out[2]= {{sigma -> -(((-1)^(1/4) m)/(
2 Sqrt[1/3 (\[Pi] + I Log[46656])]))}, {sigma -> ((-1)^(1/4) m)/(
2 Sqrt[1/3 (\[Pi] + I Log[46656])])}}
Note that Log[46656] == 2 Log[216].
Perhaps this helps...
"Sergio Sergio" <zerge69@gmail.com> wrote in message
news:k2pc54$99t$1@smc.vnet.net...
> Hi,
> This is what I have:
>
> f = (1/(sigma*Sqrt[2 Pi]))*Sqrt[(Pi/(-1/(2*sigma^2)))]*
> Exp[((m/sigma^2)^2)/4*(-1/2*sigma^2) + (m^2/(2*sigma^2))]
>
> Solve[f == 216, sigma]
>
> And I get this message: "This system cannot be solved with the methods
available to Solve"
>
> Is it because there is no way to isolate sigma? Or am I doing something
wrong?
>
> Thanks
>
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web