Showing posts with label trigonomentric proofs. Show all posts
Showing posts with label trigonomentric proofs. Show all posts

Wednesday, February 4, 2009

The Law of Cosines

When we know the length of two sides of a triangle, and the angle between them, we can use the law of cosines to find the length of the remaining side.

The law of cosines states:
C^2 = A^2 + B^2 - 2AB*cos(theta)

Here is an example of the law of cosines:
Example of the law of cosines

Proof of the Law of Cosines
The law of cosines looks similar to the pythagorean theorem (C^2 = A^2 + B^2) and indeed the two are similar. What we have to do to prove the law of cosines is to create a right triangle and define coordinates for that right triangle so we can find our remaining side.

Consider the diagram below:
First Diagram for proof of the law of cosines which defines coordinates

Imagine the triangle on a coordinate plane. We define the origin, the point (0,0) at the end of side B. Thus the coordinate to the left is (-B,0). The coordinate at the top of the triangle (A*cos(theta)-B,A*sin(theta)) is derived from the right triangle sketch in on the right of our triangle. Although the coordinates appear complex, keep in mind they represent two numbers:
(A*cos(theta)-B,A*sin(theta)) is equal to some (x,y) on the coordinate plane.

Now that we have defined some coordinates we can draw a line down from the top angle to some point on side B, this creates a right triangle as shown below.
Second Diagram for proof of the law of cosines defining the length of the sides with our predefined coordinates

Using the coordinates which we defined we can define the length of the sides of this triangle.
The bottom side has length: |A*cos(theta)-B|.
A*cos(theta) comes from the dotted triangle we sketched in the previous image and represents the length that we have chopped off of side B. This the new length of the triangle is A*cos(theta)-B , it could also be B-A*cos(theta). Because we don't know which way to subtract, we take the absolute value so that both equations give us the same length, and write the distance as |A*cos(theta)-B|. The length of the vertical side also comes from the previous dotted triangle, and is simply A*sin(theta).

With these lengths now defined we can find C with the pythagorean theorem.
C2= (A*sin(theta)2 + (A*cos(theta) - B)2
Mutliply this out and you get
C2=A2*sin2(theta) +A2cos2(theta) - 2AB*cos(theta) + B2
Factoring out the A2 we get
C2=A2(sin2(theta)+cos2(theta))-2AB*cos(theta)+B2

Knowing that sin2(theta)+cos2(theta)=1 we get

C2=A2 - 2AB*cos(theta) + B2

whic is the Law of Cosines.
C2 = A2 + B2 - 2AB*cos(theta)

Tuesday, February 3, 2009

The Law of Sines

When we know the measure of the angles of a triangle, and the measure of one of its sides, we can use the law of sines to find the length of the other two sides.

The law sines states for any triangle with sides A,B, or C that
sin(a)/A = sin(b)/B = sin(c)/C
or equivalently
A/sin(a) = B/sin(b) = C/sin(c)

So if we have a triangle as such, with side x unknown we can find it by using the law of sines:
example of the law of sines

Proof of the Law of Sines
Consider the following diagram:
Sketch of a triangle to help prove the law of sines

In the first step of the proof we divide the triangle into two right triangles by drawing a line of length h1.

Now we have two right triangles we can say that
sin(b)=h/A or h=A*sin(b)
similarly
sin(a)=h/B so h=B*sin(a)

now we can see that
B*sin(a)=h=A*sin(b)

divide both sides by AB and we get
sin(a)/A = sin(b)/B which is the first half of the law of sines.

For the next part, we draw a right triangle out from side B, creating a new length h2.

From this new triangle we see that
sin(b)=h/C and h=sin(b)*C
we also see that
sin(180-c) = h/B or h=sin(180-c)*B

but from the unit circle below we see that sin(180-c)=sin(c)
unit circle showing that 180-c = c

so we can write sin(c)*B=h and from this conclude
sin(b)*C=h=sin(c)*B
again we divide both sides by BC and get
sin(b)/B = sin(c)/C

so we have sin(a)/A=sin(b)/B=sin(c)/C which is the law of sines.

Thursday, January 29, 2009

Prove that the coordinates of a particular angle on the unit circle are the cosine and sine of that angle.

Prove that the coordinates of a particular angle on the unit circle are the cosine and sine of that angle.

Consider the unit circle with coordinates x and y:
x,y coordinates on a unit circle

Cosine is defined as the side adjacent to the angle divided by the hypotenuse, (A/H), or in this case (x/1) so we see that cosine = x

Similarly sine is defined as the side opposite the angle divided by the hypotenuse, (O/H), or in this case (y/1) so we see that sine = 1

Thus we have proved that the coordinates of a particular angle on the unit circle are the cosine and sine of that angle, as shown below:

Unit circle with sine and cosine

Saturday, January 24, 2009

Prove that tan2(x) + 1 = sec2(x)

Prove that tan2(x) + 1 = sec2(x)

We know that

sin2(x) + cos2(x) = 1

dividing both sides by cos2(x) we get

(sin2(x) + cos2(x))/cos2(x) = 1/cos2(x)

which equals

sin2(x)/cos2(x) + cos2(x)/cos2(x) = (1/cos(x))2

which can be re-written as

(sin(x)/(cos(x))2 + 1 = (1/cos(x))2


We know that tan2(x) = (sin(x)/(cos(x))2

and that (1/cos(x))2 = sec2(x)

So we can write

cot2(x) + 1 = sec2(x)

Wednesday, January 21, 2009

Prove that tan(x) = sin(x)/cos(x)

Prove that tan(x) = sin(x)/cos(x)

Image of a triangle with an angle x, and the opposite, adjacent, and hypotenuse, labeled

sin(x) = (0/H)

cos(x) = (A/H)

Then sin(x)/cos(x) =

(O/H)/(A/H) =

(O/H)*(H/A) =

(O/A) = tan(x)

So sin(x)/cos(x) = tan(x)