Nishi Mathalpha

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.

New worksheet

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.

Open a reusable matrix worksheet

Reuse values and work with matrices

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.

Open an algebra worksheet · Compare a correct and an incorrect linear solution

Check a proposed linear-system solution

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.

See why a small residual can hide a large solution error

Certify a solution and inspect conditioning

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.

Open a units worksheet

Convert units and check quantities

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

convert 36 km/h to m/s

Exact conversion:

10 m/s

Reduced exact fraction; no rounded conversion factor. This checks the explicitly supplied units and values. Measurement uncertainty and physical model validity still need assessment.

Cell 2

check-quantity 1 lbf*s = 1 N*s

These quantities are not equal. After exact conversion:

8896443230521 / 2000000000000 N*s

Reduced exact fraction; no rounded conversion factor. This checks the explicitly supplied units and values. Measurement uncertainty and physical model validity still need assessment.

Cell 3

convert 32 degF to degC

Exact conversion:

0 degC

Reduced exact fraction; no rounded conversion factor. This checks the explicitly supplied units and values. Measurement uncertainty and physical model validity still need assessment.

Replayed 3 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.

Fn=Fn-1+Fn-2Fibonacci: each number is the two before it added together — the 10th Fibonacci number is 55
Tn=n(n+1)2Triangle numbers: stack rows of dots and count them — ten rows of dots make 55
Mn=2n-1Towers of Hanoi: the smallest number of moves — eight discs need 255
N=2nFlip a coin six times: how many different results are possible — six flips give 64
nmod2=0Odd or even, without dividing anything — 1234567 returns the parity code 1

Learn

school

ab+cd=ad+bcbdAdding 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.
am⋅an=am+nPowers add when you multiply. The same law is a tooth in our maths gate, so if it ever stopped holding, a build would refuse.
a⋅a=aRoots undo squares.

Solve

algebra

x=-b±b2-4ac2aThe quadratic formula. Enter an equation in the worksheet above to compute its worked solution.
a2-b2=(a+b)(a-b)Difference of squares.

Solve 3x + 4 = 19

the equation as given3x+4=19
subtract the constant from both sides, which keeps the equality true3x=15
divide both sides by the coefficient of xx=153
reduce the fraction to lowest terms, exactly and with no roundingx=5

Solve x squared minus 5x + 6 = 0

the equation as givenx2-5x+6=0
the quadratic formula, which solves every equation of this shapex=-b±b2-4ac2a
compute the discriminant, which decides how many real roots there areb2-4ac=1
the discriminant is a perfect square, so both roots are EXACT rationals1=1
first root, reduced to lowest termsx=3
second root, reduced to lowest termsx=2

Solve x squared = 2, where the honest answer is irrational

the equation as givenx2-2=0
the quadratic formula, which solves every equation of this shapex=-b±b2-4ac2a
compute the discriminant, which decides how many real roots there areb2-4ac=8
the discriminant is not a perfect square, so the roots are IRRATIONAL and the exact form is the answerx=0±82

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.

P=L⋅r1-(1+r)-nThe 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.
P(t0<T≤t1|T>t0)=1-e-((t1/η)β-(t0/η)β)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.
μ=naμa+nbμbna+nbThe merge law for streaming statistics: two partial summaries combined must equal one pass over everything. That is a tooth, not a hope.

Prove

research

13+16=12Exactly one half. Our rationals canonicalise, so this is an identity the gate checks rather than a rounding that happens to look right.
∀a,b∈ℤ:(a+b)2=a2+2ab+b2Arbitrary 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

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

PieceOrganWhat it does here
Typesettingnx_mathml_libReads the LaTeX subset and emits MathML the browser renders natively. Every formula above went through it at publish time.
Symbolsnx_unicode_mathThe Greek letters and operator glyphs, composed rather than re-tabulated.
Gamesnx_math_gamesParity, Fibonacci, triangle numbers, Hanoi and coin outcomes, each answer computed at publish time.
Applied corenx_amort_lib, nx_hazard_lib, nx_sketch_stream_statsMoney, wear and tear, statistics, all in integer fixed point.
Exact arithmeticnx_mathcoreArbitrary precision integers, exact rationals, complex numbers, derivation checking.
Proofnx_appliedmath_gate, nx_mathcore_gateFifty-seven teeth between them, every one an identity or a conservation law, comparators bite-proven.