Learning Center > Using Sketchpad > Getting Started Tutorials > Constructing Squares

Constructing Squares: Create a Custom Tool

In this tutorial, you’ll learn how to construct a square using two very different methods. Each construction will guarantee that your quadrilateral has four right angles and four congruent sides—no matter how you drag it. Then you’ll teach Sketchpad your construction steps and save them as a “custom” tool. Your custom square tool will allow you to construct new squares easily and quickly whenever you need them.

Construct a Square Using a Compass and Straightedge Video Icon

 

There are many ways to build a square with Sketchpad. One common method uses Sketchpad’s Compass tool as part of the construction. You may be surprised that a circle can help you build a square.

Segment Tool
1.

Open a new sketch and construct a segment. The endpoints of the segment are the first two vertices of your square.

Text Tool
2.

Label the endpoints of the segment A and B.

 

Now you’ll construct two lines perpendicular to AB, one passing through point A and one through point B.

Arrow Tool
3.

Select point A and AB. Choose Construct | Perpendicular Line. You should end up with a line through point A perpendicular to AB.

 
4.

Construct a line through point B that is perpendicular to AB.

 
5.

Apply the drag test—drag each endpoint and make sure the lines stay perpendicular to the segment.

Compass Tool
6.

Construct a circle centered at point A with radius point at point B.

 

Your sketch should still contain just two points, A and B. If you’ve created a third point, choose Edit | Undo and try again.

tutorial-8_01
Point Tool
7.

Construct a point at the intersection of the circle and the perpendicular line through point A (both the circle and the line will be highlighted). This is the third vertex of your square. Label it C.

Arrow Tool
8.

Select point C and AB. Choose Construct | Parallel Line.

Point Tool
9.

Construct a point at the new intersection formed by two lines. Label this point D. This is the last vertex of your square.

Arrow Tool
10.

Select the three lines and the circle and then choose Edit | Action Buttons | Hide/Show. A Hide/Show action button is created. Press the button to hide the objects. Press it again to show the hidden objects.

Segment Tool
11.

Connect the vertices with segments.

Polygon Tool
12.

Construct the square’s interior—click in order points A, B, D, C and point A again to finish.

Arrow Tool
13.

Apply the drag test to your square. Drag the four vertices, one by one, and observe how the square behaves. Can you explain why this quadrilateral is always a square? What was the purpose of using the Compass tool?

Create a Custom Square Tool Video Icon

 

Now that you have made a square, you can save your hard work and make more squares without having to start from scratch every time. Sketchpad’s Custom tools feature allows you to teach Sketchpad how to make a square (or any other construction you might build).

tutorial-8_02
Arrow Tool
14.

Press Hide Path Objects if your circle and lines are visible. Then select only the four vertices of your square and choose Display | Hide Labels.

 
15.

Draw a selection rectangle around the entire square to select it (vertices, sides, and interior).

Custom Tool
16.

Press and hold the Custom tools icon and choose Create New Tool from the menu that appears. Name the tool Square and click OK.

Big Idea
17.

Press the Custom tools icon to select your new tool. Move the pointer to your sketch window and press, drag, and release (or click and click) to make a square. Use your square tool to make several squares. Try linking squares by building squares on vertices of other squares.

 

Sketchpad lists every step of your square construction as easily readable instructions so that you can remind yourself of how the square was built.

 
18.

Press the Custom tools icon and choose Show Script View. You’ll see that your square tool requires two “givens”—points A and B. Construct two points in your sketch and select them both. These are your givens. Then keep pressing the Next Step button in the Script View window to watch your Sketchpad custom tool build a square one step at a time.

Construct a Square Using Rotations Video Icon

 

Another way to construct a square from scratch is to use Sketchpad’s Rotate command.

 
19.

Choose File | Document Options. In the dialog box, click Add Page and choose Blank Page from the pop-up menu. Give the page a name and click OK.

Segment Tool
20.

Construct a segment. The endpoints of the segment are the first two vertices of your square. Label the endpoints of the segment A and B.

 

Now you’ll rotate AB by 90° to create a second side of your square. To perform a rotation, you need to tell Sketchpad two pieces of information—the center of rotation and what object is being rotated.

Arrow Tool
21.

Click in empty space to deselect all objects. Double-click point A (or select it and choose Transform | Mark Center). A brief animation appears.

tutorial-8_03
 
22.

Select point B and the segment. Choose Transform | Rotate. In the dialog box, enter an angle of 90° about the center A and click Rotate.

Text Tool
23.

Label the third vertex of the square C.

Arrow Tool
24.

You now have two adjacent sides of your square. Use the Rotate command again to construct another side and the fourth vertex of your square. Remember to mark a center for your rotation and choose only one point and one segment to rotate.

Segment Tool
25.

Construct the last side between two vertices to complete your square. Label the last vertex D.

Polygon Tool
26.

Construct the square’s interior.

Arrow Tool
27.

Drag the different parts of your construction, making sure the quadrilateral stays a square as you drag it.

Custom Tool
28.

Turn your new square construction into a custom tool, as you did in steps 14–17. Name your tool Square (Rotation).

 
29.

Press and hold the Custom tools icon and choose Tool Options. A list of your two tools appears. Choose your first tool, rename it Square (Compass), and click OK.

 
30.

Add a blank page to your sketch. Construct two squares using each custom square tool once.

Big Idea
31.

Drag each vertex of the squares, one by one. For some vertices, the size of the square will change when you drag them. For the other vertices, the square will stay the same size when you drag them. Can you explain the reason for this behavior?

Object Information Tool
32.

The mathematical properties used to build each square define and constrain its behavior. Use the Information tool to remind yourself how the squares were built and try to explain why the squares behave differently depending on the vertex you drag.

 
33.

Now that you have two square tools, you can save them for future use (specifically for Tutorial 9—Pythagorean Theorem). Choose File | Save and give your Sketchpad document a name.

Explore More

 
34.

Find another method to construct a square. If you’re having difficulty, think about the symmetry in a square. Then create another custom tool.

 
35.

Create custom tools for other types of quadrilaterals, such as a rectangle, rhombus, kite, or trapezoid.

Back to Getting Started Tutorials