Domain: D00 — Financial Mathematics, Statistics, and Data Foundations
Family: D00-F01 — Mathematical Language and Quantitative Reasoning
Audience: a curious beginner who may not have studied finance or programming
Delivery: plain-language lesson, hand-worked arithmetic, and a small interactive lab
The one-sentence idea
Learn to read a financial formula as a small sentence about money.
Why this matters in money
Every later ratio, return, score, and model starts by naming numbers and showing how they fit together. If the names or the balance are unclear, a neat-looking answer can still be nonsense.
What you will be able to do
- tell a changing value from a fixed value
- read an expression without treating it like a conclusion
- check an equation by putting the answer back into both sides
What you need first
- ordinary addition, subtraction, multiplication, and division
- the idea that a number can represent money, shares, or a count
You do not need to program for this lesson. We use ordinary words and small numbers first. Later domains may show implementation details after the idea is comfortable.
Words to know
| Term | In simple words |
|---|---|
| Variable | A named value that may change, such as the number of shares. |
| Constant | A value treated as fixed for this calculation, such as a quoted fee. |
| Expression | Numbers and operations that describe a value, without claiming the two sides are equal. |
| Equation | A statement that the left side and right side have the same value. |
Scope and simple boundary
We use one-period money equations. Algebra with many unknowns belongs in A07; programming syntax is intentionally outside this lesson.
Definition contract
| Decision | Our simple choice | What we do not claim | Check |
|---|---|---|---|
| Names | Use clear names for changing amounts and fixed assumptions. | Do not hide a unit or a time period inside a name. | The learner can label every number in the example. |
| Balance | An equation is true only when both sides agree. | A formula is not automatically true just because it is written down. | Substitution check in the worked example. |
| Signs | Money coming in is added and money going out is subtracted. | Different accounting presentations may rearrange the same identity. | The cash bridge agrees before and after rearranging. |
Input contract
| Name | Kind | Unit | Empty? | Meaning |
|---|---|---|---|---|
| starting_cash | money | SAR | No | Cash at the beginning of the period. |
| inflows | money | SAR | No | Cash received during the period. |
| outflows | money | SAR | No | Cash paid during the period. |
All values in one example must use the same time period, currency, and scale unless the lesson explicitly shows a conversion. A missing or impossible input is a question to resolve, not a number to guess.
Output contract
| Output | Kind | Unit | Meaning | Safety rule |
|---|---|---|---|---|
| ending_cash | money | SAR | Starting cash plus inflows minus outflows. | Same currency and period. |
| check | label | text | Whether the displayed equation balances. | Must be true or needs review. |
The rule in everyday language
ending cash = starting cash + inflows - outflows
Think of the rule as a sentence. Say what each number means before you put it into the sentence.
Symbol table
| Name | Meaning | Unit |
|---|---|---|
| starting cash | money already held | SAR |
| inflows | money received | SAR |
| outflows | money paid | SAR |
| ending cash | money left at the end | SAR |
Four small steps
- Name each amount and its unit.
- Choose the signs: received money adds; paid money subtracts.
- Do the operations in the written order.
- Put the result back into the equation and check both sides.
Worked example (synthetic teaching numbers)
A small trading account starts with SAR 1,000. It receives SAR 250 and pays SAR 120. Ending cash = 1,000 + 250 - 120 = SAR 1,130. Check: 1,130 + 120 = 1,250, and 1,000 + 250 = 1,250, so the bridge balances.
Independent check
If the answer were SAR 1,370, adding the SAR 120 payment back would give SAR 1,490, not SAR 1,250. The balance check catches the sign mistake.
The numbers above are synthetic and author-derived for learning. They are not an observation about a named company, market, customer, or investment.
Simple playground
Open the small guided lab. Choose a number, press Step, and read the explanation under the result. The lab is designed to show one idea at a time, not to replace the lesson.
What to notice: the input, the rule, the check, and the safe interpretation are shown in that order. Open the full-size visual.
Where this is useful
- cash bridges
- share-count reconciliations
- simple budget checks
What this does not tell you
This identity describes the chosen period and currency. It is not a profit calculation, a forecast, or investment advice.
This is educational content, not investment, tax, legal, accounting, or regulatory advice. A simple calculation can be correct and still be the wrong calculation for a real decision.
Historical-example decision
Not useful for this lesson. A named company would add a story but would not teach the primitive more clearly than the small synthetic numbers above. A real case would also need a verified entity, period, unit, and publication right. The lesson therefore keeps its arithmetic transparent and synthetic.
Related lessons
Evidence boundary
The plain-language definitions and measurement cautions are supported by NIST. The formula wording, examples, and lab behavior are author-derived teaching choices. See the claim ledger and references for the boundary.
Optional verification implementation
You do not need code to learn this lesson. The package now includes matching Python and TypeScript verification façades, a shared worked-example fixture, and parity tests. They reproduce the lesson’s frozen rule and remain optional for nontechnical learners.
Enhancement studio: draw, compare, explain
This additive studio does not replace the beginner lesson above. It gives you two more drawings, a decision comparison, and short practice prompts so you can explain the idea without copying a formula or writing code.
Drawing 1 — name, apply, check
Read left to right: name what the data means, apply the narrow lesson rule, then use an independent check. Open the full-size concept anatomy.
Choose the right idea
| Decision | This lesson | Closest next or comparison | Why the difference matters |
|---|---|---|---|
| Main question | Learn to read a financial formula as a small sentence about money. | Functions, Domains, Ranges, and Graphs | Choose the question before choosing the arithmetic. |
| Safe rule | ending cash = starting cash + inflows - outflows | Uses its own input and boundary contract. | Neighboring lessons can use the same numbers but answer different questions. |
| Required check | If the answer were SAR 1,370, adding the SAR 120 payment back would give SAR 1,490, not SAR 1,250. The balance check catches the sign mistake. | Re-check its own unit, time, denominator, or schema. | A correct answer to the wrong question is still wrong. |
| Stop condition | Do not hide a unit or a time period inside a name. | Move only when its prerequisites are satisfied. | Unknown meaning is a reason to pause, not to guess. |
Drawing 2 — common-mistake clinic
The left side states the safe interpretation; the right side shows the mistake that often produces a believable but misleading result. Open the full-size mistake comparison.
Explain it back without code
- Name it: What does the first input or observation mean?
Answer: Cash at the beginning of the period. - Choose it: Which rule belongs to this question?
Answer: ending cash = starting cash + inflows - outflows - Challenge it: What check could make you stop?
Answer: If the answer were SAR 1,370, adding the SAR 120 payment back would give SAR 1,490, not SAR 1,250. The balance check catches the sign mistake.
If your explanation leaves out the unit, period, denominator, grain, or availability time that the lesson needs, it is not complete yet.
Related concepts and learning handoff
- Governed glossary: Variable, Constant, Expression, Equation. Browse the full financial glossary when a term is unfamiliar.
- Continue with: Functions, Domains, Ranges, and Graphs.
- Evidence boundary: all displayed numbers remain synthetic teaching data; the drawings do not claim a market observation, forecast, or investment result.
Rendered from the canonical Mermaid sources linked by this article.
Variables, Constants, Expressions, and Equations — four-part map
This diagram shows the learner's path from a named input to a safe explanation.
Takeaway: the check is not an afterthought. It tells the learner whether the answer belongs to the question that was asked.
ReferencesPrimary sources and evidence notesExpand the source trail, evidence role, and limitations behind the engineering choices.
Expand the source trail, evidence role, and limitations behind the engineering choices.
The family uses a small shared evidence set. Each source has a limited role; the examples and lab are clearly author-derived synthetic teaching material.
NIST — NIST/SEMATECH e-Handbook of Statistical Methods
- Organization or authors: NIST/SEMATECH
- Source type: Official statistical handbook
- Publication or effective date: 2022 current web edition
- Version: current web edition accessed for this build
- URL: https://www.itl.nist.gov/div898/handbook/
- Accessed: 2026-08-10
- Jurisdiction: general educational or measurement context
- Supports: Definitions, careful measurement language, and the difference between a calculation and a claim.
- Limitations: It does not choose this family's teaching examples or financial conventions.
Author-derived and synthetic boundary
The formulas are standard classroom definitions expressed in plain language. The worked values, visual labels, and playground scenarios are synthetic teaching inputs created for this package. They do not establish a company fact, market outcome, or investment result.
Full dependency-light reference implementations in both supported languages.
import { runTopic as runD00Topic, type D00Input, type D00Output } from "../../../../shared/typescript/d00Engine.ts";
/** Run the canonical D00-F01-A01 calculation. */
export function variablesConstantsExpressionsAndEquations(input: D00Input): D00Output {
return runD00Topic("D00-F01-A01", input);
}
The embedded lab now expands to its full document height, keeping the article as the only scroll surface.