77.32% of parents see better grades in 3 months!

The tan 2x formula is tan 2x = 2tan x / (1 − tan²x). It is one of the three double angle identities, and it lets you find the tangent of a doubled angle straight from tan x.

You will use it to simplify expressions, prove identities, solve trig equations and handle calculus questions. In IB Maths AA it sits in the formula booklet, but the marks come from knowing when and how to apply it.

One warning before we start: tan 2x and tan²x look alike but mean completely different things. We will untangle them below.

This guide covers the formula and its other forms, two proofs, the graph, domain and range, tan square x identities, solved examples and practice questions.

What Is Tan 2x in Trigonometry?

Tan 2x is the tangent of an angle that is twice as big as x. Because the angle is doubled, it is called a double angle function.

Tangent is sine divided by cosine, so:

  • tan x = sin x / cos x
  • tan 2x = sin 2x / cos 2x

Cotangent is the reciprocal of tangent, which gives another form:

  • tan 2x = 1 / cot 2x

The version you will use most often writes tan 2x using tan x alone.

Tan 2x Formula

Pick the form that matches the information a question gives you.

1. In Terms of Tan x

tan 2x = 2tan x / (1 − tan²x)

Use this when you already know tan x.

2. In Terms of Sin 2x and Cos 2x

tan 2x = sin 2x / cos 2x

3. In Terms of Sin x and Cos x

Substitute sin 2x = 2sin x cos x and cos 2x = cos²x − sin²x:

tan 2x = 2sin x cos x / (cos²x − sin²x)

This form is handy when a question gives sin x and cos x rather than tan x.

Proof of Tan 2x Formula

Method 1: Tangent Addition Formula

The compound angle identity for tangent is:

tan(A + B) = (tan A + tan B) / (1 − tan A tan B)

A doubled angle is just an angle added to itself, so write 2x = x + x and set A = B = x:

  • tan 2x = tan(x + x)
  • = (tan x + tan x) / (1 − tan x · tan x)
  • = 2tan x / (1 − tan²x)

That proves tan 2x = 2tan x / (1 − tan²x).

Method 2: Sine and Cosine Identities

Start from tan 2x = sin 2x / cos 2x and swap in the double angle identities:

  • tan 2x = 2sin x cos x / (cos²x − sin²x)
  • Divide every term, top and bottom, by cos²x
  • Top: 2sin x cos x / cos²x = 2tan x
  • Bottom: (cos²x − sin²x) / cos²x = 1 − tan²x
  • So tan 2x = 2tan x / (1 − tan²x)

Both routes land on the same identity.

Tan 2x Graph

The graph of y = tan 2x has the same shape as y = tan x, squeezed horizontally to half the width.

For any curve y = tan bx, the period is π / |b|. Here b = 2, so:

Period of tan 2x = π/2 radians, or 90°

[GRAPH: insert y = tan(2x), with vertical asymptotes at x = (2n + 1)π/4 and x-intercepts at x = nπ/2]

Key Features of the Tan 2x Graph

  • Period: π/2, half the period of tan x
  • Domain: all real x except x = (2n + 1)π/4, where n is an integer
  • Range: all real numbers
  • x-intercepts: x = nπ/2
  • Vertical asymptotes: x = (2n + 1)π/4

Because the graph repeats every π/2, an equation in tan 2x usually has twice as many solutions in a given interval as the same equation in tan x.

Tan²x Formula (Tan Square x)

Tan²x, read as "tan square x", is the tangent of x multiplied by itself:

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

It appears all the time when simplifying expressions and in differentiation and integration.

Three Useful Tan²x Identities

  • From the Pythagorean identity 1 + tan²x = sec²x: tan²x = sec²x − 1
  • From sine and cosine: tan²x = sin²x / cos²x
  • From cotangent (since tan x = 1/cot x): tan²x = 1 / cot²x

Tan 2x Formula in Terms of Cos x

Start from tan 2x = sin 2x / cos 2x and use sin 2x = 2sin x cos x and cos 2x = 2cos²x − 1:

  • tan 2x = 2sin x cos x / (2cos²x − 1)
  • Replace sin x with ±√(1 − cos²x)

tan 2x = ±[2cos x √(1 − cos²x)] / (2cos²x − 1)

Choose the sign from the quadrant x is in, because the square root alone is always positive.

Tan 2x Formula in Terms of Sin x

This time keep sin x and remove cos x:

  • tan 2x = 2sin x cos x / (cos²x − sin²x)
  • cos²x − sin²x = 1 − 2sin²x
  • Replace cos x with ±√(1 − sin²x)

tan 2x = ±[2sin x √(1 − sin²x)] / (1 − 2sin²x)

Again, the quadrant decides the sign.

Difference Between Tan 2x and Tan²x

  • Meaning: tan 2x is the tangent of the angle 2x. tan²x is the square of tan x.
  • Key formula: tan 2x = 2tan x / (1 − tan²x). tan²x = sec²x − 1.
  • Sign: tan 2x can be positive, negative or zero. tan²x is never negative.
  • Where you use it: tan 2x in double angle problems and trig equations. tan²x in simplifying and in calculus.

A quick test with tan x = 2:

  • tan 2x = (2 × 2) / (1 − 2²) = 4 / (−3) = −4/3
  • tan²x = 2² = 4

One answer is negative, the other is positive, so they clearly are not the same thing.

Important Notes on Tan 2x Formula

  • tan 2x = 2tan x / (1 − tan²x) = sin 2x / cos 2x = 2sin x cos x / (cos²x − sin²x)
  • Period of tan 2x = π/2
  • Derivative: d/dx (tan 2x) = 2sec²(2x)
  • Integral: ∫ tan 2x dx = −½ ln|cos 2x| + C
  • tan²x = sec²x − 1 = sin²x / cos²x = 1 / cot²x
  • Where the formula breaks: when tan x = ±1 the denominator is zero, matching the fact that tan 2x is undefined at x = 45°, 135° and so on. At x = 90° tan x itself is undefined, so use sin 2x / cos 2x instead (it gives tan 180° = 0).

Solved Examples Using Tan 2x Formula

Example 1: Find Tan 2x When Tan x = 3

Find the value of tan 2x when tan x = 3.

Solution:

  • tan 2x = 2tan x / (1 − tan²x)
  • = 2(3) / (1 − 3²)
  • = 6 / (1 − 9)
  • = 6 / (−8)
  • = −3/4

Answer: tan 2x = −3/4.

Example 2: Find Tan 2x When Sin x = 7/25 and Cos x = 24/25

Given sin x = 7/25 and cos x = 24/25, find tan 2x.

Solution:

Use tan 2x = sin 2x / cos 2x, with sin 2x = 2sin x cos x and cos 2x = cos²x − sin²x.

  • sin 2x = 2 × (7/25) × (24/25) = 336/625
  • cos 2x = (24/25)² − (7/25)² = 576/625 − 49/625 = 527/625
  • tan 2x = (336/625) / (527/625) = 336/527

Answer: tan 2x = 336/527.

Check: tan x = 7/24, and 2(7/24) / (1 − 49/576) = (7/12) / (527/576) = 336/527. Same answer.

Example 3: Derivative and Integral of Tan 2x

Find the derivative and the integral of tan 2x.

Part A: Derivative

  • d/dx (tan x) = sec²x
  • By the chain rule, d/dx (tan 2x) = sec²(2x) × d/dx (2x) = sec²(2x) × 2

d/dx (tan 2x) = 2sec²(2x)

Part B: Integral

  • Start from ∫ tan x dx = −ln|cos x| + C
  • Let u = 2x, so du = 2 dx and dx = du/2
  • ∫ tan 2x dx = ½ ∫ tan u du = −½ ln|cos u| + C
  • Put u = 2x back in

∫ tan 2x dx = −½ ln|cos 2x| + C, which can also be written as ½ ln|sec 2x| + C.

Answer: Derivative = 2sec²(2x); integral = −½ ln|cos 2x| + C.

Example 4: Find Tan 2x When Tan x = 1/2

Find tan 2x when tan x = 1/2.

Solution:

  • tan 2x = 2(1/2) / [1 − (1/2)²]
  • = 1 / (1 − 1/4)
  • = 1 / (3/4)
  • = 4/3

Answer: tan 2x = 4/3.

Example 5: Find Tan²x When Sec x = 3/2

Find tan²x when sec x = 3/2.

Solution:

  • tan²x = sec²x − 1
  • = (3/2)² − 1
  • = 9/4 − 4/4
  • = 5/4

Answer: tan²x = 5/4.

Practice Questions on Tan 2x Formula

Work through these, then check your answers below.

Question 1: Find tan 2x if tan x = 3/4.

Question 2: If sin x = 15/17 and cos x = 8/17, find tan 2x.

Question 3: Find tan²x if sec x = 13/5.

Question 4: What is the period of y = tan 2x?

Question 5: Differentiate tan 2x.

Question 6: Find ∫ tan 2x dx.

Answers

  1. 24/7: 2(3/4) / (1 − 9/16) = (3/2) / (7/16) = 24/7
  2. −240/161: tan x = 15/8, so tan 2x = (15/4) / (1 − 225/64) = (15/4) / (−161/64) = −240/161
  3. 144/25: (13/5)² − 1 = 169/25 − 25/25 = 144/25
  4. π/2 radians, or 90°
  5. 2sec²(2x)
  6. −½ ln|cos 2x| + C

Applications of Tan 2x Formula

  • Trigonometric equations: rewriting tan 2x in terms of tan x turns many equations into ones you can factorise and solve.
  • Calculus: tan 2x appears in differentiation and integration questions, often alongside the chain rule.
  • Simplifying expressions: it converts tan 2x into tan x, sine or cosine, whichever makes the algebra easier.
  • Physics and modelling: double angle identities show up in projectile motion, waves and other periodic problems.
  • Graph work: knowing the period, asymptotes, domain and range helps you sketch and read tangent graphs quickly.

Frequently Asked Questions on Tan 2x Formula

1. What is tan 2x in trigonometry?

It is the tangent of an angle twice the size of x. As a double angle identity, tan 2x = 2tan x / (1 − tan²x), which also equals sin 2x / cos 2x.

2. What is the tan 2x formula?

The main form is tan 2x = 2tan x / (1 − tan²x). It can also be written as sin 2x / cos 2x, or as 2sin x cos x / (cos²x − sin²x).

3. What are the domain and range of tan 2x?

tan 2x is undefined wherever cos 2x = 0, so the domain is all real x except x = (2n + 1)π/4, where n is an integer. The range is all real numbers.

4. How do you differentiate tan 2x?

Use the chain rule: the derivative of tan u is sec²u, multiplied by the derivative of the inside, 2. So d/dx (tan 2x) = 2sec²(2x).

5. What is the integral of tan 2x?

∫ tan 2x dx = −½ ln|cos 2x| + C, or equivalently ½ ln|sec 2x| + C.

6. What is tan 2x in terms of sin x and cos x?

tan 2x = 2sin x cos x / (cos²x − sin²x).

7. What is tan square x?

Tan square x, written tan²x, is (tan x)². It can be written as sec²x − 1, sin²x / cos²x, or 1 / cot²x.

8. What is the difference between tan 2x and tan²x?

tan 2x is the tangent of the angle 2x and can be negative. tan²x is tan x squared and is never negative. Their key formulas are tan 2x = 2tan x / (1 − tan²x) and tan²x = sec²x − 1.

9. What is the period of tan 2x?

π/2 radians, or 90°, which is half the period of tan x.

10. How do you prove the tan 2x formula?

Put A = B = x in tan(A + B) = (tan A + tan B) / (1 − tan A tan B). Then tan 2x = tan(x + x) = 2tan x / (1 − tan²x).

Book Your Free Demo Class with MentorMatch

Double angle identities are easy to memorise and easy to misuse under exam pressure. A MentorMatch tutor works through IB-style trig equations, proofs and calculus questions with you, one-on-one, so you know which identity to reach for and why.

Book Your Free Demo Class with MentorMatch

Signup to start learning

Please enter a 10-digit phone number
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.