The Wayback Machine - https://web.archive.org/web/20240308000833/https://www.geeksforgeeks.org/cotangent-formula/
Open In App
Related Articles

Cotangent Formula

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Share
Report issue
Report

Trigonometry is an important branch of mathematics that deals with the relation between the lengths of sides and angles of a right-angled triangle. Sine, Cosine, tangent, cosecant, secant, and cotangent are the six trigonometric ratios or functions. Where a trigonometric ratio is depicted as the ratio between the sides of a right-angled triangle. 

  • sin Îļ = opposite side/hypotenuse
  • cos Îļ = adjacent side/hypotenuse
  • tan Îļ = opposite side/adjacent side
  • cosec Îļ = 1/sin Îļ = hypotenuse/opposite side
  • sec Îļ = 1/cos Îļ = hypotenuse/adjacent side
  • cot Îļ = 1/tan Îļ = adjacent side/opposite side

Cotangent Formula

A Cotangent function is a reciprocal function of the given tangent function. The value of a cotangent angle in a right-angled triangle is the ratio of the length of the side adjacent to the given angle to the length of the side opposite to the given angle. We write cotangent function as “cot”.

Triangle ABC

Now, the cotangent formula for the angle Îļ is,

cot Îļ = (Adjacent side)/(Opposite side)

  • The cotangent function is positive in the first and third quadrants and negative in the second and fourth quadrants.
  1. cot (2π + Îļ) = cot Îļ (1st quadrant)
  2. cot (π – Îļ) = – cot Îļ (2nd quadrant)
  3. cot (π + Îļ) = cot Îļ (3rd quadrant)
  4. cot (2π – Îļ) = – cot Îļ (4th quadrant)
  • The cotangent function is a negative function since the cotangent of a negative angle is the negative of a cotangent positive angle.

cot (-Îļ) = – cot Îļ

  • In terms of the tangent function, the cotangent function is written as,

cot Îļ = 1/tan Îļ

(or)

cot Îļ = tan (90° – Îļ) (or) tan (π/2 – Îļ)

  • The cotangent function in terms of sine and cosine functions can be written as,

cot Îļ = cos Îļ/sin Îļ

We know that, cot Îļ = adjacent side/opposite side

Now divide both the numerator and denominator with hypotenuse

⇒ cot Îļ = (adjacent side/hypotenuse) / (opposite side/hypotenuse)

We know that, sin Îļ = opposite side/hypotenuse

cos Îļ = adjacent side/hypotenuse

Hence, cot Îļ = cos Îļ/sin Îļ

  • Cotangent function in terms of sine function can be written as,

cot Îļ = (√1 – sin2 Îļ)/sin Îļ 

We know that, cot Îļ = cos Îļ/sin Îļ

From the Pythagorean identities we have;

cos2 Îļ + sin2 Îļ = 1

⇒ cos Îļ = √1 – sin2 Îļ

Hence, cot Îļ = \frac{\sqrt{\left(1-sin^{2}\theta\right)}}{sin\theta}

  • Cotangent function in terms of cosine function can be written as,

cot Îļ = cos Îļ/(√1 -cos2 Îļ)

We know that, cot Îļ = cos Îļ/sin Îļ

From the Pythagorean identities we have;

cos2 Îļ + sin2 Îļ = 1

sin Îļ = √1 – cos2 Îļ

Hence, cot Îļ =  \frac{cos\theta}{\sqrt{\left(1-cos^{2}\theta\right)}}

  • Cotangent function in terms of secant and cosecant functions can be written as,

cot Îļ = cosec Îļ/sec Îļ

We have, cot Îļ = cos Îļ/sin Îļ

This can be written as, cot Îļ = (1/sin Îļ) / (1/cos Îļ)

⇒ cot Îļ = cosec Îļ/sec Îļ

  • Cotangent function in terms of cosecant function can be written as:

cot Îļ = √(cosec2 – 1)

From the Pythagorean identities, we have,

cosec2 Îļ – cot2 Îļ = 1

⇒ cot2 Îļ = 1 – cosec2 – 1

Hence, cot Îļ = √(cosec2 – 1)

  • Cotangent function in terms of secant function can be written as:

cot Îļ = 1/(√sec2 Îļ – 1)

From the Pythagorean identities, we have,

sec2 Îļ – tan2 Îļ = 1

tan Îļ = √sec2 Îļ – 1

We know that, cot Îļ = 1/tan Îļ

Hence, cot Îļ = \frac{1}{\sqrt{\left(1-sec^{2}\theta\right)}}

Trigonometric Ratio table

Trigonometric Ratio Table

Cotangent law or Law of Cotangents

Cotangent law looks similar to sine law, but here it involves half angles. The law of cotangents describes the relationship between the lengths of the sides of the triangle and the cotangents of the halves of the three angles. Consider a triangle ABC, where a, b, and c are the lengths of the sides of the triangle. 

The law of cotangents states that,

\frac{cot(\frac{A}{2})}{(s-a)} = \frac{cot(\frac{B}{2})}{(s-b)} = \frac{cot(\frac{C}{2})}{(s-c)} = \frac{1}{r}

Where s is the semi-perimeter of the triangle ABC and r is its inradius of the inscribed circle of the triangle.

s = (a + b + c)/2

r = \sqrt{\frac{(s-a)(s-b)(s-c)}{s}}

Sample Problems

Problem 1: Find the value of cot Îļ if tan Îļ = 3/4.

Solution:

Given data, tan Îļ = 3/4

We know that, cot Îļ = 1/tan Îļ

⇒ cot Îļ = 1/(3/4) = 4/3

So, cot Îļ = 4/3

Problem 2: Find the value of cot α, sin α = 1/3, and cos α = 2√2/3.

Solution:

Given data, sin α = 1/3 and cos α = 2√2/3

We know that, cot Îą = cos Îą/sin Îą

⇒ cot α = (2√2/3) / (1/3) = 2√2

Hence, the value of cot α = 2√2

Problem 3: A boy standing 15 m from a tree is looking at a 30-degree angle to the top of the tree. What is the height of the tree?

Solution:

Diagram from the given data

Given data, the distance between the boy and the foot of the tree = 15 m and Îļ = 30°

Let the height of the tree be ‘h’

We have, cot Îļ = adjacent side/opposite side

⇒ cot 30° = 15/h

⇒ √3 = 15/h [since, cot 30° = √3] 

⇒ h = 15/√3 

⇒ h = 5√3 m

Hence, the height of the tree = 5√3 m

Problem 4: Find the value of cot x if sec x = 6/5.

Solution:

Given data, sec x = 6/5

We have, sec2 x – tan2 x = 1

⇒ (6/5)2 – tan2 x = 1

⇒ 36/25 – tan2 x = 1

⇒ tan2 x = 36/25 – 1

⇒ tan2 x = 11/25 

⇒ tan x = √(11/25) = √11/5

We know that, cot x = 1/tan x

⇒ cot x = 1/(√11/5) = 5/√11

Hence, cot x = 5/√11

Problem 5: Find the value of cot Îļ if cosec Îļ = 25/24.

Solution:

Given data, cosec Îļ = 25/24

We know that, cot Îļ = √(cosec2 – 1)

⇒ cot Îļ = √(25/24)2 – 1

⇒ cot Îļ =√(625 – 576)/576 = √49/576

⇒ cot Îļ = 7/24

Hence, the value of cot Îļ = 7/24

Problem 6: Find the value of cot Îē if sin Îē = 5/13.

Solution:

Given data, sin Îē = 5/13

We know that, sin2 Îē + cos2 Îē = 1

⇒ (5/13)2 + cos2 Îē = 1

⇒ cos2 Îē = 1 – (5/13)2 = 1 – 25/169 = 144/169

⇒ cos Îē = √144/169 = 12/13

cot Îē = cosÎē/sin Îē

= (12/13) / (5/13)

⇒ cot Îē = 12/5

Hence, the value of cot Îē = 12/5

Problem 7: Using the law of cotangents, find the values of ∠A, ∠B, and ∠C (in degrees) if the lengths of the three sides of triangle ABC are a = 4 cm, b= 3 cm, and c= 3 cm.

Solution: 

Given, a = 4 cm, b = 3 cm and c = 3 cm

Triangle ABC

From the cotangents law, 

\frac{cot(\frac{A}{2})}{(s-a)} = \frac{cot(\frac{B}{2})}{(s-b)} = \frac{cot(\frac{C}{2})}{(s-c)} = \frac{1}{r}

s = (a + b + c)/2

⇒ s = (3 + 4 + 3)/2 = 10/2 = 5

Now, s – a = 5 – 4 = 1

⇒ s – b = 5 – 3 = 2

⇒ s – c = 5 – 3 = 2

r = \sqrt{\frac{(s-a)(s-b)(s-c)}{s}}

⇒ r = √[(1)(2)(2)/5]

Inradius of the triangle r = 2/√5

From the equation of law of cotangents,

cot (A/2)/1 = 1/(2/√5)

⇒ cot (A/2) = √5/2 ⇒ A/2 = cot -1 (√5/2)

⇒ (A/2) = 41.8° ⇒ ∠A = 83.6°

cot(B/2)/2 = 1/(2/√5)

⇒ cot(B/2)/2 = √5/2 ⇒ cot (B/2) = √5

⇒ (B/2) = cot-1 (√5) = 24.1° ⇒ ∠B = 48.2°

cot (C/2)/2 =  1/(2/√5)

⇒ cot(C/2) = √5 ⇒ (C/2) = cot-1 (√5)

⇒ (C/2) = 24.1° ⇒ ∠C = 48.2°

Hence, the angles of triangle ABC are  ∠A = 83.6°, ∠B = 48.2° and ∠C = 48.2°.



Last Updated : 24 Jan, 2024
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads
Complete Tutorials