Tuesday, June 24, 2014

Basic Physics Part 0, Section 0: Algebra

[This post is the first in a series intending to teach basic physics concepts in a blog format.]

As I mentioned in my introductory post, math is the language of physics. Physics cannot realistically be understood or done without math. While advanced physics requires some advanced math, basic first-year type physics requires some relatively basic math and math concepts. The first math topic that I want to cover is one that everyone who graduated high school should have covered at some point: algebra. 

Algebra has a kind of strange reputation. Among STEM people, it's the boring math that you needed to do to do the REAL math, or at least the non-boring stuff. It carries the same emotional connotations as diagramming sentences. Among non-STEM people, it's the boring math that they forced you to do and you never ever used again.

Until I really got into teaching and my research, I was mostly of the opinion that algebra was best left to machines. It was tedious and beneath my dignity to spend hours and pages rearranging symbols. When I started teaching, I began to understand the subtle power of algebra to make or break a solution. When I finally started to understand my research, I saw not only its power, but its beauty. Algebra is a tool that allows order to arise out of chaos.

To do the kind of physics this series is going to look at, you really only need 2 major algebra skills: the FOIL method, and some equation manipulation skills. The quadratic equation can come in handy, but that is one time that I am ok using a math program for because it doesn't pop up as frequently.

But before we get to that, I think some terminology definition is in order. When I speak of a "variable" I am referring to a symbol that can take on any value on the real number line (i.e., any where between negative infinity and infinity) within the confines of the equation and/or is the quantity we are solving for. A coefficient is a symbol that has a fixed value for that particular problem. Most physics texts I've seen and used have the convention that any letter from p-z can be used as a variable, while letters a-m are used as coefficients. The letter 'n' is a special case because it is typically used for integer numbers only. The letter 'd' is sometimes used as a variable because it's just so convenient to use it to stand for 'distance'. The letter 'o' is never used, because in handwritten notes it can all too easily look like a zero. A constant, for our purposes, is a symbol that has a fixed value that does not change from problem to problem. For example, \( \pi = 3.14159...\) no matter what problem we are doing. A 'term' is a catchall, just denoting that a symbol stands for something, without specifying type.

Now, on to algebra!

FOIL Method

The FOIL method (First Outside Inside Last) is one of the first things I was taught in algebra class, way back in 7th grade. It's basically a method for multiplying mathematical expressions together in a way that doesn't let you double multiply or leave something out.  If you are multiplying just two terms together, say \(a\) and \(b\), its easy to know when you got it all.
$$ (a)(b)  = ab$$
But what if you don't have just two items, but two expressions, \( (a+b) \) and \( (c+d) \) ? FOILing the two expressions makes sure you do all available multiplications without double counting.  You multiply the first terms from each expression, here \( a \) and \( c \), then the outside ones, here \( a\) and \( d\). Then you do the inner ones, \( b\) and \( c\), and the last ones from each expression, \( b\) and \( d\). Thus
$$ (a+b)(c+d) = ac + ad + bc + bd $$
This method can be logically extended to cover expressions with more than two terms, with the corresponding result being proportionately longer.

When I first learned this, it seemed incredibly useless. Why on earth would I need such a simple method? The answer is 'everywhere in physics'. From the simplest two-body problems to the most complex problems I've worked on for research, FOILing turns up again and again and again. Becoming not just  proficient, but a master at this technique has been crucial to my work. It is something that my students consistently underestimate, to their detriment, every semester.

Manipulating Equations

This isn't so much a single method as the Rules of Engagement for math. Equations are pretty flexible, but there are some rules. The underlying principle to these rules is that you have to do the same thing to each side of the equation, and you have to do it to everything on each side. For example, lets say we have this equation $$ 5 x + 2 y = 6, $$ and we want to solve for \( y\). We can start by subtracting \( 5x\) from each side like this $$ 5x + 2y - 5x = 6 - 5x$$ where you can see we have explicitly taken \( 5x\) from each side and thus have not changed the equation. By adding the same thing to both sides, we have effectively added zero, just like if you add a one pound weight to either side of a balance scale, it won't change position.  So now we have the equation $$ 2y = 6 - 5x,$$ but we still have not completely isolated \( y \). So now we have to divide both sides by 2, which is the coefficient of the variable \( y\). $$ \frac{2y}{2} = \frac{6 - 5x}{2}$$ Again, it is important to note that we have done exactly the same thing to both sides of the equation and in the case of division or multiplication we have applied that change to every term. $$y = \frac{6}{2} - \frac{5 x}{2}$$ $$ y = 3- \frac{5}{2}x$$ is the correct solution in this case. Do not, I repeat, DO NOT make the mistake I see so often, which is to only apply the division to one (usually convenient) term. The following 'solution' is wrong for this problem: \( y = 3- 5x\)

In certain cases, this also involves remembering the Order of Operations: Parentheses, Exponents, Multiplication, Division, Addition, Subtraction. The Multiplication/Division and Addition/Subtraction orders are less critical, since they are just two sides of the same coin. Division is the same as multiplying by a fraction, subtraction is the same as adding a negative number. But the parentheses-> exponents->multiplication/division->addition/subtraction ordering is inviolate. It is impossible, outside of sheer fluke, to get a correct answer if you do not abide by this rule.

And that's the basics of algebra that you may have forgotten  (accidentally or on purpose) that you need for physics, other than the kind that you, honestly, do intuitively. Next week, we'll cover some basic trig[onometry] that everyone should know.


No comments: