Solve equations, convert units, inspect the working, and check proposed solutions. An editable worksheet keeps the mathematics and the results together.
Your worksheet
Write one definition, calculation, equation or check per line. Reuse your values, edit the worksheet, and run it again.
Use let to name exact values and calc to compute with them. Definitions can appear in any order; every run starts from the visible input. Existing equations and unit checks keep their own syntax. Your input is stored in the URL, so use this shareable workspace for non-private mathematics.
Define let half = 1/2, then use calc half + 1/3. Values stay exact. Use + - * / ^ and parentheses; powers need an integer exponent. Names use letters, digits and underscores and must start with a letter or underscore. Each name has one definition.
Enter a matrix as [1,2;3,4]: commas separate columns and semicolons separate rows. Matrix addition and subtraction need matching shapes. Multiply matrices with *, scale or divide by a number, transpose with transpose(A), or solve solve(A,b) with a square A and a column b. A solve is accepted only after exact verification against the original equations.
Missing names, duplicate definitions, cycles and failed dependencies stay visible. Changes take effect when you run the worksheet. Exact arithmetic currently uses checked integers; overflow is refused. Interactive matrix grids, arbitrary precision, symbolic calculus, plotting and private saved notebooks are still being built.
Use check-linear N SCALE TOL_NUM TOL_DEN A... B... X.... Enter the matrix row by row, followed by the right-hand side and the solution numerators; the solution is X / SCALE.
Example: check-linear 2 1 0 1 3 1 2 4 5 10 1 2 checks 3x + y = 5 and 2x + 4y = 10 at x = 1, y = 2, requiring zero residual. The report separates an accepted backward error from properties that still need assessment.
Use certify-linear N SCALE TOL_NUM TOL_DEN A... B... X.... The entry order matches check-linear, but the tolerance applies to the relative error in the solution. This computes and verifies a unique exact solution for a square integer matrix, then compares your proposed answer with it.
The infinity norm uses the largest component magnitude; a matrix uses its largest absolute row sum. Condition number is the matrix norm multiplied by its inverse norm. A zero true solution requires an exactly zero proposed answer. Singular systems and arithmetic outside the current checked integer range are explicitly refused.
Use convert 36 km/h to m/s or check-quantity 1 lbf*s = 1 N*s. Values can be integers, decimals or fractions such as 3/2. The result keeps the exact fraction. The second example correctly rejects a wrong force conversion even though the dimensions match.
Symbols: 1 m kg s A K mol cd N J W Pa Hz C V ohm g L min h day ft in lb lbf. Prefixes k M G c m u n work on these SI symbols and L, with g as the mass base. Combine units with * / ^, for example kg*m/s^2. Multiplication and division run left to right; parentheses and fractional powers are not supported yet.
For temperature values use degC, degF or K. For changes in temperature use deltaC or deltaF. A temperature value cannot be used as a rate or multiplied into a compound unit. Values below absolute zero are refused when converting temperature values involving degC or degF. Exact arithmetic currently uses bounded integers and explicitly refuses overflow.
Cell 1
check-linear 2 1 0 1 3 1 2 4 5 10 1 2
Within the declared backward-error tolerance.
Equation
Exact residual
Componentwise backward error
1
0 / 1
0 / 10
2
0 / 1
0 / 20
Residual = b - A x. Backward error measures how closely these declared numbers satisfy the equations. Units, conditioning, forward accuracy, uniqueness and model validity still need review.
Cell 2
check-linear 2 1 0 1 3 1 2 4 5 10 2 2
This proposed solution exceeds the declared tolerance.
Equation
Exact residual
Componentwise backward error
1
-3 / 1
3 / 13
2
-2 / 1
2 / 22
Residual = b - A x. Backward error measures how closely these declared numbers satisfy the equations. Units, conditioning, forward accuracy, uniqueness and model validity still need review.
Replayed 2 cells from the visible input. A refused cell remains refused; it does not validate the rest of the worksheet.
Where this is different, and where it is not
read this first
Exact, not approximate
Supported equation solutions retain fractions and exact radicals. The linear-system reviewer checks exact integer residuals and reports its arithmetic range. Exact arithmetic alone does not establish units, model validity or superiority to other mathematics systems.
Checkable, not asserted
The applied core is proved by conservation and identity laws, and an arithmetic outside this estate re-computed the published values and agreed on every one of twenty-four, refusing two deliberately corrupted ones.
Yours, not rented
The typesetter, the games and the arithmetic are ours from the first byte. Nothing on this page is fetched from another company: no library, no web font, no third-party analytics. It works the same in the Nishi browser.
What we cannot do yet
Live worksheets reuse exact named scalars and matrices, solve supported linear and quadratic equations, convert units and review declared linear-system solutions. General symbolic solving, calculus, plotting, matrix-grid entry and private saved notebooks remain on the roadmap.
Play
from about five years old
Every answer below is computed right now by the same library the rest of the estate uses, not typed into the page.
Fibonacci: each number is the two before it added together — the 10th Fibonacci number is 55
Triangle numbers: stack rows of dots and count them — ten rows of dots make 55
Towers of Hanoi: the smallest number of moves — eight discs need 255
Flip a coin six times: how many different results are possible — six flips give 64
Odd or even, without dividing anything — 1234567 returns the parity code 1
Learn
school
Adding fractions. Our rational arithmetic does this exactly and reduces the answer, so one third plus one sixth is exactly one half and never 0.4999999.
Powers add when you multiply. The same law is a tooth in our maths gate, so if it ever stopped holding, a build would refuse.
Roots undo squares.
Solve
algebra
The quadratic formula. Enter an equation in the worksheet above to compute its worked solution.
Difference of squares.
Solve 3x + 4 = 19
the equation as given
subtract the constant from both sides, which keeps the equality true
divide both sides by the coefficient of x
reduce the fraction to lowest terms, exactly and with no rounding
Solve x squared minus 5x + 6 = 0
the equation as given
the quadratic formula, which solves every equation of this shape
compute the discriminant, which decides how many real roots there are
the discriminant is a perfect square, so both roots are EXACT rationals
first root, reduced to lowest terms
second root, reduced to lowest terms
Solve x squared = 2, where the honest answer is irrational
the equation as given
the quadratic formula, which solves every equation of this shape
compute the discriminant, which decides how many real roots there are
the discriminant is not a perfect square, so the roots are IRRATIONAL and the exact form is the answer
Every line above was produced by the solver and typeset by our own reader when this page was published. The answers are exact: a fraction stays a fraction, and an irrational root is given in its exact radical form rather than rounded into a decimal that is not the answer.
Apply
the mathematics people are actually paid for
Money, wear and tear, and statistics. This is the half of mathematics that gets computed every day and machine-checked almost nowhere.
The level payment on a loan. On a 250,000 loan at 6.25 percent over 360 months our organs return 153929 pennies a month, and the schedule is PROVED to repay every penny of principal exactly once.
Weibull wear and tear: the chance a part fails in the next stretch given it has survived this far. Computed in pure integer fixed point, and proved monotone so a longer exposure can never come back safer.
The merge law for streaming statistics: two partial summaries combined must equal one pass over everything. That is a tooth, not a hope.
Prove
research
Exactly one half. Our rationals canonicalise, so this is an identity the gate checks rather than a rounding that happens to look right.
Arbitrary precision integers, checked by distributing the product two different ways over five limbs. A derivation chain can be attached to a result and machine-verified, and a malformed proof is refused by name.
For schools and universities
support the work
Nishi Math is free to use and always will be. Schools, departments and universities can sponsor a section of this page to show they back independent, checkable mathematics tooling that no student has to pay for and no institution has to license.
Sponsorship is plain and honest: a named card, no tracking of any reader, no third-party advertising network, and no data leaving this page. Placement is served by our own ad organs alongside everything else here.
Sponsor slot — available. A named card for a school, department or university.
Release and next steps
2026-11-06 Alpha worksheet update: reuse named exact values, enter and calculate with matrices, and solve systems with exact verification. Definitions resolve across cell order and every run rebuilds the worksheet; missing names, duplicates, cycles, shape errors and arithmetic limits are explicit. Native callers use worksheet-v1. Interactive matrix grids and selective recomputation remain queued. Validation and current comparison gaps.
2026-11-06 Alpha update: certify a unique exact linear solution, inspect its condition number, and measure the proposed answer's forward error. The paired example exposes a small residual hiding a large solution error and shows the corrected answer. Validation covers independent cofactor answers, corrupted-certificate rejection, singular systems, zero solutions and arithmetic limits. Native callers use linear-certify-v1. Larger sparse systems, arbitrary precision and external comparative benchmarks remain open.
2026-11-05 Alpha update: convert exact physical quantities, catch wrong unit scales, and distinguish temperature values from intervals. The worksheet also replays independent algebra cells and checks exact linear-system residuals. Validation includes source-derived unit answers, wrong-scale and overflow controls, plus the retained earlier worksheet tests. Read the retained validation, research roadmap and open comparison work.
The mathematics office owns correctness and research guidance. Workspace depth and NishiLang with its package ecosystem are separate measured targets. Broad superiority remains unproven.
How this page is built
Piece
Organ
What it does here
Typesetting
nx_mathml_lib
Reads the LaTeX subset and emits MathML the browser renders natively. Every formula above went through it at publish time.
Symbols
nx_unicode_math
The Greek letters and operator glyphs, composed rather than re-tabulated.
Games
nx_math_games
Parity, Fibonacci, triangle numbers, Hanoi and coin outcomes, each answer computed at publish time.