How to calculate $x,y,k$ in terms of constants $a$ and $b$ in the following equations in Mathematica:
4*y-k*2*x/a^2=0,
4*x-k*2*y/b^2=0,
x^2/a^2+y^2/b^2-1=0
Why doesn't the following command work? (I am new)
Solve[4*y-k*2*x/a^2=0&&4*x-k*2*y/b^2=0&&x^2/a^2+y^2/b^2-1=0,{x,y,k},reals]
Simplify[]withinAssuming[]so that any assumptions set get accounted for in simplification. – J. M.'s missing motivation Mar 22 '17 at 12:32&&is used, equations do not have to be inside brackets, Brackets are needed if the equations are separated by commas. First argument toSolvecan include inequalities, e.g.,Solve[4*y - k*2*x/a^2 == 0 && 4*x - k*2*y/b^2 == 0 && x^2/a^2 + y^2/b^2 - 1 == 0 && x > 0 && y > 0, {x, y, k}, Reals]; however,Assumingis better since as @J.M.points out they are passed toSimplify. – Bob Hanlon Mar 22 '17 at 16:54