0

I want mathematica to factor the quadratic polynomial $a x^2 +b x +c$ into this standard form $a(x-r_1)(x-r_2)$ with $r_1=-\frac{b}{2a}+\frac{\sqrt{b^2-4ac}}{2a}$ and $r_2=-\frac{b}{2a}-\frac{\sqrt{b^2-4ac}}{2a}$. I tried Factor and its Extension option but I could not get anyting.

J. M.'s missing motivation
  • 124,525
  • 11
  • 401
  • 574
Hosein Rahnama
  • 1,727
  • 1
  • 15
  • 29

1 Answers1

1
a Times @@ (y - # & /@ (x /. Solve[a x^2 + b x + c == 0, x]))
David G. Stork
  • 41,180
  • 3
  • 34
  • 96