Teaching Math with the KDE Interactive Geometry Program
I've written quite a bit about using Linux to help educate people. In the past, I've discussed using Linux to teach astronomy, programming and computer logic design. So today, I'm writing about using the KDE Interactive Geometry (Kig) program to teach mathematics. Kig allows you to use various tools to diagram and demonstrate different mathematical concepts. With Kig, you can draw points, lines, line segments, half lines, vectors, circles and various other conic sections. When Kig refers to a “half line”, it means what I was taught was a ray—essentially a line with one endpoint. Drawing hyperbolic curves on the computer sure beats getting dry-erase marker all over yourself or sneezing because of chalk dust. Even more important though, Kig diagrams are interactive, which means that once you create a diagram, you can move various elements around and see how they behave (more on that later).
Kig's user interface can be a bit deceptive at times. When you first start the program, you are presented with a grid and a group of tools used to create various diagram elements. At this point, you begin to think that the interface is intuitive and that you already “know” how to use it. Then, for a brief moment, you run into trouble. For example, if you try to use a tool to construct a circle given a center point and a line segment as a radius, the program is expecting that the line segment already has been created; you can't create the line segment as part of constructing the circle. After you've used the program for a few minutes, you begin to understand how it “thinks” and things go pretty smoothly.
Thankfully I read the documentation that came with Kig, otherwise, I would have missed out on some of its more powerful features. For example, if you select a curve, say a parabola, from your diagram, you can use the point tool to create a point on that curve. Later, you can drag that point around with the mouse, and it won't leave the curve to which it was constrained. Then, you can use that point to construct other curves, such as a tangent to the curve.
Without reading the documentation, I would have completely overlooked the Add Text Label function that is available by right-clicking on a curve. This function doesn't merely add text to your diagram; there's a text tool for that. The Add Text Label function lets you display information about a curve, such as slope, equation, focus and so on. Once the label has been added to the diagram, you can change various parts of the curve, and the label will reflect those changes.
For example, if you created a parabola through three points, you can add a label that displays the equation of that curve. You also can create a label that displays the coordinates of the points. Then, you can move the points around with your mouse, and see the labels change.
So, what can you do with Kig? Is it just a geometry teaching tool? Kig would be interesting if it were only for teaching geometry, but it can be used for much more. I can easily see how to use Kig to teach algebra, geometry, trigonometry, physics, analysis and calculus.
Let's start with algebra. Figure 1 shows two lines on the Cartesian (X,Y) coordinate plane. Each line is defined by two points, and the coordinates of those points are displayed nearby. The red point in the center is the intersection of the two lines. The equations of the lines also are displayed. By dragging the points around, you can change the lines and explore concepts such as slope, Y-intercept, the solution of an equation and the solution of a system of two equations.

I vaguely remember something from high-school geometry that said “the opposite interior angles formed by two parallel lines crossed by a third, are equivalent.” Figure 2 demonstrates this statement for the case where the angles happen to be 90 degrees. Kig makes it easy to construct two parallel lines. Then, you create a third line that crosses the other two. Finally, you tell Kig to label the angle formed by the various lines. Once this is done, you or your student can change the angles, the distance between the parallel lines and so on—the theorem still holds.

I also remember from when I was in school how obtuse mathematical statements tend to be (particularly those statements related to triangles and the size of their sides and angles), but quite often a picture easily much explains them. Kig would allow you to create an interactive demonstration of each the Euclidean geometry theorems.
Measurements of 30-60-90 do not make a very attractive super model, but they do make a great triangle (at least in Euclidean space, but let's not warp things too much here). Figure 3 demonstrates that the sum of all angles in a triangle is 180 degrees. Once this diagram is constructed, students can drag the angles around and explore any triangle they please.

This also would be a great way to demonstrate the various trigonometric ratios, such as sin, cos and tan. In this case, you simply would construct a right angle, and let the student manipulate the lengths of the sides. Kig could be asked to display the angles and lengths of the sides, and the student then could calculate and verify the various ratios.
But, this is where I found what I think to be one of the weaknesses of Kig. Perhaps I just don't know how, but I was unable to create a triangle and explicitly configure two of the angles. I could drag points to the approximate position I wanted, but I was unable to construct an exact 30-60-90 triangle. It seemed like Kig was keeping the lengths of the sides constant, and thus, when I tried to change the angles, they just didn't “fit”. I think this is important, so if it can be done, please let me know how.
Many concepts in physics can be expressed with what's known as a “vector”. Such things as position, velocity and acceleration can all be expressed as a vector. Kig has rudimentary support for vectors, including vector addition. Figure 4 shows a hypothetical physics problem expressed as the sum of two vectors. Here we have an object moving along a given vector. This object also is being affected by a force, expressed as another vector—gravity in this case. The resulting motion is found by adding the two vectors, as shown.

In analysis, the student begins to learn the features of various curves. Figure 5 gives an example of a hyperbolic curve. I've also included the calculated asymptotes as well as the equation of the curve in both the Cartesian and Polar coordinate systems. Of course, this diagram is completely interactive. Finally, Figure 6 shows a parabola and a tangent line. You also can see the equation of the tangent and watch the equation change as you move the tangent point along the parabola. This could be a nice way to introduce the concept of the differential and, eventually, the derivative in calculus.


Despite a few weaknesses, Kig is a very powerful tool for teaching upper-level mathematics. After climbing a little bit of a learning curve (yes, it's all about curves), both students and teachers can use Kig to have fun learning and teaching mathematics.
| Attachment | Size |
|---|---|
| kig1.png | 13.86 KB |
| kig2.png | 6.57 KB |
| kig3.png | 11.54 KB |
| kig4.png | 7.79 KB |
| kig5.png | 15.11 KB |
| kig6.png | 7.23 KB |
Mike Diehl is a freelance Computer Nerd specializing in Linux administration, programing, and VoIP. Mike lives in Albuquerque, NM. with his wife and 3 sons. He can be reached at mdiehl@diehlnet.com
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- New Products
- Linux Systems Administrator
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Web & UI Developer (JavaScript & j Query)
- Designing Electronics with Linux
- Dynamic DNS—an Object Lesson in Problem Solving
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- Reply to comment | Linux Journal
5 hours 41 min ago - Nice article, thanks for the
16 hours 22 min ago - I once had a better way I
22 hours 8 min ago - Not only you I too assumed
22 hours 25 min ago - another very interesting
1 day 18 min ago - Reply to comment | Linux Journal
1 day 2 hours ago - Reply to comment | Linux Journal
1 day 9 hours ago - Reply to comment | Linux Journal
1 day 9 hours ago - Favorite (and easily brute-forced) pw's
1 day 11 hours ago - Have you tried Boxen? It's a
1 day 17 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?



Comments
Sounds like Dr. Geo II
It sounds like this tool is a nice companion to another open source application, Dr. Geo II.
Unlike KIG, DrGeoII seems more suited to elementary geometry, but the diagrams are also fully interactive, and could even be animated.
Perhaps both packages have something they can learn from each other. Thanks for the article.
http://wiki.laptop.org/go/DrGeo
Thanks Mike! Very
Thanks Mike! Very interesting and useful.