6
$\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$
8
$\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$
  • $\begingroup$ It deserved to be an accepted one here. +1 $\endgroup$ – mrs Feb 1 '13 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 Oct 9 '15 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 May 9 '16 at 12:23
2
$\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$
  • $\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 Jan 21 '13 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$ – k1next Jan 21 '13 at 15:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.