Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|cite|improve this question
up vote 4 down vote accepted

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.

share|cite|improve this answer
It deserved to be an accepted one here. +1 – Babak S. Feb 1 '13 at 14:44
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 – sudo Oct 9 '15 at 17:33
@sudo that's probably because k(n) seems like a function. You probably meant kn. And also mo instead of mo. – Juris May 9 at 12:23

The following works for me

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


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

See the results here or here.

share|cite|improve this answer
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. – user55514 Jan 21 '13 at 15:08
extracted from the Wolfram Alpha this should work solve 3x+4y=5 , y+z=2 over the integers see… – k1next Jan 21 '13 at 15:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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