# How I Learned the Unit Circle

## Some Background

Sooner or later in your math career, someone will tell you that you need to memorize the Unit Circle – a circle with the origin at 0,0 and a radius of 1 – along with many measurements and coordinates for angles you’ll find along the circumference. The first person to tell me I needed to memorize this was Miss Chagnon, back in Algebra 2 and Trigonometry, which I took as a junior in high school. Some of the other experiences I had in that class were awful enough that I swore I’d never take another math class for the rest of my life – a vow I was to break later in my twenties (with pre-Calculus) and now again in my sixties, as I’m preparing to finally take Calculus for a grade (having studied it a fair amount informally online).

## The Method

Like anything else in math, I found the secret to finally making headway on “things thou shalt learn” is a combination of two things, a teacher who can teach you and a way to practice. What I found that fit the bill perfectly were these two things:

For a teacher to teach it to me, the best resource I found for remembering the unit circle was Christa King Math’s aptly titled How to Remember the Unit Circle, which demonstrates a memory-friendly way to fill in a unit circle with these values:

Coordinates.

Angle in degrees

Angle in radians

A way to practice what you’ve learned. What I did in this case was print out a few of these Unit Circle Worksheets, and the associated filled-in version, which basically were a dead ringer for Christa’s video.

I found these two resources about a year ago. After watching the video I filled out the worksheet several times, waiting a week each time to see if I could do it from memory. This week I decided to review it once again. Actually what I first tried to do was to show you how to print some nice unit circles in Matplotlib (see the “Historical Note”, below), but a better tool for jogging my memory was to make a copy of a neat Desmos graph I found. (You can click that link or see it in the IFrame below – the live version on Desmos actually plots the angles, which the I find the IFrame supresses for some reason).

When I entered 45 degrees for the value of \( \alpha \) (the angle), the values for \( \cos{\alpha} \) and \( \sin{\alpha} \) were the same at 0.707106781187. I seemed to recall from watching Christa’s video (a year ago – it pays to do the worksheets!), that that should end up being the same as \( \frac{\sqrt{2}}{2} \). As a check, I demonstrate that below using Python’s math library, along with the values for 30 degrees and 60 degrees.

One tip I’ll point out that I needed to keep in mind when doing the worksheet is that on the unit circle, the coordinate values (x,y) along the circumference of the circle correspond to (cos, sin) values for the angle in question – so it’s the *opposite* of the way that would seem intuitive.

Finally, if you’re allowed to use a calculator as you likely will on your Calculus exam, for any positive or negative values for the degree in radians that is some whole-number multiple of \( \frac{\pi}{6} \), \( \frac{\pi}{4} \), there are a limited number of calculator results to remember. 0, 1, and 1/2 are of course pretty obvious, and 0.707106781187 works out to approximately \( \frac{\sqrt{2}}{2} \), just as 0.8660254037844386 works out to approximately \( \frac{\sqrt{3}}{2} \), as we demonstrate below. I wouldn’t try to memorize too much decimal precision for these, of course.

## Jogging My Memory With a Neat Desmos Unit Circle

```
from IPython.display import IFrame
IFrame(src='https://www.desmos.com/calculator/ebdbfuxeh7', width="100%", height=700)
```

## Recalling Some Properties Using Matplotlib

Show that of \(\sin{45^\text{o}} = \frac{\sqrt{2}}{2} \)

```
from math import sin, radians, sqrt, pi
print(sin(radians(45)))
print(sqrt(2)/2)
```

```
0.7071067811865475
0.7071067811865476
```

Show that of \(\sin{60^\text{o}} = \frac{\sqrt{3}}{2} \)

```
print(sin(radians(60)))
print(sqrt(3)/2)
```

```
0.8660254037844386
0.8660254037844386
```

Show that of \(\sin{30^\text{o}} = \frac{\sqrt{1}}{2} = \frac{1}{2} \)

```
print(round(sin(radians(30)), 10))
```

```
0.5
```

## Historical Note

Some time ago I wrote a CodeSolid article on graphing math functions in Matplotlib – which mainly focused on getting the aspect ratio looking more like a piece of standard graph paper, and less like what your computer wants to do by default (hint: 1024x768 is not 1000x1000, or what have you). Since then I tried spending some time in that rabbit hole, and I won’t litter this page with it, but if you’re interested in the litter here’s a commit that has the draft page.

The upshot of the CodeSolid article really is apt: use Desmos and other tools if your goal is learning math. Use Matplotlib if your goal is learning Matplotlib.