← Latest papers
💬 NLP

Formula-One Prompting: Equation-First Reasoning For Applied Mathematics

The paper introduces Formula-One Prompting (F-1), a two-phase reasoning method that improves large language model performance in applied mathematics by explicitly formulating governing equations as an intermediate step before selecting a solving strategy, thereby outperforming existing Chain-of-Thought and Program-of-Thought approaches across multiple benchmarks.

Original authors: Natapong Nitarach, Pittawat Taveekitworachai, Kunat Pipatanakul

Published 2026-03-30
📖 4 min read☕ Coffee break read

Original authors: Natapong Nitarach, Pittawat Taveekitworachai, Kunat Pipatanakul

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are asking a brilliant but slightly scattered student to solve a complex math problem.

If you just say, "Solve this," they might jump straight into the answer, guessing their way through. This is like Zero-Shot prompting.
If you say, "Think step-by-step," they might write out a long paragraph of logic. This is Chain-of-Thought (CoT).
If you say, "Write a computer program to solve this," they might generate code. This is Program-of-Thought (PoT).

The problem is, for real-world math (like finance, physics, or cryptography), these students often skip the most important part: writing down the actual formula before they start calculating. They try to "think" their way through the equation instead of writing it down first, leading to confusion and errors.

Enter "Formula-One Prompting" (F-1)

The authors of this paper propose a new way to talk to AI called Formula-One Prompting. Think of it as giving the student a specific, two-step recipe that forces them to slow down and do things in the right order.

Here is how it works, using a simple analogy:

The Analogy: The Architect vs. The Builder

Imagine you want to build a house.

  • Old Methods (CoT/PoT): You tell the builder, "Start building!" The builder might start laying bricks immediately, realizing halfway through they forgot to account for the load-bearing walls, and then having to tear everything down.
  • F-1 Method: You tell the builder, "First, draw the blueprints (the equations). Once the blueprints are perfect, then decide whether to build it by hand, use a machine, or just calculate the materials needed."

The Two Phases of F-1

Phase 1: The Blueprint (Equation Formalization)
Before the AI tries to solve the problem, it is forced to pause and say:

  1. What do I know? (The givens: e.g., "Interest rate is 5%," "Gravity is 9.8").
  2. What do I need to find? (The target).
  3. What is the rule? (The governing equation: e.g., "Compound Interest Formula" or "Newton's Second Law").

This is like the architect drawing the blueprints. It forces the AI to understand the structure of the problem before it tries to solve it.

Phase 2: The Natural Flow (Choosing the Tool)
Once the blueprint is drawn, the AI looks at it and asks itself: "Okay, now that I have the formula, how do I solve this?"

  • If the formula is simple (just plug in numbers), it does a Direct Calculation.
  • If the formula requires a long logical proof, it uses Chain-of-Thought (step-by-step reasoning).
  • If the formula involves heavy number crunching, it writes Code (Program-of-Thought).

Crucially, the AI chooses the tool itself based on the blueprint. We don't tell it "Use code!" or "Use logic!" It figures that out naturally.

Why is this a big deal?

The paper tested this on five different AI models across four difficult areas: Finance, Physics, Cryptography, and Math Competitions.

Here are the results in plain English:

  • It's Smarter: F-1 beat the standard "think step-by-step" method by about 6% and the "write code" method by 8%. That sounds small, but in math, that's the difference between a failing grade and an A.
  • It's Best for Real Life: The biggest improvements happened in Finance and Physics. Why? Because these fields are built on specific laws (formulas). By forcing the AI to write the law down first, it stops making silly mistakes like confusing "independent of x" with "equals zero."
  • It's Efficient: Usually, to get better results, you have to ask the AI to try multiple times or use complex routing systems. F-1 does it all in one single conversation, saving time and money.

A Real-World Example from the Paper

The Problem: A physics question asks to prove that a certain value is "independent of time."

  • The Old Way (CoT): The AI thinks, "If it's independent, maybe it's zero?" It gets confused and writes the answer as "0". Wrong.
  • The F-1 Way:
    1. Phase 1: The AI writes down the equation and realizes, "Ah, the rule says the derivative is zero, meaning the value doesn't change, not that the value is zero."
    2. Phase 2: It solves the problem correctly, explaining that the value is constant, not zero. Correct.

The Bottom Line

Formula-One Prompting is like teaching an AI to stop rushing. It forces the AI to write down the rules of the game before it starts playing. By doing this, the AI becomes much better at solving real-world problems in finance, science, and security, all without needing extra computers or complex instructions.

It's a simple shift: Write the formula first, solve the problem second. And it works wonders.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →