# Other Forms Of Substitution In Algebraic Expressions - HP 50g User Manual

Graphing calculator.

## Other forms of substitution in algebraic expressions

Functions SUBST, shown above, is used to substitute a variable in an expression.
A second form of substitution can be accomplished by using the ‚¦
(associated with the I key). For example, in ALG mode, the following entry will
2
substitute the value x = 2 in the expression x+x
. The figure to the left shows the
way to enter the expression (the substituted value, x=2, must be enclosed in
parentheses) before pressing `. After the ` key is pressed, the result is
shown in the right-hand figure:
In RPN mode, this can be accomplished by entering first the expression where
2
the substitution will be performed (x+x
), followed by a list (see Chapter 8)
containing the substitution variable, an space, and the value to be substituted,
i.e., {x 2}. The final step is to press the keystroke combination: ‚¦.
The required keystrokes are the following:
³~„x+~„xQ2`
„ä~„x#2` ‚¦`
In ALG mode, substitution of more than one variable is possible as illustrated in
the following example (shown before and after pressing `)
In RPN mode, it is also possible to substitute more than one variable at a time,
as illustrated in the example below. Recall that RPN mode uses a list of variable
names and values for substitution.
Page 5-6  