Skip to content
Property Value
Hex Value $BB4F
Categories
Localizations
  • FR: a+b𝑖

a+b𝑖

Overview

Sets the mode to rectangular complex number format (a+bi).

Availability: Token only available from within the Basic editor.

Syntax

a+bi

Arguments

NameTypeOptional
i

Location

mode, a+b, 𝑖


Description

The a+b𝑖 command puts the calculator into rectangular complex number mode. This means that:

  • Taking square roots of negative numbers, and similar operations, no longer returns an error.
  • Complex results are displayed in the form a+b𝑖 (hence the name of the command)

This is the standard way of displaying complex numbers, though they can also be displayed in polar form (see r𝑒^θ𝑖 for more details). To extract the coefficients a and b, use the real( and imag( commands.

Advanced Uses

Rather than switch to a+b𝑖 mode, you might want to force the calculations to use complex numbers by making the original argument complex. The general way to do this is by adding +0𝑖 to the number. However, there may be an optimization in any particular case. See the quadratic formula routine for a good example of this.

Real
        Done
√(-1)    
        (causes an error)
√(-1+0i)        
        i

See Also


Source: parts of this page were written by the following TI|BD contributors: burr, DarkerLine, GoVegan, Myles_Zadok, Trenly.

History

Calculator OS Version Description
TI-83 0.01013 Added

Last update: September 30, 2023 15:38:51
Created: February 23, 2023 23:15:01
Authors: Adrien Bertrand