It is known that: a ≠ B, and the square of a-2a-1 = 0, the square of B + 2b-1 = 0, find a + 1 / b And the value of a / b? No dead reckoning

It is known that: a ≠ B, and the square of a-2a-1 = 0, the square of B + 2b-1 = 0, find a + 1 / b And the value of a / b? No dead reckoning

From a ^ 2 - 2A - 1 = 0, (a - 1) ^ 2 = 2, the solution is a = 1 ± √ 2
From B ^ 2 + 2B - 1 = 0, (B + 1) ^ 2 = 2, the solution is b = - 1 ± √ 2
When a = 1 + √ 2, B = - 1 + √ 2,
a + 1/b = 1+√2 + 1/(-1+√2) = 2 + 2√2
a/b = (1+√2)/(-1+√2) = (1+√2)^1 = 3 + 2√2
When a = 1 + √ 2, B = - 1 - √ 2,
a + 1/b = 1+√2 + 1/(-1-√2) = 2
a/b =( 1 + √2)/(-1-√2) = -1
When a = 1 - √ 2, B = - 1 + √ 2
a + 1/b = 1 - √2 + 1/(-1 +√2) = 1 - √2 + √2 +1 = 2
a/b = (1-√2)/(-1+√2) = -1
When a = 1 - √ 2, B = - 1 - √ 2
a + 1/b = 1 - √2 + 1/(-1 - √2) = 2 - 2√2
a/b = ( 1 - √2 ) / ( - 1 - √2 ) = 3 - 2√2