Ramanujan's Dosa Profile picture
Jan 15, 2022 25 tweets 9 min read Read on X
1/

Math is amazing.

In this thread, I'll guide you through the double angle identities involving sine and cosine.

I will explain these identities using a "proof without words," similar to this figure.

See below for figure.
2/

Before we dive into this complicated figure, let's review what sin, cos, and tan even mean!

There are many ways to interpret these expressions. The simplest, most useful idea is that when we scale a triangle without changing its angles, ratios of the sides don't change!
3/

The ratio of the sides depends solely on the size of one of the angles, namely BAC.

Different values of this angle result in different ratios of the triangle's sides.

So the trig functions are defined as the ratio of the sides for a particular angle:
4/

To recapitulate, the functions sine, cosine, and tangent represent ratios of sides in a right triangle.

The input to these functions is an ANGLE of the triangle and the output is a RATIO of two sides of the triangle.

The easy way to remember these ratios is: SOHCAHTOA.
5/

Now that we understand the basic trig functions, we can ask a fundamentally important question:

If we know the value of these functions at a particular angle, can we calculate the value of the function at double that angle?

These are called the double angle formulas.
6/

To solve this problem, we will need a very useful fact known as the "Pythagorean identity." It relates the values of the sine and cosine functions using the Pythagorean theorem.

The figure below shows a proof of the Pythagorean identity that hopefully is intuitive.
7/

Now we can finally begin creating a diagram that will help to prove the double angle formulas.

Start by drawing a circle with radius 1.

A is the center, and C/B are points on the circle such that CB is a diameter of the circle.
8/

Let's create a point D such that the angle DBA is theta.

By the well-known inscribed angle theorem, the angle DAC is 2*theta, as you can see in the figure below.
9/

Now, the critical part.

Draw segment DC. BDC is an angle inscribed in a semicircle. Using the inscribed angle theorem, we see that angle BDC is actually 90˚! So BDC is a right triangle, our favorite kind of triangle for trigonometry.
10/

Next we will do the most useful step in any geometry problem: drop an altitude (F is the foot of this altitude).

We find, using our definitions of sin and cos, that the lengths of DF and AF can be written in terms of sin, cos, and 2 theta.
11/

We can use this altitude to find CF in terms of cos(2theta):

We found that AF = cos(2theta) in the last step, and since segments AF and CF add to 1, CF is 1 - cos(2theta).

See below for a more rigorous explanation.
12/

Now we will drop one last altitude from A to BD. This will create two new congruent triangles (see proof below).

We can find the side lengths of these triangles (AE, BE, DE) in terms of cos(theta) and sin(theta).
13/

At this point, there is only one side length that we have yet to determine, CD. We can find CD using similar triangles.

We will temporarily simplify the figure to make these similar triangles more apparent (they are AEB and ADC).

Using similarity, we find CD = sin(2theta).
14/

Now, we have calculated the lengths of all of the sides in our figure. Whew! That was a lot of work.

Let's take a look at the elegant, completed diagram.
15/

Now we will prove the double angle identity for sine.

The key will be to calculate the area of the huge triangle, BDC. But there are two ways to do this: we can either express this as (BD * DC)/2 or (BC * DF)/2!

See below for justification.
16/

However, we already know the lengths of BD, CD, DF, and CB!

Plugging these expressions into our equations, we get a very interesting expression involving sin(2theta) ...

(If you are confused by any of these expressions, please revisit Tweet 14).
17/

Now, we only have to do algebra!

If we simply cancel the twos in both of the expressions to get rid of the fractions, we obtain:

sin(2theta) = 2 * sin(theta) * cos(theta).

This is the double angle formula for sine!
18/

We now move to the double angle formula for cosine.

Let's begin by "angle chasing" - finding expressions for lots of angles. In particular, we will determine a few angles (BCD, CDF) in terms of theta.
19/

Observe that triangles BDF, FDC, and BCD have angles with measures of:

theta, 90˚ - theta, and 90˚.

Thus, they must be similar - all of their angles are congruent.

FDB and DCB will be particularly interesting, so let's take a look at the side lengths of these triangles.
20/

Now, we know that BF/BD = BD/BC by the similarity of the two triangles.

This is the key step, because we will get a proportion involving cos(2theta).

This proportion should be fairly easy to solve!
21/

We will cross-multiply both sides to solve for cos(2theta).

Brief algebra reveals that

cos(2theta) = 2[cos(theta)]^2 - 1.

This is *one* version of the double angle identity for cosine (there are other equivalent identities but they are easy to derive!).
22/

There are two other ways to express the double angle formula for cosine, which are shown below.

See if you can prove them from the first identity!

Hint: use the Pythagorean Identity from Tweet 7. The proofs shouldn't be very long!
23/

The double angle formulas are extremely useful when solving trigonometric identities.

They can also be considered special cases of the sine/cosine sum formulas (shown below), which have their own proofs without words - although these are not quite as elegant.
24/

Congrats! You've made it through an involved proof of the double angle identities.

Keep in mind that this proof only relied on the basic definitions of sine and cosine with some tools from geometry. Neat!

/End
CORRECTION on this tweet:

The figure has a typo when I explain the scale factor.

The scale factor of similarity is still 2, but the proper ratios are BC/AC = DB/EB = 2 (the original figure had CB instead of DB).

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Ramanujan's Dosa

Ramanujan's Dosa Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @RamanujansDosa

Apr 3, 2022
1/

Take a look at these two images.

Can you draw them by connecting the dots:

a) WITHOUT lifting your pencil,

b) WITHOUT retracing any stroke, and

c) Starting and ending at the same dot?

This thread will help you solve puzzles like this.

(h/t @10kdiver for collaboration!) Image
2/

The image on the right CAN be drawn without lifting our pencil, following all the rules above.

Here's one way to do it:
3/

But it's IMPOSSIBLE to draw Image 1 (the one on the left) following the same rules. Image
Read 23 tweets
Feb 26, 2022
1/

Math is amazing.

Consider the following famous question:

"Is the square root of 2 rational: can it be expressed as a ratio of integers?"

This thread answers our question using an unconventional approach: the Euclidean Algorithm, which is at the core of number theory.
2/

We all know that the answer to our question is "no." Sqrt(2) is irrational.

The typical proof of this statement uses an algebraic method (see below for outline of the proof).

But can we find a more elegant, geometric method to prove the irrationality of sqrt(2)?
3/

This approach instead will use a lesser-known method known as the Euclidean Algorithm.

In order to develop the essence of the algorithm, let's forget about sqrt(2) for a while and instead focus on a deceptively simple operation: *division*.
Read 25 tweets
Feb 5, 2022
1/

Math is amazing.

Here’s a trick question that will take us deep into probability theory:

Suppose that I give you a circle, and ask you to pick a point A in the circle at random.

What’s the probability that A is closer to the outside of the circle than it is to the center?
2/

Well, first we’ll need to define some lengths and points.

Let O be the point that is the CENTER of the circle.

Let C be our circle.

And let R be the radius of the circle (R > 0).

(As a reminder, A is the random point that we are selecting in the circle)
3/

In our problem, the only immediate subtlety is that we need to specify how to find the distance from A to the edge of circle C.

Suppose that we draw all of the segments from A to points on the outside of C. The distance is defined as the *shortest* length of these segments.
Read 29 tweets
Jan 22, 2022
1/

Math is amazing.

Pascal's Triangle is one of the core ideas of math.

It's used in probability, combinatorics and algebra.

In this thread, you'll learn about how this triangle can be applied to counting paths, the choose coefficients, and the binomial theorem.
2/

The setup of this problem starts with simplicity, as is often common in math.

We will start with an infinitely large city named Euclidtown.

This city has perfectly straight streets, all intersecting at 90˚ angles.
3/

Now, our friend Ramanujan has just attended an all-time mathematicians' reunion at Euclid's huge house.

In the party, Pierre de Fermat gave Ramanujan a difficult number theory problem.
Read 30 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(