Combining Computer Science and Math: Circumscribing a Circle about a Triangle Using the Geometry Applet
Abstract
Here is a project that combines Computer Science and Mathematics. Prove a method for circumscribing a circle about a triangle (as shown). You'll also learn how to create an interactive diagram to illustrate your proof, using an applet that runs in your Web browser. If you like solving problems and thinking logically, you'll like this project.Objective
This project has two objectives:
- write a mathematical proof for the construction of a circle that circumscribes a triangle;
- illustrate the proof with a dynamic figure created with the Geometry Applet.
Credits
Andrew Olson, Ph.D., Science Buddies
Share your story with Science Buddies!
Last edit date: 2013-01-10
Introduction
The illustration below shows a circle, with center at point D, circumscribed about triangle ABC. This is the circumcircle of the triangle, and point D is the circumcenter of the triangle. By definition, the points A, B, and C all fall on the circumference of the circle.
![]() |
This project has two objectives:
- write a mathematical proof for the construction of a circle circumscribed about a triangle;
- illustrate the proof with a dynamic figure created with the Geometry Applet.
What is the Geometry Applet? It is a very cool program written by Professor David Joyce to illustrate an online version of Euclid's Elements. The applet creates dynamic diagrams in which you can manipulate the geometric figures by clicking and dragging on points. You program the applet much like creating a geometrical construction by hand, so as the points are dragged, all of the essential relationships in the diagram remain intact. It is an engaging and intuitive way to illustrate the generality of your proof. To see an example of the Geometry Applet in action, see any of these three projects:
Throwing You Some Curves: Is Red or Blue Longer?
Thinking in (Semi-)Circles: The Area of the Arbelos
Chain Reaction: Inversion and the Pappus Chain Theorem
To learn how to use the Geometry Applet to create your own dynamic diagrams, see:
Getting Started with the Geometry Applet
Terms and Concepts
To do this project, you should do research that enables you to understand the following terms and concepts:
- circumcircle,
- circumcenter,
- congruent triangles,
- bisection of a line segment.
- In general, there are three possible positions for the circumcenter of a triangle, relative to the triangle itself. What are the three positions? What property of the triangle is associated with each position of the circumcenter?
Bibliography
- The Math Forum at Drexel University has some good advice on how to build a mathematical proof:
http://mathforum.org/library/drmath/view/54693.html - There are many more examples in their FAQ section:
http://mathforum.org/dr.math/faq/faq.proof.html - For help with the programming the Geometry Applet, see:
Getting Started with the Geometry Applet - The Geometry Applet was kindly provided to Science Buddies by its author, Professor David Joyce, who wrote it for illustrating an amazing online edition of Euclid's Elements:
http://aleph0.clarku.edu/~djoyce/java/elements/elements.html
Materials and Equipment
- For completing the proof manually, all you'll need is:
- pencil,
- paper,
- compass, and
- straightedge.
- For creating a dynamic diagram of the proof using the Geometry Applet, you will also need:
- a computer,
- a text editor (Notepad will work fine),
- a Web browser program (e.g., Internet Explorer or Firefox).
- For a live demonstration along as part of your display, a laptop computer is recommended.
Share your story with Science Buddies!
Experimental Procedure
- Do your background research,
- organize your known facts, and
- spend some time thinking about the problem and you should be able to come up with the proof.
Share your story with Science Buddies!
Share your story with Science Buddies!
Ask an Expert
The Ask an Expert Forum is intended to be a place where students can go to find answers to science questions that they have been unable to find using other resources. If you have specific questions about your science fair project or science fair, our team of volunteer scientists can help. Our Experts won't do the work for you, but they will make suggestions, offer guidance, and help you troubleshoot.Ask an Expert
Related Links
If you like this project, you might enjoy exploring these related careers:

Mathematician
Mathematicians are part of an ancient tradition of searching for patterns, conjecturing, and figuring out truths based on rigorous deduction. Some mathematicians focus on purely theoretical problems, with no obvious or immediate applications, except to advance our understanding of mathematics, while others focus on applied mathematics, where they try to solve problems in economics, business, science, physics, or engineering. Read more
Computer Programmer
Computers are essential tools in the modern world, handling everything from traffic control, car welding, movie animation, shipping, aircraft design, and social networking to book publishing, business management, music mixing, health care, agriculture, and online shopping. Computer programmers are the people who write the instructions that tell computers what to do. Read more



