Let me paint you a picture. Two students, Sam and Monica are comparing how long each of them takes to cycle to school from their homes. They have deduced that Sam's home is 4 miles away from school while Monica's is 3 miles away. They have also found out that the angle formed by the two distances from their homes to the school is 43o. Let us sketch this out. We find that a triangle is constructed as shown below.
Real-world example 1, Aishah Amri - StudySmarter Originals
Now, from this information, is there some sort of method by which we can determine the distance between Sam and Monica's house? Fortunately, you are in luck! There is indeed a formula that can help us solve this problem. We can use the Law of Cosines. In this topic, we shall be introduced to the Law of Cosines and its application to solving triangles.
Law of Cosines
The Law of Cosines is defined by the rule
\[a^2=b^2+c^2-2ab\cos(A)\]
Before we begin, let us ease ourselves into this topic by recalling the Cosine Ratio and Pythagoras' Theorem. That way we can bridge the two concepts and derive the Law of Cosines as mentioned above.
Recap: The Cosine Ratio and Pythagoras' Theorem
Let us first recall the Pythagoras Theorem for a given right-angle triangle with an angle θ.
Now that we have set the ideas above, let us use them as a building block in establishing the Law of Cosines. Consider the triangle ABC below.
Law of Cosines, Aishah Amri - StudySmarter Originals
The triangle ABC is split into two triangles: ABD and BCD. Both these triangles are right triangles divided by the perpendicular leg BD of measure h. The side b is also divided into two sections AD = x and CD = b – x. Furthermore, the hypotenuse of triangle ABD is AB = c while the hypotenuse of triangle BCD is BC = a.
Let us analyse the relationship between the lengths of a, b, c and the angle A. By Pythagoras Theorem, we can solve triangle DBC by
\[a^2=(b-x)^2+h^2\]
Expanding (b - x)2, we obtain
\[a^2=b^2-2bx+x^2+h^2\]
Similarly, we can do this for triangle ADB as
\[c^2=x^2+h^2\]
Substituting this expression for x2 + h2 into the previous equation, we obtain
\[a^2=b^2-2bx+c^2\]
Notice that we can further write x in the form of a Cosine Ratio as
Applying the Commutative Property and rearranging this, we obtain the Law of Cosines
\[a^2=b^2 +c^2 -2bc\cdot \cos(A)\]
as we have stated at the beginning of this section.
Variations of the Law of Cosines
The Law of Cosines has two other variations from the one given above. By the Law of Cosines, we see that the formula gives us the measure of one unknown side of a triangle. However, a triangle has three sides and three angles. In some cases, we may need to apply this concept on any of the other sides should we require to find their measures. Let us consider the triangle ABC below.
Variations of the Law of Cosines, Aishah Amri - StudySmarter Originals
Here, the value of a, b and c represent the length of each side of this triangle. Angles A, B and C describe the opposite angles for each of these sides respectively. There are three forms of the Law of Cosines for this triangle.
The forms above are suitable for finding the length of an unknown side given the measures of two sides and their included angle. However, if we are given the values of three sides, we may need to perform some lengthy algebra to determine the unknown angle. To simplify such calculations, we can rearrange the expressions above so that we get an explicit formula for the unknown angle.
In this section, we shall observe several worked examples that apply the Law of Cosines. We can apply the Law of Cosines for any triangle given the measures of two cases:
The value of two sides and their included angle
The value of three sides
Solving a Triangle Given Two Sides and their Included Angle
Solve a triangle ABC given b = 17, c = 16 and A = 83o.
Solution
Let us make a sketch of this triangle.
Example 1, Aishah Amri - StudySmarter Originals
We begin by using the Law of Cosines to find the length of a.
Randy is training for a marathon. He starts his journey by running 9 miles in one direction. Then, he turns and runs another 11 miles. The two legs of his run form an angle of 79o. How far is Randy from his starting point at the end of the 11-mile leg of his run?
Solution
Let us begin by sketching the outline of this problem. The variable d represents the distance from Randy's starting point and the end of his 11-mile leg run.
Real-world example 2, Aishah Amri - StudySmarter Originals
Here, we are given the lengths of two sides and their included angle. Thus, we can use the Law of Cosines to find d.
To solve such triangles, we need the length of at least one side and the value of any other two components of a given triangle. If the triangle has a solution, then we must choose whether to begin our solution by applying the Law of Sines or the Law of Cosines. The table below helps us decide on such situations.
We can use the Law of Cosines to solve triangles given
The value of two sides and their included angle
The value of three sides
Learn faster with the 0 flashcards about Law of Cosines
Sign up for free to gain access to all our flashcards.
Frequently Asked Questions about Law of Cosines
What is the law of cosines?
Given a triangle ABC, the law of cosines states that a2 = b2 + c2 - 2bc Cos A
What is law of cosines used for?
The law of cosines is used to find an unknown side of a triangle given the value of two sides and their included angle or to find an unknown angle given three sides of a triangle
What is the formula when solving the law of cosines?
The formula for the law of cosines is a2 = b2 + c2 - 2bc Cos A
What are real world examples of law of cosines?
The law of cosines can be used to measure distance and angles of elevation
How do you proof the law of cosines?
You can prove the law of cosines by Pythagoras Theorem
How we ensure our content is accurate and trustworthy?
At StudySmarter, we have created a learning platform that serves millions of students. Meet
the people who work hard to deliver fact based content as well as making sure it is verified.
Content Creation Process:
Lily Hulatt
Digital Content Specialist
Lily Hulatt is a Digital Content Specialist with over three years of experience in content strategy and curriculum design. She gained her PhD in English Literature from Durham University in 2022, taught in Durham University’s English Studies Department, and has contributed to a number of publications. Lily specialises in English Literature, English Language, History, and Philosophy.
Gabriel Freitas is an AI Engineer with a solid experience in software development, machine learning algorithms, and generative AI, including large language models’ (LLMs) applications. Graduated in Electrical Engineering at the University of São Paulo, he is currently pursuing an MSc in Computer Engineering at the University of Campinas, specializing in machine learning topics. Gabriel has a strong background in software engineering and has worked on projects involving computer vision, embedded AI, and LLM applications.
StudySmarter is a globally recognized educational technology company, offering a holistic learning platform designed for students of all ages and educational levels. Our platform provides learning support for a wide range of subjects, including STEM, Social Sciences, and Languages and also helps students to successfully master various tests and exams worldwide, such as GCSE, A Level, SAT, ACT, Abitur, and more. We offer an extensive library of learning materials, including interactive flashcards, comprehensive textbook solutions, and detailed explanations. The cutting-edge technology and tools we provide help students create their own learning materials. StudySmarter’s content is not only expert-verified but also regularly updated to ensure accuracy and relevance.