Processing math: 100%

Tuesday, January 28, 2014

Basic math review

Here we aim to go over some math things that will be useful in the course.  This is by no means exhaustive, and some of the things below may not come up.  But we hope this will be a useful place to turn as a first quick resource if you're feeling a little rusty . . .

Fraction division
To divide one fraction by another, remember: Kentucky Chicken Fried (Keep Change Flip):

ab÷cd=ab×dc


Geometry
Area of a triangle =  12base×height

Area of a circle = πr2

Circumference = 2πr

Volume of a sphere = 43πr3


Differential volume in spherical coordinates dV=r2drsinθdθdϕ

If the function you are integrating against this differential volume is angle-independent, you can use
dV=4πr2dr


Finally, notice that if you integrate the above over r from 0 to R, you get
dV=4πR)r2dr=4π3R3

---the volume of a sphere!  And if you ever forget what dV is, just take the expression for the volume of a sphere and differentiate to get dV for a spherically symmetric problem.

Trigonometry
Just comes from the Greek for "triangle measuring": so any time a triangle shows up in a problem, you probably want to think trig.

Mnemonic for sine, cosine, tangent: SOHCAHTOA, or "Some Old Horse Caught A Horse Taking Oats Away"---meaning,

Sine = Opposite/Hypotenuse
Cosine = Adjacent/Hypotenuse
Tangent = Opposite/Adjacent

and recall that 1/Sine = Cosecant (abbreviated Csc)
and . . .           1/Cosine = Secant (abbreviated Sec)
Finally, . . .     1/Tangent = Cotangent (abbreviated Cot)

More advanced trigonometry
Euler's formula: eiθ=cosθ+isinθ
with i=1


This formula can be used to write
sinθ=12i[eiθeiθ]

and
cosθ=12[eiθ+eiθ]


Notice that if you flip the sign of the angle, sine changes sign (punny?), while cosine does not---that is no surprise, because we know that sine is an odd function and cosine is an even one.

Euler's formula is great because you can also use it to quickly derive the double-angle formulae for sine and cosine:

(sinθ)2=12i[eiθeiθ]2

=14[ei2θ+ei2θ2]

=12[1cos2θ]


Working through similar math for cosine:
(cosθ)2=12[eiθ+eiθ]2

=14[ei2θ+ei2θ+2]

=12[cos2θ+1]


Now notice that adding these results together gives
sin2θ+cos2θ=1

---hopefully a familiar identity!  It's really just the Pythagorean theorem applied to a triangle with hypotenuse 1, because by the definitions of sine and cosine, the legs of the triangle will be sine and cosine if the hypotenuse is 1.

Finally, note that you can even use Euler's formula to get formulae relating higher powers of sine and cosine to higher multiples of the angle, e.g. sin3θ
in terms of sin3θ,
for instance.  You would just use the Binomial Theorem to expand the binomial (two terms added together)
[eiθ±eiθ]n
out, and then simplify, just like we did for n=2
above.

Most useful approximation ever
90% of astrophysics problems involving two terms taken to a power can be handled using what's below.
Suppose you have something of the form
[1+ϵ]n,

where ϵ1.

Using the Binomial Theorem to expand this out, you'd get
1+nϵ+temsinhigherpowersofϵ.

Because ϵ1,

all these higher powers can just be neglected, since taking anything less than 1 to a power makes it smaller, the higher the power the smaller.
So we have
[1+ϵ]n1+nϵ.

Note that in astrophysical problems you often may have to factor out something to get a 1 in the first term, and can then apply this expansion. For this reason it's always good to consider the relative scales of any two quantities that have the same dimensions.





No comments:

Post a Comment