SOLVER7 Study. Nothing Else.
Exercise 7.8 Q7

Evaluate the definite integrals in Exercises 1 to 20. \(\int^{\small\dfrac{\pi}{4}}_0\ tan\ x\ dx\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you want to measure how much something grows over a journey from start to finish. The function \( \tan x \) is like a speed that changes along the way. To find the total, we reverse-engineer a formula that, when worked backwards, gives us \( \tan x \). That reverse formula turns out to involve a logarithm of cosine. Plugging in the start and end of the journey and subtracting gives the total, which neatly simplifies to \( \log\sqrt{2} \).

Answer: \[ \int_0^{\pi/4} \tan x \, dx = \log\sqrt{2} = \frac{1}{2}\log 2. \]

📖 Definite Integral of tan x from 0 to pi/4

Detailed Explanation

To evaluate a definite integral like \( \int_0^{\pi/4} \tan x \, dx \), we first find an antiderivative of the function \( \tan x \), then apply the Fundamental Theorem of Calculus. The function \( \tan x \) does not have an obvious standard antiderivative, so we rewrite it as \( \dfrac{\sin x}{\cos x} \). This form allows us to use a substitution that turns the integral into a standard logarithmic form. Recall the important result \( \int \tan x \, dx = -\log|\cos x| + C = \log|\sec x| + C \). Once the antiderivative is known, we substitute the upper and lower limits and subtract.

Formula Used

\[ \int \tan x \, dx = -\log|\cos x| + C \] and by the Fundamental Theorem of Calculus \[ \int_a^b f(x)\, dx = F(b) - F(a) \] where \( F \) is an antiderivative of \( f \).

Solution

  1. Step 1: Write \( \tan x \) in terms of sine and cosine so that a substitution becomes possible: \[ \int_0^{\pi/4} \tan x \, dx = \int_0^{\pi/4} \frac{\sin x}{\cos x} \, dx. \]
  2. Step 2: Find the antiderivative. Let \( t = \cos x \), so \( dt = -\sin x \, dx \), which gives \( \sin x \, dx = -dt \). Then \[ \int \frac{\sin x}{\cos x} \, dx = \int \frac{-dt}{t} = -\log|t| + C = -\log|\cos x| + C. \]
  3. Step 3: Apply the Fundamental Theorem of Calculus using the limits \( 0 \) and \( \dfrac{\pi}{4} \): \[ \int_0^{\pi/4} \tan x \, dx = \left[ -\log|\cos x| \right]_0^{\pi/4}. \]
  4. Step 4: Substitute the upper and lower limits. At \( x = \dfrac{\pi}{4} \), \( \cos\dfrac{\pi}{4} = \dfrac{1}{\sqrt{2}} \), and at \( x = 0 \), \( \cos 0 = 1 \): \[ = -\log\left|\frac{1}{\sqrt{2}}\right| - \left(-\log|1|\right). \]
  5. Step 5: Simplify using \( \log 1 = 0 \) and \( \log\dfrac{1}{\sqrt{2}} = -\log\sqrt{2} \): \[ = -\left(-\log\sqrt{2}\right) - 0 = \log\sqrt{2}. \] Writing \( \sqrt{2} = 2^{1/2} \) gives \[ \log\sqrt{2} = \frac{1}{2}\log 2. \]

Final Answer

\[ \int_0^{\pi/4} \tan x \, dx = \log\sqrt{2} = \frac{1}{2}\log 2. \]

Common Mistake

A common mistake is forgetting the negative sign in the antiderivative and writing \( \int \tan x \, dx = \log|\cos x| \) instead of \( -\log|\cos x| \). This flips the sign of the final answer. Always remember that the derivative of \( \cos x \) is \( -\sin x \), which produces the negative sign.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite the integrand by expressing \( \tan x \) as a ratio of sine and cosine: \[ \int_0^{\pi/4} \tan x \, dx = \int_0^{\pi/4} \frac{\sin x}{\cos x} \, dx \] — Reason: Writing \( \tan x = \dfrac{\sin x}{\cos x} \) reveals the structure needed to apply a substitution, since the numerator \( \sin x \) is (up to a sign) the derivative of the denominator \( \cos x \).
  2. Step 2: Apply the substitution \( t = \cos x \), so that \( \dfrac{dt}{dx} = -\sin x \), which gives \( \sin x \, dx = -dt \). The indefinite integral becomes: \[ \int \frac{\sin x}{\cos x} \, dx = \int \frac{-dt}{t} = -\log|t| + C = -\log|\cos x| + C \] — Reason: This substitution converts the integral into the standard form \( \int \dfrac{1}{t} \, dt \), whose antiderivative is \( \log|t| \), a known result.
  3. Step 3: Apply the Fundamental Theorem of Calculus by evaluating the antiderivative at the upper and lower limits: \[ \int_0^{\pi/4} \tan x \, dx = \left[ -\log|\cos x| \right]_0^{\pi/4} \] — Reason: Once the antiderivative \( F(x) = -\log|\cos x| \) is known, the definite integral equals \( F\!\left(\dfrac{\pi}{4}\right) - F(0) \).
  4. Step 4: Compute the value at the upper limit \( x = \dfrac{\pi}{4} \). Since \( \cos\dfrac{\pi}{4} = \dfrac{1}{\sqrt{2}} \): \[ -\log\left|\cos\frac{\pi}{4}\right| = -\log\frac{1}{\sqrt{2}} = \log\sqrt{2} \] — Reason: Using the log property \( -\log\dfrac{1}{a} = \log a \) simplifies the expression at the upper limit.
  5. Step 5: Compute the value at the lower limit \( x = 0 \). Since \( \cos 0 = 1 \): \[ -\log|\cos 0| = -\log 1 = 0 \] — Reason: \( \log 1 = 0 \), so the lower limit contributes nothing to the final result.
  6. Step 6: Subtract the lower-limit value from the upper-limit value and simplify using the logarithm power rule \( \log\sqrt{2} = \dfrac{1}{2}\log 2 \): \[ \log\sqrt{2} - 0 = \log\sqrt{2} = \frac{1}{2}\log 2 \] — Reason: The power rule of logarithms, \( \log a^n = n\log a \), lets us write the answer in an equivalent simplified form.

Final Answer

\[ \int_0^{\pi/4} \tan x \, dx = \log\sqrt{2} = \frac{1}{2}\log 2. \]

Common Mistake

One common mistake: forgetting the negative sign when integrating — writing \( \int \dfrac{\sin x}{\cos x} \, dx = \log|\cos x| + C \) instead of \( -\log|\cos x| + C \). The substitution \( t = \cos x \) gives \( dt = -\sin x \, dx \), so the negative sign must be carried through; omitting it leads to the wrong sign in the final answer.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Antiderivative: \[ \int_0^{\pi/4} \tan x \, dx = \left[ -\log|\cos x| \right]_0^{\pi/4} \]
  2. Step 2: Substitute limits using \( \cos\dfrac{\pi}{4} = \dfrac{1}{\sqrt{2}} \) and \( \cos 0 = 1 \): \[ = -\log\frac{1}{\sqrt{2}} + \log 1 = \log\sqrt{2} + 0 \]

Answer: \[ \int_0^{\pi/4} \tan x \, dx = \log\sqrt{2} = \frac{1}{2}\log 2. \]

➕ More Examples

More Examples

Example 1

Question: Evaluate the definite integral \[\int_0^{\pi/4} \cot x \, dx\]

Solution: We need to evaluate \(\int_0^{\pi/4} \cot x \, dx\). Recall that \(\cot x = \dfrac{\cos x}{\sin x}\), and the standard antiderivative is \(\int \cot x \, dx = \ln|\sin x| + C\). Applying the Fundamental Theorem of Calculus: \[\int_0^{\pi/4} \cot x \, dx = \Big[\ln|\sin x|\Big]_0^{\pi/4}\] Substituting the upper limit \(x = \dfrac{\pi}{4}\): \[\ln\left|\sin\frac{\pi}{4}\right| = \ln\left|\frac{1}{\sqrt{2}}\right| = \ln\left(\frac{1}{\sqrt{2}}\right) = -\frac{1}{2}\ln 2\] Substituting the lower limit \(x = 0\): \[\ln|\sin 0| = \ln 0\] Notice that \(\ln|\sin x| \to -\infty\) as \(x \to 0^+\), so the integral is improper at the lower limit. We evaluate it as a limit: \[\lim_{t \to 0^+} \Big[\ln|\sin x|\Big]_t^{\pi/4} = \left(-\frac{1}{2}\ln 2\right) - \lim_{t \to 0^+} \ln|\sin t|\] Since \(\lim_{t \to 0^+} \ln|\sin t| = -\infty\), the integral diverges. Therefore, this integral does not converge. Let us instead use the interval \(\left[\dfrac{\pi}{6}, \dfrac{\pi}{3}\right]\) where \(\cot x\) is well-defined and continuous: \[\int_{\pi/6}^{\pi/3} \cot x \, dx = \Big[\ln|\sin x|\Big]_{\pi/6}^{\pi/3}\] Substituting \(x = \dfrac{\pi}{3}\): \(\sin\dfrac{\pi}{3} = \dfrac{\sqrt{3}}{2}\), so the value is \(\ln\dfrac{\sqrt{3}}{2}\). Substituting \(x = \dfrac{\pi}{6}\): \(\sin\dfrac{\pi}{6} = \dfrac{1}{2}\), so the value is \(\ln\dfrac{1}{2}\). Therefore: \[\int_{\pi/6}^{\pi/3} \cot x \, dx = \ln\frac{\sqrt{3}}{2} - \ln\frac{1}{2} = \ln\left(\frac{\sqrt{3}/2}{1/2}\right) = \ln\sqrt{3} = \frac{1}{2}\ln 3\]

Answer: \(\dfrac{1}{2}\ln 3\)

Example 2

Question: Evaluate the definite integral \[\int_0^{\pi/3} \sec^2 x \, dx\]

Solution: We need to evaluate \(\int_0^{\pi/3} \sec^2 x \, dx\). Recall the standard antiderivative: \(\int \sec^2 x \, dx = \tan x + C\). Applying the Fundamental Theorem of Calculus: \[\int_0^{\pi/3} \sec^2 x \, dx = \Big[\tan x\Big]_0^{\pi/3}\] Substituting the upper limit \(x = \dfrac{\pi}{3}\): \[\tan\frac{\pi}{3} = \sqrt{3}\] Substituting the lower limit \(x = 0\): \[\tan 0 = 0\] Therefore: \[\int_0^{\pi/3} \sec^2 x \, dx = \sqrt{3} - 0 = \sqrt{3}\]

Answer: \(\sqrt{3}\)

🎯 Try a Similar Question

Try a Similar Question

Question: Evaluate the definite integral \[\int_{\pi/6}^{\pi/2} \cot x \, dx.\]

Solution

  1. Step 1: Recall the antiderivative of cot x: We know that \(\cot x = \dfrac{\cos x}{\sin x}\). Using the standard result, \[\int \cot x \, dx = \log|\sin x| + C.\]
  2. Step 2: Apply the Fundamental Theorem of Calculus: Using the limits \(x = \dfrac{\pi}{6}\) to \(x = \dfrac{\pi}{2}\), we write \[\int_{\pi/6}^{\pi/2} \cot x \, dx = \Big[\log|\sin x|\Big]_{\pi/6}^{\pi/2}.\]
  3. Step 3: Substitute the upper limit: At \(x = \dfrac{\pi}{2}\), we have \(\sin\dfrac{\pi}{2} = 1\), so \(\log|\sin\dfrac{\pi}{2}| = \log 1 = 0\).
  4. Step 4: Substitute the lower limit: At \(x = \dfrac{\pi}{6}\), we have \(\sin\dfrac{\pi}{6} = \dfrac{1}{2}\), so \(\log|\sin\dfrac{\pi}{6}| = \log\dfrac{1}{2} = -\log 2\).
  5. Step 5: Compute the final value: Subtracting the lower limit value from the upper limit value, \[\int_{\pi/6}^{\pi/2} \cot x \, dx = 0 - (-\log 2) = \log 2.\]

Answer: \[\int_{\pi/6}^{\pi/2} \cot x \, dx = \log 2.\]

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)