Multiplying the given equality by (x−a)(x−b), we get (x−a)2=(x−b)2. Squaring both sides and subtracting x2 we get −2ax+a2=−2bx+b2, which can be further rearranged into 2(b−a)x=(b−a)(b+a). Since b−a=0, we can divide both sides of the equality by b−a to get 2x=b+a. From here we get x=2a+b.
Source: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.