Skip to content
Exercise 7.8 · Q7

Q.Evaluate the definite integral: ∫0π/4tan⁡x dx\int_0^{\pi/4} \tan x \ dx

Telangana TsbieTextbookSubjective· 2mImportance★★★★★est
53% · 199/373 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The integral ∫0π/4tan⁡x dx\int_0^{\pi/4} \tan x \, dx is solved by rewriting tan⁡x\tan x as sin⁡xcos⁡x\frac{\sin x}{\cos x} and using the substitution u=cos⁡xu = \cos x, which transforms the integral into a standard logarithmic form. The final value is 12log⁡2\frac{1}{2} \log 2.

Why This Approach Works

The integral of tan⁡x\tan x is a classic example where direct integration isn't obvious, but a simple substitution makes it clean. The key insight is that tan⁡x=sin⁡xcos⁡x\tan x = \frac{\sin x}{\cos x}, and the derivative of cos⁡x\cos x is −sin⁡x-\sin x — which appears in the numerator. This suggests a uu-substitution with u=cos⁡xu = \cos x, turning the integral into ∫−duu\int \frac{-du}{u}, a standard logarithmic form.

The limits 00 to π/4\pi/4 are chosen because tan⁡x\tan x is well-behaved there (no vertical asymptotes), and the result simplifies nicely to a neat logarithmic value.

Step-by-Step Solution

  1. Rewrite the integrand Start by expressing tan⁡x\tan x in terms of sine and cosine:

∫0π/4tan⁡x dx=∫0π/4sin⁡xcos⁡x dx\int_0^{\pi/4} \tan x \, dx = \int_0^{\pi/4} \frac{\sin x}{\cos x} \, dx

  1. Choose a substitution

    Let u=cos⁡xu = \cos x. Then du=−sin⁡x dxdu = -\sin x \, dx, so sin⁡x dx=−du\sin x \, dx = -du. This substitution works because the numerator sin⁡x dx\sin x \, dx is exactly the differential of cos⁡x\cos x (up to a sign).

  2. Change the limits of integration

    When x=0x = 0, u=cos⁡0=1u = \cos 0 = 1.

    When x=π/4x = \pi/4, u=cos⁡(π/4)=22u = \cos(\pi/4) = \frac{\sqrt{2}}{2}.

    The upper limit becomes smaller than the lower limit — this is fine; we'll handle it with the sign.

  3. Transform the integral

    Substitute everything:

∫x=0x=π/4sin⁡xcos⁡x dx=∫u=1u=2/21u⋅(−du)=−∫12/2duu\int_{x=0}^{x=\pi/4} \frac{\sin x}{\cos x} \, dx = \int_{u=1}^{u=\sqrt{2}/2} \frac{1}{u} \cdot (-du) = -\int_{1}^{\sqrt{2}/2} \frac{du}{u}

  1. Reverse the limits to simplify The negative sign can be absorbed by swapping the limits:

−∫12/2duu=∫2/21duu-\int_{1}^{\sqrt{2}/2} \frac{du}{u} = \int_{\sqrt{2}/2}^{1} \frac{du}{u}

  1. Integrate …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.