Yeah, symbolic logic needs to be addressed as correctly pointed out above. The exponent is typically listed like x^2 for the square of x, so buddy got it right 1/x minus x on the left hand side. I assume equal x on the right hand side? Whatever.
This seems simplistic, multiply through both sides by x to clear the inverse and get:
1 - x^2 = x^2
to which adding x^2 to both sides would ultimately result:
1 = 2 x^2
I would get x = sqrt(1/2) = +/- 0.70711.
This assumes that you need (1/x) - x = x, perhaps a very big assumption.
Kenneth J Hueston, PEng
Principal
Sturni-Hueston Engineering Inc
Edmonton, Alberta Canada