Cubic Roots-Fit a Quadratic Between a Turning Point And Midpoint!
Author(s): Greg Oliver
Originally published on Towards AI.
A Root Approximation Tool Kit Mixing and Matching Polynomial Architectures
This member-only story is on us. Upgrade to access all of Medium.
This post presents a novel Cubic-Quadratic function matchup for finding Cubic roots. It exploits the little publicised fact that the Midpoint between 2 adjacent roots of a reduced Cubic when multiplied by -2 gives us the 3rd root!
This is related to the sum of the factors = Coefficient B of x². In the example B=0 being a reduced Cubic.
Besides being graphically intuitive the adopted Quadratic function greatly simplifies Cubic function redesign with varying Constants D, because it’s a lot easier to find Quadratic roots with changing Constants c than Cubic roots with changing Constants D.
This post assumes math at the year 12 level.
Before doing a couple of examples, let’s do a brief recap on genetic Cubic architecture.
Cubic Architecture Recap
The header graph shows reduced Cubic y=Ax³+Cx+D and its genetic dimensions shown in black. It is rotationally symmetrical about its Inflection Point Ip(0, y)=Constant D; (Imaginary propellor shaft ?):):). It has y=Ip(y) intercepts as follows:
Int A(x)= – SqRt[-C/A] and Int B(x)= + SqRt[-C/A] with Midpoints:
Midpoint (Int A : Ip(0, D)=Int A(x)-SqRt[-C/4A] and +SqRT[-C/4A] (not shown)
And Turning Points Tp(x)=+-SqRt[-C/3A]
Roots Rt 1, Rt 2 with Root Midpoint; Mid Point (Rt… Read the full blog for free on Medium.
Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.
Published via Towards AI
Towards AI Academy
We Build Enterprise-Grade AI. We'll Teach You to Master It Too.
15 engineers. 100,000+ students. Towards AI Academy teaches what actually survives production.
Start free — no commitment:
→ 6-Day Agentic AI Engineering Email Guide — one practical lesson per day
→ Agents Architecture Cheatsheet — 3 years of architecture decisions in 6 pages
Our courses:
→ AI Engineering Certification — 90+ lessons from project selection to deployed product. The most comprehensive practical LLM course out there.
→ Agent Engineering Course — Hands on with production agent architectures, memory, routing, and eval frameworks — built from real enterprise engagements.
→ AI for Work — Understand, evaluate, and apply AI for complex work tasks.
Note: Article content contains the views of the contributing authors and not Towards AI.