jawaban:
Input
(X - 2)/(x + 2) = -1/3 (x + 1)
Result
(X - 2)/(x + 2) = 1/3 (-x - 1)
Alternate form assuming x and X are real
(x (x + 3) + 3 X - 4)/(x + 2) = 0
Alternate form
X = -x^2/3 - x + 4/3
Alternate form assuming x and X are positive
x (x + 3) + 3 X = 4
Expanded form
X/(x + 2) - 2/(x + 2) = -x/3 - 1/3
Solution
X = 1/3 (-x^2 - 3 x + 4), x + 2!=0
Integer solutions
x = 1 - 3 n, X = 5 n - 3 n^2, n element Z, n<=0
x = 2 - 3 n, X = -3 n^2 + 7 n - 2, n element Z
x = 1 - 3 n, X = 5 n - 3 n^2, n element Z, n>=2
Solutions for the variable x
x = 1/2 (-sqrt(25 - 12 X) - 3)
x = 1/2 (sqrt(25 - 12 X) - 3)