Lab
Tools for exploring an idea rather than being tested on it. Type any expression and the engine differentiates it rule by rule, plots it and integrates it; then see where the same mathematics leads in probability and actuarial work.
Workbench
One expression drives the derivation, the plot and the definite integral at once. Pick an AP problem below and it loads here, fully solved.
Symbolic solver
Differentiate or integrate an expression and read the full argument, rule by rule.
Standard infix notation. Implicit multiplication (2x, 3sin(x)) is understood.
Matrix tools
Determinant by LU factorisation, inverse by Gauss-Jordan elimination, rank from the row echelon form, and Jacobi eigenvalues for symmetric matrices.
- Determinant
- 9
- Rank
- 3
- Trace
- 13
- Condition (∞-norm)
- 41.889
Transpose
Inverse
Graphing canvas
The same expression, plotted with its derivative overlaid.
Step-by-step solution
Every rule invoked, in the order the engine applied it.
Result
2 steps
The expression is differentiated with respect to x. Every other symbol is treated as a constant.
AP Calculus & Statistics visualiser
Exam-style prompts the engine solves in full. Pick one and the derivation appears above, rule by rule.
Each card names the professional technique its topic becomes. That is the thread this project is built around: the chain rule you learn for the AP exam is the same chain rule that produces an option's delta, and the improper integral in BC is literally the present value of a life annuity.
Probability, statistics & where they lead
The distributions on the AP Statistics formula sheet, plus the parametric mortality laws they turn into once you reach actuarial work.
Probability & survival visualiser
Parametric distributions and mortality laws, with the life-contingency functions derived from them.
- Survival probability
- 79.450%
- Mortality probability
- 20.550%
- Complete expectation
- 18.76 yr
- Curtate expectation
- 18.26 yr
- Whole-life insurance
- 0.50649
- Life annuity
- 12.33779
- Net annual premium
- 0.04105
- Identity check
- 1
Chance a life aged 45 reaches age 55.
The complement — what a term policy actually insures.
Area under the conditional survival curve.
Whole years survived, summed at integer durations.
EPV of 1 paid at the moment of death.
EPV of 1 per year paid continuously while alive.
Equivalence principle: EPV(premiums) = EPV(benefits).
Must equal 1 — an internal consistency check on the quadrature.
Mortality compounds geometrically — c ≈ 1.09 doubles the hazard about every 8 years.
Monte Carlo laboratory
Opens on the Central Limit Theorem: average a strongly skewed population and watch the sampling distribution become normal, with the simulated spread checked against σ/√n.
Stochastic simulation
Runs off the main thread, so the interface stays responsive at half a million paths.
Distribution of the sample mean for n = 30 drawn from a exponential population.
Set n = 1 to see the raw population shape, then raise it. The histogram becomes symmetric and bell-shaped no matter which population you pick — that is the theorem.
Press Run to sample the distribution.