Find the following integrals: \(\int \dfrac{1}{1+tan\ x}dx\)
CBSE Class 12 Maths · Integrals
CBSE Class 12 Maths · Integrals
Imagine you have a messy fraction and want to tidy it up. We swap the tangent for sine over cosine, turning a tricky problem into something friendlier. The new fraction has a bottom part, and we notice its close cousin hiding at the top. We cleverly split the top into two equal halves — one matching the bottom exactly, one matching how the bottom changes. Each half becomes an easy integral on its own, giving us a simple piece plus a logarithm piece.
Answer: \[ \int \frac{1}{1+\tan x}\, dx = \frac{x}{2} + \frac{1}{2}\ln|\sin x + \cos x| + C. \]
The integrand \( \dfrac{1}{1+\tan x} \) is awkward because it mixes 1 with a tangent. A standard strategy in Class 12 integration is to convert tangent into \( \dfrac{\sin x}{\cos x} \). This turns the expression into \( \dfrac{\cos x}{\cos x + \sin x} \). Now the denominator is \( \cos x + \sin x \), whose derivative is \( \cos x - \sin x \). So we cleverly split the numerator \( \cos x \) into a part matching the denominator plus a part matching its derivative. This lets us break the integral into one easy piece and one logarithmic piece.
\[ \int \frac{f'(x)}{f(x)}\, dx = \ln|f(x)| + C \] and \( \tan x = \dfrac{\sin x}{\cos x} \)
\[ \int \frac{1}{1+\tan x}\, dx = \frac{x}{2} + \frac{1}{2}\ln|\sin x + \cos x| + C. \]
A common mistake is trying to integrate \( \dfrac{1}{1+\tan x} \) directly as if it were \( \ln|1+\tan x| \). That is wrong because the derivative of the denominator is not the numerator. You must first convert \( \tan x \) into \( \dfrac{\sin x}{\cos x} \) and then split the numerator.
\[ \int \frac{1}{1+\tan x}\, dx = \frac{x}{2} + \frac{1}{2}\ln|\sin x + \cos x| + C. \]
One common mistake: Students often forget to account for the negative sign when differentiating the denominator \( \cos x + \sin x \), incorrectly writing its derivative as \( \sin x + \cos x \) instead of \( \cos x - \sin x \), which leads to wrong values of \( A \) and \( B \) and an incorrect final answer.
Answer: \[ \int \frac{1}{1+\tan x}\, dx = \frac{x}{2} + \frac{1}{2}\ln|\sin x + \cos x| + C. \]
Question: Evaluate \( \int \frac{1}{1 + \cot x} \, dx \).
Solution: We start by rewriting \( \cot x \) in terms of \( \sin x \) and \( \cos x \). We have \[ \frac{1}{1 + \cot x} = \frac{1}{1 + \frac{\cos x}{\sin x}} = \frac{\sin x}{\sin x + \cos x}. \] So the integral becomes \[ I = \int \frac{\sin x}{\sin x + \cos x} \, dx. \] We write the numerator \( \sin x \) as a linear combination of the denominator \( (\sin x + \cos x) \) and its derivative \( (\cos x - \sin x) \). Let \[ \sin x = A(\sin x + \cos x) + B(\cos x - \sin x). \] Expanding the right side: \[ \sin x = (A - B)\sin x + (A + B)\cos x. \] Comparing coefficients of \( \sin x \): \[ A - B = 1. \] Comparing coefficients of \( \cos x \): \[ A + B = 0. \] Adding both equations: \[ 2A = 1 \Rightarrow A = \frac{1}{2}. \] Subtracting: \[ 2B = -1 \Rightarrow B = -\frac{1}{2}. \] Therefore \[ I = \int \frac{\frac{1}{2}(\sin x + \cos x) + \left(-\frac{1}{2}\right)(\cos x - \sin x)}{\sin x + \cos x} \, dx. \] Splitting: \[ I = \frac{1}{2}\int 1 \, dx - \frac{1}{2}\int \frac{\cos x - \sin x}{\sin x + \cos x} \, dx. \] For the second integral, notice that the numerator \( \cos x - \sin x \) is exactly the derivative of the denominator \( \sin x + \cos x \). So \[ \int \frac{\cos x - \sin x}{\sin x + \cos x} \, dx = \ln |\sin x + \cos x| + C. \] Hence \[ I = \frac{1}{2}x - \frac{1}{2}\ln |\sin x + \cos x| + C. \]
Answer: \[ \int \frac{1}{1 + \cot x} \, dx = \frac{x}{2} - \frac{1}{2}\ln |\sin x + \cos x| + C \]
Question: Evaluate \( \int \frac{\cos x}{\cos x + \sin x} \, dx \).
Solution: Let \[ I = \int \frac{\cos x}{\cos x + \sin x} \, dx. \] We write the numerator \( \cos x \) as a linear combination of the denominator \( (\cos x + \sin x) \) and its derivative \( (-\sin x + \cos x) \). Let \[ \cos x = A(\cos x + \sin x) + B(-\sin x + \cos x). \] Expanding: \[ \cos x = (A + B)\cos x + (A - B)\sin x. \] Comparing coefficients of \( \cos x \): \[ A + B = 1. \] Comparing coefficients of \( \sin x \): \[ A - B = 0. \] Adding: \[ 2A = 1 \Rightarrow A = \frac{1}{2}. \] Subtracting: \[ 2B = 1 \Rightarrow B = \frac{1}{2}. \] So \[ I = \int \frac{\frac{1}{2}(\cos x + \sin x) + \frac{1}{2}(-\sin x + \cos x)}{\cos x + \sin x} \, dx. \] Splitting into two integrals: \[ I = \frac{1}{2}\int 1 \, dx + \frac{1}{2}\int \frac{-\sin x + \cos x}{\cos x + \sin x} \, dx. \] The numerator \( -\sin x + \cos x \) is the derivative of \( \cos x + \sin x \). Therefore \[ \int \frac{-\sin x + \cos x}{\cos x + \sin x} \, dx = \ln |\cos x + \sin x| + C. \] Hence \[ I = \frac{1}{2}x + \frac{1}{2}\ln |\cos x + \sin x| + C. \]
Answer: \[ \int \frac{\cos x}{\cos x + \sin x} \, dx = \frac{x}{2} + \frac{1}{2}\ln |\cos x + \sin x| + C \]
Question: Find the integral: \[ \int \frac{1}{1 + \cot x} \, dx \]
Answer: \[ \int \frac{1}{1 + \cot x} \, dx = \frac{x}{2} - \frac{1}{2}\ln|\sin x + \cos x| + C \]