DragMath Documentation - Creating complex expressions

## Creating complex expressions

To apply an object to multiple objects, you will need to select the multiple objects and then click on the object to apply in the toolbar. Selection is performed as it is in any program, by using the mouse to highlight the desired area.

Operators and functions can be entered into text boxes using the keyboard with the following syntax:

Name | Syntax
--- | ---
Addition | +
Multiplication | *
Division | /
Greater than | >
Less than | <
Equal | = ==
Less than or Equal | <=
Greater than or Equal | >=
Power | ^
Sine | sin(x)
Cosine | cos(x)
Tangent | tan(x)
Arc Sine | asin(x)
Arc Cosine | acos(x)
Arc Tangent | atan(x)
Hyperbolic Sine | sinh(x)
Hyperbolic Cosine | cosh(x)
Hyperbolic Tangent | tanh(x)
| Inverse Hyperbolic Sine | asinh(x)
Inverse Hyperbolic Cosine | acosh(x)
Inverse Hyperbolic Tangent | atanh(x)
Natural Logarithm | ln(x)
Logarithm | log(x)
Exponential | exp(x)
Absolute Value | abs(x)
Square Root | sqrt(x)
Union | union(a,b)
Intersection | intersection(a,b)
Determinant | det(a)
Trace | trace(a)
Subset | subset(a,b)
Integral | integrate(f,x) int(f,x)
Definite Integral | integrate(f,x,a,b) int(f,x,a,b)
Differential | diff(f,x)
| Sum | sum(n^2,n,1,10) | Product | product(n^2,n,1,10)

Once the box that you have been typing in has been left then the text is turned into templates automatically for you.

How to use layout templates

There are special templates called layout templates, beause they each take a unique layout. These are:
Fraction
Square Root
N-th Root
Subscript
Superscript
Matrix
Integral
Differential
Product
Sum
Limit
Evaluate at a point
Grouping (round brackets, curly brackets, square brackets, modulus)

These layout templates can be used in exactly the same way as the other math templates.

How to add symbols

Symbols such as greek letters are added by clicking in the box you wish to insert the symbol, and then clicking on the symbol in the toolbar.