Interactive Manual › Chapter 11
Chapter 11: Lists
Create, name, store, edit and display lists; attach formulas to them; and use the LIST NAMES, LIST OPS and LIST MATH menus (SortA(, dim(, seq(, cumSum(, augment(, mean(, sum(, stdDev( and more).
Getting Started: Generating a Sequencep. 161
A list is an ordered collection of numbers (up to 999 of them) kept under a name. Lists feed statistics, plots, tables and many math functions. This short walkthrough builds a list with seq(, stores it under a name you choose, and then shows it as fractions.
The goal: the first eight terms of the sequence 1/A², stored in a list called SEQ1.
Generate the first eight terms of 1/A² and store them in SEQ1
You will open the LIST OPS menu, fill in the seq( wizard, paste it to the home screen, store the result under a new list name and view it as fractions. Begin on a blank line of the home screen.
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Open the LIST OPS menu. 2ndLIST is the LIST key; ▶︎ moves from NAMES to OPS.2ndLIST▶︎
- Choose
5:seq(. This is the only LIST OPS item that opens a wizard: a small form that asks for each part of the command in turn.5 - Type the expression 1/A² into
Expr:. (The guidebook uses the fraction template here; a plain ÷ gives the same values.)1÷ALPHAAx² - Move down to
Variable:and type A, move down again tostart:and type 1, thenend:and type 8. Leavestep:at its default of 1.▼︎ALPHAA▼︎1▼︎8 - Move down to
Pasteand press ENTER to copy the finishedseq(command to the home screen.▼︎▼︎ENTER - Press STO► to start storing. Because
seq(creates a new list, you can give it a new name of your own. User list names start with the small ʟ symbol: take it from LIST OPS itemB:ʟ.STO►2ndLIST▶︎ALPHAB - Type the name SEQ1. Turn on alpha-lock with 2ndA-LOCK, then press the keys for S, E and Q, then press ALPHA to turn alpha-lock off and finish with the digit 1. A list name can be up to five characters long.2ndA-LOCKSEQALPHA1
- Press ENTER. The list is calculated, stored and displayed. An ellipsis (
...) means the list continues past the right edge of the screen.ENTER - Press ▶︎ repeatedly (or hold it) to scroll along the list and see every element. Then press CLEAR.▶︎▶︎CLEAR
- Now show the list as fractions. Open the LIST NAMES menu with 2ndLIST. Items 1 to 6 are L₁ to L₆, so your new list SEQ1 is item 7. Press 7 to paste it.2ndLIST7
- Open the MATH menu and choose
1:►Frac, then press ENTER.MATH1ENTER
Naming Listsp. 162
Every list has a name. Six names are built in, and you can invent as many more as memory allows.
Using the Built-in List Names L₁ through L₆p. 162
The calculator always has six lists named L₁, L₂, L₃, L₄, L₅ and L₆. They are the second functions of the number keys 1 to 6: press 2nd and then the digit to paste the name, for example 2ndL1 for L₁.
After a memory reset, L₁ through L₆ are stored in columns 1 through 6 of the stat list editor (see the Statistics chapter).
| List | Keys |
|---|---|
| L₁ | 2ndL1 |
| L₂ | 2ndL2 |
| L₃ | 2ndL3 |
| L₄ | 2ndL4 |
| L₅ | 2ndL5 |
| L₆ | 2ndL6 |
Creating a List Name on the Home Screenp. 162
To make a new list on the home screen, type its elements inside braces, separated by commas, then store it with STO► under a name. The elements can be real numbers, complex numbers or expressions.
- Press 2nd{ to type
{, enter one or more elements separated by commas, then press 2nd} to type}. - Press STO►.
- Type the first letter of the name: any letter A to Z or θ (press ALPHA first).
- Type up to four more letters, θ or digits to finish the name.
- Press ENTER. The list is shown on the next line, and its name and elements are stored. The name is added to the LIST NAMES menu.
B:ʟ). It tells the calculator the letters are one list name and not several variables multiplied together. See ʟ.Create a list called PTS on the home screen
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Type the elements in braces: 2nd{ gives
{, 2nd} gives}.2nd{10,20,30,402nd} - Press STO► and paste the list-name symbol from the LIST OPS menu: 2ndLIST, ▶︎, then item B.STO►2ndLIST▶︎ALPHAB
- Type the letters P, T and S. Each letter needs ALPHA first (here the shortcut
P,T,Spresses it for you).ALPHAPALPHATALPHAS - Press ENTER. The list is stored and echoed on the next line.ENTER
Other Places to Create a List Namep. 163
Besides the home screen, you can create a new list name in four other places:
- At the
Name=prompt in the stat list editor. - At an
Xlist:,Ylist:orData List:prompt in the stat plot editor. - At a
List:,List1:,List2:,Freq:,Freq1:,Freq2:,XList:orYList:prompt in the inferential statistics editors. - On the home screen with
SetUpEditor.
You can create as many lists as the memory of the calculator has room for.
Storing and Displaying Listsp. 163
This section covers putting elements into a list, looking at them, copying and changing them.
Storing Elements to a Listp. 163
There are two ways to fill a list: type braces and STO► on the home screen (as above), or type values straight into the stat list editor (see the Statistics chapter).
A list can hold at most 999 elements.
real(listname)→listname on the home screen.Displaying a List on the Home Screenp. 163
Type the name of the list (with the ʟ symbol in front of a user-created name if needed) and press ENTER. If the list is too long for the screen, an ellipsis (...) appears at the end. Press ▶︎ repeatedly, or hold it down, to scroll through all the elements.
Display a list and scroll through it
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Paste the name L₁ and press ENTER.2ndL1ENTER
- The list is wider than the screen. Press ▶︎ a few times to scroll the display to the right.▶︎▶︎▶︎▶︎
Copying One List to Anotherp. 163
To copy a list, store it into another list name: L₁→L₂ makes L₂ an exact copy of L₁ (and replaces whatever L₂ held).
Copy L₁ into L₂
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Paste L₁, press STO►, then paste L₂.2ndL1STO►2ndL2
- Press ENTER to copy it.ENTER
Accessing a List Elementp. 164
Write the position of the element in parentheses after the list name: listname(element). You can read an element, or store a value into it. You may store to any position inside the current list, or to the position one past the end, which makes the list one element longer. Going further than that is an error.
Change an element and grow a list
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Store 7 into the second element of L₁: type the value, STO►, the name, and the position in parentheses.7STO►2ndL1(2)ENTER
- Store to element 4, one past the end. L₁ grows to four elements.9STO►2ndL1(4)ENTER
- Recall an element by evaluating it. CLEAR first to clear the line.CLEAR2ndL1(2)ENTER
- Storing two or more places past the end is not allowed. Try element 9.5STO►2ndL1(9)ENTER
Deleting a List from Memoryp. 164
To delete lists from memory, including L₁ to L₆, use the Memory Management / Delete menu (2ndMEM is MEM, then choose Mem Mgmt/Del...). Resetting memory brings L₁ to L₆ back. Removing a list from the stat list editor does not delete it from memory.
Using Lists in Graphingp. 164
To graph a whole family of curves at once you can put a list inside a Y= expression, or use the Transformation Graphing application (see the Function Graphing chapter for lists in Y=).
Entering List Namesp. 164
You can paste a list name from a menu, or type it directly. Both are described next.
Entering a User-Created List Name Directlyp. 165
- Open the LIST OPS menu with 2ndLIST▶︎.
- Choose item
B:ʟ. It pastes the small ʟ symbol at the cursor (it is not always needed). - Type the letters and digits of the list name.
Type an existing list name directly
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Open LIST OPS and choose
B:ʟ.2ndLIST▶︎ALPHAB - Type A, B and C.ALPHAAALPHABALPHAC
- Press ENTER to display the list.ENTER
Attaching Formulas to List Namesp. 165
A list can have a formula attached to it. Each element of the list is then calculated from the formula, and the list recalculates itself whenever something the formula depends on changes.
- When you edit an element of a list used in the formula, the matching element of the formula list is updated.
- When you edit the formula itself, every element of the formula list is updated.
The formula must produce a list when it is evaluated. For example, with L₃ holding some values, the formula L₃+10 can be attached to a list called ADD10. The quotation marks around the formula are what attach it. If you leave the quotes off and store L₃+10 into L₄, the result is only a one-time calculation: L₄ will not change when L₃ does.
Attaching a Formula to a List on the Home Screen or in a Programp. 166
- From a blank line, type an opening quotation mark with ALPHA", enter the formula (it must evaluate to a list), then type a closing quotation mark with ALPHA".
- Press STO►.
- Enter the name of the list that will carry the formula: L₁ to L₆ with 2nd and a digit, a user list from the LIST NAMES menu, or a user list typed directly after the ʟ symbol.
- Press ENTER.
Attach the formula L₃+10 to a list called ADD10
You will attach a formula, then change L₃ and watch ADD10 follow it. A second list, L₄, gets the same calculation without quotation marks, so it stays fixed.
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Type an opening quotation mark, the formula L₃+10, and a closing quotation mark. The quote key is ALPHA".ALPHA"2ndL3+10ALPHA"
- Press STO►, paste the ʟ symbol, and type the name ADD10.STO►2ndLIST▶︎ALPHABALPHAAALPHADALPHAD10
- Press ENTER. ADD10 now holds the formula and the values {11 12 13}.ENTER
- For comparison, store the same calculation into L₄ without quotation marks.CLEAR2ndL3+10STO►2ndL4ENTER
- Now change the first element of L₃ to 100.CLEAR100STO►2ndL3(1)ENTER
- ADD10 followed the change (110), but L₄ did not (still 11).
Detaching a Formula from a Listp. 166
There are several ways to remove an attached formula (the list keeps its current values):
- On the home screen, enter two quotation marks followed by STO► and the list name:
""→listname. - Edit any element of the list.
- Remove it in the stat list editor (see the Statistics chapter).
- Use
ClrListorClrAllList(see the Memory chapter).
Detach a formula with ""→listname
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Type two quotation marks in a row, then STO►, the ʟ symbol and the name.ALPHA"ALPHA"STO►2ndLIST▶︎ALPHABALPHAAALPHADALPHAD10
- Press ENTER. The formula is gone, but the list still holds {11 12 13}.ENTER
- Prove it: change L₃(1) to 100. ADD10 does not follow any more.CLEAR100STO►2ndL3(1)ENTER
Using Lists in Expressionsp. 167
You can use a list anywhere you would use a number in an expression. When you press ENTER, the expression is worked out once for every element and the answer is a list. Three ways to put a list into an expression:
- Use L₁ to L₆, or a user-created list name, in the expression.
- Type the elements directly inside braces.
- Press 2ndRCL (RCL) to recall the contents of a list into the expression at the cursor.
Rcl prompt you must pick a user-created list name from the LIST NAMES menu. You cannot type it with the ʟ symbol there.Evaluate expressions that contain lists
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Type a list directly and square it.2nd{1,2,32nd}x²ENTER
- Use a list name in an expression: multiply L₁ by 10.CLEAR2ndL1×10ENTER
- Recall the contents of L₁ with 2ndRCL (RCL). Press 2ndL1 at the
Rclprompt, then ENTER.CLEAR2ndRCL2ndL1ENTER - Add 5 to the recalled elements and evaluate.+5ENTER
Using Lists with Math Functionsp. 167
Many math functions accept a list in place of a value (the function reference in Appendix A tells you which). The function is applied to each element and a list comes back.
- One list: the function must be valid for every element. A bad element makes the whole calculation an error. (In graphing, an invalid element is simply skipped: graphing
Y₁=√({1,0,⁻1})Xplots √1·X and √0·X but leaves out the invalid √⁻1·X.) - Two lists with a two-argument function: the two lists must have the same dimension. The function is applied to corresponding elements.
- A list and a single value with a two-argument function: the single value is used together with every element of the list.
Combine a list with a value, and two lists of equal length
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- A list and a value: add 5 to each element of L₁.2ndL1+5ENTER
- Two lists of the same size: add them element by element.CLEAR2ndL1+2ndL2ENTER
Two lists of different lengths are an error
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Add L₁ (3 elements) and L₂ (2 elements).2ndL1+2ndL2ENTER
One invalid element makes the whole calculation an error
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Take the square root of {1,0,⁻1}. √⁻1 is not real, so the calculator reports an error even though the other two elements are fine.2nd√2nd{1,0,(−)12nd})ENTER
LIST OPS Menup. 168
The LIST OPS menu holds the commands that rearrange, build or convert lists. Open it with 2ndLIST▶︎ (the LIST key, then ▶︎ to move from NAMES to OPS).
SortA( and SortD(p. 168
SortA( sorts from low to high, SortD( from high to low. A complex list is sorted by the size (modulus) of its elements.
With one list, the list itself is sorted and the new order is saved in memory. With two or more lists, the first (the key list) is sorted and every dependent list is rearranged to keep its elements lined up with the key list. All the lists must have the same dimension.
SortA(listname)SortA(keylistname,dependlist1[,dependlist2,…,dependlistn])Sorts list elements from low to high. With dependent lists, each one is reordered to match the sorted key list.
SortA(L₁)sorts L₁.SortA(L₁,L₂)sorts L₁ and moves the elements of L₂ with it.
SortD(listname)SortD(keylistname,dependlist1[,dependlist2,…,dependlistn])Sorts list elements from high to low. With dependent lists, each one is reordered to match the sorted key list.
SortD(L₁)sorts L₁ in descending order.
SortA( and SortD( here are the same commands as on the STAT EDIT menu. You cannot sort a list that is locked.Sort a list from low to high
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Open LIST OPS and choose
1:SortA(.2ndLIST▶︎1 - Paste L₁, close the parenthesis and press ENTER. The calculator shows
Done.2ndL1)ENTER
Sort a list from high to low
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
2:SortD(and enter L₁.2ndLIST▶︎22ndL1)ENTER
Sort a key list and carry a dependent list along
L₁ holds the scores and L₂ holds the matching ID numbers. Sorting the scores should keep each ID next to its score.
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
1:SortA(, then type the key list, a comma and the dependent list.2ndLIST▶︎12ndL1,2ndL2) - Press ENTER. L₁ becomes {1,2,3} and L₂ becomes {20,30,10}: the score 1 still has ID 20.ENTER
Using dim( to Find or Set a List Dimensionp. 169
dim(list)length→dim(listname)Returns the number of elements in a list. Used with STO► it sets the length: on a new name it creates a list of that many zeros; on an existing list it redimensions it. When it is made shorter, elements past the new end are deleted; when it is made longer, the new elements are 0. The length must be 1 to 999.
dim(L₁)returns the length of L₁.5→dim(ʟNEW)creates NEW with five zeros.3→dim(L₁)cuts L₁ down to its first three elements.
dim( here is the same command as dim( on the MATRX MATH menu.Find the length of a list
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
3:dim(, paste L₁, close the parenthesis and press ENTER.2ndLIST▶︎32ndL1)ENTER
Create a new list of zeros with dim(
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Type the length 5 and press STO►.5STO►
- Choose
3:dim(, then the ʟ symbol (item B) and the new name N, E, W. Close the parenthesis.2ndLIST▶︎32ndLIST▶︎ALPHABALPHANALPHAEALPHAW) - Press ENTER. NEW now exists with five elements, all zero.ENTER
Shorten and lengthen an existing list
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Store 3 to
dim(L₁). The elements past the third are discarded.3STO►2ndLIST▶︎32ndL1)ENTER - Now store 5 to
dim(L₁). The two new elements are filled with 0.CLEAR5STO►2ndLIST▶︎32ndL1)ENTER
Fill(p. 170
Fill(value,listname)Replaces every element of the list with value. The list must already exist.
Fill(7,L₁)makes every element of L₁ equal to 7.
Fill( here is the same command as Fill( on the MATRX MATH menu.Fill a list with a constant
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
4:Fill(, type 7, a comma, then L₁ and a closing parenthesis.2ndLIST▶︎47,2ndL1) - Press ENTER. Every element is now 7.ENTER
seq(p. 170
seq( evaluates an expression for each value of a variable from begin to end, stepping by increment, and returns the results as a list. The variable need not exist in memory. The increment may be negative, and defaults to 1. You cannot use seq( inside the expression, and complex lists are not valid.
seq(expression,variable,begin,end[,increment])Returns a list in which each element is the expression evaluated for the variable running from begin to end in steps of increment (default 1). Opens a wizard to help fill in the arguments; it is the only LIST OPS item with a wizard.
seq(X²,X,1,5)returns{1 4 9 16 25}.seq(X,X,10,0,⁻5)returns{10 5 0}.
Generate odd squares with seq( and an increment
You will build seq(X²,X,1,9,2): the squares of 1, 3, 5, 7 and 9.
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
5:seq(to open the wizard.2ndLIST▶︎5 - Enter the expression X².X,T,θ,nx²
- Fill in
Variable:(X),start:(1) andend:(9).▼︎X,T,θ,n▼︎1▼︎9 - The last field is
step:, which already shows 1. Replace it with 2.▼︎CLEAR2 - Move to
Pasteand press ENTER, then press ENTER again to run the command.▼︎ENTERENTER
cumSum(p. 170
cumSum(list)Returns the cumulative sums of the elements of list, starting from the first element. The elements may be real or complex.
cumSum({1,2,3,4})returns{1 3 6 10}.
Running totals with cumSum(
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
6:cumSum(, paste L₁ and press ENTER.2ndLIST▶︎62ndL1)ENTER
ΔList(p. 171
ΔList(list)Returns a list of the differences between consecutive elements: second minus first, third minus second, and so on. The result is always one element shorter than the original. The elements may be real or complex.
ΔList({1,4,9,16})returns{3 5 7}.
Differences of successive elements
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
7:ΔList(, paste L₁ and press ENTER.2ndLIST▶︎72ndL1)ENTER
Select(p. 171
Select( lets you pick a stretch of points from a plotted scatter or xyLine plot with the cursor and copies just those points into two lists. This is handy for analysing part of a data set, such as one section of data collected with a CBL 2, CBL or CBR.
Select(xlistname,ylistname)Selects data points from a scatter plot or xyLine plot (only) and stores the chosen points to xlistname and ylistname. A stat plot of those two lists must be turned on and displayed in the current window.
Select(L₁,L₂)
Before using Select(:
- Create two lists and enter the data.
- Turn on a stat plot, choose a scatter plot or xyLine plot, and set
Xlist:andYlist:to the two lists (see the Statistics chapter). - Draw the plot with
ZoomStat(see the Function Graphing chapter) so that all the points are visible.
Selecting the points:
- From LIST OPS choose
8:Select(. It is pasted on the home screen. - Enter xlistname, a comma, ylistname and a closing parenthesis. These are the lists the selected data will be stored into.
- Press ENTER. The graph appears with
Left Bound?in the lower-left corner. - If more than one stat plot is on, use ▲︎ or ▼︎ to move the cursor to the plot you want.
- Use ◀︎ and ▶︎ to move the cursor to the first point you want, then press ENTER. A ► marker shows the left bound and
Right Bound?appears. - Move the cursor to the last point you want and press ENTER.
The x-values and y-values of the chosen points go into the two lists, and a new stat plot of those lists replaces the old one (the list names are updated in the stat plot editor). The new lists include the points you chose as the left and right bounds. The x-value of the left bound must be less than or equal to the x-value of the right bound.
Select a stretch of points from a scatter plot
Five data points are plotted; you will keep only the 2nd, 3rd and 4th.
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Turn on Plot 1 (a scatter plot of L₁ and L₂ is the default). Open the STAT PLOTS menu with 2ndSTAT PLOT, choose
1:Plot1, move the cursor from Off to On with ◀︎, and press ENTER.2ndSTAT PLOTENTER◀︎ENTER - Leave the plot editor with 2ndQUIT (QUIT), then press ZOOM 9 (ZoomStat) to display all the points.2ndQUITZOOM9
- Return to the home screen with 2ndQUIT and choose
8:Select(. Enter the two list names.2ndQUIT2ndLIST▶︎82ndL1,2ndL2) - Press ENTER. The graph appears and asks for the left bound.ENTER
- Move the cursor to the second point and press ENTER to set the left bound.▶︎ENTER
- Move two points to the right and press ENTER to set the right bound.▶︎▶︎ENTER
augment(p. 173
augment(listA,listB)Joins listB onto the end of listA and returns the longer list. The elements may be real or complex.
augment({1,2},{3,4,5})returns{1 2 3 4 5}.
Join two lists end to end
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
9:augment(and enter the two list names separated by a comma.2ndLIST▶︎92ndL1,2ndL2) - Press ENTER.ENTER
List►matr(p. 173
List►matr(list1,list2,…,listn,matrixname)Fills the matrix column by column, one list per column. If the lists have different lengths, the missing entries in the shorter columns are filled with 0. Complex lists are not valid.
List►matr(L₁,L₂,[A])stores L₁ in column 1 and L₂ in column 2 of [A].
Store two lists into a matrix
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
0:List►matr(, then enter the two lists, each followed by a comma.2ndLIST▶︎02ndL1,2ndL2, - Open the MATRIX NAMES menu (2ndMATRIX) and choose
1:[A]as the destination, then close the parenthesis.2ndMATRIX1) - Press ENTER. [A] is now a 3×2 matrix.ENTER
Matr►list(p. 174
Matr►list(matrix,listname1,listname2,…,listnamen)Matr►list(matrix,column#,listname)The first form fills each listed name with the elements of one column of the matrix, in order. If you name more lists than the matrix has columns, the extra names are ignored; if the matrix has more columns than names, the extra columns are ignored. The second form copies the single column you specify into one list.
Matr►list([A],L₃,L₄)Matr►list([A],2,L₅)copies column 2 of [A] into L₅.
Store matrix columns into lists
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
A:Matr►list(, paste [A] from the MATRIX NAMES menu, then name two lists: L₃ and L₄.2ndLIST▶︎ALPHAA2ndMATRIX1,2ndL3,2ndL4) - Press ENTER. Column 1 goes to L₃ and column 2 to L₄.ENTER
- Now copy only column 2 into L₅. Put the column number after the matrix.CLEAR2ndLIST▶︎ALPHAA2ndMATRIX1,2,2ndL5)ENTER
ʟ (the list-name symbol)p. 174
ʟlistnameMarks the one to five characters that follow as a user-created list name. The name may use letters, θ and digits, but must start with a letter A to Z or θ.
ʟSEQ1ʟABC
You generally need ʟ in front of a user-created list name wherever other kinds of input are also valid, such as on the home screen. Without it the calculator could read the letters as several variables multiplied together.
Where only a list name makes sense, such as the Name= prompt in the stat list editor or the Xlist: and Ylist: prompts in the stat plot editor, ʟ is not needed. If you type it there anyway, it is ignored.
LIST MATH Menup. 175
The LIST MATH menu has functions that turn a list into a single number (or compare two lists). Open it with 2ndLIST◀︎: from the LIST key, ◀︎ wraps around from NAMES to MATH.
min( and max(p. 175
With one list, min( and max( give the smallest or largest element. With two lists of the same length, they return a list holding the smaller or larger of each pair. For a complex list, the element with the smallest or largest magnitude (modulus) is returned.
min(listA[,listB])Smallest element of listA; or, with listB, a list of the smaller element of each corresponding pair.
min({4,2,8})returns2.min({1,5,3},{4,2,6})returns{1 2 3}.
max(listA[,listB])Largest element of listA; or, with listB, a list of the larger element of each corresponding pair.
max({4,2,8})returns8.max({1,5,3},{4,2,6})returns{4 5 6}.
min( and max( here are the same functions as min( and max( on the MATH NUM menu.Smallest and largest element of a list
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
1:min(, paste L₁ and press ENTER.2ndLIST◀︎12ndL1)ENTER - Choose
2:max(and do the same.CLEAR2ndLIST◀︎22ndL1)ENTER
Compare two lists element by element with min(
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
1:min(and enter both lists, separated by a comma.2ndLIST◀︎12ndL1,2ndL2)ENTER
mean( and median(p. 175
The optional freqlist says how many times each element of list occurs. Each frequency counts consecutive repeats of the matching element. When it is left out, every frequency is 1. Complex lists are not valid.
mean(list[,freqlist])Returns the mean (average) of the list, weighted by freqlist if given.
mean({1,2,3,4,5})returns3.
median(list[,freqlist])Returns the median (middle value) of the list, weighted by freqlist if given.
median({4,2,8})returns4.
Mean and median of a list
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
3:mean(and enter L₁.2ndLIST◀︎32ndL1)ENTER - Choose
4:median(and enter L₁. The middle value of 2, 4, 8 is 4.CLEAR2ndLIST◀︎42ndL1)ENTER
Use a frequency list with mean( and median(
The data are 4, 2 and 8 with frequencies 1, 1 and 2: that is the data set 4, 2, 8, 8.
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Enter the data list, a comma, and the frequency list.2ndLIST◀︎32ndL1,2ndL2)ENTER
- The same for the median of 2, 4, 8, 8.CLEAR2ndLIST◀︎42ndL1,2ndL2)ENTER
sum( and prod(p. 176
start and end are optional. They name the first and last element to include; if you leave them out, the whole list is used. The elements may be real or complex.
sum(list[,start,end])Returns the sum of the elements of the list, or of elements start through end.
sum({4,2,8})returns14.sum({4,2,8},2,3)returns10.
prod(list[,start,end])Returns the product of all the elements of the list, or of elements start through end.
prod({4,2,8})returns64.
Add up and multiply the elements of a list
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
5:sum(and enter L₁.2ndLIST◀︎52ndL1)ENTER - Add only elements 2 through 3: put the start and end after the list.CLEAR2ndLIST◀︎52ndL1,2,3)ENTER
- Choose
6:prod(for the product of all three elements.CLEAR2ndLIST◀︎62ndL1)ENTER
Sums and Products of Numeric Sequencesp. 176
Combine sum( or prod( with seq( to add or multiply the values of an expression over a range, the same job as sigma (Σ) and pi (Π) notation:
| To evaluate | Enter |
|---|---|
| Σ expression(x) for x = lower to upper | sum(seq(expression(x),x,lower,upper)) |
| Π expression(x) for x = lower to upper | prod(seq(expression(x),x,lower,upper)) |
For example, Σ 2(N−1) for N = 1 to 4 is 0 + 2 + 4 + 6 = 12.
Evaluate Σ 2(N−1) from N = 1 to 4
You will nest the seq( wizard inside sum(. The variable here is X, entered with the X,T,θ,n key.
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
5:sum(from LIST MATH.2ndLIST◀︎5 - Open LIST OPS and choose
5:seq(for the wizard.2ndLIST▶︎5 - Expression
2(X−1), variable X, from 1 to 4.2(X,T,θ,n−1)▼︎X,T,θ,n▼︎1▼︎4 - Move to
Pasteand press ENTER, then close thesum(parenthesis and press ENTER.▼︎▼︎ENTER)ENTER
stdDev( and variance(p. 176
These give the sample standard deviation and sample variance of a list. The optional freqlist counts how many times each element occurs (default 1 each). Complex lists are not valid.
stdDev(list[,freqlist])Returns the standard deviation of the elements of the list.
stdDev({1,2,3,4,5})returns1.58113883.
variance(list[,freqlist])Returns the variance of the elements of the list (the square of the standard deviation).
variance({1,2,3,4,5})returns2.5.
Standard deviation and variance of a list
▶ Try this step-by-step on the online TI-84 Plus — keys light up as you go
- Choose
7:stdDev(and enter L₁.2ndLIST◀︎72ndL1)ENTER - Choose
8:variance(and enter L₁.CLEAR2ndLIST◀︎82ndL1)ENTER