# Factorize & Expand Trigonometric Expressions

Enter a trigonometric expression to factorize
(e.g. sin(x)^2+cos(x)^2 ):

Enter a trigonometric expression to expand
(e.g. cos(x)*cos(3*y)-sin(x)*sin(3*y) ):

# How To Enter Equations.

To successfully use this tool you must follow these rules on how to construct your equations.
1. Operators:
 * - multiplication / - division + - plus - minus ( ) - brackets ^ - power e.g $x^2$ = x^2
2. You must enter all operators. For example $2x+3$ would be 2*x+3, note that you must show the multiplication sign.
3. If you have a fraction like $\frac{2x+3}{3x+9}$ you must enter both numerator and denominator in brackets, so the above function would become (2*x+3)/(3*x+9)
4. Built-in functions:
 $sin(x)$, $cos(x)$, $tan(x)$ - Trigonometric functions. $asin(x)$, $acos(x)$, $atan(x)$ - Inverse Trigonometric functions. $sinh(x)$, $cosh(x)$, $tanh(x)$ - Hyperbolic Trigonometric functions. $log(x)$ - Natural Logarithm. $log10(x)$ - Log base 10 $exp(x)$ - exponential, ex
5. You can put functions within built-in functions for example $sin(2x+x^2)$ would be sin(2*x+x^2)