Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15606 > unrolled thread
| Started by | olfa <olfa.mraihi@yahoo.fr> |
|---|---|
| First post | 2011-02-03 10:32 +0000 |
| Last post | 2011-02-08 10:06 +0000 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Why this cannot be solved olfa <olfa.mraihi@yahoo.fr> - 2011-02-03 10:32 +0000
Re: Why this cannot be solved "Sjoerd C. de Vries" <sjoerd.c.devries@gmail.com> - 2011-02-04 06:43 +0000
Re: Why this cannot be solved olfa <olfa.mraihi@yahoo.fr> - 2011-02-08 10:06 +0000
| From | olfa <olfa.mraihi@yahoo.fr> |
|---|---|
| Date | 2011-02-03 10:32 +0000 |
| Subject | Why this cannot be solved |
| Message-ID | <iie085$bpp$1@smc.vnet.net> |
Hi Mathematica community,
System 1)
Reduce[Max[e, s + a[i]] == Max[c, d + aP[iP]] && d == s - a[n]
+Sum[a[j],{j,i,n}] &&
aP == a && iP == n, {aP, iP, d, c}, Reals]
this gives:
Reduce::nsmet: This system cannot be solved with the methods available
to Reduce.
System 2)
Reduce[Max[e, s + a[i]] == Max[c, d + aP[iP]] && d == s - a[n]
+Sum[a[j],{j,i,n}] , { d, c}, Reals]
this gives solutions.
the only difference between them is the variables aP and iP and their
respective equations.
What I didn't understand is why the first system cannot be solved
although I have given values for iP and aP inside of it?
thank you.
[toc] | [next] | [standalone]
| From | "Sjoerd C. de Vries" <sjoerd.c.devries@gmail.com> |
|---|---|
| Date | 2011-02-04 06:43 +0000 |
| Message-ID | <iig77c$rle$1@smc.vnet.net> |
| In reply to | #15606 |
I'm not sure what you're trying to do here, aP is a function name, not
a variable. You can't solve for that. Also aP == a is not an algebraic
equation as both aP and a are heads not variables.
Cheers -- Sjoerd
On Feb 3, 11:32 am, olfa <olfa.mra...@yahoo.fr> wrote:
> Hi Mathematica community,
> System 1)
> Reduce[Max[e, s + a[i]] == Max[c, d + aP[iP]] && d == s - a[n]
> +Sum[a[j],{j,i,n}] &&
> aP == a && iP == n, {aP, iP, d, c}, Reals]
>
> this gives:
> Reduce::nsmet: This system cannot be solved with the methods available
> to Reduce.
>
> System 2)
> Reduce[Max[e, s + a[i]] == Max[c, d + aP[iP]] && d == s - a[n]
> +Sum[a[j],{j,i,n}] , { d, c}, Reals]
>
> this gives solutions.
>
> the only difference between them is the variables aP and iP and their
> respective equations.
> What I didn't understand is why the first system cannot be solved
> although I have given values for iP and aP inside of it?
>
> thank you.
[toc] | [prev] | [next] | [standalone]
| From | olfa <olfa.mraihi@yahoo.fr> |
|---|---|
| Date | 2011-02-08 10:06 +0000 |
| Message-ID | <iir4j8$6mg$1@smc.vnet.net> |
| In reply to | #15927 |
On 4 f=E9v, 07:43, "Sjoerd C. de Vries" <sjoerd.c.devr...@gmail.com>
wrote:
> I'm not sure what you're trying to do here, aP is a function name, not
> a variable. You can't solve for that. Also aP == a is not an algebrai=
c
> equation as both aP and a are heads not variables.
>
> Cheers -- Sjoerd
>
> On Feb 3, 11:32 am, olfa <olfa.mra...@yahoo.fr> wrote:
>
>
>
> > Hi Mathematica community,
> > System 1)
> > Reduce[Max[e, s + a[i]] == Max[c, d + aP[iP]] && d == s - a[n]
> > +Sum[a[j],{j,i,n}] &&
> > aP == a && iP == n, {aP, iP, d, c}, Reals]
>
> > this gives:
> > Reduce::nsmet: This system cannot be solved with the methods available
> > to Reduce.
>
> > System 2)
> > Reduce[Max[e, s + a[i]] == Max[c, d + aP[iP]] && d == s - a[n]
> > +Sum[a[j],{j,i,n}] , { d, c}, Reals]
>
> > this gives solutions.
>
> > the only difference between them is the variables aP and iP and their
> > respective equations.
> > What I didn't understand is why the first system cannot be solved
> > although I have given values for iP and aP inside of it?
>
> > thank you.- Masquer le texte des messages pr=E9c=E9dents -
>
> - Afficher le texte des messages pr=E9c=E9dents -
if aP == a is not an algebraic equation as both aP and a are heads not
variableshere why this example works:
Reduce[x + Sum[a[index], {index, k, n}] ==
xP + Sum[aP[index], {index, kP, n}] && aP == a, {aP, xP},
Backsubstitution -> True]?
Thank you.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web