Tool to expand and reduce a mathematical expression (Expanding and reducing polynomial, fractions, equation, trigonometry, etc.)
Expanding and Reducing Math Expression - dCode
Tag(s) : Symbolic Computation
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
The expansion allows expressing the polynomial in a addition (sum) or subtraction (difference) of factors. The reduction is used to group each factor of the polynomial or simplify the result. Often, to carry out the simplification, the development phase is mandatory.
Example: $ (a+b)^2-2ab $ can be expanded $ a^2+2ab+b^2-2ab $ and then be reduced $ a^2+b^2 $
The development and reduction operations is a basic maths calculation in middle school.
dCode can expand trigonometric expressions to simplify (reduce) their content (the goal is to reduce the content (between parenthesis) of the sine and cosine functions)
Example: $ \sin{2x} $ gives $ 2\sin{x}\cos{x} $
dCode offers dedicated tools for calculating fractions. The development consists of writing fractions to the same denominator and reducing is the simplification to the least common multiple.
After an expansion and a reduction, it is customary to order the values according to the increasing or decreasing powers of the variable.
Example: $ (x+1)^2 = x^2+2x+1 $ (decreasing powers of $ x $) or $ (x+1)^2 = 1+2x+x^2 $ (increasing powers of $ x $)
dCode retains ownership of the "Expanding and Reducing Math Expression" source code. Any algorithm for the "Expanding and Reducing Math Expression" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Expanding and Reducing Math Expression" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Expanding and Reducing Math Expression" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Expanding and Reducing Math Expression" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Expanding and Reducing Math Expression on dCode.fr [online website], retrieved on 2025-04-16,