Common root between quadratic

118 Views Asked by At

Let $a,b \in N $ and $a \neq b$

If $(a-1)x^2-(a^2+2)x+a^2+2a=0$

and

$(b-1)x^2-(b^2+2)x+b^2+2b=0$

have a common root then the value of $ab$ is ?

I tried using Cramer's rule for common root but that did not simplify to anything and on subtracting the equations I again ended up with a quadratic, on solving the quadratic I got

$$x=\frac{a^2-b^2\pm\sqrt{(b^2-a^2)^2-4(a-b)(a^2-b^2+2a-2b)}}{2(a-b)}$$ which does not simplify either.

Any hints on how should I solve this.

2

There are 2 best solutions below

8
On BEST ANSWER

solving the two quadratic equations we get $$x_1=\frac{a+2}{a-1},x_2=a$$ $$x_3=\frac{b+2}{b-1},x_4=b$$ if we have $$x_1=x_3$$ we have $$(a+2)(b-1)=(b+2)(a-1)$$ solving this we obtain $a=b$ can you solve the other cases?

2
On

If $f(x)$ and $g(x)$ are the left sides of your two equations, the resultant of $f(x)$ and $g(x)$ is $3(ab-a-b-2)^2(a-b)^2$. This is $0$ if and only if the equations have a common root. Thus $$ab = a + b + 2$$
Write this as $$(a-1)(b-1) = 3$$ S Since $3$ is prime, if $a$ and $b$ are natural numbers we need $a-1$ and $b-1$ to be $1$ and $3$ (in either order). Thus one of $a$ and $b$ is $2$ and the other is $4$.