HP 50g User Manual Page 214

Graphing calculator.

Press ˜ to trigger the line editor to see all the coefficients.
Note: If you want to get a polynomial with real coefficients, but having com-
plex roots, you must include the complex roots in pairs of conjugate numbers.
To illustrate the point, generate a polynomial having the roots [1 (1,2) (1,-
2)]. Verify that the resulting polynomial has only real coefficients. Also, try
generating a polynomial with roots [1 (1,2) (-1,2)], and verify that the result-
ing polynomial will have complex coefficients.
Generating an algebraic expression for the polynomial
You can use the calculator to generate an algebraic expression for a
polynomial given the coefficients or the roots of the polynomial. The resulting
expression will be given in terms of the default CAS variable X. (The examples
below shows how you can replace X with any other variable by using the
function |.)
To generate the algebraic expression using the coefficients, try the following
example. Assume that the polynomial coefficients are [1,5,-2,4]. Use the
following keystrokes:
‚Ï˜˜@@OK@@
„Ô1‚í5
‚í2\‚í 4@@OK@@
—@SYMB@
`
The expression thus generated is shown in the stack as:
To generate the algebraic expression using the roots, try the following example.
Assume that the polynomial roots are [1,3,-2,1]. Use the following keystrokes:
‚Ï˜˜@@OK@@
˜„Ô1‚í3
‚í2\‚í 1@@OK@@
˜@SYMB@
`
The expression thus generated is shown in the stack as:'
'X^3+5*X^2+-2*X+4'.
Select Solve poly...
Enter vector of coefficients
Generate symbolic expression
Select Solve poly...
Enter vector of roots
Generate symbolic expression
(X-1)*(X-3)*(X+2)*(X-1)
'.
Page 6-8  