# Difference between revisions of "Simplifier-entering formulas"

From Algebra.Com's Help

Line 3: | Line 3: | ||

==Entering formulas for simplifier== | ==Entering formulas for simplifier== | ||

− | The formulas that my | + | The formulas that my [[Simplifier|simplifier]] simplifies, are entered the same way as in my [[Plotting Formulas|formula plotting system]]. However, to simplify a formula, it needs to be understood much deeper than when we just want to draw it as a picture. Therefore, there are some important '''requirements'''. |

+ | ==Requirements== | ||

*DO use multiplication sign '*' (the STAR) symbol. For the simplifier, xy is NOT the same as x*y or yx. Simplifier thinks that xy is a separate variable. '''Good example:''' x*y-y*(x+2). '''Bad example''': xy-y(x+2). | *DO use multiplication sign '*' (the STAR) symbol. For the simplifier, xy is NOT the same as x*y or yx. Simplifier thinks that xy is a separate variable. '''Good example:''' x*y-y*(x+2). '''Bad example''': xy-y(x+2). | ||

*DO use '*' when multiplying a variable by an expression in parentheses: x*(x+2). Otherwise, my simplifier will think that you are trying to use a function and will become confused. | *DO use '*' when multiplying a variable by an expression in parentheses: x*(x+2). Otherwise, my simplifier will think that you are trying to use a function and will become confused. | ||

+ | *Use parentheses liberally to avoid any ambiguity. (x+y)/(x-y) is NOT the same as x+y/x-y. | ||

+ | |||

+ | ==Operations== | ||

+ | |||

+ | *Use '*' (STAR) for multiplication. 2*3 is legal, 2x3 will be misunderstood. | ||

+ | *Use '^' (CARET) for power. 2^3 means 2 to degree of 3, or 8. | ||

+ | *Use '/' (FORWARD SLASH) for division | ||

+ | *Only '(' and ')' (parentheses) are allowed for grouping terms. Curly or square brackets are used for other purposes. | ||

+ | |||

+ | Operation priority: + and - have lowest priority, * and / h | ||

+ | ==Good Examples== | ||

+ | |||

+ | x*y-x*(y+2) <-- '*' is used for multiplications | ||

+ | a^b*3 <-- means (a to the degree of b) multiplied by 3 | ||

+ | |||

+ | ==Bad examples== | ||

+ | xy-yx <-- variable xy and variable yx are different variables | ||

+ | y(x-2) <-- simplifier will think that it is function y of x-2. |

## Revision as of 12:18, 8 July 2005

## Contents

## Entering formulas for simplifier

The formulas that my simplifier simplifies, are entered the same way as in my formula plotting system. However, to simplify a formula, it needs to be understood much deeper than when we just want to draw it as a picture. Therefore, there are some important **requirements**.

## Requirements

- DO use multiplication sign '*' (the STAR) symbol. For the simplifier, xy is NOT the same as x*y or yx. Simplifier thinks that xy is a separate variable.
**Good example:**x*y-y*(x+2).**Bad example**: xy-y(x+2). - DO use '*' when multiplying a variable by an expression in parentheses: x*(x+2). Otherwise, my simplifier will think that you are trying to use a function and will become confused.
- Use parentheses liberally to avoid any ambiguity. (x+y)/(x-y) is NOT the same as x+y/x-y.

## Operations

- Use '*' (STAR) for multiplication. 2*3 is legal, 2x3 will be misunderstood.
- Use '^' (CARET) for power. 2^3 means 2 to degree of 3, or 8.
- Use '/' (FORWARD SLASH) for division
- Only '(' and ')' (parentheses) are allowed for grouping terms. Curly or square brackets are used for other purposes.

Operation priority: + and - have lowest priority, * and / h

## Good Examples

x*y-x*(y+2) <-- '*' is used for multiplications a^b*3 <-- means (a to the degree of b) multiplied by 3

## Bad examples

xy-yx <-- variable xy and variable yx are different variables y(x-2) <-- simplifier will think that it is function y of x-2.