Re: broadcasting of Equal ? (newbie question)
- To: mathgroup at smc.vnet.net
- Subject: [mg118177] Re: broadcasting of Equal ? (newbie question)
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Fri, 15 Apr 2011 03:57:26 -0400 (EDT)
More generally,
Solve[{x + y - 1, 2 x + y - 2} == {a, a}, {x, y}] ==
Solve[{x + y - 1, 2 x + y - 2} == a, {x, y}]
True
Perhaps it automatically uses Thread
Thread[{x + y - 1, 2 x + y - 2} == a]
{-1 + x + y == a, -2 + 2 x + y == a}
Thread[{x + y - 1, 2 x + y - 2} == {a, b}]
{-1 + x + y == a, -2 + 2 x + y == b}
Bob Hanlon
---- Alan <alan.isaac at gmail.com> wrote:
=============
I noticed that e.g.
Solve[{x + y - 1, 2 x + y - 2} == {0, 0}, {x, y}]
can be written as
Solve[{x + y - 1, 2 x + y - 2} == 0, {x, y}]
but I cannot find the rule that allows this.
(E.g., I do not find it in the help for Equal
or the help for Solve.)
Can you point me to it?
Thanks,
Alan