Post Reply 
Mathematician Finds Easier Way to Solve Quadratic Equations
04-23-2024, 07:20 PM
Post: #1
Mathematician Finds Easier Way to Solve Quadratic Equations
This article apparently first ran in Popular Mechanics... who knew to look there for math news??

Let the doubters and defenders come forth and critique....

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
04-23-2024, 08:36 PM
Post: #2
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
Hello!

(04-23-2024 07:20 PM)rprosperi Wrote:  This article apparently first ran in Popular Mechanics... who knew to look there for math news??

Let the doubters and defenders come forth and critique....

The YouTube video linked in the article is four years old and we haven't heard of this "easy" method ever since. So my conclusion is, that Mr. Darwin's principle took care of it ;-)
But really I find it hard to understand what he is explaining there and how his method would work so easily with non-integer factors.

Regards
Max
Find all posts by this user
Quote this message in a reply
04-23-2024, 11:19 PM
Post: #3
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
(04-23-2024 07:20 PM)rprosperi Wrote:  This article apparently first ran in Popular Mechanics... who knew to look there for math news??

Here is an HP-42S program using his method:

Code:

00 { 26-Byte Prgm }
01▸LBL "Q"
02 X<> ST Z
03 STO÷ ST Z
04 STO+ ST X
05 +/-
06 ÷
07 STO ST Z
08 X↑2
09 -
10 +/-
11 SQRT
12 RCL+ ST Y 
13 X<>Y
14 RCL- ST L
15 END

Same usage of this quadratic solve and same number of steps. This first attempt takes up one extra byte, though.
Find all posts by this user
Quote this message in a reply
04-24-2024, 12:20 AM
Post: #4
RE: Mathematician Finds Easier Way to Solve Quadratic Equations


Find all posts by this user
Quote this message in a reply
04-24-2024, 12:34 AM
Post: #5
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
(04-23-2024 08:36 PM)Maximilian Hohmann Wrote:  Hello!

(04-23-2024 07:20 PM)rprosperi Wrote:  This article apparently first ran in Popular Mechanics... who knew to look there for math news??

Let the doubters and defenders come forth and critique....

The YouTube video linked in the article is four years old and we haven't heard of this "easy" method ever since. So my conclusion is, that Mr. Darwin's principle took care of it ;-)
But really I find it hard to understand what he is explaining there and how his method would work so easily with non-integer factors.

Indeed he doesn’t explain it step by step. Hopefully, the following is easier to understand:

x² + b.x + c = 0

x₁ + x₂ = -b

x₁.x₂ = c

u = (x₁ + x₂)/2 = -b/2

=>

x₁ = -b/2 - u (1)

x₂ = -b/2 + u (2)

and

x₁.x₂ = c
(-b/2 - u)(-b/2 + u) = c

or, from the difference of squares formula,

(-b/2)² - u² = c
u² = (-b/2)² - c
u = √((-b/2)² - c)

Then, from (1) and (2) above:

x₁ = -b/2 - √((-b/2)² - c)

x₂ = -b/2 + √((-b/2)² - c)

Regards,

Gerson.
Find all posts by this user
Quote this message in a reply
04-24-2024, 04:14 AM (This post was last modified: 04-25-2024 05:17 PM by Gerson W. Barbosa.)
Post: #6
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
(04-23-2024 11:19 PM)Gerson W. Barbosa Wrote:  Same usage of this quadratic solve and same number of steps. This first attempt takes up one extra byte, though.

Second attempt. Same size, same number of steps:

Code:

00 { 25-Byte Prgm }
01▸LBL "Q"
02 X<> ST Z
03 +/-
04 STO÷ ST Z
05 STO+ ST X
06 ÷
07 STO ST Z
08 X↑2
09 +
10 SQRT
11 RCL+ ST Y
12 X<>Y
13 RCL- ST L
14 END

P.S.:

Exactly the same program, actually. But I don’t remember I had previously used this method.

P.P.S.:

HP-41 version:

Code:

 01 LBL "Q"
 02 X<> Z
 03 CHS
 04 ST/ Z
 05 ST+ X
 06 /
 07 STO Z
 08 X^2
 09 +
 10 SQRT
 11 ST- Y
 12 ST+ X
 13 RCL Y
 14 +
 15 END

28 bytes

Notice these preserve the original stack register X.
Find all posts by this user
Quote this message in a reply
04-24-2024, 03:11 PM (This post was last modified: 04-24-2024 05:35 PM by Dave Frederickson.)
Post: #7
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
(04-23-2024 07:20 PM)rprosperi Wrote:  This article apparently first ran in Popular Mechanics... who knew to look there for math news??

Let the doubters and defenders come forth and critique....

Ahhh, Popular Mechanics. My step-father had a subscription/prescription. I remember the article from the '60's about spiders on LSD spinning rectangular webs.
Find all posts by this user
Quote this message in a reply
04-25-2024, 12:17 AM
Post: #8
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
I couldn't get it to work on this: x^2+4x+7=0.
Find all posts by this user
Quote this message in a reply
04-25-2024, 03:16 AM
Post: #9
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
(04-25-2024 12:17 AM)ttw Wrote:  I couldn't get it to work on this: x^2+4x+7=0.

Complex roots?
Find all posts by this user
Quote this message in a reply
04-25-2024, 03:49 AM
Post: #10
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
There must be something I haven't understood. How is this new? I learned this method at school 40 years ago.
That said, thanks for reminding me.
Find all posts by this user
Quote this message in a reply
04-25-2024, 07:11 AM
Post: #11
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
Hello all,

it works on equations with complex roots, too.
The new way can be reduced to two steps:

\[ 1.\quad u^2 = \frac{b^2}{4} - c \qquad\qquad 2.\quad x_{1,2} = - \frac{b}{2} \pm \sqrt{u^2} \]

The traditional way:

\[ 1.\quad D = b^2 - 4c \qquad\qquad 2.\quad x_{1,2} = \frac{- b \pm \sqrt{D}}{2} \]

For me it seems to be a question of taste which way someone prefers. The only difference is:

\[ D = 4u^2 \]
Find all posts by this user
Quote this message in a reply
04-25-2024, 09:27 AM
Post: #12
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
same? (anno 198x)
https://www.hpmuseum.org/forum/thread-14...#pid145482

HP71B 4TH/ASM/Multimod, HP41CV/X/Y & Nov64d, PILBOX, HP-IL 821.62A & 64A & 66A, Deb11 64b-PC & PI2 3 4 w/ ILPER, VIDEO80, V41 & EMU71, DM41X
Find all posts by this user
Quote this message in a reply
04-26-2024, 12:51 AM (This post was last modified: 04-26-2024 12:52 AM by Pyjam.)
Post: #13
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
I'm delighted that this subject has allowed me to rediscover this formula, whose simplicity I admire.

x² − Sx + P = 0
With S = Sum, P = Product, M = Mean, δ = Deviation
M = S/2
δ² = M² − P
x = M ± δ

Code:
Input Sum
ENTER
ENTER
2
÷
ENTER

Input Product

√x
− gives x₁
− gives x₂
Find all posts by this user
Quote this message in a reply
04-26-2024, 06:01 AM
Post: #14
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
(04-26-2024 04:18 AM)Rolief_Rechner Wrote:  Would be grateful if someone could direct to instructions for including formula with text.

\(
\begin{align}
x_{1,2} = - \frac{b}{2a} \pm \sqrt{\left(\frac{b}{2a}\right)^2 - \frac{c}{a}}
\end{align}
\)

Which is the same as the well-known quadratic formula:

\(
\begin{align}
x_{1,2} = \frac {-b \pm \sqrt {b^2 - 4ac}}{2a}
\end{align}
\)

Just [Image: postbit_quote.gif] this post to see how to use LaTeX.

PS: You missed a factor 2 in the denominator.
Find all posts by this user
Quote this message in a reply
04-27-2024, 10:50 AM
Post: #15
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
(04-26-2024 09:25 PM)Rolief_Rechner Wrote:  A consolation is you are not the first to do this.

I'm not sure I understand you correctly, but your QuadForm.pdf attachment uses the following incorrect formula:

\(
\begin{align}
x_{1,2} = - \frac{b}{a} \pm \sqrt{\left(\frac{b}{a}\right)^2 - \frac{c}{a}}
\end{align}
\)

This led to my comment.

Example

\(
\begin{align}
a &:= 1 \\
b &:= -5 \\
c &:= 6 \\
\\
x_{1,2} &= 5 \pm \sqrt{19} \\
\\
x_1 &\approx 0.641101 \\
x_2 &\approx 9.3589 \\
\end{align}
\)

\(\Rightarrow\) Incorrect


BTW: The proper way to quote a post is using the [Image: postbit_quote.gif] button:
(04-26-2024 06:01 AM)Thomas Klemm Wrote:  PS: You missed a factor 2 in the denominator.
Find all posts by this user
Quote this message in a reply
04-27-2024, 08:21 PM (This post was last modified: 04-27-2024 08:23 PM by Rolief_Rechner.)
Post: #16
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
(04-27-2024 10:50 AM)Thomas Klemm Wrote:  
(04-26-2024 09:25 PM)Rolief_Rechner Wrote:  A consolation is you are not the first to do this.

I'm not sure I understand you correctly, but your QuadForm.pdf attachment uses the following incorrect formula:

\(
\begin{align}
x_{1,2} = - \frac{b}{a} \pm \sqrt{\left(\frac{b}{a}\right)^2 - \frac{c}{a}}
\end{align}
\)

This led to my comment.

Example

\(
\begin{align}
a &:= 1 \\
b &:= -5 \\
c &:= 6 \\
\\
x_{1,2} &= 5 \pm \sqrt{19} \\
\\
x_1 &\approx 0.641101 \\
x_2 &\approx 9.3589 \\
\end{align}
\)

\(\Rightarrow\) Incorrect


BTW: The proper way to quote a post is using the [Image: postbit_quote.gif] button:
(04-26-2024 06:01 AM)Thomas Klemm Wrote:  PS: You missed a factor 2 in the denominator.

The formula is derived by completing the square.
It was checked with Wolfram Alpha, attached.
If you still insist this is wrong, remedial education is suggested.


Attached File(s)
.pdf  WA.pdf (Size: 48.54 KB / Downloads: 26)
Find all posts by this user
Quote this message in a reply
04-27-2024, 09:02 PM
Post: #17
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
(04-27-2024 08:21 PM)Rolief_Rechner Wrote:  The formula is derived by completing the square.
It was checked with Wolfram Alpha, attached.

This is where it get wrong. (x + y)^2 = x^2 + 2 xy + y^2

a*x^2 + b*x + c = 0
x^2 + (b/a)*x + (c/a) = 0
x^2 + (b/a)*x + (b/(2a))^2 = (b/(2a))^2 - (c/a)
(x + b/(2a))^2 = (b/(2a))^2 - (c/a)

x = -b/(2a) ± √((b/(2a))^2 - (c/a))
Find all posts by this user
Quote this message in a reply
04-28-2024, 12:37 AM
Post: #18
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
(04-27-2024 09:02 PM)Albert Chan Wrote:  
(04-27-2024 08:21 PM)Rolief_Rechner Wrote:  The formula is derived by completing the square.
It was checked with Wolfram Alpha, attached.

This is where it get wrong. (x + y)^2 = x^2 + 2 xy + y^2

a*x^2 + b*x + c = 0
x^2 + (b/a)*x + (c/a) = 0
x^2 + (b/a)*x + (b/(2a))^2 = (b/(2a))^2 - (c/a)
(x + b/(2a))^2 = (b/(2a))^2 - (c/a)

x = -b/(2a) ± √((b/(2a))^2 - (c/a))

That is what I ended up with also.
It is simpler than what most textbooks have.
Once I stumbled upon this, loved it.
Regards - RR
Find all posts by this user
Quote this message in a reply
04-28-2024, 07:46 AM (This post was last modified: 04-28-2024 07:51 AM by Thomas Klemm.)
Post: #19
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
(04-27-2024 08:21 PM)Rolief_Rechner Wrote:  It was checked with Wolfram Alpha, attached.
If you still insist this is wrong, remedial education is suggested.

I used Solve[ax^2+bx+c=0,x] and got the following result:

[Image: attachment.php?aid=13488]
[Image: attachment.php?aid=13489]

In your attachment WA.pdf you end up with:

\(
\begin{align}
x_{1,2} = - \frac{b}{a} \pm \sqrt{\left(\frac{b}{2a}\right)^2 - \frac{c}{a}}
\end{align}
\)

Example

\(
\begin{align}
a &:= 1 \\
b &:= -5 \\
c &:= 6 \\
\\
x_{1,2} &= 5 \pm \frac{1}{2} \\
\\
x_1 &= 5.5 \\
x_2 &= 4.5 \\
\end{align}
\)

\(\Rightarrow\) Incorrect


Attached File(s) Thumbnail(s)
       
Find all posts by this user
Quote this message in a reply
04-28-2024, 11:24 AM
Post: #20
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
(04-23-2024 07:20 PM)rprosperi Wrote:  This article apparently first ran in Popular Mechanics... who knew to look there for math news??

Let the doubters and defenders come forth and critique....
No critic at all. Math and physics are improving / extending.. cauchy for example has built what I call a temporary bridge mathematic which is now bypassed by new recent concepts which allow for example to revisit the TOP concept which was abandonned.. my summary: open regularly the wardrobe! you will find good stuff you can improve again
The TOP revisited https://www.youtube.com/watch?v=eIk_NFrrElo
description here https://en.wikipedia.org/wiki/Lagrange,_...skaya_tops but with several scientific references/viruses which deserve to be eradicated
( we see practically here in this forum, the perhaps coming "MLDL" for HP41, now redefined with a pico board = old stuff deserve to be revisited )

HP71B 4TH/ASM/Multimod, HP41CV/X/Y & Nov64d, PILBOX, HP-IL 821.62A & 64A & 66A, Deb11 64b-PC & PI2 3 4 w/ ILPER, VIDEO80, V41 & EMU71, DM41X
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 3 Guest(s)