Discrete
Mathematics Applets Etc.
Department of Mathematical
Note:
These links were live when last checked. If one appears to
be dead, it may be possible to find the item by using a keyword search to
discover its new location. Please send comments, corrections, and suggestions
for new items to sepp@condor.depaul.edu.
Interactive Mathematics Activities:
www.cut-the-knot.org/Curriculum/index.shtml
This website has links to over 450 interactive mathematics activities arranged
by mathematical topic. The activities listed under combinatorics, algebra,
logic, fractals, combinatorial games, probability, social science, and puzzles
& games are almost entirely discrete mathematical, and many of those listed
under arithmetic, miscellaneous demonstrations, fallacies, math magic, and
mathematical droodles also involve discrete mathematics.
David Eck Labs: http://math.hws.edu/TMCM/java/index.html
David Eck writes: "On this page you'll find a set of lab worksheets and
Java applets that are meant to help people learn about computer science. They
were written for use with my introductory computer science textbook [The Most
Complex Machine: A Survey of Computers and Computing], but they
can also be used independently of that text. The labs and applets are free for
personal use. In
addition, the applets can be freely used for non-commercial purposes, including
courses that do not use my textbook. I ask that teachers use the labs as an
official part of a course only if they adopt my textbook for that course (but I
will consider giving permission for other uses)."
Doug Ensley
Interactive Flash Exercises: www.ship.edu/~deensl/DiscreteMath/flash/
This website contains 75 exercises, which were written to accompany Introduction
to Discrete Mathematics: Mathematical Reasoning with Puzzles, Patterns and
Games, by Doug Ensley and Winston Crawley. Topics include puzzles,
patterns, and mathematical thinking (including sentential and predicate logic);
number puzzles and sequences; a primer of mathematical writing (proof and
disproof); sets and Boolean
algebra; functions and relations; combinatorics; probability; and graphs and
trees.
State
This website contains links to notes on the following topics: set theory,
symbolic logic, methods of proof, basic set theory proofs, functions,
relations, binary operations, and groups. A number of the notes pages contain
applets.
The Shodor Education Foundation Mathematical Activities: www.shodor.org/interactivate/lessons/index.html
This website contains interactive activities on Number and Operation, Geometry
and Measurement, Function and Algebra, and Probability and Data Analysis.
Derive Labs: www.brookscole.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=0534359450&discipline_number=1
These labs were developed by Nancy Hagelgans at
Martindate's 'The Reference Desk':
www.martindalecenter.com
This is a huge reference website. The following are some of the subsections
that contain java applets for discrete mathematics: (www.martindalecenter.com/Calculators2_6_AD.html#COMP-DISCRETE),
encryption/cryptography (www.martindalecenter.com/Calculators2_6_EH.html#COMP-ENC),
Fibonacci numbers (www.martindalecenter.com/Calculators2_6_EH.html#COMP-FIBON),
graph theory (www.martindalecenter.com/Calculators2_6_EH.html#COMP-GR-TH),
logic), and number theory (www.martindalecenter.com/Calculators2_6_NZ.html#COMP-NT).
Basic Set Definitions:
www.geocities.com/basicmathsets/
This website, by Martin Selditch, contains interactive tutorials and exercises
about definitions of set, union, intersection, and subset.
Venn Diagrams
·
Venn
Diagram Definition: http://www.shodor.org/interactivate/activities/vdiagram/indexflash.html
This applet, from the Shodor Educational Foundation, asks a user to place an
item in the correct region of a Venn diagram. For instance, if the three
regions represent even integers, palindromic integers, and perfect squares,
respectively, the number 121 should be placed in the intersection of the
regions representing palindromic integers and perfect squares but not in the
intersection of all three regions. Feedback is provided about the correctness
of the user’s answer.
·
Venn Diagram Regions: http://www.math.csusb.edu/notes/quizzes/venn1/venn1.html
This applet, from Dan Rinne, California State University, San Bernardino,
displays Venn diagram for sets A, B, and C and contains exercises testing a user’s ability to identify
various regions in the diagram, such as A
Ç (Bc È C).
·
Probability Calculator: http://www.stat.sc.edu/~west/applets/Venn.html
This applet allows a user to move Venn diagram representations for sets A and B inside a universe U,
and it calculates the probabilities of various related sets, such as A È B and (A Ç B)c, assuming that the
probability of A is 0.075 and the
probability of B is 0.2.
·
Survey of Venn Diagrams: http://www.combinatorics.org/Surveys/ds5/VennEJC.html
This webpage does not contain applets, but it provides excellent information,
pictures, and information about Venn diagrams involving four or more sets.
ASL Committee on Logic Education:
http://www.phil.ucalgary.ca/asl-cle
If you scroll down the page, you will see a list of sites for freshman logic
courseware and another list of sites with some resources and/or courses using
computers in logic or with logic.
Complete, Interactive, Free, Online Textbooks for
Introductory Symbolic Logic:
§
Logic Café:
www.oakland.edu/phil/cafe/intro.htm
The Logic Café was developed by John F. Halpin,
Truth Tables
·
Truth Table Constructor: www.brian-borowski.com/Truth/
At this site, by Brian Borowski, one can Input a logical expression see the
associated truth table. The applet can be set so that it shows the truth values
of the complete expression and of all sub-expressions.
·
Truth Table Practice: www.math.csusb.edu/notes/quizzes/tablequiz/tablepractice.html
This applet, from
Tarski's World Applets: The use of
Tarski's World for teaching logic was developed by Jon Barwise and John
Etchemendy. (See www-csli.stanford.edu/hp/CVandNR.pdf
and www-csli.stanford.edu/hp/#LOFOL.)
Web addresses for Java applets implementing two-dimensional versions of
Tarski's World are given below.
Logic Circuits
Prolog: http://www.calvin.edu/~rpruim/courses/m156/F99/prolog/
These materials, developed by Randall Pruim,
Logic Proof Developer/Checkers
Proof Developer Assistants
·
Proof Designer: www.cs.amherst.edu/~djv/pd/pd.html
http://www.cs.amherst.edu/~djv/pd/pd.html
This applet was written by Dan Velleman of
·
Flash Applications: www.ship.edu/~deensl/DiscreteMath/flash/
Several of the Flash applications on Doug Ensley’s website (see above) give
assistance for development of proofs and counterexamples.
·
Find the Flaw:
www.math.toronto.edu/mathnet/falseProofs/
This page, from the
Prime Numbers
Euclidean Algorithm:
http://aleph0.clarku.edu/~djoyce/java/elements/bookVII/propVII2.html
This webpage, from David Joyce’s website on the history of mathematics at
Visible Euclidean Algorithm and Fast Modular Exponentiation :
www.math.umn.edu/~garrett/js/gcd.html
and www.math.umn.edu/~garrett/crypto/a01/FastPow.html
These applets, by Paul Garrett at the University of Minnesota, find the
greatest common divisor of two numbers using the Euclidean algorithm
(displaying the intermediate steps) and compute be mod n
for large values of b, e, and n. (Other of Garrett's
applets can be viewed at www.math.umn.edu/~garrett/px/index.shtml.)
Chinese Remainder
Theorem
·
www.math.mtu.edu/mathlab/COURSES/holt/dnt/chinese1.html
This website, from
a1
(mod m1) and x
a2
(mod m2). Students explore the applet to figure out the missing
condition in the theorem statement.
·
http://banach.millersville.edu/~bob/math478/ChineseRemainder.html
This website, from J. Robert Buchanan,
a
(mod m) and obtain a solution.
Caesar Cipher: http://www.shodor.org/interactivate/activities/caesar/index.html
In this applet letters of the alphabet are coded as: A ® 0, B ® 1, . . . , Z
® 25, “and
then the numbers are changed via an affine (linear) transformation to new,
coded numbers. The coding function has the form: Y = A * X + B, where X is the
uncoded number, A and B are constants (known to allies, but unknown to enemies)
and Y is the calculated, coded number. The arithmetic is done mod 26 to ensure
that we get numbers back that can be translated back to letters before sending
the coded message.” The applet allows a user to enter text and specify the
values of A and B. It then displays the converted text. The applet contains a
link to Caesar Cipher II, in which the user enters a text, which is converted
automatically using a Caesar cipher. The user is then asked to determine A and
B. Finally, there is a link to Caesar Cipher III, in which only a converted
text is given and the user is challenged to decode it.
RSA Cryptography: http://cisnet.baruch.cuny.edu/holowczak/classes/9444/rsademo/
This Java applet demonstrates the basics of RSA Public Key cryptography. It was
written by Richard Holowczak a faculty member in the CIS Department at
The Crypto Tutorial:
http://www.antilles.k12.vi.us/math/cryptotut/home.htm
This website contains a complete tutorial that combines interactive web pages
and instructional text and is aimed at “anybody interested in learning
cryptography.” The tutorial was developed by Nils Hahnfeld with the assistance
of Dr. Michael Hortmann and Salvatore Angiletta, both from the University of
Bremen, Germany. It covers topics from the Caesar cipher through
multiplication, linear, polyalphabetic, and RSA ciphers.
The Monty Hall Problem: www.stat.sc.edu/~west/javahtml/LetsMakeaDeal.html
This applet, by R. Webster West, Dept. of Statistics, Univ. of South Carolina,
lets the user play multiple times, keeping track of the number of times the
user won by switching and the number of times the user won by not switching. To
get a good sense for the probabilities, one must play the game quite a few
times.
Pascal's Triangle: http://ptri1.tripod.com
This page contains many illustrations and interactive activities for Pascal's
triangle.
Catalan Numbers: http://mathforum.org/advanced/robertd/catalan.html
This page, by Robert M. Dickau, is not an applet, but it contains a set of very
nice pictures illustrating the many ways Catalan numbers occur in various
situations. Other mathematical figures by the same author are at http://mathforum.org/advanced/robertd/index.html.
Tromino Puzzle Information and Applet:
www.amherst.edu/~nstarr/puzzle.html
Norton Starr of
Missionaries and Cannibals: www.plastelina.net/games/game2.html
and www.oswego.edu/~lwu/ai1/a6/ssmc_tree.png
The first website contains an applet for trying to solve the missionaries
and cannibals puzzle. The second website, from Craig Graci’s Artificial
Intelligence course at the State University of New York at
The Wolf, the Goat, and the Cabbage: http://perso.wanadoo.fr/jeux.lulu/html/anglais/loupChe/loupChe1.htm
This is an applet for trying to help a farmer get a wolf, a goat, and a
cabbage from one side of a river to the other. It is from the French website
“Lulu’s games.” The Leaping sheep puzzle
applet from this website is also good (http://perso.wanadoo.fr/jeux.lulu/html/anglais/lomouton/mouton.htm#). Both puzzles may be solved by drawing a graph
and finding a path from the initial state to the desired final state.
Transitive Closure: www.cs.nmsu.edu/~ipivkina/TransClosure/index.html
This applet is from
Sorting Algorithms:
·
xSortLab: math.hws.edu/TMCM/java/xSortLab/index.html
This applet, part of David Eck’s collection (see above), illustrates the
actions of BubbleSort, SelectionSort, InsertionSort, MergeSort, and QuickSort.
By choosing “Visual Sort,” the user can step through the execution of the
algorithms for an input of 16 elements. By choosing “Timed Sort,” the user can
compare the run times of these algorithms for various input sizes.
·
Sam
Rhoads: www.hcc.hawaii.edu/~sam/
This applet counts the number of comparisons and the number of assignment
statements used to execute various sorting algorithms for inputs of various
sizes up to n = 100. It also displays the individual steps of the algorithms,
allowing the user to choose the display at three different speeds (all of which
are fairly rapid).
Java Applets for Data Structures and Algorithms: www.cosc.canterbury.ac.nz/people/mukundan/dsal/appldsal.html
This website, by R. Mukundan,
University of Canterbury, Christchurch, New Zealand, contains a variety
of applets. Recursion:
Graph Theory Animations: http://delab.csd.auth.gr/c_graph/anim.htm
This website, from the Data Engineering Laboratory of Aristotle University in
Greece, contains animations for Dijkstra's algorithm, Kruskal’s algorithm,
Prim’s algorithm, Floyd’s algorithm, breadth-first search, depth-first search,
and topological sort. A few of the links are not operational, but most work
fine.
Backtracking: www.faust.fr.bw.schule.de/mhb/backtrack/backtren.htm
This applet, from Dr.
Hans-Bernhard Meyer,
Finite-State
Automata: www.cs.montana.edu/webworks/projects/fsa-old/fsa.html
This Java applet allows a user to view what happens when strings are input to
various automata. The applet also makes it possible to modify existing automata
and create new ones. It was developed by the Webworks Team
at
Turing Machine Simulator: http://ironphoenix.org/tril/tm/
This Java
applet simulates the action of a Turing Machine. It was developed by Suzanne Britton, a Canadian
programmer-analyst, and includes brief descriptions about Turing machines and
instructions for using the applet.
Earliest Known Uses of Symbols and
Terms: http://members.aol.com/jeff570/mathsym.html
and http://members.aol.com/jeff570/mathword.html
These two websites are the work of Jeff Miller,
Online Encyclopedia of Integer
Sequences: www.research.att.com/~njas/sequences/
This is another important webpage that does not contain applets. ”Since the
mid-1960's Neil Sloane has been collecting integer sequences from every
possible source. His goal is to have all interesting number sequences in the
table. At the present time the table contains over 100000 sequences…. The main table is a collection of
number sequences arranged in lexicographic order. The entry for each sequence
gives: the beginning of the sequence; its name or description; any references
or links; any formulae; cross-references to other sequences; the name of the
person who submitted it, etc.”
Webpage last
revised: 25 September 2007