Jekyll2018-12-10T03:51:15-08:00https://jaydaigle.net/Jay DaigleJay Daigle is a professor of mathematics at Occidental College in Los Angeles. In addition to his research in number theory, he brings a mathematical style to thinking about philosophy, politics, social dynamics, and everyday life.Jay DaigleThe difference between science and engineering2018-08-29T00:00:00-07:002018-08-29T00:00:00-07:00https://jaydaigle.net/blog/models/science-vs-engineering<p><em>I wrote this essay a few years back elsewhere on the internet. It still seems relevant, so I’m posting this updated and lightly edited version.</em></p>
<p>I’ve noticed that people regularly get confused, on a number of
subjects, by the difference between science and engineering.<br />
In summary: science is sensitive and finds facts; engineering is robust and
gives praxis. Many problems happen when we confuse science for
engineering and completely modify our praxis based on the results of a
couple of studies in an unsettled area.</p>
<p><img src="http://cowbirdsinlove.com/comics/46/engineer.png" alt="Sad truth: Most "mad scientists" are actually just mad engineers" /></p>
<p>(Thanks to <a href="http://cowbirdsinlove.com/46">Cowbirds in Love</a> for the <em>perfect</em> comic strip)</p>
<h3 id="the-difference-between-science-and-engineering">The difference between science and engineering</h3>
<p>As a rough definition, science is a system of techniques for finding out facts about the
world. Engineering, in contrast, is the technique of using science to
produce tools we can consistently use in the world. Engineering produces
things that have useful effects. (And I’ll also point to a third
category, of “folk traditions,” which
are tools we use in the world that are not particularly founded in science.)</p>
<p>These things are importantly different. Science depends on a large
number of people putting together a
lot of little pieces, and building up an edifice of facts that
together give us a good picture of how things work. It’s fine if any
one experiment or study is flawed, because in the limit of infinite
experiments we figure out what’s going on. (See
for example Scott Alexander’s essay <a href="http://slatestarcodex.com/2014/12/12/beware-the-man-of-one-study/">Beware the Man of One
Study</a> for excellent commentary on this problem).</p>
<p>Similarly, it’s fine if any one experiment holds in only very restricted cases, or detects a subtle effect that can only be seen with delicate machinery. The
point is to build up a large number of data points and use them to
generate a model of the world.</p>
<p>Engineering, in contrast, has to be <em>robust</em>. If I want to detect the
Higgs Boson once, to find out if it exists, I can do that in a giant
machine that costs billions of dollars and requires hundreds of hours
of analysis. If I want to build a Higgs Boson detector into a cell
phone, that doesn’t work.</p>
<p>This means two things. First is that we need to understand things
much better for engineering than for science. In science it’s fine to
say “The true effect is between +3 and -7 with 95% probability”. If
that’s what we know, then that’s what we know. And an experiment that
shrinks the bell curve by half a unit is useful. For
engineering, we generally need to have a much better idea of what the
true effect is. (Imagine trying to build an airplane based on the
knowledge that acceleration due to gravity is
<a href="https://xkcd.com/683/">probably</a> between 9 and 13 m/s^2).</p>
<p>Second is that science in general cares about much smaller effects
than engineering does. It was a very long time before engineering
needed relativistic corrections due to gravity, say. A fact can be
true but not (yet) useful or relevant, and then it’s in the domain of
science but not engineering.</p>
<h3 id="why-does-this-matter">Why does this matter?</h3>
<p>The distinction is, I think fairly clear when we talk about physics.
In particular, we understand the science of physics quite well, at
least on every-day scales. And our practice of the engineering of
physics is also quite well-developed, enough so that people rarely use
folk traditions in place of engineering any more. (“I don’t know why
this bridge stays up, but this is how daddy built them.”)</p>
<p>But people get much more confused when we move over to, say,
psychology, or sociology, or nutrition. Researchers are doing a lot
of science on these subjects, and doing good work. So there’s a ton
of papers out there saying that eggs are good, or eggs are bad, or
<a href="http://www.theonion.com/article/eggs-good-for-you-this-week-4144">eggs are good for you but only until next
Monday</a>, or whatever.</p>
<p>And people often have one of two reactions to this situation. The
first is to read one study and say “See, here’s the scientific study.
It says eggs are bad for you. Why are you still eating eggs? Are you
denying the science?” And
the second reaction is to say that obviously the scientists can’t
agree, and so we don’t know anything and maybe the whole scientific
approach is flawed.</p>
<p>But the real situation is that we’re struggling to develop a science
of nutrition. And that’s <em>hard</em>. We’ve put in a lot of work, and we know
some things. But we don’t really have enough information to do
<em>engineering</em>—to say “Okay, to optimize cardiovascular health you
need to cut your simple carbs by 7%, eat an extra 10g of
monounsaturated fats every day, and eat 200g of protein every
Wednesday”, or whatever. We just don’t know enough.</p>
<p>And this is where folk traditions come in. Folk traditions are
attempts to answer questions that we need decent answers to, that have
been developed over time, and that are presumably non-horrible because
they haven’t failed obviously and spectacularly yet. A person who eats
“like grandma did” is probably on average at least as healthy as
a person who tried to follow every trendy bit of scientistic nutrition
advice from the past thirty years.</p>
<h3 id="trendy-teaching-as-confusing-science-for-engineering">Trendy teaching as confusing science for engineering</h3>
<p>So where do I see this coming up other than nutrition? Well, the
subject that really got me thinking about it was “scientific” teaching
practices. I’ve attended a few workshops on “modern” teaching techniques like the use of clickers, and when I tell people about them I often get comments disparaging <a href="http://calteches.library.caltech.edu/51/2/CargoCult.htm">cargo cult</a> teaching methods.</p>
<p>In general there’s a big split among university professors between
people who want to teach in a more “traditional” way and people who
want to teach in a more “scientific” way. With bad blood on both
sides.</p>
<p>And my biggest problem with the “scientific” side is that some of their studies are <em>so bad</em>. I’d like good studies on teaching methods. I’d like a good engineering of teaching. But we don’t have one yet, and acting like “we have three studies, now we know the best thing to do” is just silly.</p>
<p>(Which shouldn’t be read as full-throated support for the
“traditionalists”! The science is good enough to tell us some things
about some things, and I do try to engage in judicious supplementation
of folk teaching traditions with information from recent research.
But the research is not in a good enough state to be dispositive, or
produce an engineering discipline, or completely displace the folk
tradition).</p>
<h3 id="other-examples">Other examples</h3>
<p>A few of my friends have complained about the sad state of excercise science; but I think they’re
really complaining about the lack of exercise engineering. We are
doing basic research that tells us about how the body responds to
exercise. We don’t know enough to give advice that improves much on
“do the things people have been doing for a while that seem to work”.</p>
<p>A lot of “lifehacks” boil down to “We read a study, and based on this
study, here are three simple things you can do to accomplish X.” But a study is
science, not engineering. Sometimes helpful, but easy to
overinterpret. Don’t take any one study too seriously, and if what
you’re doing works, don’t totally overhaul it because you read a study.</p>
<p>Similarly, any comment about how you can be more effective socially
by doing this one trick is usually science, not engineering.</p>
<p>Lots of economics and public policy debates sound like this.
“This study shows that raising the minimum wage
(increases/decreases/has no effect on) unemployment.” All three of
those statements can be true! There are a lot of studies with a lot of different results. We’re <em>starting</em> to develop an
engineering practice of economics policy, but it’s in its infancy at
best.</p>
<p>Or see <a href="http://ottawacitizen.com/news/national/the-hard-truth-about-hard-power">this essay’s
account</a>
of scientifically studying the most effective way for police to
respond to domestic violence charges, for a good example of confusing
science and engineering. Bonus points for the following quote:</p>
<blockquote>
<p>Reflection upon these results led Sherman to formulate his “defiance” theory of the criminal sanction, beginning with the inauspicious generalization that, according to the evidence, “legal punishment either reduces, increases, or has no effect on future crimes, depending on the type of offenders, offenses, social settings and levels of analysis.” This is a fancy way of saying “we don’t know what works.”</p>
</blockquote>
<h3 id="marketing-engineering-versus-folk-traditions">Marketing: engineering versus folk traditions</h3>
<p>The field of marketing presents a good contrast between engineering
and folk traditions. We have a mental image of a sleazy salesman, who
has a whole host of interpersonal tactics that have been honed through
centuries and millenia of sleazy sales tactics. And this works.</p>
<p>And there’s an entirely different field of marketing research and
focus groups. And this shows what’s necessary to turn science into
engineering. There’s a whole bunch of basic research about psychology
that goes into designing marketing campaigns. But people also do
focus groups, to gather a ton of data on how people respont to minute
differences.</p>
<p>And, more importantly, they do <a href="https://en.wikipedia.org/wiki/A/B_testing">A/B testing</a>, which gives pretty good
data on how actual people respond to actual differences. And by
iterating a ton of A/B testing, you have a pretty good idea that
people will buy 5% more if you use the green packaging, or whatever.</p>Jay DaigleI've noticed that people regularly get confused, on a number of subjects, by the difference between science and engineering. In summary: science is sensitive and finds facts; engineering is robust and gives praxis. Many problems happen when we confuse science for engineering and completely modify our praxis based on the results of a couple of studies in an unsettled area.An easier approach to partial fractions decomposition2018-08-16T00:00:00-07:002018-08-16T00:00:00-07:00https://jaydaigle.net/blog/calculus/easier-partial-fractions<p>I always found partial fraction decomposition incredibly annoying and tedious. But it turns out there’s a much easier way to compute it. (I learned this a couple years ago from Chris Towse).</p>
<p>Suppose we want to find a partial fraction decomposition for $\frac{7x+2}{(x+2)^2 (x-1)}$. The normal method is to take your fraction and write it as a sum of real numbers over your polynomial denominators:</p>
<script type="math/tex; mode=display">\frac{7x+2}{(x+2)^2 (x-1)} = \frac{A}{x+2} + \frac{B}{(x+2)^2} + \frac{C}{(x-1)}.</script>
<p>(For this reason, my high school calculus teacher called this the “ABC method”). Then we clear denonminators:
<script type="math/tex">% <![CDATA[
\begin{align}
7x+2
&= A(x+2)(x-1) + B(x-1) + C(x+2)^2 \\\\
&= A(x^2+x - 2) + B(x-1) + C(x^2 + 4x +4) \\\\
&=(A+C) x^2 + (A + B + 4C) x + (-2A-B +4C)
\end{align} %]]></script></p>
<p>and we get a system of linear equations:</p>
<script type="math/tex; mode=display">% <![CDATA[
\begin{align}
A+C & = 0 \\\\
A+B+4C & = 7 \\\\
4C - 2A -B & = 2.
\end{align} %]]></script>
<p>This is a system of linear equations, so we can solve it by any of the usual methods, and we get $A = -1, B = 4, C = 1$, so</p>
<script type="math/tex; mode=display">\frac{7x+2}{(x+2)^2(x-1)} = \frac{-1}{x+2} + \frac{4}{(x+2)^2} + \frac{1}{(x-1)}.</script>
<p>And now we can integrate or do whatever else we needed to do with our fraction.</p>
<hr />
<p>This process can get super tedious. In particular, solving the linear system at the end isn’t <em>difficult</em> but it is really <em>annoying</em> and easy to screw up if you do it by hand. (I used NumPy instead. Computer algebra systems are your friend).</p>
<p>It turns out there’s a much easier way to do this. It’s motivated by complex analysis residue integrals, but you can do it without actually knowing any complex analysis.</p>
<p>Let’s go back to our equation from earlier:</p>
<script type="math/tex; mode=display">\frac{7x+2}{(x+2)^2 (x-1)} = \frac{A}{x+2} + \frac{B}{(x+2)^2} + \frac{C}{(x-1)}.</script>
<p>Instead of clearing all the denominators, let’s just clear one. If we multiply by $(x-1)$ on both sides, we get</p>
<script type="math/tex; mode=display">\frac{7x+2}{(x+2)^2} = \frac{A(x-1)}{x+2} + \frac{B(x-1)}{(x+2)^2} + C.</script>
<p>This doesn’t look much nicer at first, but look at what happens if we evaluate at $x=1$. The left hand side becomes $1$. On the right-hand side, the $A$ and $B$ terms go away completely, and we’re just left with $C$. So we immediately see that $C = 1$.</p>
<hr />
<p>We can find $A$ and $B$ the same way, with a bit more care. Multiplying our equation by $x+2$ doesn’t help, because we’ll still have a factor of $x+2$ in the denominator. But if we multiply by $(x+2)^2$ we get</p>
<script type="math/tex; mode=display">\frac{7x+2}{x-1} = \frac{A (x+2)}{x-1} + B + \frac{C (x+2)^2}{x-1}</script>
<p>and evaluating at $x = -2$ gives $4 = B$. To get $A$, we need to do a little bit of work and subtract off the $B$ term:</p>
<script type="math/tex; mode=display">% <![CDATA[
\begin{align}
\frac{7x+2}{(x+2)^2 (x-1)} - \frac{4}{(x+2)^2}
& = \frac{7x+2 - 4x + 4}{(x+2)^2 (x-1)} \\
&= \frac{3x+6}{(x+2)^2 (x-1)} \\
&= \frac{3}{(x+2)(x-1)}
\end{align} %]]></script>
<p>so</p>
<script type="math/tex; mode=display">% <![CDATA[
\begin{align}
\frac{3}{(x+2)(x-1)} & = \frac{A}{x+2} + \frac{C}{x-1} \\
\frac{3}{x-1} & = A + \frac{C(x+2)}{x-1} \\
-1 & = A.
\end{align} %]]></script>
<hr />
<p>That might feel like it took longer, but that’s mostly because I actually worked through all the algebra with the new version. No NumPy here! I actually suspect the first way is more efficient if you’re doing a really <em>big</em> decomposition, because it paralellizes a bunch of stuff, and linear equation solvers are pretty efficient.</p>
<p>But for reasonable-sized problems I’d much rather do the second method, no question. And this makes me almost want to actually teach partial fraction decomposition next time I teach calc 2.</p>Jay DaigleI always found partial fraction decomposition incredibly annoying and tedious. But it turns out there's a much easier way to compute it. (I learned this a couple years ago from Chris Towse).A Neat Argument For the Uniqueness of $e^x$2018-08-09T00:00:00-07:002018-08-09T00:00:00-07:00https://jaydaigle.net/blog/calculus/a-neat-argument-for-the-uniqueness-of-e%5Ex<p>In my advanced Calculus 1 class I teach a quick unit on differential equations. We don’t have the tools to solve them since we haven’t done integrals, but I talk about what differential equations are and how you can check whether you have a solution.</p>
<p>And then I spend a day in lab discussing exponential growth, and how the differential equation $y’ = ry$ implies that $y = Ce^{rt}$ for some constants $C$ and $r$. I’ve been telling my students that while it’s easy to check that this is a solution, we don’t have the tools to prove it’s the only family of solutions.</p>
<p>But today thanks to reddit, I discovered that that isn’t quite true. You can prove that $Ce^x$ is the only solution to this differential equation with a simple argument.</p>
<p>Suppose $f(x)$ is a function that satisfies $y’ = r y$, that is, suppose $f’(x) = r f(x)$. Then consider the derivative of $f(x) e^{-rx}$. By the product rule, we have</p>
<script type="math/tex; mode=display">% <![CDATA[
\begin{align}
\frac{d}{dx} f(x) e^{-rx} &= f'(x) e^{-rx} + f(x) (-r)e^{-rx} \\\\
&= r f(x) e^{-rx} - rf(x) e^{-rx} = 0.
\end{align} %]]></script>
<p>Thus we see that $f(x)/e^{rx}$ must be a constant; and thus $f(x) = C e^{rx}$. So this family of solutions is unique.</p>Jay DaigleIn my advanced Calculus 1 class I teach a quick unit on differential equations. We don’t have the tools to solve them since we haven’t done integrals, but I talk about what differential equations are and how you can check whether you have a solution.Working Backwards2018-08-06T00:00:00-07:002018-08-06T00:00:00-07:00https://jaydaigle.net/blog/teaching/working-backwards<p>I teach a lot of students who are still learning the basics of proof-writing. My calculus students are seeing their first college math, and often my number theory class is the first really proof-heavy class that a lot of the students take. So I spend a lot of time helping students figure out how to write good proofs. The single best piece advice I’ve come up with is to get comfortable working backwards.</p>
<hr />
<p>Math students are generally comfortable working forwards. At the beginning of our education this is the only way of working we have: we’re given a problem, like “add these two numbers together”, and we use some algorithm to work out the answer. I like the way Jordan Ellenberg describes this:</p>
<blockquote>
<p>[U]ntil algebra shows up, you’re doing numerical computations in a straightforwardly algorithmic way. You dump some numbers into the addition box, or the multiplication box, or even, in traditionally minded schools, the long-division box, you turn the crank, and you report what comes out the other side. Algebra is different. It’s computation backward.</p>
</blockquote>
<p>But even once we get to high-school algebra, we don’t really tend to <em>feel</em> like we’re working backwards. In practice we develop an algorithm for solving equations and turn the crank; instead of the addition box or the long-division box we now have the quadratic-equation box. This effect is strong enough that when I give my calculus students problems where I explicitly tell them to guess and check<strong title="This mostly comes up in the context of inverse functions. One of my favorite questions in Stewart is: Let f(x) = x^5+x^3+1. What is f^{-1}(3)? You can't find an explicit formula for f^{-1}, but you don't need to: just plugging in numbers makes it clear the answer is 1."><sup id="fnref:guess-and-check"><a href="#fn:guess-and-check" class="footnote">1</a></sup></strong>, they feel very confused and want me to tell them what steps to follow to finish the problem.</p>
<p>But this wanting to know “the steps” is a trap—it leads to treating problems like a black-box request for an algorithm, rather than thinking about what’s actually going on. And as soon as problems require any sort of creative engagement, the search for steps fails.</p>
<p>This first hits students hard when they learn to do integrals. When I taught Calculus 2, I spent a couple lab periods having my students do integral worksheets while I answered questions and gave advice. Fairly frequently, they would spend five or six minutes staring at an integral, before giving up and asking me how to start; I sometimes pointed out that we only had four or five things to try, and if they’d just tried all of them they’d have found one that worked already. But they were uncomfortable with the idea that there wasn’t one correct thing to try.</p>
<hr />
<p>But all of this becomes especially important when you start doing proofs, because in proofs there is no straightforward algorithm—and often you can’t even really work forward.</p>
<p>Working forward in proofs can be quite useful, to be fair. Given a set of hypotheses, you can start listing off things that the hypotheses obviously imply. Especially in the context of a class, you can often see “okay, if I know <em>these</em> three things, it looks like I should try applying <em>that</em> theorem and see what I get.” But this has really serious limits. You can’t plausibly write down <em>all</em> the implications of your hypotheses.</p>
<p>Instead, you need some idea of where to go. So you should start by looking at the <em>goal</em>, the thing you want to prove. Figure out what you could know that would be enough to finish the proof.</p>
<p>If you can see how to do that, then great, you win. If not, <em>now</em> go look at the hypotheses, and figure out what you can reasonably and easily conclude from them. Can you see how to get from there to the things you wanted?</p>
<p>You develop a sort of push-pull dynamic: work backwards from the goal, then forwards from the premises, then backwards from the goal again. And hopefully, eventually things will meet in the middle.</p>
<p>This seems pretty mundane. But a lot of students are comfortable working forward, and deeply uncomfortable working backwards. They can draw conclusions, but are bad at staying focused on the ultimate purpose of whatever they’re doing. So just prompting them to think about their goals in the middle of proofs can be really helpful.</p>
<p>I do this a lot while lecturing. In the middle of a proof, stop and ask the class to remind me what I’m actually trying to do. They find this surprisingly hard. Sometimes they even struggle to remember what the actual theorem we’re trying to prove is, despite the fact that it’s still written on the board; it’s easy to get lost in the weeds of whatever you’re doing <em>right now</em> and forget the broader context. But without that context, everything you’re doing is kind of pointless, and it’s really difficult to decide what to do next.</p>
<hr />
<p>And that idea of the importance of context, of focusing on your actual goals, is just as true outside of math class as it is inside. I see this a lot when I give feedback on people’s writing and speaking: they will keep <em>saying things</em>, and the things will be correct, but they won’t do a good job of saying things that are relevant to their goals and message, and of telling us why the things are relevant.</p>
<p>But you can also see this in a lot of bad planning and management. If you lose track of why you’re doing what you’re doing, you’re much less likely to actually achieve your goals. You’ve forgotten what they are, so if you meet them it’s essentially by luck!</p>
<p>This is one of the dangers, for instance, of getting to reliant on management-by-metric. Originally you create a metric to measure how well you’re achieving some goal. But over time, people forget about the goal and remember the metric—and do things that improve the metric, but in ways that don’t advance the original goal.</p>
<hr />
<p>Staying focused on your actual goal, and working backwards, is really helpful for learning to write proofs. So if you’re teaching people how to write proofs, this is worth explaining explicitly, and then actively training. Keep asking people why they’re doing what they’re doing, and how it gets them closer to the conclusion they want to prove!</p>
<p>But it’s also a really transferable skill, one that can help you in almost all aspects of life. Another example of general thinking skills that studying math helps develop, but are helpful everywhere.</p>
<hr />
<p><em>Do you have any suggestions for how to help students get comfortable working backwards? Any other tips for teaching students to write proofs more fluently? Please share them in the comments!</em></p>
<div class="footnotes">
<ol>
<li id="fn:guess-and-check">
<p>This mostly comes up in the context of inverse functions. One of my favorite questions in Stewart is: Let $f(x) = x^5+x^3+1$. What is $f^{-1}(3)$? You can’t find an explicit formula for $f^{-1}$, but you don’t need to: just plugging in numbers makes it clear the answer is 1. <a href="#fnref:guess-and-check" class="reversefootnote">↩</a></p>
</li>
</ol>
</div>Jay DaigleI teach a lot of students who are still learning the basics of proof-writing. My calculus students are seeing their first college math, and often my number theory class is the first really proof-heavy class that a lot of the students take. So I spend a lot of time helping students figure out how to write good proofs. The single best piece advice I’ve come up with is to get comfortable working backwards.Asking the Right Question2018-07-19T00:00:00-07:002018-07-19T00:00:00-07:00https://jaydaigle.net/blog/teaching/asking-the-right-question<p>I’ve been poking around on math reddit lately, and in particular /r/askmath and /r/learnmath. And one thing I’ve really noticed is that many of the posters are really bad at asking questions.</p>
<p>Learning to ask good questions is really important, for a couple reasons. First and most obviously, it’s easier to get help with things and learn things if you can ask better questions. Second, and maybe more importantly, framing questions well is a lot of what makes you a good mathematician.</p>
<p>The most boring way to ask a bad question is just to not include enough information. Sometimes this is just laziness (“I don’t understand how to do this problem, please help”). And I’ve definitely seen questions asked that are thin disguises over “I don’t want to do my homework; can someone do it for me?”</p>
<p>But more often, badly-phrased questions result from deep confusion on the part of the asker. If they understood the material well enough to ask their question clearly and correctly, they wouldn’t need to ask it in the first place.</p>
<hr />
<p>A lot of math is less about answering questions than about figuring out exactly what question you should be asking, and how to make it precise. We tend to sweep this under the rug a bit when teaching, in a way that I suspect probably leads to a certain amount of confusion.</p>
<p>When we teach, we often ask a question, and then demonstrate a tool to answer it, without necessarily stopping to explain why that question is a good one, or how people settled on asking exactly that question. And this often leaves our students with the sense that what they’re doing doesn’t really <em>mean</em> anything.</p>
<p>This is a major reason students fall back on figuring out what “type of problem” they’re working on, and then following “the steps” to get the answer. They see math as a sort of opaque box, and a question asks them to perform the correct magical ritual to get the answer. Because if the words you’re using—and your questions—don’t have a meaning, that’s all you can really do.</p>
<p>And that’s how you get questions like “how do I find solutions to $f(x) = \sin(x)+ \tfrac{1}{2}$.” I can tell what the original question probably was. But because the student doesn’t really understand what a “function” is, they ask a question that is, read literally, completely nonsensical.</p>
<hr />
<p>There’s a different type of bad question that comes up: questions of the form “prove to me that this definition is correct”. Or, relatedly: “what is the true meaning of this ambiguous statement”.</p>
<p>I saw one question asking whether $-3$ was a prime number. And that’s actually a tricky question, but for a basically dumb reason. In elementary number theory, we usually define prime numbers to be positive integers. That’s part of the definition, so $3$ is prime and $-3$ is not. Why? Because we said so.</p>
<p>And then when you start doing algebraic number theory, you define primes as a factorization property in a ring, and you see that $-3$ is in fact a prime in the ring of integers. So is $-3$ a prime? Yes, by the definition of prime elements in a ring. Apparently the same question, two different answers—determined by the definition we happened to pick at the time.</p>
<p>Another great example of this problem is questions about order of operations. What’s the value of $6/2 \cdot 3$? It could be 1; it could be 9. I can’t tell you what the original author meant. I can only tell you that they’re a sloppy writer.</p>
<p>This happens in a lot of cases where we’re just discussing a notational convention. There are no underlying facts that make notation right or wrong; screwing up order of operations isn’t really the same type of error as adding numbers incorrectly. It’s just an aid to communication<strong title="Aids to communication are useful and important. Math can be hard enough when it's written well and clearly! But as a reader, if you can tell the writer isn't following your notational conventions, you shouldn't hold him to them. The goal of a reader is to figure out what the writer actually meant. And the goal of a writer is to make this as easy as possible."><sup id="fnref:communication"><a href="#fn:communication" class="footnote">1</a></sup></strong>.</p>
<hr />
<p>My favorite type of badly written question does this exactly right. Sometimes, you see a question that’s basically “this one thing feels kind of like this other thing, but I can’t tell you how. Can you tell me?”</p>
<p>These people are doing good math. They’re noticing a pattern, and trying to put it into words. They’re maybe not quite there, and sometimes it’s hard to answer the question clearly. But it shows great instincts.</p>
<p>And this is how math tends to actually get done! When we teach, we tend to define terms, then state theorems about them, and then prove the theorems. But this is exactly backwards from how math is often actually done. First we understand what’s going on; then we figure out what the rule is and write it down; and finally understand what conditions are important and give those conditions names. That is, we formulate a proof, then state the theorem, and then define the terms.</p>
<p>These questions are working on step 1. I want to encourage them.</p>
<hr />
<p><em>Have any thoughts about questions students ask? Any good techniques for helping your students write better questions? I’d love to hear about them in the comments below!</em></p>
<div class="footnotes">
<ol>
<li id="fn:communication">
<p>Aids to communication are useful and important. Math can be hard enough when it’s written well and clearly! But as a reader, if you can tell the writer isn’t following your notational conventions, you shouldn’t hold him to them. The goal of a reader is to figure out what the writer actually meant. And the goal of a writer is to make this as easy as possible. <a href="#fnref:communication" class="reversefootnote">↩</a></p>
</li>
</ol>
</div>Jay DaigleI’ve been poking around on math reddit lately, and in particular /r/askmath and /r/learnmath. And one thing I’ve really noticed is that many of the posters are really bad at asking questions.Why Word Problems?2018-06-27T00:00:00-07:002018-06-27T00:00:00-07:00https://jaydaigle.net/blog/teaching/why-word-problems<p>Why do we assign word problems in math classes?</p>
<p>They aren’t easy. My students usually think that word problems are one of the most difficult and traumatic things I ask them to do, and I doubt I’m alone in this. They take a large chunk of class time, and put a lot of stress on our students. We should only teach them if the benefits justify this effort.</p>
<p>They aren’t really fun. Textbook writers try to make their word problems fun, but this generally winds up looking <a href="https://www.smbc-comics.com/comic/2013-12-02">silly and transparent</a>. Even when the whimsy is more appealing than cringeworthy, students don’t actually <em>enjoy</em> them. So “fun” is a bad reason.</p>
<p>And word problems aren’t really applications of math. I have never in my life needed to figure out <a href="https://www.chegg.com/homework-help/questions-and-answers/inverted-conical-water-tank-height-10-ft-radius-5-ft-drained-hole-vertex-rate-3-ft-3-s-see-q14152689">how quickly the level of water is dropping in an inverted conical water tank</a>. I don’t think I’ve ever heard of an inverted conical water tank, outside of calculus textbooks<strong title="Disposable paper cups are the closest I can think of, but they aren't really water tanks. And I'm still never trying to relate the speed water flows out of the cup to the rate at which the water level changes inside it."><sup id="fnref:paper-cups"><a href="#fn:paper-cups" class="footnote">1</a></sup></strong>. This just isn’t a real, useful application of calculus.</p>
<hr />
<p>And yet, I do think word problems are important for teaching people how to apply math to the real world. Not because the problems are a good example of applying math to the real world; they’re too obviously contrived to set up a particular type of math problem. But word problems are very useful for developing a specific skill: the skill of <em>translation</em>. And the fact that we as instructors don’t always understand what word problems are for means it’s much harder for us to successfully teach this skill to our students.</p>
<p>Mathematical theorems, on their own, don’t tell us anything about the world. Theorems are always true when the hypotheses are satisfied, but the hypotheses themselves are pure mathematical abstractions and not real-world objects<strong title="I'd like to dodge arguments about whether mathematical objects "really exist" in this essay. There are a few different things you can mean by the claim that an ideal mathematical circle exists, with varying degrees of plausibility; but no one seriously claims that they have actually picked up an ideal circle with their hands."><sup id="fnref:platonism"><a href="#fn:platonism" class="footnote">2</a></sup></strong>. So in the most direct sense, you can’t actually apply math to the world.</p>
<p>And yet, we use math to study the world all the time. We do this more or less by a three step process.</p>
<ol>
<li>Take the problem and translate it mathematical language by writing down equations that describe it. That is, we take a question about the world and turn it into a math question about mathematical objects.</li>
<li>Apply our mathematical tools to this mathematical description.</li>
<li>Take the mathematical answer we got and translate it back into a statement about the world.</li>
</ol>
<p>For our purposes, step 2 is boring. It’s the same as doing regular non-word math problems. So the interesting parts of a word problem, the parts that can justify teaching them, show up in step 1 and step 3, where we translate the problem into math and back again. And these steps are interesting both pedagogically and philosophically.</p>
<hr />
<p>Pedagogically, the translation steps are what makes the problem a word problem; but they are also the steps we need to master if we want to use math to understand anything else. Word problems teach us to represent ideas in a mathematical language.</p>
<p>At an elementary level, this is a straightforward exercise in exchanging English words for math equations. We ask something like</p>
<blockquote>
<p>Johnny has three apples, and Susie has five apples. How many apples do they have together?</p>
</blockquote>
<p>And our students have to figure out that this means they should take the numbers three and five and add them together. This is important, but it’s really an exercise in key words, and recognizing which formula from class to use.</p>
<p>Word problems can be much more sophisticated. In related rates problems, for instance, we have to figure out what the question is asking (“how fast is the water level dropping”) and translate that into math (“what is the derivative of \(h\)?”). We likewise have to translate the facts the problem gives us, like “when the water depth is three feet”, into equations like “\(h=3\)”. Then we do math, and at the end we get a number, and then we have to figure out what that says about the original problem.</p>
<p>The hard part here is figuring out what the problem is asking and how to talk about it. In my experience, when students fail at word problems, it’s not because they do the actual math incorrectly. Rather, they write down what’s essentially a random equation, and then do math to it. They’re missing the crucial skill of using the math to <em>describe</em> the world.</p>
<p>Also undervalued is the final step, of looking at the number and interpreting what it says about the world. Most students won’t blanch at telling me that a person was running a fifty miles per hour, or that a box has a volume of negative ten cubic meters. This is exactly what happens when you treat math as a numerical black box, rather than saying something about the world: there’s no way to look at a number and see whether it makes any sense.</p>
<p>So when we’re teaching word problems, it’s really important to focus on these steps. I tell my students I give them generous partial credit for noticing that their answers make no sense; and of course most of the points on a word problem aren’t for actually solving the system of equations, or whatever. This is also why middle schoolers often get assigned word problems that have extra or missing information that they need to identify: the goal isn’t to make them <em>do</em> the math, but to engage with <em>why</em> they’re doing math.</p>
<p>But all too often, we lose sight of this as instructors, and treat word problems as a sort of transparent skin on top of a math problem that will somehow make it “fun”, rather than as an important skill in their own right.</p>
<hr />
<p>Philosophically, this layer of translation between a word problem and a mathematical expression answers the question of why math is so <a href="https://en.wikipedia.org/wiki/The_Unreasonable_Effectiveness_of_Mathematics_in_the_Natural_Sciences">unreasonably effective</a> at describing and understanding the world. It also answers the question of why it’s sometimes so ineffective.</p>
<p>Math is completely accurate in describing exactly one thing: math. Euclid’s theorems apply perfectly to lines and circles, but the world doesn’t contain any lines and circles; it contains imperfect approximations of lines and circles. (Or perhaps more accurately, it contains objects that are imperfectly approximated by lines and circles).</p>
<p>If we want to use math to study the world, these imperfect approximations are important. We build a mathematical model of the thing we care about, and then that model is a mathematical object and so we can study it with math. But it’s important to remember that our math applies to the <em>model</em>, not to the real thing in the world.</p>
<p>If our model describes the world really well—as it does in many cases in physics, for instance—then this isn’t really a problem; your math tells you about the model, and your model tells you about the world. But when the model diverges from the real world, your math stops being helpful.</p>
<p>Many of the worst failures of science and prediction come from people doing good math on a bad model. You can see this in election predictions, where most modelers, like Sam Wang, treated results in separate states as more independent than they were. You can see this in the financial crisis of 2008, where most banks had relied on models that assumed house prices couldn’t all drop at the same time. And you can see this in the replication crisis, largely caused by researchers using statistical tools and tests while violating the assumptions that make them work.</p>
<p>Math is a useful tool for studying a lot of things. But you have to remember that no matter how good your math is, your conclusions about the world are only as good as your model. And your model is always a translation, a description of the world, not the world itself. Your model is always going to lose something. The trick is to find a model that’s good enough, and loses little enough, to do what you want it to do.</p>
<hr />
<div class="footnotes">
<ol>
<li id="fn:paper-cups">
<p><a href="https://www.amazon.com/Solo-6r-2050-White-Cone-Paper/dp/B009M9GUQ8">Disposable paper cups</a> are the closest I can think of, but they aren’t really water tanks. And I’m still never trying to relate the speed water flows out of the cup to the rate at which the water level changes inside it. <a href="#fnref:paper-cups" class="reversefootnote">↩</a></p>
</li>
<li id="fn:platonism">
<p>I’d like to dodge arguments about whether mathematical objects “really exist” in this essay. There are a few different things you can mean by the claim that an ideal mathematical circle exists, with varying degrees of plausibility; but no one seriously claims that they have actually picked up an ideal circle with their hands. <a href="#fnref:platonism" class="reversefootnote">↩</a></p>
</li>
</ol>
</div>Jay DaigleWhy do we assign word problems in math classes?Course Goals2018-06-20T00:00:00-07:002018-06-20T00:00:00-07:00https://jaydaigle.net/blog/teaching/course-goals<p>When I started teaching my own courses, one of the less obvious things I had to figure out was how to structure my syllabi. One section that all the syllabi I looked at contained—and all the advice I read mentioned—was the section on “course goals.”</p>
<p>Honestly, I couldn’t see the point. The goal of a calculus course is to, um, learn calculus? But I was supposed to write a course goals section, so write one I did. It was basically boilerplate.</p>
<blockquote>
<p>In this course we will master the details of differential calculus, and pursue some advanced topics and applications. We will also develop technical writing skills that allow clear communication of sophisticated ideas, and learn about some technological tools such as Mathematica useful to mathematical and scientific projects.</p>
</blockquote>
<blockquote>
<p>We will cover limits, continuity, derivatives, modelling, and applications.</p>
</blockquote>
<p>That isn’t completely contentless; you can see the emphasis I put on communication and writing skills in my math classes. But honestly, that’s a secondary goal at best. If my students finish calculus 1 with an understanding of what derivatives mean, how to compute them, and how to use them, I’m happy. The goal of calculus 1 is to prepare students for calculus 2. (And the goal of calculus 2 is to prepare students for multivariable calculus, et cetera).</p>
<hr />
<p>When I first taught an upper-division course, the “course goals” section became possibly more confusing. There is a lot more room for flexibility in designing a number theory course than there is in designing a calculus course: there’s no “next course” that it’s supposed to prepare students for, at least in our department, so I could cover basically whatever I wanted.</p>
<p>So fleshing out the <em>topics list</em> was substantially more important. I needed to decide what topics to include in my course. By the <em>goal</em> was, more or less, “learn some number theory”. Or maybe even just “learn some math, and this happens to be a course in number theory, but the goal is just to have you learn some more advanced math topics.” And that’s not something it really makes sense to write in the syllabus.</p>
<hr />
<p>But I finally got it last summer. Our department reorganized our senior comprehensive project to involve interdisciplinary half-courses called <a href="http://oxy.smartcatalogiq.com/2017-2018/Catalog/Courses/MATH-Mathematics/400/MATH-400">Math 400</a>, and I got to teach one of the first two we ever offered, which became my <a href="https://jaydaigle.net/teaching/courses/2017-fall-400/">course on cryptology</a>.</p>
<p>I was a little nervous about preparing this course. It was very different from any course I’ve taught, and even very different from any course our department had taught, so there weren’t a lot of resources to draw on. And it wasn’t even similar to any courses I’ve taken, so I knew I was very much making it up as I went along. At the same time, I really wanted it to be a good and positive experience for our majors. I wanted to give them something they could feel excited by and proud of for their senior capstone project.</p>
<p>Luckily for me, Occidental’s Center for Teaching Excellence (which is, itself, excellent) held a workshop over the summer to assist us professors with developing new courses. We formed a working group of four professors to brainstorm ideas for our courses and get feedback on our ideas and our syllabi.</p>
<p>Working with this group, the focus on course goals made sense.</p>
<hr />
<p>I had fallen victim to a common problem in planning and designing processes: I had forgotten that you can’t make good plans unless you know what you’re trying to achieve. If you have goals, you can look at what you’re doing, see whether that achieves your goals, and think about ways to meet your goals better.</p>
<p>Without goals, you’re just doing things. You can’t tell whether they’re good things or bad things or bad things, because you don’t know what good and bad mean.</p>
<p>For core service courses like calculus, this isn’t much of a problem. The goals are standardized: prepare for the next course in the sequence. And the course itself is standardized. I assign homework and give tests, just like every other calculus course. The goals <em>matter</em>, but I don’t have to think about them too much.</p>
<p>With more interesting courses like my cryptology seminar, I had a lot more decisions to make. I had to put some thought into what I actually wanted my students to get out of it, and then I had to think about what course design decisions would actually accomplish those goals. Because there were more choices I could make, there were a lot more things to think about.</p>
<hr />
<p>The other thing I realized is that most courses are more like the seminar than they are like calculus. A course on English literature, or the history of Islam, or the psychology of gender, doesn’t exist to check a box and prepare students for the next course in the sequence. It isn’t a standardized offering. And thus it demands individualized thinking about what role it <em>does</em> play in the curriculum—what its purpose is, what students should learn from it and assignments will actually further those goals.</p>
<p>(And even a basic calculus class has more of this going on than I’d realized; there’s a lot that all the calculus courses have in common, but also a lot of choices to make. Within my department, there’s wide variance in things like how much weight is put on homework assignments versus tests, or which applications are the most interesting and important to study. We still need to think about the goals of our courses if we want to teach the best courses we can.)</p>
<p>If we want to make good decisions about how to structure our courses, we really do need to think about what we’re trying to accomplish. What do we want our students to take away? What do we want them to learn, and experience? These are important questions, and they help us decide what’s worth spending time on, and what we can skip past.</p>
<hr />
<p>But why is it so important to put this in the syllabus? One reason, I suppose, is that we can. If we’ve put in the work to decide what our goals are, we might as well share those. And forcing ourselves to write the goals in the syllabus imposes some discipline, and insures that we do put this thought in.</p>
<p>Publishing our course goals helps us interact with our colleagues and share information and expertise more easily. It’s hard to give advice to someone unless you know what they’re trying to do; certainly, in the course development workshop I went to, a lot of the discussion was about what types of assignments would actually achieve the goals I’d set out.</p>
<p>But most importantly, telling our students what the goals of our courses are helps them be better students. None of our students can ever remember every fact and memorize every skill we mention in our courses. They have to prioritize. And one of the most frustrating ways to underperform in a course is to work very hard on things that just aren’t important, while neglecting the most vital parts of the material.</p>
<p>Our students want to focus their study and their practice on the parts that are really important. But precisely because they are students, and not experts, it’s hard for them to tell which parts those are; part of our role, as instructors, is to help them figure out where to focus their efforts.</p>
<p>If we share our course goals, we can do a better job of designing our courses, and our students can do a better job of developing genuine mastery and understanding. The idea felt silly when I first heard of it. But more and more, I realized that the “course goals” section of the syllabus really is critical.</p>Jay DaigleWhen I started teaching my own courses, one of the less obvious things I had to figure out was how to structure my syllabi. One section that all the syllabi I looked at contained—and all the advice I read mentioned—was the section on “course goals.”Introduction2018-06-05T00:00:00-07:002018-06-05T00:00:00-07:00https://jaydaigle.net/blog/meta/Introduction<p>Welcome to my blog! I plan to post here on topics relating to math and academia, as well as other things that catch my interest.</p>
<p>You should expect to see:</p>
<ul>
<li>Posts about my research.</li>
<li>Exposition about exciting mathematical ideas.</li>
<li>Discussions of my approach to teaching and professorial life.</li>
<li>Explorations of non-mathematical topics through a mathematical lens.</li>
<li>Reviews and analysis of books, theater, movies, music, and dance.</li>
<li>Anything else I feel like talking about. It’s my blog, after all.</li>
</ul>
<p>Subscribe to my blog <a href="/feed.xml">via RSS</a>, or follow me on Twitter at <a href="https://twitter.com/profjaydaigle">@ProfJayDaigle</a>. Or leave a comment below!</p>Jay DaigleWelcome to my blog! I plan to post here on topics relating to math and academia, as well as other things that catch my interest.