Consider the quadratic equation x2+8x+15=0.
Comparing the given equation with thee standard form ax2+bx+c=0, where a,b and c are constants (a≠0), we have
a=1,b=8 and c=15.
Consider the product of a and c.
a×c=1×15=15
Factorising a×c such that the numbers add up to b
⇒b=8=5+3
Hence, the quadratic equation can be written as x2+5x+3x+15=0.
⇒(x+5)(x+3)=0
⇒x=−5,−3 are the roots of the equation.
Similarly, x2+5x+6=0 will have 2 and 3 as factors of 6(i.e.,a×c) such that their sum is 5.
⇒(x+2)(x+3)=0
⇒x=−2,−3 are the roots of the equation.
Similarly, x2+x−6=0 will have 3 and -2 as factors of -6(i.e.,a×c) and their sum is 1.
⇒(x−2)(x+3)=0
⇒x=2,−3 are the roots of the equation.