Is there any way to write the quadratic formula such that it works for $ac= 0$ without having to make it piecewise?
The traditional solution of $x = (-b \pm \sqrt{b^2 - 4ac}) / 2a$ breaks when $a = 0$, and the less-traditional solution of $x = 2c / (-b \pm \sqrt{b^2 - 4ac})$ breaks when $c = 0$... so I'm wondering if there is a formula that works for both cases.
My attempt was to make the formula "symmetric" with respect to $a$ and $c$ by substituting $$x = y \sqrt{c/a}$$ to get $$y^{+1} + y^{-1} = -b/\sqrt{ac} = 2 w$$
whose solution is
$$y = -w \pm \sqrt{w^2 - 4}$$
which is clearly symmetric with respect to $a$ and $c$, but which doesn't really seem to get me anywhere if $ac = 0$.
(If this is impossible, it'd be nice if I could get some kind of theoretical explanation for it instead of a plain "this is not possible".)
unclear what you're askingbecause...well, it's kind of unclear what is being asked. As Mark's answer points out, and what my comment addresses, considering $a=0$ gives you a linear equation, not a quadratic one, and hence any application of a "quadratic" formula seems nonsensical. It's not so much about the question's validity so much as it is not very clear what is being asked exactly. Maybe that will explain Mark's less than comprehensive answer (which, I presume, was the cause of the most recent edit). More detail needs to be added IMO. – Daniel W. Farlow May 05 '15 at 07:51