Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Re: Systems of linear equations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg123173] Re: Systems of linear equations
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Fri, 25 Nov 2011 04:56:30 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201111241154.GAA28902@smc.vnet.net>
  • Reply-to: drmajorbob at yahoo.com

(a) Show us the Solve that failed.

or

(b) Under "Possible Issues", Help gives a decent example:

Solution found for an underdetermined system is not unique:

LinearSolve[{{1, 2, 3}, {4, 5, 6}}, {6, 15}]

{0, 3, 0}

All solutions found by Solve:

{x, y, z} /.
  First[Solve[Thread[{{1, 2, 3}, {4, 5, 6}}.{x, y, z} == {6, 15}], {x, y}]]

{z, 3 - 2 z, z}

Bobby

On Thu, 24 Nov 2011 05:54:22 -0600, lorenzo <lorenzo_ktm at yahoo.it> wrote:

> Hi,
> how can I obtain ALL the possible solutions of a linear system?
>
> Using LinearSolve you obtain only one solution.
> Mathematica's doc says you should use Solve instead, but i got this  
> error:
> "Solve::nsmet: This system cannot be solved with the methods available  
> to Solve. "
>


-- 
DrMajorBob at yahoo.com



  • Prev by Date: Re: How to integrate a function over a polygon
  • Next by Date: CDF examples
  • Previous by thread: Systems of linear equations
  • Next by thread: fastern pattern test