User manual

Everything AI calc can do

Every keypad tab, every function and a worked example for each, typed the way you would on your phone. All answers come from the app's own maths engine.

125 topics · 198 worked examples

Guide

Getting started

Type an expression the way it is written on paper, then press =. Templates such as fractions and roots have boxes to fill in; move between them with the cursor arrows.

Your first calculation

  1. Insert a fraction

    Press □□\frac{\square}{\square} and type 3, then move down with → and type 4.

  2. Finish the expression

    Move out of the fraction with →, press + and add 56\frac{5}{6} the same way.

  3. Press equals

    The exact answer appears under your expression.

You type
34+56\displaystyle \frac{3}{4}+\frac{5}{6}
AI calc
1912\displaystyle \frac{19}{12}

Reuse the last answer

Ans\mathrm{Ans}

Ans stands for the previous result. Here the previous answer was 5+i5+i.

You type
Ans×2\displaystyle \mathrm{Ans}\times2
AI calc
10+2i\displaystyle 10+2i

Editing

← and → move the cursor through the expression; hold them to repeat. DEL deletes the item before the cursor (hold to repeat) and AC clears everything.

Decimals stay exact

Decimals you type are treated as exact fractions, so no rounding creeps in.

You type
∣−7.5∣\displaystyle \left\vert-7.5\right\vert
AI calc
152\displaystyle \frac{15}{2}
Guide

Display and modes

The buttons along the top of the screen control how answers are shown.

ButtonWhat it does
DEC Result base. Tap to cycle binary, octal, decimal and hexadecimal; hold to choose any base from 2 to 36.
EXACT ≈ Result mode. EXACT shows fractions, surds and π\pi; ≈ shows a decimal with up to 16 places (changeable in Settings).
RAD DEG Angle mode for trigonometry, arguments and polar forms.
f(X) Lists your saved expression functions, where you can edit or delete them.
⤢ Opens a large view of the expression and the result, for long answers such as matrices.
! Turns red when a calculation fails. Tap it to see the full error message.
⚙ Opens Settings.
Errors are grouped by type: Syntax (the expression is incomplete), Math (for example dividing by zero), Unsupported, and Resource (the calculation needed more steps than allowed; raise the limit in Settings).
Guide

The keypad

The lower keypad holds digits, operators, π\pi, ee, ii, xx, brackets, the comma and Ans. Above it, swipe left and right through eleven tabs of functions, or tap the dots to jump to a tab.

Blue dots. A key with a small blue dot has a second action: press and hold it.
Guide

Settings

Tap ⚙ to open Settings. Restore defaults puts everything back to the values below.

SettingDefaultWhat it controls
ThemeFollow deviceLight, dark, or the same as your phone.
Default angle modeRADThe angle mode the app starts in.
Approximate decimal places16Digits shown after the decimal point in ≈ mode.
Calculation precision50Working digits used by the maths engine.
Maximum iterations512Step limit for the solver, limits and other iterative methods. For differential equations it applies to each output row.
ODE relative tolerance digits12Relative accuracy target 10−n10^{-n} for differential equations.
ODE absolute tolerance digits14Absolute accuracy target near zero.
ODE output points21Rows in a differential-equation answer.

Settings also holds your Calculation history. Tap any entry to put that expression and its result back on AI calc.

Core tab

Core

Everyday tools that are not on the main keypad: arrangements, factorials, rounding, percentages and the equation solver.

Permutations

□P□{}^{\square}P_{\square}

Number of ordered arrangements of rr items chosen from nn.

You type
5P2\displaystyle {}^{5}P_{2}
AI calc
20\displaystyle 20

Combinations

□C□{}^{\square}C_{\square}

Number of ways to choose rr items from nn when order does not matter. Large values stay exact.

You type
10C3\displaystyle {}^{10}C_{3}
AI calc
120\displaystyle 120
You type
52C5\displaystyle {}^{52}C_{5}
AI calc
2598960\displaystyle 2598960

Exponential

e□e^{\square}

Raises ee to a power. Works for complex exponents too.

You type
eln⁡(7)\displaystyle e^{\ln\left(7\right)}
AI calc
7\displaystyle 7
You type
eiπ+1\displaystyle e^{i\pi}+1
AI calc
0\displaystyle 0

Percent

%\%

Divides the number before it by 100, so 15%15\% is 0.150.15. To find 15% of 240, multiply.

You type
15%×240\displaystyle 15\%\times240
AI calc
36\displaystyle 36

Percent is not added on: 200+10%200+10\% is 200.1200.1. To add 10%, type 200×1.1200\times1.1.

Factorial

□!{\square}!

Product of all whole numbers up to nn, kept exact however large.

You type
10!\displaystyle {10}!
AI calc
3628800\displaystyle 3628800
You type
25!\displaystyle {25}!
AI calc
15511210043330985984000000\displaystyle 15511210043330985984000000

Floor

⌊□⌋\lfloor \square\rfloor

Largest whole number less than or equal to the value.

You type
⌊−3.7⌋\displaystyle \left\lfloor -3.7\right\rfloor
AI calc
−4\displaystyle -4

Ceiling

⌈□⌉\lceil \square\rceil

Smallest whole number greater than or equal to the value.

You type
⌈−3.7⌉\displaystyle \left\lceil -3.7\right\rceil
AI calc
−3\displaystyle -3

Solve an equation

solve⁡:\operatorname{solve}:

Finds xx where an expression equals zero. Write the equation with everything on one side: to solve x2=2x^{2}=2, type solve⁡(x2−2)\operatorname{solve}(x^{2}-2). Exact roots are recognised.

You type
solve⁡(x2−2)\displaystyle \operatorname{solve}\left(x^{2}-2\right)
AI calc
2\displaystyle \sqrt{2}

Solve with a starting guess

Add a second argument to start the search near a value. Useful when an equation has several roots, or for complex roots.

You type
solve⁡(cos⁡(x)−x,1)\displaystyle \operatorname{solve}\left(\cos\left(x\right)-x,1\right)
AI calc
0.7390851332151606\displaystyle 0.7390851332151606
You type
solve⁡(x2+1,i)\displaystyle \operatorname{solve}\left(x^{2}+1,i\right)
AI calc
i\displaystyle i

Solve a system

Give one expression per equation. Variables are found automatically and the answer lists each one.

You type
solve⁡(x+y−3,x−y−1)\displaystyle \operatorname{solve}\left(x+y-3,x-y-1\right)
AI calc
{x=2y=1\displaystyle \left\{\begin{aligned}x&=2\\y&=1\end{aligned}\right.

Indexed variables

x□x_{\square}

Use x1,x2,…x_{1}, x_{2}, \ldots when a system needs more unknowns. A final number is the starting guess for every unknown.

You type
solve⁡(x1+x2−5,x1−x2−1,10)\displaystyle \operatorname{solve}\left(x_{1}+x_{2}-5,x_{1}-x_{2}-1,10\right)
AI calc
{x1=3x2=2\displaystyle \left\{\begin{aligned}x_{1}&=3\\x_{2}&=2\end{aligned}\right.

Euler's totient

ϕ(□)\phi(\square)

Counts the whole numbers up to nn that share no factor with nn.

You type
ϕ(36)\displaystyle \phi\left(36\right)
AI calc
12\displaystyle 12

Golden ratio

φ\varphi

The constant φ=1+52\varphi=\frac{1+\sqrt{5}}{2}, kept exact in calculations.

You type
φ2−φ\displaystyle \varphi^{2}-\varphi
AI calc
1\displaystyle 1
Expression Functions tab

Expression functions

Define your own functions once and use them anywhere: in normal expressions, inside other functions, in the solver and on matrices. There are eleven function keys: f,g,h,r,I,y,p,q,u,vf, g, h, r, I, y, p, q, u, v and zz.

Tip. Tap f(X) at the top of the screen to see every saved function, edit one or clear them.

Define a function

f(x)=f(x)=

Press a function key, type the formula after the equals sign and press = to save it. The definition is kept until you change or delete it.

You type
f(x)=x2+3x\displaystyle f\left(x\right)=x^{2}+3x
Result
Saved

Use a function

Type the function key followed by a value in brackets.

You type
f(4)\displaystyle f\left(4\right)
AI calc
28\displaystyle 28

Use it on a matrix

Functions accept matrices, so the same formula works on a whole matrix.

You type
f([1234])\displaystyle f\left(\begin{bmatrix}1&2\\3&4\end{bmatrix}\right)
AI calc
[10162434]\displaystyle \begin{bmatrix}10&16\\24&34\end{bmatrix}

Functions of several variables

g(x)=g(x)=

Put more variables in the brackets when you define it. They can then be used in the solver like any other expression.

You type
g(x,y)=x2+y2\displaystyle g\left(x,y\right)=x^{2}+y^{2}
Result
Saved
You type
g(3,4)\displaystyle g\left(3,4\right)
AI calc
25\displaystyle 25
You type
solve⁡(g(x,1)−10)\displaystyle \operatorname{solve}\left(g\left(x,1\right)-10\right)
AI calc
3\displaystyle 3
Powers & Logs tab

Powers and logarithms

Powers, roots and logarithms. Roots are simplified exactly wherever possible.

Square

□2{\square}^{2}
You type
122\displaystyle {12}^{2}
AI calc
144\displaystyle 144

Cube

□3{\square}^{3}
You type
−33\displaystyle {-3}^{3}
AI calc
−27\displaystyle -27

Power

□□{\square}^{\square}

Any power, including fractional and complex exponents.

You type
210\displaystyle {2}^{10}
AI calc
1024\displaystyle 1024

Square root

□\sqrt{\square}

Simplified exactly. Square roots of negative numbers give imaginary answers.

You type
72\displaystyle \sqrt{72}
AI calc
62\displaystyle 6\sqrt{2}
You type
−16\displaystyle \sqrt{-16}
AI calc
4i\displaystyle 4i

Cube root

□3\sqrt[3]{\square}

The real cube root, so negative numbers give negative answers.

You type
−273\displaystyle \sqrt[3]{-27}
AI calc
−3\displaystyle -3

nth root

□□\sqrt[\square]{\square}
You type
814\displaystyle \sqrt[4]{81}
AI calc
3\displaystyle 3

Natural logarithm

ln⁡(□)\ln(\square)

Logarithm to base ee.

You type
ln⁡(e3)\displaystyle \ln\left(e^{3}\right)
AI calc
3\displaystyle 3

Common logarithm

log⁡10(□)\log_{10}(\square)

Logarithm to base 10.

You type
log⁡10(1000)\displaystyle \log_{10}\left(1000\right)
AI calc
3\displaystyle 3

Binary logarithm

log⁡2(□)\log_{2}(\square)

Logarithm to base 2.

You type
log⁡2(1024)\displaystyle \log_{2}\left(1024\right)
AI calc
10\displaystyle 10

Logarithm to any base

log⁡□(□)\log_{\square}(\square)

Type the base first, then the value.

You type
log⁡3(81)\displaystyle \log_{3}\left(81\right)
AI calc
4\displaystyle 4
Special Functions tab

Special functions

Advanced functions from analysis and number theory, all evaluated at full working precision.

Gamma function

Γ(□)\Gamma(\square)

Extends the factorial: Γ(n)=(n−1)!\Gamma(n)=(n-1)!.

You type
Γ(5)\displaystyle \Gamma\left(5\right)
AI calc
24\displaystyle 24
You type
Γ(12)\displaystyle \Gamma\left(\frac{1}{2}\right)
AI calc
1.772453850905516\displaystyle 1.772453850905516

Log-gamma

ln⁡Γ(□)\ln\Gamma(\square)

ln⁡Γ(x)\ln\Gamma(x), useful when Γ(x)\Gamma(x) itself is enormous.

You type
logGamma⁡(100)\displaystyle \operatorname{logGamma}\left(100\right)
AI calc
359.1342053695753988\displaystyle 359.1342053695753988

Digamma

ψ(□)\psi(\square)

The derivative of ln⁡Γ(x)\ln\Gamma(x). ψ(1)\psi(1) is minus the Euler–Mascheroni constant.

You type
ψ(1)\displaystyle \psi\left(1\right)
AI calc
−0.5772156649015329\displaystyle -0.5772156649015329

Error function

erf⁡(□)\operatorname{erf}(\square)
You type
erf⁡(1)\displaystyle \operatorname{erf}\left(1\right)
AI calc
0.8427007929497149\displaystyle 0.8427007929497149

Complementary error function

erfc⁡(□)\operatorname{erfc}(\square)

erfc⁡(x)=1−erf⁡(x)\operatorname{erfc}(x)=1-\operatorname{erf}(x).

You type
erfc⁡(1)\displaystyle \operatorname{erfc}\left(1\right)
AI calc
0.1572992070502851\displaystyle 0.1572992070502851

Riemann zeta

ζ(□)\zeta(\square)

ζ(2)=π26\zeta(2)=\frac{\pi^{2}}{6}.

You type
ζ(2)\displaystyle \zeta\left(2\right)
AI calc
1.6449340668482264\displaystyle 1.6449340668482264

Logarithmic integral

li⁡(□)\operatorname{li}(\square)
You type
li⁡(10)\displaystyle \operatorname{li}\left(10\right)
AI calc
6.1655995047872979\displaystyle 6.1655995047872979

Exponential integral

Ei⁡(□)\operatorname{Ei}(\square)
You type
Ei⁡(1)\displaystyle \operatorname{Ei}\left(1\right)
AI calc
1.8951178163559368\displaystyle 1.8951178163559368

Lambert W

W(□)W(\square)

Solves wew=xwe^{w}=x for ww on the principal branch.

You type
W(1)\displaystyle W\left(1\right)
AI calc
0.5671432904097839\displaystyle 0.5671432904097839

Lambert W, other branches

W□(□)W_{\square}(\square)

Type the branch number kk as the subscript. Branch −1-1 gives the second real solution for −1e<x<0-\frac{1}{e}<x<0.

You type
W−1(−0.2)\displaystyle W_{-1}\left(-0.2\right)
AI calc
−2.5426413577735264\displaystyle -2.5426413577735264

Wright omega

ω(□)\omega(\square)

Solves ω+ln⁡ω=x\omega+\ln\omega=x.

You type
ω(0)\displaystyle \omega\left(0\right)
AI calc
0.5671432904097839\displaystyle 0.5671432904097839

Generalized logarithm

Glog⁡(□)\operatorname{Glog}(\square)

Glog⁡(x)=−W ⁣(−1x)\operatorname{Glog}(x)=-W\!\left(-\frac{1}{x}\right).

You type
Glog⁡(−1)\displaystyle \operatorname{Glog}\left(-1\right)
AI calc
−0.5671432904097839\displaystyle -0.5671432904097839

Tetration

□□{}^{\square}\square

Repeated exponentiation: 32=222{}^{3}2=2^{2^{2}}.

You type
3(2)\displaystyle {}^{3}\left(2\right)
AI calc
16\displaystyle 16
Complex Numbers tab

Complex numbers

Type i from the main keypad to enter complex numbers. All functions accept complex values, and exact parts stay exact.

Complex arithmetic

ii
You type
(2+3i)(1−i)\displaystyle \left(2+3i\right)\left(1-i\right)
AI calc
5+i\displaystyle 5+i

Real part

Re⁡(□)\operatorname{Re}(\square)
You type
real⁡(3−4i)\displaystyle \operatorname{real}\left(3-4i\right)
AI calc
3\displaystyle 3

Imaginary part

Im⁡(□)\operatorname{Im}(\square)
You type
imag⁡(3−4i)\displaystyle \operatorname{imag}\left(3-4i\right)
AI calc
−4\displaystyle -4

Modulus

∣z∣\left|z\right|

The distance from zero. For real numbers it is the absolute value.

You type
∣3+4i∣\displaystyle \left\vert3+4i\right\vert
AI calc
5\displaystyle 5
You type
∣−7.5∣\displaystyle \left\vert-7.5\right\vert
AI calc
152\displaystyle \frac{15}{2}

Argument

∠z\angle z

The angle from the positive real axis, in the current angle mode.

You type
∠(1+i)\displaystyle \angle\left(1+i\right)
AI calc
0.7853981633974483\displaystyle 0.7853981633974483

Conjugate

□‾\overline{\square}
You type
3+4i‾\displaystyle \overline{3+4i}
AI calc
3−4i\displaystyle 3-4i

From polar form

fromPolar⁡(□,□)\operatorname{fromPolar}(\square,\square)

Builds a+bia+bi from a modulus and an angle.

You type
frompolar⁡(2,π3)\displaystyle \operatorname{frompolar}\left(2,\frac{\pi}{3}\right)
AI calc
1+1.7320508075688773i\displaystyle 1+1.7320508075688773i

Show in polar form

r(cos⁡θ+isin⁡θ)r\left(\cos\theta+i\sin\theta\right)

Shows a complex answer as r(cos⁡θ+isin⁡θ)r(\cos\theta+i\sin\theta). In DEG mode the angle is in degrees.

You type
polar⁡(1+i)\displaystyle \operatorname{polar}\left(1+i\right)
AI calc
2(cos⁡(π4)+isin⁡(π4))\displaystyle \sqrt{2}\left(\cos\left(\frac{\pi}{4}\right)+i\sin\left(\frac{\pi}{4}\right)\right)
You type
polar⁡(1+i)\displaystyle \operatorname{polar}\left(1+i\right)
DEG
AI calc
2(cos⁡(45∘)+isin⁡(45∘))\displaystyle \sqrt{2}\left(\cos\left(45^{\circ}\right)+i\sin\left(45^{\circ}\right)\right)

Show in exponential form

reiθre^{i\theta}

Shows a complex answer as reiθre^{i\theta}.

You type
expform⁡(1+i)\displaystyle \operatorname{expform}\left(1+i\right)
AI calc
2ei(π4)\displaystyle \sqrt{2}e^{i\left(\frac{\pi}{4}\right)}

Complex roots

cRoot⁡(□,□,□)\operatorname{cRoot}(\square,\square,\square)

Every nnth root of a number. The third argument picks which root, counting from 0.

You type
croot⁡(−8,3,0)\displaystyle \operatorname{croot}\left(-8,3,0\right)
AI calc
1+1.7320508075688773i\displaystyle 1+1.7320508075688773i
You type
croot⁡(−8,3,1)\displaystyle \operatorname{croot}\left(-8,3,1\right)
AI calc
−2\displaystyle -2

Roots of unity

rootUnity⁡(□,□)\operatorname{rootUnity}(\square,\square)

The kkth solution of zn=1z^{n}=1.

You type
rootunity⁡(4,1)\displaystyle \operatorname{rootunity}\left(4,1\right)
AI calc
i\displaystyle i
Calculus tab

Calculus

Sums, products, derivatives, integrals, limits and multivariable calculus. Results that are exact, such as 13\frac{1}{3}, are recognised and shown exactly.

Sum

∑x=□□f(□)\sum_{x=\square}^{\square}f(\square)

Adds the expression for every whole xx from the lower to the upper limit.

You type
∑x=110(x2)\displaystyle \sum_{x=1}^{10}\left(x^{2}\right)
AI calc
385\displaystyle 385

Product

∏x=□□f(□)\prod_{x=\square}^{\square}f(\square)

Multiplies the expression for every whole xx in the range.

You type
∏x=16(x)\displaystyle \prod_{x=1}^{6}\left(x\right)
AI calc
720\displaystyle 720

Derivative at a point

f□(□)=f^{\square}(\square)=

Type the order, the point and the expression. f1(2)=(x3)f^{1}(2)=\left(x^{3}\right) means the first derivative of x3x^{3} at x=2x=2.

You type
f1(2)=(x3)\displaystyle f^{1}\left(2\right)=\left(x^{3}\right)
AI calc
12\displaystyle 12
You type
f2(3)=(x3)\displaystyle f^{2}\left(3\right)=\left(x^{3}\right)
AI calc
18\displaystyle 18

Definite integral

∫□□f(x) dx\int_{\square}^{\square}f(x)\,dx

Use ∞\infty for improper integrals.

You type
∫01(x2) dx\displaystyle \int_{0}^{1}\left(x^{2}\right)\,dx
AI calc
13\displaystyle \frac{1}{3}
You type
∫0∞(e−x) dx\displaystyle \int_{0}^{\infty}\left(e^{-x}\right)\,dx
AI calc
1\displaystyle 1

Limit

lim⁡x→□(□)\lim_{x\to \square}\left(\square\right)
You type
lim⁡x→0(sin⁡(x)x)\displaystyle \lim_{x\to 0}\left(\frac{\sin\left(x\right)}{x}\right)
AI calc
1\displaystyle 1
You type
lim⁡x→∞((1+1x)x)\displaystyle \lim_{x\to \infty}\left(\left(1+\frac{1}{x}\right)^{x}\right)
AI calc
2.7182818284590452\displaystyle 2.7182818284590452

One-sided limits

lim⁡x→□−(□)\lim_{x\to \square^{-}}\left(\square\right)

Approach from the left or the right. They differ at a jump.

You type
lim⁡x→1−(⌊x⌋)\displaystyle \lim_{x\to 1^{-}}\left(\left\lfloor x\right\rfloor\right)
AI calc
0\displaystyle 0
You type
lim⁡x→1+(⌊x⌋)\displaystyle \lim_{x\to 1^{+}}\left(\left\lfloor x\right\rfloor\right)
AI calc
1\displaystyle 1

Partial derivatives

DxD_{\mathbf{x}}

List the variables to differentiate by in the subscript, and the point after the bar. The point's coordinates follow the variables in alphabetical order.

You type
Dx(x2y+3xy2)∣(2,1)\displaystyle D_{x}\left(x^{2}y+3xy^{2}\right)\vert_{\left(2,1\right)}
AI calc
7\displaystyle 7
You type
Dx,y(x2y+3xy2)∣(2,1)\displaystyle D_{x,y}\left(x^{2}y+3xy^{2}\right)\vert_{\left(2,1\right)}
AI calc
10\displaystyle 10

Complex-step and finite-difference methods

DxCSD_{\mathbf{x}}^{\mathrm{CS}}

CS\mathrm{CS} and FD\mathrm{FD} choose the numerical method for the derivative. The default method uses automatic differentiation; use these to compare methods.

You type
DxCS(sin⁡(x))∣(1)\displaystyle D_{x}^{\mathrm{CS}}\left(\sin\left(x\right)\right)\vert_{\left(1\right)}
AI calc
0.5403023058681397\displaystyle 0.5403023058681397
You type
DxFD(sin⁡(x))∣(1)\displaystyle D_{x}^{\mathrm{FD}}\left(\sin\left(x\right)\right)\vert_{\left(1\right)}
AI calc
0.5403023058681397\displaystyle 0.5403023058681397

Gradient

∇f\nabla f

The vector of first partial derivatives.

You type
∇(x2y+3xy2)∣(2,1)\displaystyle \nabla\left(x^{2}y+3xy^{2}\right)\vert_{\left(2,1\right)}
AI calc
[716]\displaystyle \begin{bmatrix}7\\16\end{bmatrix}

Jacobian

JfJ_{f}

The matrix of partial derivatives of several functions.

You type
J(x2y,x+y)∣(2,1)\displaystyle J_{\left(x^{2}y,x+y\right)}\vert_{\left(2,1\right)}
AI calc
[4411]\displaystyle \begin{bmatrix}4&4\\1&1\end{bmatrix}

Hessian

HfH_{f}

The matrix of second partial derivatives.

You type
Hx2y+3xy2∣(2,1)\displaystyle H_{x^{2}y+3xy^{2}}\vert_{\left(2,1\right)}
AI calc
[2101012]\displaystyle \begin{bmatrix}2&10\\10&12\end{bmatrix}
Calculus tab

Differential equations

Initial-value problems are on the Calculus tab. Type the equation, the starting point and value, and the end point x1x_{1}. The answer is a table of xx and the solution at evenly spaced points (21 rows by default), headed by the method used and its error estimate.

Tip. Change the number of rows and the accuracy target under Settings → Calculation: ODE output points and ODE tolerance digits.

Automatic method

[y′]Auto[\mathbf{y}^{\prime}]_{\mathrm{Auto}}

The best choice for most problems. It starts with an explicit method and switches to Radau IIA if the problem turns out to be stiff. This example solves y′=x+y, y(0)=1y'=x+y,\ y(0)=1 from 0 to 1.

You type
[y′=x+y;y(0)=1;x1=1]Auto\displaystyle \left[\mathbf{y}^{\prime}=x+y;\mathbf{y}\left(0\right)=1;x_{1}={1}\right]_{\mathrm{Auto}}
AI calc
DOP853⁡εnorm≤0.10045737[010.051.05254219280.11.1103418362⋮⋮13.4365636569]\displaystyle \substack{\operatorname{DOP853}\\\varepsilon_{\mathrm{norm}}\le 0.10045737}\quad \begin{bmatrix}0&1\\0.05&1.0525421928\\0.1&1.1103418362\\\vdots&\vdots\\1&3.4365636569\end{bmatrix}

RK45

[y′]RK45[\mathbf{y}^{\prime}]_{\mathrm{RK45}}

Dormand–Prince 5(4). Fast for smooth, non-stiff problems.

You type
[y′=−2y;y(0)=1;x1=1]RK45\displaystyle \left[\mathbf{y}^{\prime}=-2y;\mathbf{y}\left(0\right)=1;x_{1}={1}\right]_{\mathrm{RK45}}
AI calc
RK45⁡εnorm≤0.59143735[010.050.9048374180.10.8187307531⋮⋮10.1353352832]\displaystyle \substack{\operatorname{RK45}\\\varepsilon_{\mathrm{norm}}\le 0.59143735}\quad \begin{bmatrix}0&1\\0.05&0.904837418\\0.1&0.8187307531\\\vdots&\vdots\\1&0.1353352832\end{bmatrix}

DOP853 and systems

[y′]DOP853[\mathbf{y}^{\prime}]_{\mathrm{DOP853}}

An eighth-order method for very accurate results. For a system, separate the right-hand sides and the starting values with commas. Variables are taken in alphabetical order: here u′=v, v′=−uu'=v,\ v'=-u with u(0)=0, v(0)=1u(0)=0,\ v(0)=1, so u=sin⁡xu=\sin x.

You type
[y′=v,−u;y(0)=0,1;x1=π2]DOP853\displaystyle \left[\mathbf{y}^{\prime}=v,-u;\mathbf{y}\left(0\right)=0,1;x_{1}={\frac{\pi}{2}}\right]_{\mathrm{DOP853}}
AI calc
DOP853⁡εnorm≤0.23368993[0010.07853981630.07845909570.99691733370.15707963270.1564344650.9876883406⋮⋮⋮1.570796326811.8544653648×10−18]\displaystyle \substack{\operatorname{DOP853}\\\varepsilon_{\mathrm{norm}}\le 0.23368993}\quad \begin{bmatrix}0&0&1\\0.0785398163&0.0784590957&0.9969173337\\0.1570796327&0.156434465&0.9876883406\\\vdots&\vdots&\vdots\\1.5707963268&1&1.8544653648\times10^{-18}\end{bmatrix}

Radau IIA

[y′]Radau IIA[\mathbf{y}^{\prime}]_{\mathrm{Radau\,IIA}}

A fifth-order implicit method for stiff problems, where the solution changes on very different time scales.

You type
[y′=−50(y−cos⁡(x));y(0)=0;x1=1]Radau IIA\displaystyle \left[\mathbf{y}^{\prime}=-50\left(y-\cos\left(x\right)\right);\mathbf{y}\left(0\right)=0;x_{1}={1}\right]_{\mathrm{Radau\,IIA}}
AI calc
Radau IIA(5)⁡εnorm≤0.59948955[000.050.9172979260.10.9898669398⋮⋮10.556908962]\displaystyle \substack{\operatorname{Radau\ IIA(5)}\\\varepsilon_{\mathrm{norm}}\le 0.59948955}\quad \begin{bmatrix}0&0\\0.05&0.917297926\\0.1&0.9898669398\\\vdots&\vdots\\1&0.556908962\end{bmatrix}

BDF

[y′]BDF[\mathbf{y}^{\prime}]_{\mathrm{BDF}}

Variable-order backward differentiation (orders 1 to 5), another method for stiff problems.

You type
[y′=−50(y−cos⁡(x));y(0)=0;x1=1]BDF\displaystyle \left[\mathbf{y}^{\prime}=-50\left(y-\cos\left(x\right)\right);\mathbf{y}\left(0\right)=0;x_{1}={1}\right]_{\mathrm{BDF}}
AI calc
BDF⁡εnorm≤0.39490668[000.050.9172979260.10.9898669398⋮⋮10.556908962]\displaystyle \substack{\operatorname{BDF}\\\varepsilon_{\mathrm{norm}}\le 0.39490668}\quad \begin{bmatrix}0&0\\0.05&0.917297926\\0.1&0.9898669398\\\vdots&\vdots\\1&0.556908962\end{bmatrix}

Higher-order equations

[y(n)]Auto[y^{(n)}]_{\mathrm{Auto}}

For y(n)=fy^{(n)}=f, give the starting values y,y′,…y, y', \ldots in order. This solves y′′=−yy''=-y with y(0)=0, y′(0)=1y(0)=0,\ y'(0)=1; the columns are xx, yy and y′y'.

You type
[y(2)=−y;x0=0;y0=0,1;x1=1]Auto\displaystyle \left[y^{(2)}=-y;x_{0}={0};\mathbf{y}_{0}=0,1;x_{1}={1}\right]_{\mathrm{Auto}}
AI calc
DOP853⁡εnorm≤0.20440544[0010.050.04997916930.99875026040.10.09983341660.9950041653⋮⋮⋮10.84147098480.5403023059]\displaystyle \substack{\operatorname{DOP853}\\\varepsilon_{\mathrm{norm}}\le 0.20440544}\quad \begin{bmatrix}0&0&1\\0.05&0.0499791693&0.9987502604\\0.1&0.0998334166&0.9950041653\\\vdots&\vdots&\vdots\\1&0.8414709848&0.5403023059\end{bmatrix}
Trigonometry tab

Trigonometry

All trigonometric and hyperbolic functions and their inverses. Results at standard angles are exact. Switch between radians and degrees with the RAD button at the top.

Sine, cosine and tangent

sin⁡(□)\sin(\square)
You type
sin⁡(π6)\displaystyle \sin\left(\frac{\pi}{6}\right)
AI calc
12\displaystyle \frac{1}{2}
You type
sin⁡(30)\displaystyle \sin\left(30\right)
DEG
AI calc
12\displaystyle \frac{1}{2}
You type
cos⁡(π4)\displaystyle \cos\left(\frac{\pi}{4}\right)
AI calc
22\displaystyle \frac{\sqrt{2}}{2}
You type
tan⁡(60)\displaystyle \tan\left(60\right)
DEG
AI calc
3\displaystyle \sqrt{3}

Inverse functions

sin⁡−1(□)\sin^{-1}(\square)

Answers are given in the current angle mode.

You type
sin⁡−1(12)\displaystyle \sin^{-1}\left(\frac{1}{2}\right)
AI calc
0.5235987755982989\displaystyle 0.5235987755982989
You type
cos⁡−1(12)\displaystyle \cos^{-1}\left(\frac{1}{2}\right)
DEG
AI calc
60\displaystyle 60
You type
tan⁡−1(1)\displaystyle \tan^{-1}\left(1\right)
AI calc
0.7853981633974483\displaystyle 0.7853981633974483

Two-argument arctangent

atan2⁡(□,□)\operatorname{atan2}(\square,\square)

atan2⁡(y,x)\operatorname{atan2}(y,x) gives the angle of the point (x,y)(x,y) in the correct quadrant.

You type
atan2⁡(1,−1)\displaystyle \operatorname{atan2}\left(1,-1\right)
AI calc
2.3561944901923449\displaystyle 2.3561944901923449

Reciprocal functions

csc⁡(□)\operatorname{csc}(\square)
You type
csc⁡(π6)\displaystyle \operatorname{csc}\left(\frac{\pi}{6}\right)
AI calc
2\displaystyle 2
You type
sec⁡(π3)\displaystyle \operatorname{sec}\left(\frac{\pi}{3}\right)
AI calc
2\displaystyle 2
You type
cot⁡(π4)\displaystyle \operatorname{cot}\left(\frac{\pi}{4}\right)
AI calc
1\displaystyle 1

Inverse reciprocal functions

csc⁡−1(□)\operatorname{csc}^{-1}(\square)
You type
csc⁡−1(2)\displaystyle \operatorname{csc}^{-1}\left(2\right)
AI calc
0.5235987755982989\displaystyle 0.5235987755982989
You type
sec⁡−1(2)\displaystyle \operatorname{sec}^{-1}\left(2\right)
AI calc
1.0471975511965977\displaystyle 1.0471975511965977
You type
cot⁡−1(1)\displaystyle \operatorname{cot}^{-1}\left(1\right)
AI calc
0.7853981633974483\displaystyle 0.7853981633974483

Hyperbolic functions

sinh⁡(□)\sinh(\square)
You type
sinh⁡(1)\displaystyle \sinh\left(1\right)
AI calc
1.1752011936438015\displaystyle 1.1752011936438015
You type
cosh⁡(0)\displaystyle \cosh\left(0\right)
AI calc
1\displaystyle 1
You type
tanh⁡(1)\displaystyle \tanh\left(1\right)
AI calc
0.7615941559557649\displaystyle 0.7615941559557649

Inverse hyperbolic functions

sinh⁡−1(□)\sinh^{-1}(\square)
You type
sinh⁡−1(1)\displaystyle \sinh^{-1}\left(1\right)
AI calc
0.881373587019543\displaystyle 0.881373587019543
You type
cosh⁡−1(2)\displaystyle \cosh^{-1}\left(2\right)
AI calc
1.3169578969248167\displaystyle 1.3169578969248167
You type
tanh⁡−1(12)\displaystyle \tanh^{-1}\left(\frac{1}{2}\right)
AI calc
0.5493061443340548\displaystyle 0.5493061443340548

Reciprocal hyperbolic functions

csch⁡(□)\operatorname{csch}(\square)
You type
csch⁡(1)\displaystyle \operatorname{csch}\left(1\right)
AI calc
0.8509181282393215\displaystyle 0.8509181282393215
You type
sech⁡(0)\displaystyle \operatorname{sech}\left(0\right)
AI calc
1\displaystyle 1
You type
coth⁡(1)\displaystyle \operatorname{coth}\left(1\right)
AI calc
1.3130352854993313\displaystyle 1.3130352854993313

Inverse reciprocal hyperbolic functions

csch⁡−1(□)\operatorname{csch}^{-1}(\square)
You type
csch⁡−1(1)\displaystyle \operatorname{csch}^{-1}\left(1\right)
AI calc
0.881373587019543\displaystyle 0.881373587019543
You type
sech⁡−1(12)\displaystyle \operatorname{sech}^{-1}\left(\frac{1}{2}\right)
AI calc
1.3169578969248167\displaystyle 1.3169578969248167
You type
coth⁡−1(2)\displaystyle \operatorname{coth}^{-1}\left(2\right)
AI calc
0.5493061443340548\displaystyle 0.5493061443340548

Convert to degrees

□∘\square^{\circ}

Converts an angle in radians to degrees.

You type
π3∘\displaystyle {\frac{\pi}{3}}^{\circ}
AI calc
60\displaystyle 60

Convert to radians

□rad\square^{\mathrm{rad}}

Converts an angle in degrees to radians. Use it to type a degree angle while in RAD mode.

You type
180rad\displaystyle {180}^{\mathrm{rad}}
AI calc
3.1415926535897932\displaystyle 3.1415926535897932
You type
sin⁡(30rad)\displaystyle \sin\left({30}^{\mathrm{rad}}\right)
AI calc
0.5\displaystyle 0.5

Normalize an angle

norm⁡θ(□)\operatorname{norm}_{\theta}(\square)

Brings an angle into one full turn: [0,360)[0,360) in DEG mode or [0,2π)[0,2\pi) in RAD mode.

You type
normalizeAngle⁡(−30)\displaystyle \operatorname{normalizeAngle}\left(-30\right)
DEG
AI calc
330\displaystyle 330
You type
normalizeAngle⁡(−π2)\displaystyle \operatorname{normalizeAngle}\left(-\frac{\pi}{2}\right)
AI calc
4.7123889803846899\displaystyle 4.7123889803846899
Number Theory tab

Number theory

Whole-number functions with exact arithmetic on numbers of any size. Tests return 1 for true and 0 for false.

Prime, odd and even tests

isPrime⁡\operatorname{isPrime}
You type
isPrime⁡(97)\displaystyle \operatorname{isPrime}\left(97\right)
AI calc
1\displaystyle 1
You type
isOdd⁡(17)\displaystyle \operatorname{isOdd}\left(17\right)
AI calc
1\displaystyle 1
You type
isEven⁡(17)\displaystyle \operatorname{isEven}\left(17\right)
AI calc
0\displaystyle 0

Modulo

mod⁡(□)\operatorname{mod}(\square)

The remainder after division, with the sign of the divisor, so it is never negative for a positive divisor.

You type
17mod⁡(5)\displaystyle 17\operatorname{mod}\left(5\right)
AI calc
2\displaystyle 2
You type
−14mod⁡(5)\displaystyle -14\operatorname{mod}\left(5\right)
AI calc
1\displaystyle 1

Quotient and remainder

quot⁡(□,□)\operatorname{quot}(\square,\square)

Whole-number division rounded toward zero, and what is left over. They always satisfy quot⁡×b+rem⁡=a\operatorname{quot}\times b+\operatorname{rem}=a, so the remainder takes the sign of the number being divided.

You type
quotient⁡(17,5)\displaystyle \operatorname{quotient}\left(17,5\right)
AI calc
3\displaystyle 3
You type
remainder⁡(17,5)\displaystyle \operatorname{remainder}\left(17,5\right)
AI calc
2\displaystyle 2
You type
quotient⁡(−14,5)\displaystyle \operatorname{quotient}\left(-14,5\right)
AI calc
−2\displaystyle -2
You type
remainder⁡(−14,5)\displaystyle \operatorname{remainder}\left(-14,5\right)
AI calc
−4\displaystyle -4

GCD and LCM

GCD⁡:\operatorname{GCD}:
You type
GCD⁡(84,120)\displaystyle \operatorname{GCD}\left(84,120\right)
AI calc
12\displaystyle 12
You type
LCM⁡(12,18)\displaystyle \operatorname{LCM}\left(12,18\right)
AI calc
36\displaystyle 36

Extended GCD

xGCD⁡(□,□)\operatorname{xGCD}(\square,\square)

Returns (g,s,t)(g,s,t) with as+bt=gas+bt=g.

You type
xgcd⁡(240,46)\displaystyle \operatorname{xgcd}\left(240,46\right)
AI calc
(2,−9,47)\displaystyle \left(2,-9,47\right)

Modular power

modPow⁡(□,□,□)\operatorname{modPow}(\square,\square,\square)

ab mod ma^{b}\bmod m, computed efficiently even for huge powers.

You type
modpow⁡(4,13,497)\displaystyle \operatorname{modpow}\left(4,13,497\right)
AI calc
445\displaystyle 445

Modular inverse

modInv⁡(□,□)\operatorname{modInv}(\square,\square)

The number xx with ax≡1(modm)ax\equiv1\pmod m.

You type
modinv⁡(3,11)\displaystyle \operatorname{modinv}\left(3,11\right)
AI calc
4\displaystyle 4

Next and previous prime

nextPrime⁡(□)\operatorname{nextPrime}(\square)
You type
nextprime⁡(100)\displaystyle \operatorname{nextprime}\left(100\right)
AI calc
101\displaystyle 101
You type
prevprime⁡(100)\displaystyle \operatorname{prevprime}\left(100\right)
AI calc
97\displaystyle 97

Prime factorization

factor⁡(□)\operatorname{factor}(\square)
You type
factor⁡(360)\displaystyle \operatorname{factor}\left(360\right)
AI calc
23×32×5\displaystyle 2^{3}\times 3^{2}\times 5

Divisors

divisors⁡(□)\operatorname{divisors}(\square)

Every positive divisor, in order.

You type
divisors⁡(12)\displaystyle \operatorname{divisors}\left(12\right)
AI calc
{1,2,3,4,6,12}\displaystyle \left\{1,2,3,4,6,12\right\}

Number and sum of divisors

τ(□)\tau(\square)
You type
divisorcount⁡(36)\displaystyle \operatorname{divisorcount}\left(36\right)
AI calc
9\displaystyle 9
You type
divisorsum⁡(36)\displaystyle \operatorname{divisorsum}\left(36\right)
AI calc
91\displaystyle 91

Möbius function

μ(□)\mu(\square)

0 if nn has a squared prime factor, otherwise (−1)k(-1)^{k} for kk prime factors.

You type
mobius⁡(30)\displaystyle \operatorname{mobius}\left(30\right)
AI calc
−1\displaystyle -1

Perfect power tests

isSquare⁡(□)\operatorname{isSquare}(\square)
You type
issquare⁡(144)\displaystyle \operatorname{issquare}\left(144\right)
AI calc
1\displaystyle 1
You type
isnthroot⁡(27,3)\displaystyle \operatorname{isnthroot}\left(27,3\right)
AI calc
1\displaystyle 1
Number Bases tab

Number bases

Write numbers in any base from 2 to 36 and mix bases in one expression. The digit keys A to Z on this tab enter digits above 9.

Tip. To see an answer in another base, tap the DEC button at the top: a tap cycles BIN, OCT, DEC and HEX, and holding it lets you choose any base from 2 to 36.

Binary, octal, decimal and hex

(□)2  BIN\left(\square\right)_{2}\;\mathrm{BIN}
You type
(1010)2+(111)2\displaystyle \left(1010\right)_{2}+\left(111\right)_{2}
AI calc
17\displaystyle 17
You type
(777)8\displaystyle \left(777\right)_{8}
AI calc
511\displaystyle 511
You type
(FF)16\displaystyle \left(FF\right)_{16}
AI calc
255\displaystyle 255

Any base

(□)□\left(\square\right)_{\square}

Type the digits, then the base as the subscript.

You type
(ZZ)36\displaystyle \left(ZZ\right)_{36}
AI calc
1295\displaystyle 1295

One's and two's complement

1′s  COMP1^{\prime}\mathrm{s}\;\mathrm{COMP}

The second argument is the bit width.

You type
onesComp⁡(5,8)\displaystyle \operatorname{onesComp}\left(5,8\right)
AI calc
250\displaystyle 250
You type
fromOnesComp⁡(250,8)\displaystyle \operatorname{fromOnesComp}\left(250,8\right)
AI calc
−5\displaystyle -5
You type
twosComp⁡(5,8)\displaystyle \operatorname{twosComp}\left(5,8\right)
AI calc
251\displaystyle 251
You type
fromTwosComp⁡(251,8)\displaystyle \operatorname{fromTwosComp}\left(251,8\right)
AI calc
−5\displaystyle -5

Signed magnitude

SIGNED  MAG\mathrm{SIGNED}\;\mathrm{MAG}
You type
signedMag⁡(−5,8)\displaystyle \operatorname{signedMag}\left(-5,8\right)
AI calc
133\displaystyle 133
You type
fromSignedMag⁡(133,8)\displaystyle \operatorname{fromSignedMag}\left(133,8\right)
AI calc
−5\displaystyle -5

Gray code

BIN→GRAY\mathrm{BIN}\to\mathrm{GRAY}
You type
gray⁡(10)\displaystyle \operatorname{gray}\left(10\right)
AI calc
15\displaystyle 15
You type
fromGray⁡(15)\displaystyle \operatorname{fromGray}\left(15\right)
AI calc
10\displaystyle 10

Bit rotation

ROL⁡\operatorname{ROL}

Rotates the bits of a number within the given width.

You type
rol⁡(129,1,8)\displaystyle \operatorname{rol}\left(129,1,8\right)
AI calc
3\displaystyle 3
You type
ror⁡(3,1,8)\displaystyle \operatorname{ror}\left(3,1,8\right)
AI calc
129\displaystyle 129

Bitwise logic

∧  AND\wedge\;\mathrm{AND}
You type
bitAnd⁡(12,10)\displaystyle \operatorname{bitAnd}\left(12,10\right)
AI calc
8\displaystyle 8
You type
bitOr⁡(12,10)\displaystyle \operatorname{bitOr}\left(12,10\right)
AI calc
14\displaystyle 14
You type
bitXor⁡(12,10)\displaystyle \operatorname{bitXor}\left(12,10\right)
AI calc
6\displaystyle 6
You type
bitNot⁡(5)\displaystyle \operatorname{bitNot}\left(5\right)
AI calc
−6\displaystyle -6

Bit shifts

≪  SHL\ll\;\mathrm{SHL}
You type
shiftLeft⁡(3,5)\displaystyle \operatorname{shiftLeft}\left(3,5\right)
AI calc
96\displaystyle 96
You type
shiftRight⁡(33,2)\displaystyle \operatorname{shiftRight}\left(33,2\right)
AI calc
8\displaystyle 8

Counting bits

POPCNT⁡\operatorname{POPCNT}

Number of 1 bits, and the number of bits needed.

You type
popCount⁡(255)\displaystyle \operatorname{popCount}\left(255\right)
AI calc
8\displaystyle 8
You type
bitLength⁡(255)\displaystyle \operatorname{bitLength}\left(255\right)
AI calc
8\displaystyle 8

Single bits

SETBIT⁡\operatorname{SETBIT}

Bit positions count from 0 at the right.

You type
setBit⁡(0,7)\displaystyle \operatorname{setBit}\left(0,7\right)
AI calc
128\displaystyle 128
You type
clearBit⁡(255,0)\displaystyle \operatorname{clearBit}\left(255,0\right)
AI calc
254\displaystyle 254
You type
flipBit⁡(10,1)\displaystyle \operatorname{flipBit}\left(10,1\right)
AI calc
8\displaystyle 8
You type
testBit⁡(10,1)\displaystyle \operatorname{testBit}\left(10,1\right)
AI calc
1\displaystyle 1
Statistics tab

Statistics

Each function takes a list of values separated by commas.

Count, minimum and maximum

Count⁡\operatorname{Count}
You type
count⁡(4,8,15,16,23,42)\displaystyle \operatorname{count}\left(4,8,15,16,23,42\right)
AI calc
6\displaystyle 6
You type
min⁡(4,8,15,16,23,42)\displaystyle \operatorname{min}\left(4,8,15,16,23,42\right)
AI calc
4\displaystyle 4
You type
max⁡(4,8,15,16,23,42)\displaystyle \operatorname{max}\left(4,8,15,16,23,42\right)
AI calc
42\displaystyle 42

Range and sum

Range⁡\operatorname{Range}

Results stay exact for fractions.

You type
Range⁡(4,8,15,16,23,42)\displaystyle \operatorname{Range}\left(4,8,15,16,23,42\right)
AI calc
38\displaystyle 38
You type
total⁡(12,13,16)\displaystyle \operatorname{total}\left(\frac{1}{2},\frac{1}{3},\frac{1}{6}\right)
AI calc
1\displaystyle 1

Mean

Mean⁡\operatorname{Mean}
You type
mean⁡(4,8,15,16,23,42)\displaystyle \operatorname{mean}\left(4,8,15,16,23,42\right)
AI calc
18\displaystyle 18

Geometric and harmonic means

G.M.⁡\operatorname{G.M.}
You type
gmean⁡(2,8)\displaystyle \operatorname{gmean}\left(2,8\right)
AI calc
4\displaystyle 4
You type
hmean⁡(1,2,4)\displaystyle \operatorname{hmean}\left(1,2,4\right)
AI calc
127\displaystyle \frac{12}{7}

Median and mode

Median⁡\operatorname{Median}
You type
Median⁡(7,1,3,9)\displaystyle \operatorname{Median}\left(7,1,3,9\right)
AI calc
5\displaystyle 5
You type
Mode⁡(1,2,2,3,3,3)\displaystyle \operatorname{Mode}\left(1,2,2,3,3,3\right)
AI calc
3\displaystyle 3

Mean deviation

M.D.⁡\operatorname{M.D.}

The average distance from the mean.

You type
MD⁡(2,4,4,4,5,5,7,9)\displaystyle \operatorname{MD}\left(2,4,4,4,5,5,7,9\right)
AI calc
32\displaystyle \frac{3}{2}

Variance

σ2\sigma^{2}

σ2\sigma^{2} treats the list as a whole population; s2s^{2} as a sample (dividing by n−1n-1).

You type
popvariance⁡(2,4,4,4,5,5,7,9)\displaystyle \operatorname{popvariance}\left(2,4,4,4,5,5,7,9\right)
AI calc
4\displaystyle 4
You type
samplevariance⁡(2,4,4,4,5,5,7,9)\displaystyle \operatorname{samplevariance}\left(2,4,4,4,5,5,7,9\right)
AI calc
327\displaystyle \frac{32}{7}

Standard deviation

σ\sigma

Population σ\sigma and sample ss. Sample results are often exact surds.

You type
popstddev⁡(2,4,4,4,5,5,7,9)\displaystyle \operatorname{popstddev}\left(2,4,4,4,5,5,7,9\right)
AI calc
2\displaystyle 2
You type
samplestddev⁡(2,4,4,4,5,5,7,9)\displaystyle \operatorname{samplestddev}\left(2,4,4,4,5,5,7,9\right)
AI calc
4147\displaystyle \frac{4\sqrt{14}}{7}
Matrices tab

Matrices

Create matrix inserts a 2×2 matrix. While the cursor is inside it, +Row, −Row, +Col and −Col change its size. Results stay exact for whole-number and fraction entries.

Matrix arithmetic

[□]\left[\square\right]

Add, subtract and multiply matrices with the usual keys.

You type
[1234][0110]\displaystyle \begin{bmatrix}1&2\\3&4\end{bmatrix}\begin{bmatrix}0&1\\1&0\end{bmatrix}
AI calc
[2143]\displaystyle \begin{bmatrix}2&1\\4&3\end{bmatrix}

Powers

Whole-number powers stay exact.

You type
[1110]10\displaystyle {\begin{bmatrix}1&1\\1&0\end{bmatrix}}^{10}
AI calc
[89555534]\displaystyle \begin{bmatrix}89&55\\55&34\end{bmatrix}

Scaled identity matrix

Ir,c(k)I_{r,c}(k)

In(k)I_{n}(k) is kk times the n×nn\times n identity.

You type
I3(2)\displaystyle I_{3}\left(2\right)
AI calc
[200020002]\displaystyle \begin{bmatrix}2&0&0\\0&2&0\\0&0&2\end{bmatrix}

Constant matrix

Jr,c(k)J_{r,c}(k)

Jr,c(k)J_{r,c}(k) is an r×cr\times c matrix filled with kk.

You type
J2,3(12)\displaystyle J_{2,3}\left(\frac{1}{2}\right)
AI calc
[121212121212]\displaystyle \begin{bmatrix}\frac{1}{2}&\frac{1}{2}&\frac{1}{2}\\\frac{1}{2}&\frac{1}{2}&\frac{1}{2}\end{bmatrix}

Determinant

det⁡(A)\det(A)
You type
det⁡([2130−14120])\displaystyle \det\left(\begin{bmatrix}2&1&3\\0&-1&4\\1&2&0\end{bmatrix}\right)
AI calc
−9\displaystyle -9

Transpose

□T{\square}^{T}
You type
[123456]T\displaystyle {\begin{bmatrix}1&2&3\\4&5&6\end{bmatrix}}^{T}
AI calc
[142536]\displaystyle \begin{bmatrix}1&4\\2&5\\3&6\end{bmatrix}

Inverse

A−1A^{-1}
You type
inverse⁡([1234])\displaystyle \operatorname{inverse}\left(\begin{bmatrix}1&2\\3&4\end{bmatrix}\right)
AI calc
[−2132−12]\displaystyle \begin{bmatrix}-2&1\\\frac{3}{2}&\frac{-1}{2}\end{bmatrix}

Cofactor and adjoint

Cof⁡(A)\operatorname{Cof}(A)
You type
Cof⁡([1234])\displaystyle \operatorname{Cof}\left(\begin{bmatrix}1&2\\3&4\end{bmatrix}\right)
AI calc
[4−3−21]\displaystyle \begin{bmatrix}4&-3\\-2&1\end{bmatrix}
You type
Adj⁡([1234])\displaystyle \operatorname{Adj}\left(\begin{bmatrix}1&2\\3&4\end{bmatrix}\right)
AI calc
[4−2−31]\displaystyle \begin{bmatrix}4&-2\\-3&1\end{bmatrix}

Row echelon forms

REF⁡(A)\operatorname{REF}(A)
You type
rowEchelon⁡([1234567810])\displaystyle \operatorname{rowEchelon}\left(\begin{bmatrix}1&2&3\\4&5&6\\7&8&10\end{bmatrix}\right)
AI calc
[123012001]\displaystyle \begin{bmatrix}1&2&3\\0&1&2\\0&0&1\end{bmatrix}
You type
rref⁡([1234567810])\displaystyle \operatorname{rref}\left(\begin{bmatrix}1&2&3\\4&5&6\\7&8&10\end{bmatrix}\right)
AI calc
[100010001]\displaystyle \begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix}

Rank and trace

rank⁡(A)\operatorname{rank}(A)
You type
rank⁡([123246101])\displaystyle \operatorname{rank}\left(\begin{bmatrix}1&2&3\\2&4&6\\1&0&1\end{bmatrix}\right)
AI calc
2\displaystyle 2
You type
trace⁡([1234])\displaystyle \operatorname{trace}\left(\begin{bmatrix}1&2\\3&4\end{bmatrix}\right)
AI calc
5\displaystyle 5

Eigenvalues and eigenvectors

eigVal⁡(A)\operatorname{eigVal}(A)

Eigenvectors are the columns of the result, normalised to length 1.

You type
eigenvalues⁡([2112])\displaystyle \operatorname{eigenvalues}\left(\begin{bmatrix}2&1\\1&2\end{bmatrix}\right)
AI calc
[13]\displaystyle \begin{bmatrix}1\\3\end{bmatrix}
You type
eigenvectors⁡([2112])\displaystyle \operatorname{eigenvectors}\left(\begin{bmatrix}2&1\\1&2\end{bmatrix}\right)
AI calc
[2222−2222]\displaystyle \begin{bmatrix}\frac{\sqrt{2}}{2}&\frac{\sqrt{2}}{2}\\\frac{-\sqrt{2}}{2}&\frac{\sqrt{2}}{2}\end{bmatrix}

LU decomposition

LU⁡(A)\operatorname{LU}(A)

With row pivoting: PA=LUPA=LU.

You type
LU⁡([4363])\displaystyle \operatorname{LU}\left(\begin{bmatrix}4&3\\6&3\end{bmatrix}\right)
AI calc
PA=LUP=[0110]L=[10231]U=[6301]\displaystyle \begin{gathered}PA=LU\\P=\begin{bmatrix}0&1\\1&0\end{bmatrix}\quad{}L=\begin{bmatrix}1&0\\\frac{2}{3}&1\end{bmatrix}\quad{}U=\begin{bmatrix}6&3\\0&1\end{bmatrix}\end{gathered}

QR decomposition

QR⁡(A)\operatorname{QR}(A)

QQ is orthogonal and RR upper triangular.

You type
QR⁡([111−1])\displaystyle \operatorname{QR}\left(\begin{bmatrix}1&1\\1&-1\end{bmatrix}\right)
AI calc
A=QRQ=[−2222−22−22]R=[−2002]\displaystyle \begin{gathered}A=QR\\Q=\begin{bmatrix}\frac{-\sqrt{2}}{2}&\frac{\sqrt{2}}{2}\\\frac{-\sqrt{2}}{2}&\frac{-\sqrt{2}}{2}\end{bmatrix}\quad{}R=\begin{bmatrix}-\sqrt{2}&0\\0&\sqrt{2}\end{bmatrix}\end{gathered}

Functions of matrices

Square roots, logarithms, exponentials and trigonometric functions work on whole square matrices.

You type
[4009]\displaystyle \sqrt{\begin{bmatrix}4&0\\0&9\end{bmatrix}}
AI calc
[2003]\displaystyle \begin{bmatrix}2&0\\0&3\end{bmatrix}

Can't find something? Email successajir@gmail.com.