Finding a and b from roots of (x+a)(x-b)=0

  • Topic:
  • Thread starter Thread starter mathlearn
  • Start date Start date
  • Tags Tags
    Roots Value
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 2K views
mathlearn
Messages
331
Reaction score
0
Hello everybody after a little while :D

The roots of the equation $(x+a) (x-b)= 0$ are -3 or 2. Find the value of $a$ & $b$

What should I do here ?

Many Thanks :)
 
Mathematics news on Phys.org
mathlearn said:
Hello everybody after a little while :D

The roots of the equation $(x+a) (x-b)= 0$ are -3 or 2. Find the value of $a$ & $b$

What should I do here ?

Many Thanks :)

what are the roots of equation $(x+a) (x-b)= 0$
they are -a and b. this is unordered pair

so -a = -3 , b = 2 or b = -3 and -a = 2
 
kaliprasad said:
what are the roots of equation $(x+a) (x-b)= 0$
they are -a and b. this is unordered pair

so -a = -3 , b = 2 or b = -3 and -a = 2

Thanks :D
 
The hard way: [tex](x+ a)(x- b)= x^2+ (a- b)x- ab[/tex]. By the quadratic formula, the roots of that equation are [tex]\frac{b- a\pm\sqrt{(a- b)^2- (-4)ab}}{2}= \frac{b- a\pm\sqrt{a^2- 2ab+ b^2+ 4ab}}{2a}= \frac{b- a\pm\sqrt{a^2+ 2ab+ b^2}}{2}= \frac{b- a\pm\sqrt{(a+ b)^2}}{2}= \frac{b- a\pm (a+ b)}{2}[/tex] so [tex]x= \frac{b- a+ a+ b}{2}= b[/tex] or [tex]x= \frac{b- a- a+ b}{2}= -a[/tex]

Since we are told that the two roots are -3 and 2 we can have either a= -(-3)= 3 and b= 2 or a= -2 and b= -3.