Do Basic Algebra with Mathematica

Factoring Expressions

You can easily manipulate algebraic expressions using dozens of built-in functions. This example multiplies the two parts of an expression together.

[Graphics:Images/index2_gr_24.gif]
[Graphics:Images/index2_gr_25.gif]

Factor allows you to take apart the resulting answer.

[Graphics:Images/index2_gr_26.gif]
[Graphics:Images/index2_gr_27.gif]

Factor does not introduce algebraic expressions that were not originally present in the input.

[Graphics:Images/index2_gr_28.gif]
[Graphics:Images/index2_gr_29.gif]

The Extension option is a very powerful element that allows you to specify the algebraic expressions needed to factor certain polynomials. The following example demonstrates the use of the Extension option in a simple polynomial.

[Graphics:Images/index2_gr_30.gif]
[Graphics:Images/index2_gr_31.gif]


Solving Equations

The Solve command allows you to solve an equation or set of equations for the values of the respective variables. The simple example that follows solves 3x2 = 8 for x.

[Graphics:Images/index2_gr_34.gif]
[Graphics:Images/index2_gr_35.gif]

You can solve expressions symbolically as well. Here is the familiar quadratic formula.

[Graphics:Images/index2_gr_36.gif]
[Graphics:Images/index2_gr_37.gif]

You can also solve a system of equations for the variables that you specify.

[Graphics:Images/index2_gr_38.gif]
[Graphics:Images/index2_gr_39.gif]
[Graphics:Images/index2_gr_40.gif]