Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.8K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Solving 3 equations with 3 variables

Posted 10 years ago

I am trying to solve three equations with two variables (x and y) and a number of parameters. Basically, I am trying to solve for X and Y. I have entered the following equation:

solve x a -x (a-1) l -y o -(d-x-y) q -d = y b -y (b-1) n - x l -(d-x-y) q -d = (d-x-y) c - (d-x-y) (c-1) p - x m - y o -d for x

however, Wolfram returns the following answer: WolframÈAlpha doesn't know how to interpret your input

Any help would be greatly appreciated!

POSTED BY: jonathan m
2 Replies
Posted 10 years ago

Thanks Marco! Works perfectly.

POSTED BY: jonathan m

Hi,

sometimes a bit of WolframLanguage syntax helps:

    Solve[{ x a - x (a - 1) l - y o - (d - x - y) q - d == y b - y (b - 1) n - x l - (d - x - y) q - d == (d - x - y) c - (d - x - y) (c - 1) p - x m - y o - d}, {x,y}]
(*{{x -> -(((-b + (-1 + b) n - o) (-c d + (-1 + c) d p - 
          d q))/((-b + (-1 + b) n - o) (c - l + m - (-1 + c) p + 
           q) - (a + l - (-1 + a) l) (b + c - (-1 + b) n + 
           o - (-1 + c) p + q))), 
  y -> ((-a - 2 l + a l) (-c d - d p + c d p - d q))/(a b + a c + 
      b c + b l - a b l + 2 c l - a c l + b m + a n - a b n + c n - 
      b c n + l n - a l n - b l n + a b l n + m n - b m n + a o + 
      c o + l o - a l o + m o + a p + b p - a c p - b c p + 2 l p - 
      a l p - 2 c l p + a c l p + n p - b n p - c n p + b c n p + 
      o p - c o p + a q + b q + 2 l q - a l q + n q - b n q + o q)}}*)

If you type this into WolframAlpha it should work.

Cheers,

Marco

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