12
$\begingroup$

I'd like to use WA to solve a small system of nonlinear equations, that involve both constants and the variables of interest. How do I "tell" WA which variables are the constants, and which are the ones I want it to solve for?

$\endgroup$

2 Answers 2

15
$\begingroup$

Solve [equations separated by commas] for [variables separated by commas]

In Wolfram Mathematica it's Solve[{eq1,eq2,...},{x1,x2,...}] so it should work in WA too.

$\endgroup$
3
  • 1
    $\begingroup$ It deserved to be an accepted one here. +1 $\endgroup$
    – Mikasa
    Commented Feb 1, 2013 at 14:44
  • 1
    $\begingroup$ This isn't working for a larger system I'm attempting to solve: solve i(p-s)+j(p-n)=0, k(n)+l(n-o)=0, l(o-A(p-n))+mo=0 for p, n, A $\endgroup$
    – sudo
    Commented Oct 9, 2015 at 17:33
  • 1
    $\begingroup$ @sudo that's probably because k(n) seems like a function. You probably meant kn. And also mo instead of mo. $\endgroup$
    – Džuris
    Commented May 9, 2016 at 12:23
3
$\begingroup$

The following works for me

solve  a+b+x -y = 5 , b-x-y = 10 for x and y 

or

solve  a+b+x-y = 5 , b-x-y +z= 10, x+z=0 for x ,y, z 

See the results here or here.

$\endgroup$
2
  • $\begingroup$ This is a question; sorry. How can i solve Diophantine equations over the integers with Wolfram alpha? For instance:solve 3x^2-y^2=2,8x^2-z^2=7 for x , y ,z over the integers. $\endgroup$
    – user55514
    Commented Jan 21, 2013 at 15:08
  • 1
    $\begingroup$ extracted from the Wolfram Alpha this should work solve 3x+4y=5 , y+z=2 over the integers see wolframalpha.com/input/… $\endgroup$
    – Thomas
    Commented Jan 21, 2013 at 15:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .