Home / Science / Maths, statistics and computing / Pure mathematics / Symbolic algebra (lite CAS)Tool #542

Symbolic algebra calculator: simplify, expand, factor, differentiate and integrate (a lite CAS)

Type an expression and simplify, expand or factor it, differentiate it, integrate it (with definite integrals), or substitute values. Exact fractions, answers you can copy as SymPy or LaTeX, and an honest 'could not integrate' when it is out of reach. Checked against sympy.

Keep it one tap away for everyday use.

Bookmark Symbolic algebra (lite CAS)?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Type
  2. Pick a job
  3. Answer
  4. Copy
Nothing is uploadedWorks offline once open

Expression

Use ^ for powers, * or a space for times (2x and x y work), sqrt(), sin cos tan asin acos atan sinh cosh tanh ln exp abs or |x|, pi and e (Euler's number). log means ln. Letters written together are multiplied: xy is x·y.

What it does

A small computer algebra system (CAS) that runs in your browser, for homework, checking your own working and writing up. Type an expression such as x^2 e^(-x) and choose:

  • Simplify: collects like terms, cancels common factors in a fraction, uses sin² + cos² = 1 and keeps the shortest form.
  • Expand: multiplies out brackets and powers of sums.
  • Factor: factors a polynomial in one variable completely over the whole numbers, such as x⁶ − 1 = (x − 1)(x + 1)(x² − x + 1)(x² + x + 1), and lists its roots that are fractions. Fractions of polynomials are cancelled and factored top and bottom.
  • Differentiate, up to 5 times, with respect to any letter.
  • Integrate: polynomials, fractions of polynomials (by partial fractions), standard forms such as sin(3x + 1), e^(2x), 1/(4x − 1) and 1/(x² + 1), simple substitutions such as 2x·cos(x²), and integration by parts such as x²·e^x and x·ln(x). Give From and To for a definite integral.
  • Substitute: put in values such as x = 2 or x = t + 1, and get a decimal value when every letter has a number.

Every answer is exact (1/3 stays 1/3, √2 stays √2) and can be copied as SymPy/Python code or LaTeX for a report. When there is a graph, the expression is the solid line and its derivative or antiderivative the dashed one.

How to type expressions

Use ^ for powers, * or a space for multiplication (2x and x y work too), / for division and brackets as usual. Functions: sqrt, sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, ln, exp, abs (or |x|), plus sec, csc, cot and log10, which are rewritten. log means the natural log, as in SymPy. pi is π and e is Euler’s number. Letters written together are multiplied, so xy is x·y; Greek names such as theta work. sin^2(x) means sin(x)². The line Read as shows how your input was understood.

Worked examples

  • Integrate (x³ + 1)/(x² − 3x + 2): x²/2 + 3x − 2ln|x − 1| + 9ln|x − 2|, found by dividing and then partial fractions. SymPy gives the same with log(x − 1).
  • Differentiate x² sin(x): x²·cos(x) + 2x·sin(x) by the product rule.
  • Simplify (x³ − 8)/(x² − 4): (x² + 2x + 4)/(x + 2), after cancelling x − 2.
  • The integral of sin(x) from 0 to pi is exactly 2; of 1/(1 + x²) from 0 to 1 it is π/4.

Honest limits

This is a lite CAS. Integrals are only shown after a check: the answer is differentiated and must give back your expression. When none of its methods works it says Could not integrate rather than guess; some integrals, like e^(x²) or sin(x)/x, have no answer in ordinary functions at all. It does not solve equations, find limits or series, work with complex numbers or matrices of symbols, or factor polynomials in several letters beyond taking out a common factor. Definite integrals across a point where the expression is undefined (an improper integral) are refused. Square roots of negative numbers are not simplified. For matrices of numbers use the matrix calculator.

Frequently asked questions

Why ln|x| and not ln(x)? Both are correct antiderivatives where x > 0; ln|x| also works for negative x. SymPy writes log(x).

Why does my answer look different from my textbook’s? Antiderivatives can differ by a constant, and equal expressions can be written in several ways. Use Simplify, or Substitute a value into both.

Is anything sent to a server? No. Everything is worked out on your device, and it keeps working offline.

Where the numbers come from

  • Methods: standard algebra and calculus rules (sum, product, quotient and chain rules; power rule, partial fractions, substitution and integration by parts), Yun's square-free factorisation and Kronecker's factor search, written for fibub.
  • Checked against sympy 1.x on 88 expressions: values, simplify, expand, factor_list, diff and integrate (up to a constant), plus exact values, definite integrals and printing.
  • The example expressions are made up for this tool.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Uncertainty propagation calculator #25 Type your formula and your measurements with their uncertainties, or paste repeated readings. Get the result with its uncertainty, which input matters most, and a Monte Carlo check. Publication plot maker #27 Paste columns or open a CSV or Excel file and get a clean scientific figure with error bars, sized for a journal column. Download vector SVG or PDF, or PNG at 300 or 600 dpi. Your data stays in your browser. Graphing calculator #541 Plot y = f(x), any equation in x and y, polar r(θ) and parametric (x(t), y(t)) curves together, with sliders, zoom, tap-to-trace, roots, turning points and crossings, plus 3D surfaces z = f(x, y). Download PNG, SVG or CSV. Runs in your browser. Matrix calculator #543 Determinant, inverse, rank and row reduction with every step in exact fractions, solving A x = B, products and powers, eigenvalues and eigenvectors (complex ones too), and LU, QR, Cholesky and SVD decompositions. Checked against numpy and sympy. Numerical methods teacher #550 See numerical methods work step by step: root finding by bisection, false position, Newton and secant with iteration tables; integration by the trapezoid, Simpson, Gauss-Legendre and Romberg rules with error plots; and Lagrange, Newton divided-difference and cubic spline interpolation. Checked against scipy. Truth table and Karnaugh map simplifier #558 Type a Boolean expression or a list of minterms (with don't-cares) and get the truth table, the minimal sum of products and product of sums by Quine-McCluskey (up to 6 variables), a Karnaugh map with the groups circled (2 to 4 variables), the prime implicant chart and a logic gate diagram. Checked against sympy.