Writing Math and Equations on PACR

Tomás arrived from Porto in late January with a laptop full of half-finished derivations. Over bad coffee on his second morning, he described a problem that had nothing to do with physics. He was stuck on the plumbing.

He was a fluid dynamicist on a three-month visiting position, working on a boundary-layer stability paper with collaborators on two continents. The derivation lived in a LaTeX file on his machine. The discussion about it lived in email. His notes on the papers he was building on lived in a PDF reader with its own annotations. Every time an equation moved from one of those places to another, something broke.

Kinematic viscosity, ν, came out as a plain v after a copy and paste. A subscript disappeared, so a term that should have been evaluated at the wall wasn't. His co-author in Lisbon kept referring to "equation 14," which by then was equation 16 in Tomás's version. Neither of them noticed for a week.

"I spend more time checking that my equations survived the trip," he told me, "than I spend deriving them."

I've heard versions of that sentence for most of my career. Researchers in math, physics and engineering have been saying it longer than anyone. This post covers how I think about writing equations on PACR so they stay clear and correct from the first draft to the published version, and what I'd do differently if I were starting a mathematical paper today.

Most equation problems aren't typesetting problems

Most advice about writing math focuses on making equations look right. Which delimiters to use, how to align a multi-line derivation, when to use a fraction slash. That advice is fine, but it mostly targets a solved problem. LaTeX has been the working standard in mathematics and physics for decades, and anyone who has written a thesis in those fields can make an equation look good.

The unsolved problem is context. An equation is never just its symbols. It depends on definitions written three paragraphs earlier, conventions inherited from the papers it builds on, a numbering scheme that other sentences point into, and units nobody wrote down because "everyone knows." When an equation travels between tools, it loses that context. The symbols might survive. The meaning often doesn't.

That's why I think about equation quality less as presentation and more as continuity. Can a reader, a collaborator, or you six months from now pick up this equation and know exactly what every symbol means and where it came from?

Why a connected workspace matters for mathematical writing

PACR is an AI-native research workspace. It connects finding and reading literature, summarizing, writing, collaborating and publishing in one platform, and it's built so those steps share context instead of handing it off. For most fields that saves time. For mathematical work, it removes a whole class of errors.

Look at where Tomás's errors came from. None of them were mistakes in the physics. Each one happened at a handoff: PDF to notes, notes to draft, draft to email, his version to his co-author's version. Every handoff is a chance for a symbol to be retyped, a convention to be silently changed, or a number to drift.

When the papers you're drawing on, the draft you're writing, the discussion with your collaborators and the version you publish all live in the same workspace, there are fewer handoffs. You write an equation once and it travels with its surroundings. Your collaborator reads the same draft you'll publish, so the "my version versus your version" problem goes away.

A tool can't do your thinking about notation for you, though. Most of what follows is the discipline I'd ask of any author. The workspace keeps that discipline from being undone between steps.

Set your notation before you write a single equation

This is the habit I push hardest, and the one most people skip. Before the derivation, write a short notation block at the top of your draft. It's for you and your co-authors first. It may or may not end up in the paper.

The notation block exists because the papers you build on won't agree with each other. They almost never do. If you translate their results into your notation one equation at a time, without deciding the conventions up front, you'll eventually mix two conventions in one line.

The ambiguities that cause the most trouble

Ambiguity

Where it bites

What to write down

Base of log

Numerical analysis, information theory, complexity bounds

Whether log means natural log, base 10 or base 2

Fourier transform convention

Signal processing, quantum mechanics, optics

Where the factors of 2π go and the sign of the exponent

Metric signature

Relativity, field theory

Mostly plus or mostly minus

Imaginary unit

Electrical engineering versus physics and math

Whether you use i or j, and what the other letter means instead

Vectors and tensors

Mechanics, continuum physics

Bold, arrows or index notation, and whether repeated indices are summed

Units and scaling

Engineering, applied physics

Whether variables are dimensional or nondimensionalized, and against which reference scales

For units, I treat the SI definitions from the International Bureau of Weights and Measures as the default. I note explicitly when a field's conventions depart from them, as Gaussian units still do in parts of electromagnetism.

A small story about a big factor

A few years ago, Anjali, a numerical analyst visiting from Pune, showed me a referee report that said her error bound was "off by a constant factor of roughly 2.3." She'd spent two days rechecking the proof before I asked what log meant in her paper. In her community it meant natural log. The referee had read it as base 10. The ratio between the two is ln 10, about 2.303.

The proof was fine. One sentence in a notation section would have saved her two days and a round of review. I've never forgotten that number.

Writing equations a reader can actually follow

Define every symbol near its first appearance

A notation block helps you. It doesn't help a reader who jumps straight to Section 4. Define each symbol in the sentence that introduces it or the one right after. "Here u is the streamwise velocity and δ the boundary-layer thickness" costs you twelve words and saves every reader a hunt.

If a symbol changes meaning partway through, which happens in long derivations more than anyone admits, say so in words. Better yet, pick a new symbol.

Display what matters, inline what doesn't

Displayed equations are signposts. Use them for results, definitions and steps the reader needs to check. Inline math is for small expressions that read naturally in a sentence. If a reader would have to stop and parse a nested fraction mid-sentence, it belongs on its own line.

Long derivations are where I disagree with a lot of authors. You don't need to display every algebraic step. Show the steps where something non-obvious happens, such as an approximation, a substitution or a dropped term, and tell the reader in words what happened between the others.

Number only what you refer to

Numbering every displayed equation feels thorough. In practice it creates dozens of labels nobody uses and makes renumbering errors like Tomás's more likely. Number the equations you or a reader will need to point back to, and leave the rest unnumbered.

When you do refer to an equation, add a few words of meaning: "the momentum balance (12)," not just "(12)." If the numbering ever drifts, the words still tell the reader which equation you meant.

Punctuate equations as part of the sentence

An equation sits inside a sentence and takes punctuation like one. A displayed equation that ends a sentence gets a period, and one followed by "where" gets a comma. This is standard practice in mathematical writing and in the style guidance of bodies like the American Mathematical Society. Readers notice when it's missing, even if they can't say why the page feels harder to read.

Never share an equation as a screenshot

I see this constantly in collaborative work: someone pastes an image of an equation into a message because it's faster than retyping it. Please don't.

An image of an equation can't be searched, quoted, corrected or reused. It can't be read by screen readers, which matters for colleagues who use them. The web standards community has worked on accessible math for years through MathML, and there's a growing literature on making mathematical content accessible to screen reader users. An image also can't be understood reliably by the AI tools that summarize and connect your work, so it drops out of the context your workspace is trying to preserve.

Write the math as math, even when a screenshot would be quicker.

A worked example: from source papers to a shared derivation

Here's how I'd structure a realistic piece of work on PACR, using something close to Tomás's project: extending a published stability result to include wall heating, with one co-author abroad.

  1. Gather the sources first. Use PACR's research search to find the papers whose results you'll build on, such as the classical stability analysis and a couple of recent extensions. Read them in the same workspace where you'll write.

  2. Record each source's conventions as you read. One paper nondimensionalizes by displacement thickness, another by momentum thickness. One uses a perturbation ansatz with a positive exponent, another a negative one. Write these down next to your reading notes. This is the step that stops sign errors later.

  3. Write the notation block for your own paper. Choose your conventions and say explicitly how each source maps onto them, for example "Smith's α corresponds to our 2πk."

  4. Draft the derivation in the same workspace. When you bring in a result from a source, translate it into your notation right away and note the translation. Don't paste the original and plan to fix it later. You won't.

  5. Bring in your co-author on the live draft. They read and respond to the actual derivation, not an exported copy, so equation references stay in sync.

  6. Read it once as a stranger. Before anything leaves your hands, go through the draft asking only two questions. Is every symbol defined before or right where it's used? Does every numbered equation get referred to? Delete the labels that don't.

  7. Publish from the same draft. The version you share is the version you wrote and checked. If you're also posting a preprint to arXiv, check the notation block and units against the final text one more time. Preprints get read closely, and occasionally by your future referees.

The steps aren't complicated. What usually goes wrong is the gaps between them, and that's where keeping everything in one workspace pays off.

A note for engineers and applied researchers

Engineering papers add a problem pure math rarely has: equations that mix physical quantities, empirical constants and design parameters. In my experience, the most common error in applied work isn't a wrong equation but a correct equation in the wrong units, or an empirical coefficient quoted without the regime it was fitted in.

Two habits help. State units for every dimensional quantity the first time it appears. And when you use an empirical correlation, put its validity range, such as Reynolds number, temperature or geometry, in the same sentence as the equation. Don't leave it in a footnote. Readers who apply your result outside that range will thank you, or more likely they won't write to tell you they got it wrong.

What I'd tell Tomás now

Before he went back to Porto, Tomás and his co-author rebuilt their working draft from scratch, notation block first. It took an afternoon. He said it was the first time in the project he trusted that the equation on his screen was the same one his co-author was looking at.

That trust is what I'd want for anyone writing mathematical research. Getting it doesn't take an elaborate system. Decide your conventions before you write, keep the math as math, and stop moving your work between tools that each strip a little context away.

If you have a derivation in progress, try moving it, along with the papers it depends on, into a single workspace and writing the notation block before anything else. You can start a PACR workspace here and do that this week, before the next "equation 14" gets lost in transit.

Related reading

More on writing the paper: