Showing posts with label Trigonometry. Show all posts
Showing posts with label Trigonometry. Show all posts

Wednesday, April 15, 2015

Algebra: Inverse Functions, Testing Inverses

Remember that theorem I gave you in the Introductory post for this series?

We can use this theorem to test whether two functions are inverses of each other.

To test whether these two functions are inverses, we need to look at the two composite functions in the theorem above.


Step 1: Evaluate the first composite function in the theorem above, (f o g)(x).

To form a composite function, locate the variable (x) in the first function (circled in red in the image above). Insert the entire second function into this variable (circled in green, above, with arrow showing the insertion point).

Now, evaluate this new function, shown below.


If the first composite function equals x, continue to Step 2.

Otherwise, the two functions are NOT inverses.

In this example, the first composite function, (f o g)(x), does equal x. Therefore, we continue to Step 2.

Step 2: Evaluate the second composite function in the theorem above, (g o f)(x).

Form this composite function as before. This time, the entire first function (circled in red above, with arrow showing insertion point) is inserted into the variable placeholder of the second function (circled in green).

As before, evaluate this new function, shown below.



If the second composite function equals x, the functions ARE inverses.

If EITHER of the two composite functions do not equal x, the functions ARE NOT inverses!

In this example, the two functions are inverses of each other.

------------------------------------------------------------------------------------------------

Here's another example.


Begin with Step 1 as before.

The first composite function cannot be reduced any further than (3x^2 - 1), as shown in the image above. Therefore, it does not equal x. And therefore, the functions f(x) and g(x) are NOT inverses.

There is no need to proceed to Step 2. According to the theorem, both composite functions must equal x for the two functions to be inverses of each other.

---------------------------------------------------------------------------------------------------------

The composite functions need not be evaluated in the order given. You could evaluate the second composite function first. Sometimes, one of the two is easier to reduce than the other. If you get stuck trying to reduce one of them, try the other.

In the next, and final, post of this series, we'll discover how to find the inverse of a given function. :-) I hope you'll stick around for it!

Wednesday, April 01, 2015

Algebra: Inverse Functions, Introduction

Think of a function as a machine. It takes an input (x-value, independent variable), performs some operation (equation) on it, then spits out an output (y-value, dependent variable).

The inverse of a function is the undo button in the world of functions. It takes an output, performs an operation, and gives back the input that would have went into the original function machine.

There is a way to test whether two functions are the inverses of each other. It is actually a mathematical theorem, which says:

We will use this information in the next two posts, which make up this series on inverse functions. In the first, we will discuss how to use the above theorem to test whether two functions are the inverses of each other. In the second, we'll see how to find the inverse of a given function.

I hope you'll stay tuned!

Tuesday, March 10, 2015

Notice: Update to "Trigonometric Identities" Post

I was recently informed of two small errors in my Trigonometric Identities "cheat sheet" given in my blog post titled "Trigonometry: Proving Trigonometric Identities," originally posted on March 6, 2012.

I have since corrected those errors. I have updated the original post with a notice to that effect. I also corrected the errors in the accompanying Google Document "cheat sheet" I shared on that post. If you downloaded this "cheat sheet" before 03/10/2015, please re-visit the link given in the original post and download the new version.

I am sorry for an inconvenience.

Thursday, December 06, 2012

Friday, August 10, 2012

Trigonometry: Evaluating Base Angles - The Hand Method

Notice: On 12/6/2012, I uploaded a YouTube video that corresponds to this blog post. You can find it by following this link.

Most Trigonometry students are encouraged (and sometimes required) to memorize the "base angle" evaluations for the three fundamental trigonometric functions. These five core angles (in degrees) are 0, 30, 45, 60, and 90. The three fundamental trig functions are sine, cosine, and tangent. So students spend hours attempting to memorize 15 values... or they don't memorize them and do poorly on the test.

Of course, a calculator will give you these values quite easily. Memorizing them is useful though because (1) these angles show up frequently in introductory trigonometric and calculus courses and (2) having the answers memorized saves time on exams and homework. But memorization is a chore and is difficult for most students. That's why I really love this "hand method" of remembering (or rather, determining) these values. I did not create this--I learned it while taking Pre-Calculus my junior year of high school, and I've been using it ever since!

Each finger on the left hand with the palm facing towards you (thumb up, pinkie down) represents one of the five base or core angles. Visualize your hand as the first quadrant--the pinkie is in the 0 degree position and the thumb is in the 90 degree position. Then it is easy to see that the ringer finger is the 30 degree finger, the middle is the 45 degree finger, and the pointer represents the 60 degree finger. Here is a visual with angles in degrees and radians. Knowing the fingers in both measurements will save you the time it would take to convert all radian measures into degrees!
Once you have the fingers identified, we can begin evaluating the base angles, those found in the first quadrant. We will learn later in the post how to evaluate angles that are constant multiples of these base angles.

First, let's look at evaluating the cosine or sine of one of these core angles. In my visual below, I've chosen to evaluate at 60 degrees. Step 1 is to identify the finger that corresponds to the angle. Here, the pointer finger represents 60 degrees. Step 2 is to lower that finger, just fold it down, as in the image below. To find the cosine of this angle, simply count the number of fingers still standing above the lowered finger. Then, take the square root of this number and divide by 2. This is the cosine of the angle. To find the sine of this angle, count the number of fingers still standing below the lowered finger, which is 3 in this case. Take the square root of this number and divide by 2.
Easy enough, right? Evaluating tangent is simple too. You only have to do one extra thing. After lowering the required finger, flip your hand over so that the pinkie is on top and the thumb is on bottom. The fingers still represent the same angle values. Avoid confusion by lowering your finger first, then flipping your hand. After flipping your hand over, to find the tangent of the angle, count the number of fingers above (which is 3 here) and the number of fingers below (which is 1). Take the square root of the number above and divide by the square root of the number below.
See, I told you it was just as easy! Only one extra step, flipping the hand over. You can quickly evaluate any of these base angles at any of the three fundamental trig functions using this method. I've compiled a few for you to try. Evaluate these trig functions at the given angles using the hand method. Don't convert between radians and degrees--practice learning the fingers in both units. After you've evaluated all of them, use a calculator to check your answers (your calculator will give decimal approximations; enter your answer to see if the decimals match). Make sure your calculator is in the right mode for the type of angle you are evaluating!
You can also see the answers quickly by clicking here.

It is also possible to evaluate the trig functions at any constant multiple of the five core angles using this method. There is just an extra step involved, and that is to determine the sign (positive or negative) the answer will have. You know that all angles can be found on the unit circle. The unit circle contains 360 degrees (or 2pi radians). Angles between 0 and 90 degrees are in quadrant I of the standard x,y-plane; angles between 90 and 180 are in quadrant II; angles between 180 and 270 are in quadrant III; and angles between 270 and 360 are in quadrant IV.

But there are angles greater than 360 and angles less than 0. We discussed coterminal angles in another post. Review How to Find a Coterminal Angle in that post.

The first step to evaluating a trig function at a multiple of one of the five core angles is to determine which core angle is multiplied. To do this, find the angle that is coterminal with the given angle. For example, given the angle -405, the angle coterminal with this is 315 degrees. This angle is a multiple of 45 degrees: 315 = 7 * 45. Find this by trial and error--divide the angle by each of the five base angles. Whichever base angle gives a whole quotient, that is the base angle you are looking for.

The second step is to evaluate the trig function at the base angle you found.

The third step is to determine the quadrant of the original angle. Since -405 is coterminal with 315, and since 315 lies in the fourth quadrant, I know that -405 lies in quadrant IV.

Now, you can determine the sign of your final answer. Refer to the diagram below:
This little phrase will help you remember which trig functions are positive in which quadrants: All Students Take Calculus. "All" stands for, well, all. That is, in quadrant I, all of the trig functions are positive. "Students" stands for sine; so only the sine function is positive in the second quadrant. "Take" stands for tangent; so only the tangent function is positive in the third quadrant. And "Calculus" stands for cosine; so only cosine is positive in the fourth quadrant.

In my example, -405 degrees lies in the fourth quadrant where only cosine is positive. If I'm evaluating cosine at this particular angle, the answer is positive; if I'm evaluating sine or tangent at this angle, the answer is negative.

Here are a few examples:

In each instance, the steps are the same. First, identify the base angle by finding the angle that is coterminal to the given angle. Divide the given angle by each of the core angles to determine which angle to evaluate. Then determine which quadrant the angle is in and use it to determine the sign of the final answer.

Practice this method of angle evaluation enough, and it will be very helpful to you in future classes. After trigonometry, you will probably use it in calculus and maybe other subjects as well. You can impress your teachers or classmates with the speed at which you can answer evaluation questions. Of course, it only works for multiples of the five core angles, but you will see that these angles appear frequently in homework and test questions because trig functions evaluated at these angles yield nice numbers.

Edit: This post was edited on 8/16/2012 to correct a mistake in the "Examples" photo.
Edit #2: This post was edited on 12/6/2012 to add the notice at the top.

Thursday, March 08, 2012

Trigonometry: Angles and Arcs, Part 2


CLICK HERE to view the YouTube video that corresponds to this post.

This is the second part of a set of posts dealing with angles and arcs in Trigonometry. In the first part, I covered some definitions pertaining to angles, how to find complements and supplements of given angles, how to find angles coterminal to a given angle, and how to convert between DMS notation and decimal degrees. If you haven't read that post, I highly suggest you do, and you can find it by following this link.

In this part, I will cover arcs and angles measured in radians. We will look at the formula for calculating arc length, as well as how to convert between radians and degrees. At the end, I will give you steps for solving application problems.

First, let's answer a question that I am asked frequently: "What is a radian?" This stumps many students because, prior to taking Trigonometry, they probably never heard the word.

A radian is the measure of an angle formed when an arc of length r is subtended on a circle of radius r. This means that if you have a circle of any radius and you measure an arc length equal to that radius, then the angle formed by that arc length is defined as exactly 1 radian.

There are π (pi) radians in a half circle and 2π radians in a full circle. Therefore, π radians correspond to 180 degrees and 2 π radians correspond to 360 degrees.

An important element of Trigonometry is converting between radians and degrees. These are the two most commonly used units of measure for angles. All you need to remember is the conversion factor I just gave you (and also shown in the blue box below).

How to Convert Between Radians and Degrees
Let's try some example problems. In the problems below, I've boxed the angle we are converting in blue, the conversion factor we are using in green, and the answers in red. After multiplying by the correct conversion factor, you simply need to reduce fractions and simplify as much as possible. A common error students make is to use 2 π radians instead of just π radians in the conversion factor; avoid this by memorizing the conversion factor properly.

You can also use your calculator to convert between radians and degrees, though it is not very efficient to do so. In the beginning, you can use this method to check your answers for converting between degrees and radians.

How to Use Your Calculator to Convert Between Degrees and Radians

 
Step 1: Make sure your calculator is in the mode corresponding to the unit you are converting TO. To check what mode your calculator is in, press the MODE key (next to the 2ND key). In this menu, about 3 options down, you will see RADIAN DEGREE, with one of these highlighted (look at red box in images below). If the one highlighted is not the unit you are converting TO, arrow down to this row and then arrow over and press ENTER on the unit you want to choose. Below you can see the menu options. In my MODE menu on the left, RADIAN is highlighted, which indicates that my calculator is in RADIAN mode. I can only convert FROM degrees TO radians in this mode. If I want to convert FROM radians TO degrees, I have to change it to degree mode, as shown on the right.
Step 2: Press 2ND then MODE to exit the MODE menu. Input the angle you wish to convert. To input DEGREES, press 2ND then APPS to enter the ANGLE menu. Choose option 1 for the degree symbol (boxed in red below). To input RADIANS, press 2ND then APPS to enter the ANGLE menu and choose option 3 for the radians symbol (boxed in blue below).
Step 3: Press ENTER to tell your calculator to make the conversion.

There are two things you need to note when using your calculator to make this conversion.

1. For fractional radian measures, you MUST input the fraction in parentheses before inserting the radians symbol. In the image below, you can see that if I do not put parentheses around the fraction, the computer does not arrive at the correct answer! (See below)

2. When converting TO radians, the calculator will not show you the answer in terms of π. It will, instead, give you a decimal approximation. Do not use this decimal as your answer. Instead, convert it back into a fraction. First, divide by π and convert into a fraction (press MATH and choose 1: >FRAC to have it convert the fraction for you). Then simply multiply by π in the numerator to get your final converted answer.
I hope by now you can see that using the calculator to work through conversions is definitely not as quick as simply multiplying by the conversion factor!

Next, let's look at arc length. Arc length is the linear distance of a circle. Imagine a very large circle on the ground. If you were to walk along the circumference of this circle, you'd be walking an arc. To calculate this linear arc length, you use the arc length formula. Note that the angle measure MUST be in radians when using this formula. If the angle is not given in radians, you must convert it before using the angle measure.



Here is an example problem for finding the arc length.
Similarly, you can work problems with other variables given. If you are given arc length and radius, you can solve for the angle. If you are given arc length and angle, you can solve for the radius of the circle.

Application problems dealing with arc length often confuse students, but they are not difficult to work. Pulleys are often the stage for arc length questions. Let's work an example together.

How to Solve Arc Length Application Problems
Step 1: Draw a picture to represent the situation at hand, if one is not given already. Consider my drawing in the example. I have a larger pulley connected to a smaller pulley. I identified the larger pulley as the first pulley. Use subscripts to distinguish between the parts of one pulley versus another.

Step 2: Label all variables on the image, and then list all known variables. In my example, I am given the radius of each pulley and the angle measure of the larger pulley. The question is asking what angle the smaller pulley makes when the larger makes one revolution. Remember that in the arc length formula, the angle must be in radians, so I have quickly converted 1 revolution into radians. One revolution is equal to 2π radians.

Step 3: Set up equations for the variables you've labeled. In the example, I've written the equations for the arc lengths of each individual pulley.

Step 4: Make a connection between equations if you have more than one. Here is where students get thrown off. When two pulleys are connected by a belt, the arc length that one pulley describes is the same as the arc length the other pulley describes. The difference lies in the angles they create. The smaller pulley will subtend the larger angle. In order for the belt to move the same distance along the smaller pulley, it has to make a larger angle because the pulley is smaller. Think of this: there are two bicycles. One has tires with smaller diameters than the other bicycle. If you were going to ride one a long distance, which would you choose? You should choose the one with larger tires. Larger tires mean you do less pedaling because in an equal number of revolutions (pedals), a larger tire is going to cover more ground (it has a larger circumference). The pulleys work similarly. So set up the arc lengths equal to each other and plug in the equations.

Step 5: Before plugging in known values, solve for the unknown variable. Then, plug in known values and perform all necessary calculations. Here, you want to leave radians in terms of π. The question asks you to give the answer in terms of radians and degrees. After finding the answer in terms of radians, convert your answer into degrees.
This concludes our look at angles and arcs.

Wednesday, March 07, 2012

Trigonometry: Angles and Arcs, Part 1


CLICK HERE to view the YouTube video that corresponds to this post.

Please note that all calculator keypad instructions are intended for TI-83 through TI-84 Plus Silver Edition graphing calculators. Refer to your instruction manual to find specific keys for any other calculator.

This is part one of two posts that deal with angles and arcs. In this segment, I will cover some definitions pertaining to angles, how to find complementary and supplementary angles to a given angle, finding coterminal angles to a given angle, and converting between DMS notation and decimal degrees.

To begin this discussion, let's review some definitions pertaining to angles.

A straight angle is an angle that measures 180 degrees. A right angle is an angle that measures 90 degrees. An acute angle is an angle that measures between 0 and 90 degrees. And an obtuse angle is an angle that measures between 90 and 180 degrees. A quadrantal angle is an angle which has a terminal side on an axis line. Non-quadrantal angles can be identified by their quadrant number.


Two positive angles are said to be complementary if their sum is equal to 90 degrees. And two positive angles are called supplementary if their sum is 180 degrees.

First, we will discuss how to find a complementary or supplementary angle to a given angle. If you are given an angle, subtract it from 90 degrees to find its complement and subtract it from 180 degrees to find its supplement. Below are a few examples.

An angle is coterminal to a given angle if it contains only the addition of an integer multiple of 360 degrees. For example, the angles 45 degrees and 1170 degrees are coterminal because 1170 = 45 + 360(2). You may be asked to find an angle that is coterminal to a given angle. You only need to follow these easy steps to answer a question like this.

How to Find a Coterminal Angle
Step 1: Divide the given angle by 360 degrees. If the answer is positive, subtract whatever whole number you obtain from this. If the answer is negative, add subtract the whole number (including the sign!) minus 1. That is, if –n.kkk is the number, you will subtract (-n – 1) from the number. See example below for more clarification.
Step 2: Multiply this answer by 360 degrees to obtain the angle less than 360 degrees that is coterminal with the given angle. Two examples are below.

All of this can be accomplished very easily in your calculator. Input the given angle and divide by 360. If you then hit plus or minus, it will bring down the previous answer automatically. Here is how the screen looks.

The green, boxed items are what I manually typed into the calculator. Each "Ans" was automatically entered by the calculator when I hit the next operations key. The red boxed value would be my answer.

There are two ways to represent angle measures. The first is decimal degrees, as you probably are used to. These are angles such as 27.2 degrees or 108.3 degrees. Another way to represent angles is in DMS (Degrees, Minutes, and Seconds).
Just as there are 60 seconds in a minute when discussing time, there are 60 seconds in one minute when discussing angle measures. And, degrees work similar to hours in that there are 60 minutes in one degree. Therefore, there are 3600 seconds in one degree. These conversion factors will allow you to interconvert between these two angle representations. I will first show you how to do this manually, then will show you the "shortcut" by using your calculator's DMS conversion tool.

How to Convert FROM DMS TO Decimal Degrees
Step 1: Write the degrees, minutes, and seconds as a sum.
Step 2: Leave the degree term as is. Multiply the minutes term by the minutes-degrees conversion factor. Multiply the seconds term by the seconds-degrees conversion factor.
Step 3: Add.
How to Convert FROM Decimal Degrees TO DMS
Step 1: Split at the decimal point and write as whole degrees plus partial degrees.
Step 2: Multiply the partial degrees by the degrees-minutes conversion factor.
Step 3: If this is a whole number, then tack 0'' to the end of your answer. If it is a decimal answer, split it at the decimal point and write as whole minutes plus partial minutes.
Step 4: Multiply the partial minutes by the minutes-seconds conversion factor.
Step 5: Rewrite your answer without the plus signs.
It is important for you to know how to manually convert between decimal degrees and DMS, but your calculator provides a shortcut. Locate the ANGLE key on your calculator (this is the same as the APPS key which has different-colored lettering on it). To get into the ANGLE menu, hit 2ND, then APPS. In the ANGLE menu, you will find various items pertaining to angle measures. The ones we are interested right now are numbers 1 through 4. Number 1 allows you to enter the degree sign into your calculator; number 2 allows you to enter; number 3 allows you to enter radians into your calculator (to be dealt with in another post); and number 4 is what you use to instruct your calculator to convert into DMS form. To type the seconds symbol into your calculator, press ALPHA then the PLUS key.

First, make sure your calculator is in degree mode. To do so, press the MODE key (to the right of the 2ND key) and arrow down until you see RADIAN DEGREE. Ensure that DEGREE is highlighted black. If it is, press 2ND then MODE to return to the home screen. If it is not highlighted, arrow down to RADIAN, then arrow to the right to DEGREE, and then press ENTER. Press 2ND then MODE to exit the mode menu.

How to Use the Calculator to Convert TO DMS Form
Step 1: With your calculator in DEGREE MODE, type in the decimal degree form of the angle measure you wish to convert INTO DMS form.
Step 2: Open the ANGLE menu by pressing 2ND then APPS.
Step 3: In this menu, arrow down to option 4: >DMS and press ENTER (or simply press the number 4 on the keypad).
Step 4: Press ENTER to instruct the calculator to make the conversion for you. The angle measure in DMS will appear, rounded to the nearest whole second.

Here is what the calculator screen will look like.
How to Use the Calculator to Convert FROM DMS Form
Step 1: With your calculator in DEGREE MODE, input the angle measure in DMS form into the home screen. Type in the degree value, then open the ANGLE menu (2ND, APPS) and choose option 1: degrees. Then type in the minute value, open the ANGLE menu and choose option 2: minutes. Finally, type in the second value and press ALPHA (below the 2ND key) and then the PLUS key to input the seconds symbol.
Step 2: Press ENTER to return the angle measure in decimal degree form.
Here is what the calculator screen will look like. When reporting your answer, round according to the instructions given for your problem. If no rounding instructions are given, round to the hundredth (two decimal places) degree. (In the screen shot below, the reported answer would actually be 35.26 because the 5 would be rounded up.)

In part 2, we will look at radians and arc lengths.

Tuesday, March 06, 2012

Trigonometry: Proving Trigonometric Identities

**Notice:** This post was updated on March 10, 2015 to reflect a correction in the Trigonometric Identities image. The accompanying Google Document was also corrected, as was the link to that Document. If you downloaded the Google Document before 03/10/2015, please re-visit this link and download the new version. Thank you, and sorry for the inconvenience.

CLICK HERE to view the YouTube video that corresponds to this post.
Identity problems are probably the toughest part of Trigonometry for most people. They can look scary and huge and daunting, and many students become overwhelmed at just the sight of them. I hope that this post will make you less fearful of identity problems.

The first thing to address is that you need to know the trig identities. Just knowing these will make the problems half as challenging. The best way to learn them is to use them. Have a sheet with all of the identities listed (so that you don't have to flip through your book) and use this sheet only when you need it. If you think you know the identity to use, go ahead and use it and see what you get. Use your "cheat sheet" as a safety net, not as a life preserver.


I've created a small list of the main identities (reciprocal, Pythagorean, sum/difference, double-angle, and half-angle) in a document that you can print for free. You can then fold the page in half (or cut it) and keep it in your notebook as a handy reference card. You can view/print the page by following this link to the Google Document (opens in new window). Here it is below as an image for reference in this post.



The second thing you need to do is find out which identities you are required to have memorized for your test/exam. Ask your instructor which, if any, identities will be given to you, and which you are required to know ahead of time. Take the time to study the identities that will not be given to you. My two favorite ways to study this type of thing is to (1) make flashcards or (2) write them out without looking at the cheat sheet over and over again, checking myself each time. Writing is a wonderful tool for memorization!Now, assuming you have your cheat sheet handy, let's dig in to identity problems.

There are not many strategies for solving identity problems/proofs. The goal is always to show that the two sides are equal. There are three ways to accomplish this.1. Begin with the left side and use known trig identities to rewrite it until it looks like the right side.

2. Begin with the right side and use known trig identities to rewrite it until it looks like the left side.

3. Rewrite either side at a time until they are equal to each other.

I would stick to the first two methods. Always choose one side and stick with it for a while. If you decide it's not working out or you get stuck, go back to the beginning and start with the other side. If you work on both sides at a time, you are more likely to become confused and frustrated. So, how do you choose a side? Here are the things I look for:

1. Complexity -- It is easier to simplify a complicated side than to complicate a simple side. So look for the side that is "bigger" or more complex.


2. Fractions -- It is easier to add/subtract fractions than it is to split them into a sum or difference.

3. Reciprocal Functions -- Look for the side with more reciprocal functions (cotangent, cosecant, and secant) because all of these can be written in terms of cosine and sine. The tangent function can also be written in terms of sine and cosine, so choose the side with the most reciprocal functions or the one with a tangent function.

4. Binomials -- Remember that binomials can be FOILed. It is easier to FOIL two binomials than to factor a trinomial when dealing with trig functions.The basic method is quite simple. Choose a side and simplify it until it looks like the other side.

Sounds easy, right? It is, if you know your identities and are patient with yourself. Don't ever be afraid to start over. If things just aren't working out, erase or throw away that paper and try again. Maybe start with the other side this time and see how that goes. If you ever come to a point where you have multiple paths you could take, try each path until you find the one that works. I think students give up too quickly on these problems--often, I can see that they were only a step or two from the answer, but didn't know their identities well enough to see it.

I can't stress enough that knowing the trig identities is most important. When you've studied and practiced enough, relationships between identities will start to jump out at you while working these problems and will make solving them much easier.
Let me show you how I would work a few problems.


In this example, I chose to work on the left side because it was more complex, contained a 'secondary' function (cotangent), and contained a fraction. If you work from the right side, it would difficult to know how to proceed because there are so many possible directions. In the first step, I rewrote cotangent in terms of sine and cosine, which should always be your first step. In the second step, I had two fractions. Since they already had a common denominator, it was simple to combine (add/subtract) them. If they hadn't had a common denominator, I would have obtained one before combining.

Let's look at another example.


In this example I chose again to work on the left side, but either would have been possible. Mostly I chose it because I prefer simplifying fractions to splitting them, as would have been necessary if I had begun with the right side. Again, my first step was to rewrite in terms of sine and cosine, then simplify. Here, I needed to obtain a common denominator before subtracting. Never forget to do this—you cannot subtract/add fractions unless they have the SAME denominator. If they are not the same initially, you have to get them to be the same. Next, I factored again and then used the Pythagorean identity.

Notice that the second to last and last steps could have been done in a different order. If I had, I may have obtained sine first, then tangent, but functions multiplied can be re-ordered, so I still would have obtained the final product.

My last piece of advice for you is to always keep your eye on your goal. It can be easy to wander off onto a rabbit trail and completely lose sight of the desired end product. Always check with the other side of the problem and look for patterns in your work that could get you there.