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?
2 Answers
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.
-
1
-
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$– sudoOct 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žurisMay 9, 2016 at 12:23
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
-
$\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$ 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$– ThomasJan 21, 2013 at 15:44