Tuesday, July 29, 2008

Cosine Simplification

Yahoo Answers is definitely the place everyone goes to find an answer for a math question. Otherwise, there is no explanation for the kinds of questions you can find there. Today's question is about simplification of a trigonometric expression:

Simplify: (cos 3x)(1 - cos 2x + cos 4x - cos 6x)

To solve that, we will need some major identities: the sum of cosines, the difference of cosines, the sum of sines, and the product of sines and cosines. With these formulas, this question can be easily solved.

Let's start with the formulas:
cos α + cos β = 2cos((α + β)/2)cos((α - β)/2)
cos α - cos β = -2sin((α + β)/2)sin((α - β)/2)
sin α + sin β = 2sin((α + β)/2)cos((α - β)/2)
sinαcosβ = 1/2(sin(α + β)sin(α - β))

Now, to avoid complications, let's aim for the average. We can turn 1 into cos 0, so we have the cosines of 0 and 6x and the cosines of 2x and 4x. In both formulas they are divided by two, so they should probably cancel each other.

cos 0 - cos 6x = -2sin((6x + 0) / 2)sin(6x - 0)/2 = -2sin2 3x
cos 4x - cos 2x = -2sin((4x + 2x)/2)sin((4x - 2x)/2) = -2sin 3x * sinx

In conclusion, the problem has just become:
(cos 3x)(-2sin2 3x - 2sin 3x * sin x)

Distribute:
-2sin 3x * sin 3x * cos 3x - 2sin 3x * cos 3x * sinx

Transform into a sum of a cosine and a sine (I picked α and β to be 3x, because there will be a sine of zero, which is zero):
-2 * 1/2 * (sin(3x + 3x) + sin(3x - 3x)) * sin 3x - 2 * 1/2 * (sin(3x + 3x) + sin(3x - 3x)) * sin x
-sin 6x * sin 3x - sin 6x * sin x

We are getting really close now, just hold on:
-(sin 6x)(sin 3x + sin x)
-(sin 6x)(2sin((3x + x)/2)cos((3x - x)/2)
-2sin 6x * sin 2x * cos x

And that's it.

Nadav

nadavs

Tuesday, July 22, 2008

Projectile Mathematics

Today I want to have some physics in the blog, something I've been neglecting for a long time. The question is about projectiles, walls, velocities, and directions.

A particle is projected 15m above the ground, and it just clears a wall 26.25m high and 30m away. What was the velocity and direction of the particle when it was projected?

This situation calls for some variables, given information, and physics formulas. I'm going to use the gravitational constant, g, as 10 m/s2.

Since the particle is projected 15m above the ground and reaches a height of 26.25m, it only rises 11.25m. Let's call this number h.

When a particle is projected, its velocity, v, is split into two velocities - a horizontal velocity (vx) and a vertical velocity (vy). Since air friction is ignored, vx remains constant and vy changes according to gravity.

First, to find vy, we can use the law of conservation of energy, which shows how kinetic energy (at the moment of projection) turns into potential energy (when it clears the wall). The formula is:
mvy2/2 = mgh

We can make 15m our starting height, so h = 11.25. Also, we can cancel m on both sides. The only variable left is vy:
vy2/2 = 10 * 11.25
vy2/2 = 112.5
vy2 = 225
vy = 15

The positive number is taken because the particle is projected upwards.

Now we have the vertical velocity at the time of projection. When the particle clears the wall, its vertical velocity is zero. Let's see how much times it takes the particle to get to this stage by the formula v = v0 + at:
0 = 15 - 10t
10t = 15
t = 1.5 seconds

It takes the particle 1.5 seconds from projection until it clears the wall. Now we can find the horizontal velociy of the particle, using the formula x = x0 + vt:
30 = 0 + 1.5vx
vx = 20 m/s

Now we're left with the direction. When you break the velocity into its components, vx and vy, you see that the tangent of the angle of projection is vy/vx. To find that angle:
tan θ = 15/20
tan θ = 3/4
θ ≈ 36.87°

Enjoy,
Nadav

nadavs

Wednesday, July 9, 2008

The Impossible Proof

Today, to have some fun, I'm going to prove something wrong. The challenge today won't be to find the right answer, but to find the flaw in the answer.

Prove: 5 = 7

Well, it looks impossible and wrong at first, but let's try anyway.

Let a = b

Multiply both sides by a and add a2 - 2a to both sides:
2a2 - 2ab = a2 - ab

Take 2 as a common factor:
2(a2 - ab) = a2 - ab

Divide by a2 - ab:
2 = 1

Multiply by 2:
4 = 2

Add 3 to both sides:
7 = 5

By the reflexive property of equality:
5 = 7

Q.E.D.

Obviously, there is something wrong with this proof, and detailed reading will find it. One step was eliminated from this proof. As you can see, after the first assignment of variables (a = b), two steps were done at once. When you break down the steps, you find that a2 = ab. This leads to a2 - ab = 0, which shows us that the step that led to 2 = 1 was division by zero.

Now you can all understand why the first commandment of math is "Thou shalt not divide by zero". Division by zero can prove anything and destroy mathematic foundations. Only divide by non-zero numbers.

Nadav

nadavs

Tuesday, July 8, 2008

Rectangles, Squares, Areas, and Calculus

Rectangles, squares, areas, and calculus are closely related, but do you know how much? Well, see this question. It's very common with numbers, I'm just bringing the general version.

A rectangle with sides of lengths x and y has perimeter P. Prove that the largest area of this rectangle is given when the rectangle is a square.

Well, the question already gives us the variables. All we need is to use them, combine all four terms in the question (rectangles, squares, areas, and calculus) and prove what we need to prove.

So, the perimeter is P. This means that 2(x + y) = P. To get an equation with one variable, let's find y in terms of the other numbers:
x + y = P/2
y = P/2 - x

Now we know two sides of the rectangle: x and P/2 - x. Let's multiply them to find the area function:
A = x(P/2 - x)
A = xP/2 - x2

To find the maximum value for A, let's differentiate:
A' = P/2 - 2x

Equate A' to zero:
0 = P/2 - 2x
2x = P/2
x = P/4

To make sure it's a maximum, let's find the second derivative of A and see if it's negative:
A'' = -2

That's definitely negative, so x = P/4 is the point where the area is maximal. As you can see, that's a quarter of the perimeter. When one side of a rectangle is a quarter of the perimeter, it's a square. To prove that, plug P/4 for x in the equation for y:
y = P/2 - P/4
y = P/4

It's now proven. The biggest area of a rectangle with a constant perimeter is a square.
Nadav

nadavs

Monday, July 7, 2008

Pipes and Swimming Pools

Everybody knows the famous water pipe question - two pipes fill a swimming pool in a certain time, so find how much time each pipe needs to fill the pool. Well, here is one question of this type.

Two pipes fill a swimming pool in 11 1/9 hours (eleven hours and one ninth of an hour) together. One pipe can fill the pool in 5 hours less than the other pipe. Find out how much times it takes each pipe to fill up the swimming pool separately.

First, as you know, we need variables. Let x be the time it takes the faster pipe to fill up the swimming pool. This means it takes the slower pipe x + 5 hours to fill up the swimming pool.

Since it takes the first pipe x hours to fill up the pool, each hour it fills 1/x of the pool. For the other pipe, the rate is 1/(x + 5) per hour. Since they fill up the pool in 100/9 hours together (I changed it into the more comfortable fraction form), let's multiply each rate by 100/9 and add them up to 1 (100% of the pool):
100/9x + 100/(9x + 45) = 1

Multiply by the lowest common denominator: 9x(x + 5):
100(x + 5) + 100x = 9x(x + 5)
100x + 500 + 100x = 9x2 + 45x
9x2 - 155x - 500 = 0
(x - 20)(9x + 25) = 0
x = 20, -25

Since x is a time, it cannot be negative, so it must be 20.

The fast pipe fills the pool in 20 hours. The slower one fills the pool in 25 hours.

Hope you liked it,
Nadav

nadavs

Sunday, July 6, 2008

The Ultimate Bus

Buses are a nation's pride in some countries and a disgrace in others. Math questions can handle random behavior like the bus schedule in some countries, but it's much better to deal with a good bus system, with a normal schedule. Here is one question about such system.

Andy walks at a constant speed along a long street. Every 6 minutes he is passed by a bus going in this direction. Every 2 minutes he is also passed by a bus going in the opposite direction. Both directions have the same schedule and all buses go at the same speed. What is the time difference between two consecutive bus departures?

First we need to define some variables and understand a conecpt of of physics. Let's call the speeds of Andy and the buses a and b, respectively.

A relative speed is the speed at which two distinct objects move towards or away from each other. This speed is given by subtracting the two speeds. In the first case, the bus is approaching Andy at a speed of b - a. Since the other buses go in the opposite direction, their speed becomes "negative", and the bus goes towards Andy at a speed of b + a.

Let x be the distance between the buses (they are scheduled on regular intervals, so the distance between buses is the same for all buses)

Using the formula distance = velocity * time, we can say that:
x = (b - a) * 6
x = (b + a) * 2

Equate the x's:
6b - 6a = 2b + 2a
4b = 8a
b = 2a
a = b/2

Either Andy is very fast of the buses are very slow, because the buses go at a speed just twice as Andy. That is definitely weird.

x = (b - b/2) * 6 = b / 2 * 6 = 3b

Since the buses need to travel a distance of 3b to get from the location of one bus to another bus and they do so at a speed of b, a bus must be sent every 3b / b = 3 minutes. That's a great interval for the passengers of this bus system.

Hope you liked it,
Nadav

nadavs

Saturday, July 5, 2008

Iodine Solutions

Iodine is a great material for disinfection. It kills bacteria very well, but it's a little burning when put on a wound. Mathematic calculations of iodine solutions are not as burning, but they definitely require some more thought.

A pharmacist has two iodine solutions: one with a concentration of 30% and one with a concentration of 80%. How much of each solution the pharmacist needs to create 8 liters of a 50% solution?

First, we need to understand the situation? Why would a pharmacist need 8 liters of iodine solution? After you answer that in your head, go back to math.

We need two conditions to happen at once: the solution must have 8 liters of solution and 50% iodine, which means 4 liters of iodine. How do we solve that? A system of equations!

Let x by the number of liters of the 80% solution
Let y be the number of liters of the 30% solution

The amount of iodine in each solution is the percent times the volume. In this case, the amount of iodine from the 80% solution is 0.8x and the amount of iodine from the 30% solution is 0.3y. Now let's create those equations:
0.8x + 0.3y = 4
x + y = 8

The 4 comes from the explanation above: 50% of 8 is 4, which means there are 4 liters of iodine in that solution (ouch). Let's solve this system:
0.8x + 0.3y = 4 /*10
x + y = 8

8x + 3y = 40
x + y = 8 /*3

8x + 3y = 40
3x + 3y = 24

Subtract the equations:
5x = 16
x = 16/5 = 3.2 liters

3.2 + y = 8
y = 4.8 liters

Check:
80% * 3.2 = 2.56 liters of iodine
30% * 4.8 = 1.44 liters of iodine
Combined: 4 liters of iodine out of 8 liters of liquid. A 50% solution.

The pharmacist needs 3.2 liters of the 80% solution and 4.8 liters of the 30% solution. That's a lot of iodine.

Have a great weekend,
Nadav

nadavs

Friday, July 4, 2008

Tangent Fractions Identities

Today's question comes from Yahoo Answers, and it includes trigonometric identities, fractions, and some hard work. Stay with me here, it will take some time.

Prove the identity:
(1 - tan x)/(1 + tan x) = cos 2x / (1 + sin 2x)

As you know, when working out an identity, you need to pick a side and work out until you reach the other side. Since the left side is more complex, I'll work from there to the simple right side. Here we go:

(1 - tan x)/(1 + tan x)

Using the tangent quotient (tan x = sin x / cos x), we can write the fraction as:
(1 - sin x / cos x)(1 + sin x / cos x)
(cos x / cos x - sin x / cos x)/(cos x / cos x + sin x / cos x)
((cos x - sin x)/cos x)/((cos x + sin x)/cos x)

Notice that both denominators are cos x, so they can be cancelled:
(cos x - sin x)/(cos x + sin x)

Multiply both parts of the fraction by (cos x + sin x)
(cos x - sin x)(cos x + sin x)/(cos x + sin x)2

Distribute the parentheses:
(cos2 x - sin2 x)/(cos22 + 2sinxcosx + sin2 x)

As you should know, cos2 x - sin2 x = cos 2x and cos2 x + sin2 x = 1, so:
cos 2x / (1 + 2sinxcosx)

As you should also know, 2sinxcosx = sin 2x, so:
cos 2x / (1 + sin 2x)

Q.E.D.

Nadav

nadavs

Thursday, July 3, 2008

Dual GCD and LCM

Today's question is more about understanding mathematic concepts and formulas rather than solving a question with a definite answer. Even with that, it's very good.

LCM(a, b) = 120 and GCD(a, b) = 4. Find all possible a and b.

Let's do it in two ways: by definition and by a well known formula.

First, let's go by the definition. The LCM of two numbers is the smallest number that both numbers divide. A good way to find it is completely factoring two numbers and taking the highest degree of each factor. That means the highest degree of factors in a and b are:
120 = 23 * 3 * 5 = 2 * 2 * 2 * 3 * 5

This means the two numbers can be made up of any combination of factors you want, which gives 5!/3! = 20 possibilities for each number, a and b. However, the GCD is also limiting us.

The GCD is the biggest number that divides both numbers (when dividing each number by this number, there is no remainder). To find it, you take the lowest degree of each factor of each number and multiply them. This means that both numbers cannot have 3 twos in their factorized form, and they cannot have both 3 and 5 as factors. However, each of them must have 2 * 2 as a factor. Using the GCD and LCM, we can finally find a and b:

a = 2 * 2 = 4
b = 2 * 2 * 2 * 3 * 5 = 120

a = 2 * 2 * 2 = 8
b = 2 * 2 * 3 * 5 = 60

a = 2 * 2 * 3 = 12
b = 2 * 2 * 2 * 5 = 40

a = 2 * 2 * 5 = 20
b = 2 * 2 * 2 * 3 = 24

Any other pair is just a mirror of the previous pair, so these are the four possibilities for a and b (as said, they can be reversed).

Now, let's use the formula. There is a well known formula saying that GCD(a, b) * LCM(a, b) = a * b. The boundries of a and b in this situation are the GCD (if a number is below it, the GCD must be smaller) and the LCM (if a number is above it, the LCM must be bigger). Now let's find the pairs using some trial and error:

a = 4
b = 120
Works

a = 8
b = 60
Works too

a = 16
b = 30
The product is correct, but the GCD of these numbers isn't 4 (30 is not divisible by 4). This pair is rejected.

a = 12
b = 40
Works

a = 24
b = 20
Works as well

a = 48
b = 10
Fails, 10 is not divisible by 4

a = 20
b = 24
Already proven to work

a = 40
b = 12
Another duplicate

a = 80
b = 6
Fails - 6 is not divisible by 4

a = 120
b = 4
Duplicate

As you can see, the two methods give the same answer. Whatever method you choose, you will get the same answer. Take what you're comfortable with, and you will succeed. That's the motto of Super Math Tips.

Enjoy,
Nadav

nadavs

Wednesday, July 2, 2008

Proof of Trigonometric Inequalities

After yesterday's inequality induction, it's time for some trigonometric induction. The proof is a little hard to understand at first, but it's definitely worth seeing.

Prove:
xsin(1/x) < 1 when x > 0

This question can definitely fit in the short question-long answer template. However, it doesn't necessarily fit short question-hard answer.

First, we know that x is positive, so we can divide by it without changing the inequality sign:
sin(1/x) < 1/x

Now the argument of the sine function and the right side of the inequality are the same, so let's call them y. All we have to prove now is that sin y < y for every positive y.

First, when y is greater than 1, this is obvious. A sine can never be greater than 1. When y is 1, there is no problem either, because sin 1 is about 0.84 (the argument is in radians, don't forget). The problem begins when 0 < y < 1.

To solve that, let's derivate the inequality we want to prove. We get cos y < 1. As you can see, the rate of growth of sin y is cos y, and the rate of growth of y is linear. When y goes up by 0.5, sin y goes by less than that. This means that sin y is always less than y when 0 < y < 1.

Since y = 1/x, we can conclude that:
sin(1/x) < 1/x (when 1/x > 0, which means x > 0)
xsin(1/x) < 1

Problem solved.
Nadav

nadavs

Tuesday, July 1, 2008

Inequality Induction

Induction is an untouched topic in this blog so far, but I finally found a good question about it. It's not hard, but it's rather challenging.

Prove by induction:
(1 * 3 * 5 * 7 * ... * (2n - 1)) / (1 * 2 * 3 * 4 * ... * n) < 2n/√(2n + 1)

The first step in proving an induction is checking whether it works at all. Let's plug 1 for n:
1 / 1 < 21/√(2 + 1)
1 / 1 < 2 / √3 - correct!

Assume that the inequality is correct for n = k (k is natural)
(1 * 3 * 5 * ... * (2k - 1)) / (1 * 2 * 3 * ... * k) < 2k/√(2k + 1)

Now let's prove that if the inequality is right for n = k, it is right for n = k + 1:
(1 * 3 * 5 * ... * (2k - 1) * (2k + 1)) / (1 * 2 * 3 * ... * k * (k + 1)) < 2k + 1/√(2k + 3)

First, we know that (1 * 3 * 5 * ... * (2k - 1)) / (1 * 2 * 3 * ... * k) is smaller than 2k/√(2k + 1), so it's definitely smaller than 2k + 1/√(2k + 3). For this reason, we can place 2k/√(2k + 1) instead of this big expression:
(2k * (2k + 1))/(k + 1)√(2k + 1) < 2k + 1/√(2k + 3)

Divide by 2k:
(2k + 1)/(k + 1)√(2k + 1) < 2 / √(2k + 3)

Square both sides and cross multiply (k is natural, all positive):
4k2 + 8k + 3 < 4k2 + 8k + 3
3 < 4 - always true

We have shown that if n = k is correct, n = k + 1 is also correct. By checking that n = 1 is correct, we have proven that the inequality is correct for all natural numbers.

Enjoy,
Nadav

nadavs