# My Favorite One-Liners: Part 100

In this series, I’m compiling some of the quips and one-liners that I’ll use with my students to hopefully make my lessons more memorable for them.

Today’s quip is one that I’ll use surprisingly often:

If you ever meet a mathematician at a bar, ask him or her, “What is your favorite application of the Cauchy-Schwartz inequality?”

The point is that the Cauchy-Schwartz inequality arises surprisingly often in the undergraduate mathematics curriculum, and so I make a point to highlight it when I use it. For example, off the top of my head:

1. In trigonometry, the Cauchy-Schwartz inequality states that

$|{\bf u} \cdot {\bf v}| \le \; \parallel \!\! {\bf u} \!\! \parallel \cdot \parallel \!\! {\bf v} \!\! \parallel$

for all vectors ${\bf u}$ and ${\bf v}$. Consequently,

$-1 \le \displaystyle \frac{ {\bf u} \cdot {\bf v} } {\parallel \!\! {\bf u} \!\! \parallel \cdot \parallel \!\! {\bf v} \!\! \parallel} \le 1$,

which means that the angle

$\theta = \cos^{-1} \left( \displaystyle \frac{ {\bf u} \cdot {\bf v} } {\parallel \!\! {\bf u} \!\! \parallel \cdot \parallel \!\! {\bf v} \!\! \parallel} \right)$

is defined. This is the measure of the angle between the two vectors ${\bf u}$ and ${\bf v}$.

2. In probability and statistics, the standard deviation of a random variable $X$ is defined as

$\hbox{SD}(X) = \sqrt{E(X^2) - [E(X)]^2}$.

The Cauchy-Schwartz inequality assures that the quantity under the square root is nonnegative, so that the standard deviation is actually defined. Also, the Cauchy-Schwartz inequality can be used to show that $\hbox{SD}(X) = 0$ implies that $X$ is a constant almost surely.

3. Also in probability and statistics, the correlation between two random variables $X$ and $Y$ must satisfy

$-1 \le \hbox{Corr}(X,Y) \le 1$.

Furthermore, if $\hbox{Corr}(X,Y)=1$, then $Y= aX +b$ for some constants $a$ and $b$, where $a > 0$. On the other hand, if $\hbox{Corr}(X,Y)=-1$, if $\hbox{Corr}(X,Y)=1$, then $Y= aX +b$ for some constants $a$ and $b$, where $a < 0$.

Since I’m a mathematician, I guess my favorite application of the Cauchy-Schwartz inequality appears in my first professional article, where the inequality was used to confirm some new bounds that I derived with my graduate adviser.

# My Favorite One-Liners: Part 33

In this series, I’m compiling some of the quips and one-liners that I’ll use with my students to hopefully make my lessons more memorable for them.

Perhaps one of the more difficult things that I try to instill in my students is numeracy, or a sense of feeling if an answer to a calculation is plausible. As a initial step toward this goal, I’ll try to teach my students some basic pointers about whether an answer is even possible.

For example, when calculating a standard deviation, students have to compute $E(X)$ and $E(X^2)$:

$E(X) = \sum x p(x) \qquad \hbox{or} \qquad E(X) = \int_a^b x f(x) \, dx$

$E(X^2) = \sum x^2 p(x) \qquad \hbox{or} \qquad E(X^2) = \int_a^b x^2 f(x) \, dx$

After these are computed — which could take some time — the variance is then calculated:

$\hbox{Var}(X) = E(X^2) - [E(X)]^2$.

Finally, the standard deviation is found by taking the square root of the variance.

So, I’ll ask my students, what do you do if you calculate the variance and it’s negative, so that it’s impossible to take the square root? After a minute to students hemming and hawing, I’ll tell them emphatically what they should do:

It’s wrong… do it again.

The same principle applies when computing probabilities, which always have to be between 0 and 1. So, if ever a student computes a probability that’s either negative or else greater than 1, they can be assured that the answer is wrong and that there’s a mistake someplace in their computation that needs to be found.

# My Favorite One-Liners: Part 15

In this series, I’m compiling some of the quips and one-liners that I’ll use with my students to hopefully make my lessons more memorable for them. Let me describe a one-liner that I’ll use when I want my class to figure out a pattern, thus developing a theorem by inductive logic rather than deductive logic.

Today’s one-liner is easily stated: “Gosh, I’ve seen that somewhere before.”

For example, In my statistics class, here’s the very first illustration that I show to demonstrate how to compute a standard deviation:

Find the standard deviation of the following data set: 1, 4, 6, 7, 8, 10.

The first step is finding the average:

$\overline{x} = \displaystyle \frac{1+4+6+7+8+10}{6} = 6$.

We then find the deviations from average by subtracting 6 from all of the original data values:

Deviations from average = -5, -2, 0, 1, 2, 4

With these numbers, we can compute the standard deviation:

$s = \displaystyle \sqrt {\frac{ (-5)^2 + (-2)^2 + 0^2 + 1^2 + 2^2 + 4^2}{5} } = \sqrt{10}$.

After asking if there are any questions of clarification about the nuts and bolts of this calculation, I’ll proceed to the next example:

Find the standard deviation of the following data set: 5, 8, 10, 11, 12, 14.

The first step is finding the average:

$\overline{x} = \displaystyle \frac{5+8+10+11+12+14}{6} = 10$.

We then find the deviations from average by subtracting 10 from all of the original data values and then constructing the square root as before:

$s = \displaystyle \sqrt {\frac{ (-5)^2 + (-2)^2 + 0^2 + 1^2 + 2^2 + 4^2}{5} } = \sqrt{10}$.

Then, in a loud obvious voice, I’ll declare, “Gosh, I’ve seen that somewhere before” and then wait a few seconds for the answer. Students can obviously see that the two answers are the same — which gets them thinking about why that happened.

Obviously, the two answers are the same. The real conceptual question that I want my students to figure out is why the two answers are same. Eventually, someone will come up with the correct answer — the second data set was made by adding 4 to all the values in the first data set, which may change the average but does not change how spread out the numbers are… so the standard deviation should be unchanged.

I love the “Gosh, I’ve seen that somewhere before” line after a couple of carefully chosen examples, as it cues my class that they really need to think a little harder than the dull and mechanical operations toward a deeper conceptual understanding of what’s really happening.

# Engaging students: Standard Deviation

In my capstone class for future secondary math teachers, I ask my students to come up with ideas for engaging their students with different topics in the secondary mathematics curriculum. In other words, the point of the assignment was not to devise a full-blown lesson plan on this topic. Instead, I asked my students to think about three different ways of getting their students interested in the topic in the first place.

I plan to share some of the best of these ideas on this blog (after asking my students’ permission, of course).

This student submission comes from my former student Jillian Greene. Her topic, from statistics: standard deviations.

How could you as a teacher create an activity or project that involves your topic?

An activity that I’ve seen presented to introduce the idea of standard deviation requires students to explore the information given to them before actually being taught the math behind standard deviation. As the students settle into their seats, prompt them to work with their shoulder partner and help to measure the width of their left thumbnail (or length of their pointer finger, width of their hand, etc.) and write it on a sticky note. Once the data is collected, the students will calculate the mean of all of the measurements. The mean is then written on the board in the center, and the students are asked to go and stack their post-it notes in either the center if they are perfectly the mean, or on the right or left if it’s bigger or smaller, respectively. Have them find the mean of the distances of each measurement from the mean. When they discover this should be zero, have them discuss with each other and then in the big group what that means. If time provides, it might even be fun to ask deeper understanding questions like what would happen if everyone last half of their thumbnail, or what if just Student A’s thumbnail tripled in size. This will provide a meaningful sequitur into the sometimes confusing world of standard deviation and distances from the mean.

How has this topic appeared in pop culture (movies, TV, current music, video games, etc.)?

http://www.dailymotion.com/video/x3lc0rx

This is a full episode of Everybody Loves Raymond but the clip in reference starts at about 8:45 and lasts a minute or so.

This clip shows a scenario where the couple, Ray and Deborah, is comparing their scores on an IQ test (a very common use for standard deviation). Deborah comments on how her score is very close to Ray’s, being only 15 points higher. The brother that proctored the exam corrected her by saying that 15 points is a standard deviation higher and puts her in a “whole new class” of genius. Have students discuss and explain what it means for Deborah to be one standard deviation higher. Use the information given in the episode (100 is average, 115 is one standard deviation higher) to construct the bell curve for IQ scores. Then use the bell curve to introduce percentiles. Since Ray is the average, center-of-the-bell score, then he is in the 50th percentile. The students can then attempt to discover on their own (or with a group) what percentile Deborah’s score puts her in.

How can this topic be used in your students’ future courses in mathematics or science?

Standard deviation is a topic that pervades almost all sciences. In biology classes, students are asked to student the weather and climate of various habitats. In differentiating between the two, one must look at the overall picture. If the student is presented with the information that place A and place B both have average temperatures of 60 degrees, this information might not be good to take as face value. Place A might have a range from 40 to 80 degrees throughout the year while place B might range from 0 to 100 and then have one or two extremely hot outliers that even the average out to 60. Looking at not only the skew of the bell curve, but also what the standard deviation is for each place, might save a student from forgetting to bring a fan to hypothetical place B, or writing that that the climate of that place is cool year round.  In addition to biology, standard deviation is a very necessary operation in psychology, which is a very statistics-based science. This can easily be seen in representing IQ scores how we found earlier!

# Deceiving with Statistics

I really enjoyed a recent Math With Bad Drawings post on how descriptive statistics can be used to deceive. For example:

See the rest of the post for similar picture for mean, median, mode, and variance (equivalent to standard deviation); I’ll be using these in my future statistics classes.

# Why Not to Trust Statistics

Math with Bad Drawings has an excellent post on how the blind use of descriptive statistics can be deceptive. I’ll definitely be sharing a few these with my students. Here’s one of several examples; I recommend reading the whole thing.