Message Boards Message Boards

0
|
4790 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Unable to Solve a System of Linear Equations with Wolfram|Alpha

Hi, I am trying to solve an 8x8 linear system of equations. As a simple test, the following query works in Wolfram|Alpha

Solve for x,y:ax+by=5,ax-by=2

However, the following query doesn't work

Solve for x,a,b,c,d,e,f,g:oa+nb+mc=rx,nd+me=(r+o)c,od+mf=(r+n)b,mg=(r+n+o)d,rx+oe+nf=(m+r)a,rc+ng=(m+o+r)e,rb+ra+og=(m+n+r)f,rd+re+rf=(m+n+o)g

Can someone explain why? Thanks!

POSTED BY: Karthik Prakhya

Hi Karthik,

Using the Wolfram Language your system of equations has to be written as follows:

Solve[{o a + n b + m c == r x, n d + m e == (r + o) c, 
o d + m f == (r + n) b, m g == (r + n + o) d, 
r x + o e + n f == (m + r) a, r c + n g == (m + o + r) e, 
r b + r a + o g == (m + n + r) f, 
r d + r e + r f == (m + n + o) g}, {x, a, b, c, d, e, f, g}]

And the solution is:

{{x -> 0, a -> 0, b -> 0, c -> 0, d -> 0, e -> 0, f -> 0, g -> 0}}

Note: The input is too long for Wolfram|Alpha. So, I used Mathematica. Probably you could also use the Wolfram|Alpha Pro.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract