MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Solving linear systems in matrix notation?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68238] Re: Solving linear systems in matrix notation?
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Sun, 30 Jul 2006 04:48:12 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

On 7/29/06 at 1:00 AM, ben.carbery at spam.me (Ben) wrote:

>I have been following a tutorial that says to solve systems of
>linear equations like so:

>Solve[{2x + 4y == -4, 5x + 7y == 11}, {x, y}]

>I am wondering if there is a shorthand way to do it by just entering
>the co-efficients of each equation, i.e. matrix style:

Yes, LinearSolve is used for this purpose, i.e.,

In[4]:=
LinearSolve[{{2,4},{5,7}},{-4,11}]

Out[4]=
{12,-7}
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: Log Function
  • Next by Date: Re: Finding the Number of Pythagorean Triples below a bound
  • Previous by thread: Re: Solving linear systems in matrix notation?
  • Next by thread: Re: Solving linear systems in matrix notation?