SOLVER7 Study. Nothing Else.
Chapter 7 Miscellaneous Examples Q39

Find \(\int\left[\sqrt{cot\ x}+\sqrt{tan\ x}\right]\ dx\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine two fractions that look messy on their own but combine into something tidy. Adding \( \sqrt{\cot x} \) and \( \sqrt{\tan x} \) is like that — together they simplify into a neat fraction. The top of that fraction turns out to be the exact derivative of a clever substitution. Once we swap in that substitution, the scary-looking integral becomes a simple inverse sine problem. It is like finding a hidden shortcut on a long road.

Answer: \[ \int \left( \sqrt{\cot x} + \sqrt{\tan x} \right) dx = \sqrt{2}\, \sin^{-1}(\sin x - \cos x) + C \]

📖 Integral of \( \sqrt{\cot x} + \sqrt{\tan x} \)

Detailed Explanation

This is a standard integral that looks difficult but becomes manageable once we combine the two terms over a common denominator. When we add \( \sqrt{\cot x} \) and \( \sqrt{\tan x} \), the numerator becomes \( \sin x + \cos x \). The key idea is to introduce the substitution \( t = \sin x - \cos x \), because its derivative \( \cos x + \sin x \) is exactly the numerator that appears. We also use the identity connecting \( \sin x \cos x \) with \( (\sin x - \cos x)^2 \), which lets us convert the whole expression into a simple standard form involving \( \frac{1}{\sqrt{2 - t^2}} \).

Formula Used

\[ \sqrt{\cot x} + \sqrt{\tan x} = \frac{\sin x + \cos x}{\sqrt{\sin x \cos x}} \] and \[ \int \frac{dt}{\sqrt{a^2 - t^2}} = \sin^{-1}\left(\frac{t}{a}\right) + C \]

Solution

  1. Step 1: Write both terms with sine and cosine. Since \( \sqrt{\cot x} = \dfrac{\sqrt{\cos x}}{\sqrt{\sin x}} \) and \( \sqrt{\tan x} = \dfrac{\sqrt{\sin x}}{\sqrt{\cos x}} \), we add them over a common denominator: \[ \sqrt{\cot x} + \sqrt{\tan x} = \frac{\cos x + \sin x}{\sqrt{\sin x \cos x}} \]
  2. Step 2: So the integral becomes \[ I = \int \frac{\sin x + \cos x}{\sqrt{\sin x \cos x}} \, dx \] Notice the numerator \( \sin x + \cos x \) is the derivative of \( \sin x - \cos x \), which suggests our substitution.
  3. Step 3: Let \( t = \sin x - \cos x \). Then \[ dt = (\cos x + \sin x) \, dx \] This matches the numerator, so \( (\sin x + \cos x)\, dx = dt \).
  4. Step 4: Convert the denominator using the square of the substitution: \[ t^2 = (\sin x - \cos x)^2 = \sin^2 x + \cos^2 x - 2\sin x \cos x \] Since \( \sin^2 x + \cos^2 x = 1 \), \[ t^2 = 1 - 2\sin x \cos x \] Therefore \[ 2\sin x \cos x = 1 - t^2 \] and so \[ \sin x \cos x = \frac{1 - t^2}{2} \]
  5. Step 5: Substitute into the integral. The denominator becomes \[ \sqrt{\sin x \cos x} = \sqrt{\frac{1 - t^2}{2}} = \frac{\sqrt{1 - t^2}}{\sqrt{2}} \] So \[ I = \int \frac{dt}{\dfrac{\sqrt{1 - t^2}}{\sqrt{2}}} = \sqrt{2} \int \frac{dt}{\sqrt{1 - t^2}} \]
  6. Step 6: Use the standard result \[ \int \frac{dt}{\sqrt{1 - t^2}} = \sin^{-1}(t) + C \] Hence \[ I = \sqrt{2}\, \sin^{-1}(t) + C \]
  7. Step 7: Replace \( t \) back with \( \sin x - \cos x \): \[ I = \sqrt{2}\, \sin^{-1}(\sin x - \cos x) + C \]

Final Answer

\[ \int \left( \sqrt{\cot x} + \sqrt{\tan x} \right) dx = \sqrt{2}\, \sin^{-1}(\sin x - \cos x) + C \]

Common Mistake

A common mistake is trying to integrate \( \sqrt{\cot x} \) and \( \sqrt{\tan x} \) separately, which is very difficult. The trick is to ADD them first, which produces the neat numerator \( \sin x + \cos x \) needed for the substitution. Students also often forget to write \( \sin x \cos x = \frac{1 - t^2}{2} \) correctly and drop the factor of \( \sqrt{2} \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite each radical in terms of sine and cosine: \( \sqrt{\cot x} = \dfrac{\sqrt{\cos x}}{\sqrt{\sin x}} \) and \( \sqrt{\tan x} = \dfrac{\sqrt{\sin x}}{\sqrt{\cos x}} \). Adding these over a common denominator \( \sqrt{\sin x \cos x} \) gives \[ \sqrt{\cot x} + \sqrt{\tan x} = \frac{\cos x + \sin x}{\sqrt{\sin x \cos x}} \] — Reason: A single unified fraction is much easier to integrate than two separate square roots.
  2. Step 2: Substitute the combined form into the integral: \[ I = \int \frac{\sin x + \cos x}{\sqrt{\sin x \cos x}} \, dx \] — Reason: This sets up the integral in a form where both the numerator and denominator can be handled by one substitution.
  3. Step 3: Let \( t = \sin x - \cos x \). Differentiating both sides with respect to \( x \) gives \( dt = (\cos x + \sin x) \, dx \), so \( (\sin x + \cos x) \, dx = dt \). — Reason: The numerator \( \sin x + \cos x \) of our integral is exactly the derivative of \( \sin x - \cos x \), making this substitution perfectly matched.
  4. Step 4: Rewrite the denominator using the substitution. Square \( t \): \[ t^2 = (\sin x - \cos x)^2 = 1 - 2\sin x \cos x \] so \( \sin x \cos x = \dfrac{1 - t^2}{2} \). Therefore \[ \sqrt{\sin x \cos x} = \sqrt{\frac{1 - t^2}{2}} = \frac{\sqrt{1 - t^2}}{\sqrt{2}} \] — Reason: Expressing \( \sin x \cos x \) entirely in terms of \( t \) completes the variable change in the denominator.
  5. Step 5: Substitute everything into the integral: \[ I = \int \frac{dt}{\dfrac{\sqrt{1 - t^2}}{\sqrt{2}}} = \sqrt{2} \int \frac{dt}{\sqrt{1 - t^2}} \] — Reason: After substitution, the integral collapses to a scalar multiple of the standard \( \int \dfrac{dt}{\sqrt{1-t^2}} \) form, which has a known closed form.
  6. Step 6: Apply the standard formula \( \displaystyle\int \frac{dt}{\sqrt{1 - t^2}} = \sin^{-1}(t) + C \): \[ I = \sqrt{2}\, \sin^{-1}(t) + C \] — Reason: This is a direct application of the inverse-sine integration formula with \( a = 1 \).
  7. Step 7: Replace \( t \) with the original substitution \( t = \sin x - \cos x \) to express the answer in terms of \( x \): \[ I = \sqrt{2}\, \sin^{-1}(\sin x - \cos x) + C \] — Reason: The final answer must be written in terms of the original variable \( x \), not the substitution variable \( t \).

Final Answer

\[ \int \left( \sqrt{\cot x} + \sqrt{\tan x} \right) dx = \sqrt{2}\, \sin^{-1}(\sin x - \cos x) + C \]

Common Mistake

One common mistake: forgetting to convert \( \sin x \cos x \) in the denominator using the identity \( (\sin x - \cos x)^2 = 1 - 2\sin x \cos x \) — without this step, students cannot complete the substitution and may incorrectly leave the denominator in mixed variables.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Combine terms: \[ \sqrt{\cot x} + \sqrt{\tan x} = \frac{\sqrt{\cos x}}{\sqrt{\sin x}} + \frac{\sqrt{\sin x}}{\sqrt{\cos x}} = \frac{\sin x + \cos x}{\sqrt{\sin x \cos x}} \]
  2. Step 2: Let \( t = \sin x - \cos x \), so \( dt = (\cos x + \sin x)\, dx \). Also, \( t^2 = 1 - 2\sin x \cos x \), giving \( \sin x \cos x = \dfrac{1 - t^2}{2} \).
  3. Step 3: Substitute into the integral: \[ I = \int \frac{dt}{\sqrt{\dfrac{1-t^2}{2}}} = \sqrt{2} \int \frac{dt}{\sqrt{1 - t^2}} = \sqrt{2}\, \sin^{-1}(t) + C \]
  4. Step 4: Back-substitute \( t = \sin x - \cos x \): \[ I = \sqrt{2}\, \sin^{-1}(\sin x - \cos x) + C \]

Answer: \[ \int \left( \sqrt{\cot x} + \sqrt{\tan x} \right) dx = \sqrt{2}\, \sin^{-1}(\sin x - \cos x) + C \]

➕ More Examples

More Examples

Example 1

Question: Evaluate \(\displaystyle\int \left[\sqrt{\tan x} - \sqrt{\cot x}\right] dx\).

Solution: We write the integrand in terms of \(\sin x\) and \(\cos x\). We have \(\sqrt{\tan x} = \sqrt{\frac{\sin x}{\cos x}}\) and \(\sqrt{\cot x} = \sqrt{\frac{\cos x}{\sin x}}\). So the integrand becomes: \[\sqrt{\frac{\sin x}{\cos x}} - \sqrt{\frac{\cos x}{\sin x}} = \frac{\sin x - \cos x}{\sqrt{\sin x \cos x}}\] Now, \(\sin x \cos x = \frac{\sin 2x}{2}\), so \(\sqrt{\sin x \cos x} = \frac{\sqrt{\sin 2x}}{\sqrt{2}}\). Thus the integral becomes: \[I = \int \frac{\sin x - \cos x}{\dfrac{\sqrt{\sin 2x}}{\sqrt{2}}} \, dx = \sqrt{2} \int \frac{\sin x - \cos x}{\sqrt{\sin 2x}} \, dx\] Note that \(\sin 2x = 1 - (\sin x - \cos x)^2\) since \((\sin x - \cos x)^2 = 1 - 2\sin x \cos x = 1 - \sin 2x\). Let \(t = \sin x - \cos x\), so \(dt = (\cos x + \sin x)\, dx\)... but here we have \(\sin x - \cos x\) in the numerator, not \(dt\). Actually, let us differentiate: if \(t = \sin x - \cos x\), then \(dt = (\cos x + \sin x)\, dx\). This does not directly match the numerator. Instead, let \(t = \cos x + \sin x\), so \(dt = (-\sin x + \cos x)\, dx = -(\sin x - \cos x)\, dx\). Then \((\sin x - \cos x)\, dx = -dt\). Also, \(t^2 = (\cos x + \sin x)^2 = 1 + 2\sin x\cos x = 1 + \sin 2x\), so \(\sin 2x = t^2 - 1\). Wait, we need \(\sin 2x\) under the square root to be positive. Let us check: the sign of \(\sin 2x - 1\) versus \(1 - \sin 2x\). Let us use the substitution \(u = \cos x - \sin x\), so \(du = (-\sin x - \cos x)\, dx = -(\sin x + \cos x)\, dx\). This still does not directly help. Let us try a direct approach. We have: \[I = \sqrt{2} \int \frac{\sin x - \cos x}{\sqrt{1 - (\cos x + \sin x)^2 + 1 - 1}} \, dx\] Since \(\sin 2x = 1 - (\sin x - \cos x)^2\), we write \(\sqrt{\sin 2x} = \sqrt{1 - (\sin x - \cos x)^2}\). Let \(t = \sin x - \cos x\), then \(dt = (\cos x + \sin x)\, dx\). This still doesn't match. Notice we need \((\sin x - \cos x)\, dx\) in the numerator. So we integrate: \[I = \sqrt{2} \int \frac{\sin x - \cos x}{\sqrt{1-(\sin x-\cos x)^2}} \, dx\] Let \(t = \sin x - \cos x\), so \(dt = (\cos x + \sin x)\, dx\). The numerator is \((\sin x - \cos x)\, dx = \frac{\sin x - \cos x}{\cos x + \sin x} dt\). This is circular. Let us instead try the substitution differently. Write: \[I = \sqrt{2} \int \frac{\sin x - \cos x}{\sqrt{\sin 2x}} \, dx\] Multiply numerator and denominator by \(\sqrt{2}\): \[I = 2 \int \frac{\sin x - \cos x}{\sqrt{2\sin 2x}} \, dx = 2 \int \frac{\sin x - \cos x}{\sqrt{4\sin x \cos x}} \, dx\] This does not simplify nicely either. Let us go back to: \[I = \sqrt{2} \int \frac{\sin x - \cos x}{\sqrt{1-(\sin x-\cos x)^2}} \, dx\] Now let \(u = \sin x - \cos x\). Then \(du = (\cos x + \sin x)\, dx\). We cannot directly get \(du\) from the numerator alone. However, we can write this integral as requiring \(\frac{du}{?}\). Let us set \(u = \cos x - \sin x\), so \(du = (-\sin x - \cos x)\, dx\), i.e., \(-(\sin x + \cos x)\, dx = du\). Note \(u^2 = (\cos x - \sin x)^2 = 1 - \sin 2x\), so \(\sin 2x = 1 - u^2\), and \(\sqrt{\sin 2x} = \sqrt{1-u^2}\). Also \(\sin x - \cos x = -u\). So the integral becomes: \[I = \sqrt{2} \int \frac{-u}{\sqrt{1-u^2}} \, \frac{du}{-(\sin x + \cos x)}\] But \((\sin x + \cos x) = \sqrt{1 + \sin 2x}\), which depends on \(x\), so this substitution alone is incomplete. Let us try a completely different approach using a standard substitution \(t = \sqrt{\tan x}\). Let \(t = \sqrt{\tan x}\), so \(t^2 = \tan x\) and \(2t\, dt = \sec^2 x\, dx = (1 + \tan^2 x)\, dx = (1 + t^4)\, dx\). Thus \(dx = \frac{2t\, dt}{1+t^4}\). Also, \(\sqrt{\cot x} = \frac{1}{t}\). The integral becomes: \[I = \int \left(t - \frac{1}{t}\right) \cdot \frac{2t\, dt}{1+t^4} = 2\int \frac{t^2 - 1}{t(1+t^4)} \cdot t\, dt = 2\int \frac{t^2-1}{1+t^4} \, dt\] Divide numerator and denominator by \(t^2\): \[I = 2\int \frac{1 - \frac{1}{t^2}}{\frac{1}{t^2}+t^2} \, dt\] Let \(u = t + \frac{1}{t}\), so \(du = \left(1 - \frac{1}{t^2}\right)dt\). Also \(t^2 + \frac{1}{t^2} = u^2 - 2\). The integral becomes: \[I = 2\int \frac{du}{u^2 - 2} = 2 \cdot \frac{1}{2\sqrt{2}} \ln\left|\frac{u - \sqrt{2}}{u + \sqrt{2}}\right| + C\] Substituting back \(u = t + \frac{1}{t} = \sqrt{\tan x} + \frac{1}{\sqrt{\tan x}} = \frac{\tan x + 1}{\sqrt{\tan x}}\): \[I = \frac{1}{\sqrt{2}} \ln\left|\frac{\sqrt{\tan x} + \cot\sqrt{\tan x} - \sqrt{2}}{\sqrt{\tan x} + \cot\sqrt{\tan x} + \sqrt{2}}\right| + C\] More neatly, with \(u = \sqrt{\tan x} + \sqrt{\cot x}\): \[I = \frac{1}{\sqrt{2}} \ln\left|\frac{u - \sqrt{2}}{u + \sqrt{2}}\right| + C\] where \(u = \sqrt{\tan x} + \sqrt{\cot x}\).

Answer: \[I = \frac{1}{\sqrt{2}} \ln\left|\frac{\sqrt{\tan x} + \sqrt{\cot x} - \sqrt{2}}{\sqrt{\tan x} + \sqrt{\cot x} + \sqrt{2}}\right| + C\]

Example 2

Question: Evaluate \(\displaystyle\int \left[\sqrt{\cot x} + \sqrt{\tan x}\right] dx\) by using the substitution \(t = \sqrt{\tan x}\) and simplify completely.

Solution: Let \(t = \sqrt{\tan x}\), so \(t^2 = \tan x\). Differentiating: \(2t\, dt = \sec^2 x\, dx = (1 + t^4)\, dx\), giving \(dx = \frac{2t\, dt}{1+t^4}\). Also, \(\sqrt{\cot x} = \frac{1}{\sqrt{\tan x}} = \frac{1}{t}\). So the integral becomes: \[I = \int\left(t + \frac{1}{t}\right) \cdot \frac{2t\, dt}{1+t^4} = 2\int \frac{t^2 + 1}{t(1+t^4)} \cdot t\, dt = 2\int \frac{t^2 + 1}{1+t^4} \, dt\] Divide numerator and denominator by \(t^2\): \[I = 2\int \frac{1 + \frac{1}{t^2}}{t^2 + \frac{1}{t^2}} \, dt\] Note that \(t^2 + \frac{1}{t^2} = \left(t - \frac{1}{t}\right)^2 + 2\). Let \(u = t - \frac{1}{t}\), so \(du = \left(1 + \frac{1}{t^2}\right)dt\). Then: \[I = 2\int \frac{du}{u^2 + 2} = 2 \cdot \frac{1}{\sqrt{2}} \tan^{-1}\left(\frac{u}{\sqrt{2}}\right) + C = \sqrt{2}\,\tan^{-1}\left(\frac{u}{\sqrt{2}}\right) + C\] Substituting back \(u = t - \frac{1}{t} = \sqrt{\tan x} - \sqrt{\cot x}\): \[I = \sqrt{2}\,\tan^{-1}\left(\frac{\sqrt{\tan x} - \sqrt{\cot x}}{\sqrt{2}}\right) + C\] This can also be written as: \[I = \sqrt{2}\,\tan^{-1}\left(\frac{\tan x - 1}{\sqrt{2\tan x}}\right) + C\]

Answer: \[I = \sqrt{2}\,\tan^{-1}\!\left(\frac{\sqrt{\tan x} - \sqrt{\cot x}}{\sqrt{2}}\right) + C\]

🎯 Try a Similar Question

Try a Similar Question

Question: Find \(\int \left( \sqrt{\tan x} - \sqrt{\cot x} \right) dx\).

Solution

  1. Step 1: Write the integrand using sine and cosine: Express both terms using \(\sin x\) and \(\cos x\): \[\sqrt{\tan x} - \sqrt{\cot x} = \sqrt{\frac{\sin x}{\cos x}} - \sqrt{\frac{\cos x}{\sin x}}\] Combining over a common denominator \(\sqrt{\sin x \cos x}\): \[= \frac{\sin x - \cos x}{\sqrt{\sin x \cos x}}\]
  2. Step 2: Rewrite the denominator: Use the identity \(2\sin x \cos x = \sin 2x\), so \(\sin x \cos x = \dfrac{\sin 2x}{2}\). Thus the integral becomes: \[I = \int \frac{\sin x - \cos x}{\sqrt{\dfrac{\sin 2x}{2}}} \, dx = \sqrt{2} \int \frac{\sin x - \cos x}{\sqrt{\sin 2x}} \, dx\]
  3. Step 3: Express sin 2x in terms of (sin x + cos x): Notice that \((\sin x + \cos x)^2 = 1 + 2\sin x \cos x = 1 + \sin 2x\), so \(\sin 2x = (\sin x + \cos x)^2 - 1\). Substituting: \[I = \sqrt{2} \int \frac{\sin x - \cos x}{\sqrt{(\sin x + \cos x)^2 - 1}} \, dx\]
  4. Step 4: Apply the substitution: Let \(t = \sin x + \cos x\). Then \(\dfrac{dt}{dx} = \cos x - \sin x\), so \(dt = (\cos x - \sin x)\, dx\), which means \((\sin x - \cos x)\, dx = -\, dt\). The integral becomes: \[I = \sqrt{2} \int \frac{-\, dt}{\sqrt{t^2 - 1}}\] which simplifies to: \[I = -\sqrt{2} \int \frac{dt}{\sqrt{t^2 - 1}}\]
  5. Step 5: Integrate using the standard formula: Recall the standard result \(\displaystyle\int \frac{dt}{\sqrt{t^2 - 1}} = \cosh^{-1}(t) + C\), which in logarithmic form is \(\ln\left|t + \sqrt{t^2 - 1}\right| + C\). Therefore: \[I = -\sqrt{2}\, \ln\left|t + \sqrt{t^2 - 1}\right| + C\]
  6. Step 6: Back-substitute: Replace \(t = \sin x + \cos x\) and note that \(t^2 - 1 = \sin 2x\): \[I = -\sqrt{2}\, \ln\left|\sin x + \cos x + \sqrt{\sin 2x}\right| + C\]

Answer: \[\int \left( \sqrt{\tan x} - \sqrt{\cot x} \right) dx = -\sqrt{2}\, \ln\left|\sin x + \cos x + \sqrt{\sin 2x}\right| + C\]

Everything you get with Solver7

More questions in Integrals

Chapter 7 Examples Q1(i) 65/2/2 2023 / Section A Q1 Chapter 7 Examples Q1(ii) 65/2/1 2022 / Section A Q2(a) Chapter 7 Examples Q1(iii) 65/2/1 2022 / Section A Q2(b) Chapter 7 Examples Q2(i) Chapter 7 Examples Q2(ii) 65/1/1 2023 / Section A Q5 Chapter 7 Examples Q2(iii) 65/1/1 2023 / Section A Q6 65/1/1 2024 / Section A Q6 65/2/1 2024 / Section A Q6 65/3/1 2023 / Section A Q6 65/3/1 2024 / Section A Q6 Chapter 7 Examples Q3(i) 65/3/1 2023 / Section A Q7 Chapter 7 Examples Q3(ii) 65(B) 2026 / Section A Q8 65/1/1 2026 / Section A Q8 65/4/1 2022 / Section A Q6 65/4/1 2023 / Section A Q8 65/4/2 2024 / Section A Q8 Chapter 7 Examples Q3(iii) 65(B) 2026 / Section A Q9 65/1/1 2026 / Section A Q9 65/2/1 2022 / Section B Q8(a) 65/2/2 2023 / Section A Q9 65/4/1 2022 / Section B Q7 65/4/1 2023 / Section A Q9 65/4/1 2026 / Section A Q9 Chapter 7 Examples Q4 65/2/1 2022 / Section B Q8(b) 65/3/1 2026 / Section A Q10 65/4/1 2022 / Section B Q8(a) 65/4/1 2026 / Section A Q10 65/5/1 2026 / Section A Q10 Chapter 7 Examples Q5(i) 65/3/1 2026 / Section A Q11 65/4/1 2022 / Section B Q8(b) 65/5/1 2026 / Section A Q11 Chapter 7 Examples Q5(ii) 65/2/3 2026 / Section A Q12 Chapter 7 Examples Q5(iii) Chapter 7 Examples Q5(iv) Chapter 7 Examples Q6(i) 65/2/1 2022 / Section C Q12 Chapter 7 Examples Q6(ii) Chapter 7 Examples Q6(iii) Chapter 7 Examples Q7(i) 65/4/1 2022 / Section C Q13 Chapter 7 Examples Q7(ii) Chapter 7 Examples Q7(iii) Chapter 7 Examples Q8(i) Chapter 7 Examples Q8(ii) Chapter 7 Examples Q9(i) Chapter 7 Examples Q9(ii) 65/1/1 2024 / Section B Q23(a) 65/3/1 2024 / Section B Q23(a) Chapter 7 Examples Q9(iii)