$\int \tan x\,dx$ equals
A$\log|\cos x|+C$
B$\sec^2 x+C$
C$\log|\sin x|+C$
D$\log|\sec x|+C$
Answer & Solution
Correct answer: D. $\log|\sec x|+C$
1. Write $\tan x=\dfrac{\sin x}{\cos x}$.
2. Put $t=\cos x$, $dt=-\sin x\,dx$.
3. Integral $=-\int \dfrac{dt}{t}=-\log|t|=-\log|\cos x|$.
4. Since $-\log|\cos x|=\log|\sec x|$, the answer is $\log|\sec x|+C$ (option A is the unsimplified negative).
_Source: NCERT Class 12 Mathematics Ch 7 "Integrals", p.300_
Related questions
When variables and numbers appear on both sides, you must simplify:Equations needing more than one operation are described as taking more:Once a solution is found, it should be checked by substituting it back to get a statement The product of any number and its reciprocal equals:A fraction multiplying the variable is best removed by multiplying by its:Solving x divided by 4 equals 3 gives x equal to:Solving 4x equals 20 gives x equal to:Solving x minus 8 equals 5 gives x equal to: