## Math Expression Expander

## Trigonometric Expression Expansion

## Answers to Questions

### What does expand an expression means? (Definition)

The development consists of the transformation of a multiplication or a mathematical product into a sum or a difference.

The development is also called an 'expansion' and the technique is called a **polynomial expansion**.

The concept of 'distributivity' is also important for developping: $ a \times (b + c) = (a \times b) + (a \times c) $

Example: $ (a+b)^2 $ is expanded $ a^2+2ab+b^2 $

### How to develop a polynomial-like expression?

Developing a math expression (or a part of an equation) consists in expressing it in sum of factors (to eliminate the possible factorization) in order to obtain a longer writing but which can then make it possible to carry out simplifications.

To achieve the operations, dCode uses the distributive property of multiplication over addition and subtraction.

After expansion, dCode calculator automatically computes the reduced form of the math expression

### How to expand a trigonometric expression?

dCode expands algebraic expressions but also trigonometric expressions (functions sine, cosine, etc.) in order to simplify their content

Example: $ \sin(2x) $ gives $ 2\sin(x)\cos(x) $

## Source code

dCode retains ownership of the source code of the script Math Expression Expansion online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be given for free. To download the online Math Expression Expansion script for offline use on PC, iPhone or Android, ask for price quote on contact page !