T07-Identities.mws

High School Modules > Trigonometry by Gregory A. Moore  

     Trignometric Identities


Observing how trig identities can be equivalent graphically and numerically, and verifying them algebraically.

[Directions : Execute the Code Resource section first. Although there will be no output immediately, these definitions are used later in this worksheet.]

 0. Code

>    restart; with(plots):

Warning, the name changecoords has been redefined

>    IdentityPlot  :=  proc( Identity )
local c1,c2;
c1 := COLOR(RGB, .5,.5, .7);
c2 := COLOR(RGB, .3,.3, .4);
plot( [lhs(Identity ), rhs(Identity )+.06],
         x = 0..2*Pi, y = -3..3, discont = true,
         thickness = 3, color = [c1,c2], numpoints = 100 );
end proc:


 1. Visualizing Identities


Although it is not a valid method of verifying an identity, we can convince ourselves that an identity is true by graphing the left and right sides of the identity as separate graphs. If they are the same, then this will reassure us.

>    (tan(x) - sec(x))*(sin(x) + 1)  = -cos(x);

(tan(x)-sec(x))*(sin(x)+1) = -cos(x)

>    IdentityPlot(   %);

[Maple Plot]

>    sin(2*x) + sin(2*x) = 4*sin(x)*cos(x);
IdentityPlot(   %);

2*sin(2*x) = 4*sin(x)*cos(x)

[Maple Plot]

>    tan(x) + cot(x) = 1/(sin(x)*cos(x)) ;
IdentityPlot(   %);

tan(x)+cot(x) = 1/(sin(x)*cos(x))

[Maple Plot]


Although a graph won't prove any identity, it can easily show when an identity is false.

>    sin(2*x) * cos(2*x) = 4*sin(x)*cos(x) ;
IdentityPlot(   %);

sin(2*x)*cos(2*x) = 4*sin(x)*cos(x)

[Maple Plot]

>    sin(2*x) + sin(2*x) = 4*sin(x);
IdentityPlot(   %);

2*sin(2*x) = 4*sin(x)

[Maple Plot]

>    tan(x) + cot(x) = 2*sin(x)*cos(x) ;
IdentityPlot(   %);

tan(x)+cot(x) = 2*sin(x)*cos(x)

[Maple Plot]

>    sin(x) +  sin(2*x) = sin(3*x);
IdentityPlot(   %);

sin(x)+sin(2*x) = sin(3*x)

[Maple Plot]

 2. Testing Identities Numerically


As before, this method does not prove any identity, but it helps to convince us of the validity - an inspiration that can lead to a proof of the validity.

        
Example  :   (tan(x)-sec(x))*(sin(x)+1) = -cos(x)

>    Id1 :=
       (tan(x) - sec(x))*(sin(x) + 1)  = -cos(x);

Id1 := (tan(x)-sec(x))*(sin(x)+1) = -cos(x)

>    array( [[ k*Pi/12,  evalf(subs( x =k*Pi/12,lhs(Id1)),3),
                    evalf(subs( x =k*Pi/12,rhs(Id1)),3)]
        $ k= 1..5] );

matrix([[1/12*Pi, -.9658738839, -.9658738846], [1/6*Pi, -.8658247214, -.8658247219], [1/4*Pi, -.7066810912, -.7066810904], [1/3*Pi, -.4993048987, -.4993048980], [5/12*Pi, -.2578500326, -.2578500325]])


This method is valid for proving that a false identity is false.

>    Id1 :=
       sin(2*x) + sin(2*x)  = sin(4*x);

array( [[ k*Pi/12, subs( x =k*Pi/12,lhs(Id1)), subs( x =k*Pi/12,rhs(Id1))]
        $ k= 1..12] );

Id1 := 2*sin(2*x) = sin(4*x)

matrix([[1/12*Pi, 1, 1/2*3^(1/2)], [1/6*Pi, 3^(1/2), 1/2*3^(1/2)], [1/4*Pi, 2, 0], [1/3*Pi, 3^(1/2), -1/2*3^(1/2)], [5/12*Pi, 1, -1/2*3^(1/2)], [1/2*Pi, 0, 0], [7/12*Pi, -1, 1/2*3^(1/2)], [2/3*Pi, -3^(...

 3.  Proving Identities Algebraically


The normal way of verifying an identity is to simplify one side or the other (or both) to show that the two expressions are equivalent. It's quite similar to simplifying an equation. Basically, each side at each step is always equivalent to the original equation.

      
Example  3.1:   (tan(x)-sec(x))*(sin(x)+1) = -cos(x)

One way of solving an identity, although not always the most elegant way, is to simply convert everything to sines and cosines.

>    Id1 :=
       (tan(x) - sec(x))*(sin(x) + 1)  = -cos(x);

Id1 := (tan(x)-sec(x))*(sin(x)+1) = -cos(x)

>    subs( {tan(x) = sin(x)/cos(x), sec(x) = 1/cos(x)}, lhs(Id1));

(sin(x)/cos(x)-1/cos(x))*(sin(x)+1)

>    simplify(%, trig);

-cos(x)

Thus the left side has been reduced to be the same as the right side. Thus we are done.

We can also use this command to do these substitutions more automatically.

>    convert( Id1, 'sincos' );
simplify(%, trig);

(sin(x)/cos(x)-1/cos(x))*(sin(x)+1) = -cos(x)

-cos(x) = -cos(x)

The left side has been reduced to be the same as the right side. Thus we are done...again.

     
Example  3.2 :    tan(x)+cot(x) = 1/(sin(x)*cos(x))  

>    Id1 :=
       tan(x) + cot(x) = 1/(sin(x)*cos(x)) ;

Id1 := tan(x)+cot(x) = 1/(sin(x)*cos(x))

>    subs( {tan(x) = sin(x)/cos(x), cot(x) = cos(x)/sin(x)}, lhs(Id1));

sin(x)/cos(x)+cos(x)/sin(x)

>    normal(%);

(sin(x)^2+cos(x)^2)/cos(x)/sin(x)

>    simplify(%, trig);

1/(sin(x)*cos(x))

This is the same as the original right side.


   
         © 2002 Waterloo Maple Inc