Home

7 comments

6gvONxR4sf7oabout 4 years ago
If you don&#x27;t remember the quadratic formula and don&#x27;t want to look it up, the graphical intuition is super simple, if you&#x27;re comfortable connecting the graphical to the algebraic bits.<p>A quadratic equation is the same as finding where a parabola crosses zero. The formula for that is messy unless the parabola is centered around x=0, in which case it&#x27;s easy. Then it&#x27;s just a &quot;standard&quot; parabola (y=x^2), stretched horizontally and&#x2F;or moved up and down. The equation for that shape is 0=ax^2-k, so x^2=k&#x2F;a, which is super simple.<p>So then you just have to figure out how to turn your original problem (a parabola that&#x27;s not centered at x=0) into the easy one (a parabola that is centered at x=0).<p>The answer is to just slide your axes over until it&#x27;s centered. That is, define a coordinate z = x-c such that your parabola is centered at z=0. To do that, just plug in z+c=x into the original equation, and solve for a c that makes the middle term disappear (you want to end up with y=az^2 + 0z + b, per my second paragraph). Now you have the problem that&#x27;s easy to solve. And there&#x27;s the added benefit that whatever problem this comes up in is likely easier to think about in terms of this z than in x.<p>This method is just some trivial steps, which makes it really easy to remember. It&#x27;s easy to slide a shape left and right, and it&#x27;s easy to solve x^2=k.
评论 #27237316 未加载
qsortabout 4 years ago
The method is interesting, but what exactly is the intended use? I don&#x27;t get what the OP is trying to do.<p>- Normal people are going to forget any kind of proof you show them exactly eight seconds after you&#x27;re done. The pedant in me wants to note that plugging the standard formula in and veryfing it works is <i>also</i> in fact a proof, but technically correct is, as always, the most useless kind of correct.<p>- Everyone solves quadratics by (a) eyeballing either zero, or (b) \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}. It just doesn&#x27;t make any sense to use any other method when the standard formula is simple arithmetic you can do in your head.<p>- Students who are into kinky stuff like competitions already know several formulas for speed.<p>- If this is just pedagogical, it&#x27;s basically a way to adamantly refuse to complete the square by using a slightly different way to complete the square<p>am I missing something? I&#x27;m open to change my mind.
评论 #27232898 未加载
raphlinusabout 4 years ago
A related question is how to solve quadratic equations <i>robustly</i> using IEEE floating point. When solving ax² + bx + c, the most common problem is when a is very tiny, or even zero (then it becomes a linear equation, which is easy, but the classic solution becomes undefined). There are other things that can go wrong.<p>At some point I might write up a solution, but in the meantime I&#x27;ll point to code that implements it[1].<p>[1]: <a href="https:&#x2F;&#x2F;docs.rs&#x2F;kurbo&#x2F;0.8.1&#x2F;src&#x2F;kurbo&#x2F;common.rs.html#105-149" rel="nofollow">https:&#x2F;&#x2F;docs.rs&#x2F;kurbo&#x2F;0.8.1&#x2F;src&#x2F;kurbo&#x2F;common.rs.html#105-149</a>
ivan_ahabout 4 years ago
I really like this new way of doing factoring, since 90% of the steps of the explanation are more intuitive and direct than the usual guessing techniques and the complete-the-square technique that leads to the quadratic formula. I was so excited by this new approach that I started rewriting the parts in the math book that explain quadratics, and looking forward to getting rid of the complete-the-square procedure, which many readers find confusing.<p>However, the Po-Shen Loh method (a.k.a the Viète method) has one big conceptual hurdle at the beginning (the missing 10%), which I had trouble explaining, since it seems to come out of nowhere and not obvious:<p>&gt; &quot;Two numbers have a sum of 14 exactly when their average is 7.&quot;<p>&gt; &quot;Two numbers have an average is 7 when those numbers are 7-u and 7+u&quot;<p>via <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=XKBX0r3J-9Y&amp;t=592s" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=XKBX0r3J-9Y&amp;t=592s</a><p>^ both these statements are true and correct, but they seem to come out of nowhere, like one of those &quot;Suppose u = &lt;complicated expression&gt; ...&quot; substitution tricks that are needed to solve certain calculus problems, which are otherwise impossible if you don&#x27;t know the needed substitution.<p>The substitution 7-u and 7+u is related to the general idea that any two numbers (or functions) can be written in terms of a symmetric component m (half-sum, or mean) and a half-difference part d:<p><pre><code> given any a, b define: m = (a+b)&#x2F;2 (the half-sum of a and b) d = (a-b)&#x2F;2 (half-difference of a and b) then: a = m + d b = m - d </code></pre> Again, this is totally true (and a very useful math idea that comes up in other places), but not intuitive for beginners.<p>In the end I decided to stick with the complete-the-square approach: complete-the-square is not that bad, especially when you show the picture: <a href="https:&#x2F;&#x2F;minireference.com&#x2F;static&#x2F;excerpts&#x2F;noBSmath_v5_preview.pdf#page=23" rel="nofollow">https:&#x2F;&#x2F;minireference.com&#x2F;static&#x2F;excerpts&#x2F;noBSmath_v5_previe...</a>
评论 #27233093 未加载
评论 #27234184 未加载
fypabout 4 years ago
Previous thread: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=21720656" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=21720656</a>
ameliusabout 4 years ago
But the explanation doesn&#x27;t easily generalize to higher order polynomials.
评论 #27232486 未加载
prof-dr-irabout 4 years ago
Let me give you the method to solve x^2 + bx + c = 0.<p>Answer: solve (x + b&#x2F;2)^2 - b^2&#x2F;4 = - c instead.<p>Why, you ask? Well, first of all because some long-dead bloke figured out this neat trick and it would be a shame not to use it. And secondly it is easy arithmetic to figure out that this is an equivalent problem, so if you solve it then it certainly gives the right answer.<p>Maybe it is just me, but if you cannot grok this then I think that your difficulties with mathematics are not curable by spending more time trying to develop intuition on this particular problem. And therefore I fail to see what Professor Loh brings to the table here.<p>Edit: it appears that my position is being misunderstood. I do not think that someone who does not grok this argument will never be able to properly learn mathematics. I think that they should instead focus on things like logic and arithmetic and, for this particular subject, on playing with quadratics (plotting them and finding their extrema, for example). Any dressing up of the above argument for the quadratic formula is, again in my view, akin to trying to &#x27;develop intuition&#x27; for something like the third digit of pi - it is just what it is (4 I think).