Typing Math

The ASCII Math Notation is used to type fast math sentences using the keyboard. It is also used in several programming languages to instruct computers to do operations.

This is a summary of some expressions:

How to write the square symbol . Two ways.

  •  to represent  a2 we write a^2 using the caret symbol (^) to express "raised to the power of" or "exponent."
  • Also you can use these keys combinations: "Alt"+"253" to get: ²        (Just hold "alt" down and type the numbers in on the right side of the keyboard (num pad) then let go of the buttons and the character will appear.)

How to type Square Roots 

  • for "square root of 6" we write sqrt(6) to express √6
  • Also use this combination: "Alt"+"251" to get: √ which is the square root symbol. Use parentheses to write complete expressions. Ex:    x = [-b±√(b²-4ac)]/(2a)

How to represent multiplication. Diferent ways.

  • 5 x 5 is best written as (5)(5) or 5*5. Use parentheses or the asterisk (*) to represent multiplication.

We avoid the use of "x" as a multiplication symbol.  We use "x" for "unknowns" or variables when solving problems. Example: 5 + x = 8


 

How to type fractions

  • ? can be written as 5/(2x) * Attention! if you write 5/2x, it is an ambiguous expression,  because  5/2x could be interpreted as well as (5/2)x. Use parentheses to avoid ambiguity! 

How to write Exponentials

  •  will be then as   5^2 + x^(5y)

How to type the square symbol.

  • is written as (pi)r^2  or  pi*r^2 . The symbol pi (π) can be rendered using "Alt" (227)

How to write inequalities 

  • means "x is less or equal to zero" it is written as   x < = 0. The symbol ≤ is rendered using "Alt"(243)

How to write logarithms. 

  • is written by us as log_{10}120  or  log_(10)120

How to write matrices?
Just use the brackets [ ] keys found right of the P key in your keyboard.
Examples:
1.  To write a 1×3 matrix with elements 4,5,8  use [4 5 8]
     make sure to leave at least one blank space between elements for aesthetics.

2. To write a 3×1 matrix with elements 7 -2 1 use
[7]
[-2]
[1]

3. To write a 3×3 matrix see this example:
[2  5  1]
[3 -1  6]
[1  6  7]

Other important symbols you can write just by using the combination: "Alt and numbers"
(Just hold "Alt" down and type the numbers in on the right side of the keyboard (num pad) then let go of the buttons and the character will appear.)

Alt + 7.      • Black dot

Alt + 28.       90º degree angle

Alt + 167.      º The degrees or degree symbol

Alt + 171.      ½ One half symbol

Alt + 172.      ¼ One quarter symbol O

Alt + 225.       ß The Greek letter "Betha"

Alt + 241.      ± Plus and minus (Plus or minus) sign, Plus-minus Symbol

Alt + 246.       ÷ Divide or Division Symbol

Alt + 248.      ° Degree or degrees code

Alt + 253.      ² Squared symbol, superscript 2 via ascii

More symbols in my google website 

More about math writting at: http://mathforum.org/typesetting/ascii.guidelines.html

Another good document: http://www.integreat.ca/OL/docs/WritingMathPlainText.pdf