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: [mg68237] Re: [mg68187] Solving linear systems in matrix notation?
  • From: "Adriano Pascoletti" <pascolet at dimi.uniud.it>
  • Date: Sun, 30 Jul 2006 04:48:07 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Ben, 
use LinearSolve[matrix, vector] 

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

gives

{12, -7}

Adriano Pascoletti


Ben wrote ..
> Hi,
> 
> 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:
> 
> 	Solve??[{2,4,-4},{5,7,11}]
> 
> cheers,
> 
> Ben C.
> 


  • Prev by Date: Re: Finding the Number of Pythagorean Triples below a bound
  • Next by Date: Re: Mathematica DSolve Terminal Boundary- How?
  • Previous by thread: Re: Solving linear systems in matrix notation?
  • Next by thread: Re: Solving linear systems in matrix notation?