SOLVER7 Study. Nothing Else.
Exercise 7.10 Q15

By using the properties of definite integrals, evaluate the integrals in Exercises 1 to 19.\(\int^{\small\dfrac{\pi}{2}}_0\dfrac{sin\ x-cos\ x}{1+sin\ x\ cos\ x}dx\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine a seesaw that is perfectly balanced. On one side you have something positive, and on the other side you have something equally negative. When you add both sides together, you get zero. This integral works like that seesaw. A clever trick lets us swap sine and cosine inside the integral, which flips the sign of the whole expression. Adding the original version and the flipped version gives exactly zero, so the integral equals zero without any heavy calculation needed.

Answer: \[\int_0^{\frac{\pi}{2}} \frac{\sin x - \cos x}{1 + \sin x \cos x}\, dx = 0.\]

📖 Evaluating a Definite Integral Using Properties

Detailed Explanation

One of the most useful properties of definite integrals is the King's Rule, which states that \[\int_0^a f(x)\, dx = \int_0^a f(a-x)\, dx.\] This property lets us replace \(x\) with \(a-x\) inside the integral without changing its value. It is especially powerful when the integrand contains \(\sin x\) and \(\cos x\), because replacing \(x\) with \(\frac{\pi}{2}-x\) swaps sine and cosine. If, after applying the property, the transformed integrand becomes the negative of the original, then adding the two forms gives zero, which immediately shows the integral is zero.

Formula Used

\[\int_0^a f(x)\, dx = \int_0^a f(a-x)\, dx\] with \(\sin\left(\frac{\pi}{2}-x\right)=\cos x\) and \(\cos\left(\frac{\pi}{2}-x\right)=\sin x\).

Solution

  1. Step 1: Let the given integral be \(I\). \[I = \int_0^{\frac{\pi}{2}} \frac{\sin x - \cos x}{1 + \sin x \cos x}\, dx.\] Here the upper limit is \(a = \frac{\pi}{2}\).
  2. Step 2: Apply the King's property \[\int_0^a f(x)\, dx = \int_0^a f(a-x)\, dx\] by replacing \(x\) with \(\frac{\pi}{2}-x\). \[I = \int_0^{\frac{\pi}{2}} \frac{\sin\left(\frac{\pi}{2}-x\right) - \cos\left(\frac{\pi}{2}-x\right)}{1 + \sin\left(\frac{\pi}{2}-x\right)\cos\left(\frac{\pi}{2}-x\right)}\, dx.\]
  3. Step 3: Use the identities \(\sin\left(\frac{\pi}{2}-x\right)=\cos x\) and \(\cos\left(\frac{\pi}{2}-x\right)=\sin x\). The product \(\sin x \cos x\) stays the same because \(\cos x \cdot \sin x = \sin x \cos x\). \[I = \int_0^{\frac{\pi}{2}} \frac{\cos x - \sin x}{1 + \sin x \cos x}\, dx.\]
  4. Step 4: Notice that the new numerator \(\cos x - \sin x\) is exactly the negative of the original numerator \(\sin x - \cos x\). So \[I = -\int_0^{\frac{\pi}{2}} \frac{\sin x - \cos x}{1 + \sin x \cos x}\, dx = -I.\]
  5. Step 5: From \(I = -I\), add \(I\) to both sides to get \(2I = 0\). Therefore \[I = 0.\]

Final Answer

\[\int_0^{\frac{\pi}{2}} \frac{\sin x - \cos x}{1 + \sin x \cos x}\, dx = 0.\]

Common Mistake

A common mistake is forgetting that \(\cos x - \sin x = -(\sin x - \cos x)\), and instead treating the transformed integral as equal to the original. This misses the crucial sign change that leads to \(I = -I\) and hence \(I = 0\).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Name the integral \( I \) for convenience: \[ I = \int_0^{\frac{\pi}{2}} \frac{\sin x - \cos x}{1 + \sin x \cos x}\, dx. \] Reason: Labelling the integral \( I \) lets us set up an equation later when we add two equivalent expressions together.
  2. Step 2: Apply King's Property by substituting \( x \mapsto \frac{\pi}{2} - x \) throughout the integrand (the limits \( 0 \) and \( \frac{\pi}{2} \) stay unchanged): \[ I = \int_0^{\frac{\pi}{2}} \frac{\sin\!\left(\frac{\pi}{2} - x\right) - \cos\!\left(\frac{\pi}{2} - x\right)}{1 + \sin\!\left(\frac{\pi}{2} - x\right)\cos\!\left(\frac{\pi}{2} - x\right)}\, dx. \] Reason: King's Property guarantees that replacing \( x \) with \( a - x \) (here \( a = \frac{\pi}{2} \)) does not change the value of the integral, so the new expression is still equal to \( I \).
  3. Step 3: Use the complementary-angle identities \( \sin\!\left(\frac{\pi}{2} - x\right) = \cos x \) and \( \cos\!\left(\frac{\pi}{2} - x\right) = \sin x \) to simplify the integrand. Notice also that the product in the denominator becomes \( \cos x \cdot \sin x = \sin x \cos x \), which is identical to the original denominator: \[ I = \int_0^{\frac{\pi}{2}} \frac{\cos x - \sin x}{1 + \sin x \cos x}\, dx. \] Reason: Applying these identities converts every trigonometric expression involving \( \frac{\pi}{2} - x \) back into plain sine and cosine of \( x \), making the pattern visible.
  4. Step 4: Observe that the numerator in Step 3 is exactly the negative of the numerator in Step 1, while the denominator is the same. So the transformed integrand equals \( -\,\dfrac{\sin x - \cos x}{1 + \sin x \cos x} \). Add the expression from Step 1 and the expression from Step 3: \[ I + I = \int_0^{\frac{\pi}{2}} \frac{\sin x - \cos x}{1 + \sin x \cos x}\, dx + \int_0^{\frac{\pi}{2}} \frac{\cos x - \sin x}{1 + \sin x \cos x}\, dx. \] Reason: Both integrals equal \( I \), so their sum equals \( 2I \); combining them into one integral will show the numerators cancel.
  5. Step 5: Combine the two integrals under a single integral sign and simplify the numerator: \[ 2I = \int_0^{\frac{\pi}{2}} \frac{(\sin x - \cos x) + (\cos x - \sin x)}{1 + \sin x \cos x}\, dx = \int_0^{\frac{\pi}{2}} \frac{0}{1 + \sin x \cos x}\, dx = 0. \] Reason: The numerators are exact opposites, so they cancel to zero, making the entire integrand identically zero.
  6. Step 6: Solve for \( I \) from \( 2I = 0 \): \[ I = 0. \] Reason: Dividing both sides by 2 gives the final value of the definite integral.

Final Answer

\[\int_0^{\frac{\pi}{2}} \frac{\sin x - \cos x}{1 + \sin x \cos x}\, dx = 0.\]

Common Mistake

One common mistake: forgetting that the denominator \( 1 + \sin x \cos x \) also changes when \( x \) is replaced by \( \frac{\pi}{2} - x \) — students sometimes assume it changes, when in fact \( \cos x \cdot \sin x = \sin x \cos x \) keeps it identical, which is exactly why the cancellation in the numerator is the only change that matters.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Let \[I = \int_0^{\frac{\pi}{2}} \frac{\sin x - \cos x}{1 + \sin x \cos x}\, dx\]
  2. Step 2: Apply King's Rule with \(a = \dfrac{\pi}{2}\), replacing \(x\) with \(\dfrac{\pi}{2} - x\), and using \(\sin\!\left(\dfrac{\pi}{2}-x\right)=\cos x\), \(\cos\!\left(\dfrac{\pi}{2}-x\right)=\sin x\): \[I = \int_0^{\frac{\pi}{2}} \frac{\cos x - \sin x}{1 + \sin x \cos x}\, dx\]
  3. Step 3: Adding both expressions for \(I\): \[2I = \int_0^{\frac{\pi}{2}} \frac{(\sin x - \cos x) + (\cos x - \sin x)}{1 + \sin x \cos x}\, dx = \int_0^{\frac{\pi}{2}} 0\, dx = 0\] So \(I = 0\).

Answer: \[\int_0^{\frac{\pi}{2}} \frac{\sin x - \cos x}{1 + \sin x \cos x}\, dx = 0.\]

➕ More Examples

More Examples

Example 1

Question: Evaluate \( \int_0^{\pi/2} \dfrac{\cos x - \sin x}{2 + \sin x \cos x}\, dx \) using properties of definite integrals.

Solution: Let \( I = \int_0^{\pi/2} \frac{\cos x - \sin x}{2 + \sin x \cos x}\, dx \). Apply the property \( \int_0^a f(x)\, dx = \int_0^a f(a - x)\, dx \) with \( a = \dfrac{\pi}{2} \). Replace \( x \) by \( \dfrac{\pi}{2} - x \): \[ \cos x \to \cos\!\left(\frac{\pi}{2}-x\right) = \sin x, \quad \sin x \to \sin\!\left(\frac{\pi}{2}-x\right) = \cos x \] So the integrand becomes: \[ \frac{\sin x - \cos x}{2 + \cos x \sin x} \] Therefore: \[ I = \int_0^{\pi/2} \frac{\sin x - \cos x}{2 + \sin x \cos x}\, dx \] Notice this is exactly \( -I \) (since the original integrand is \( \dfrac{\cos x - \sin x}{2 + \sin x \cos x} \)). Adding the two expressions for \( I \): \[ 2I = \int_0^{\pi/2} \frac{\cos x - \sin x}{2 + \sin x \cos x}\, dx + \int_0^{\pi/2} \frac{\sin x - \cos x}{2 + \sin x \cos x}\, dx \] \[ 2I = \int_0^{\pi/2} \frac{(\cos x - \sin x) + (\sin x - \cos x)}{2 + \sin x \cos x}\, dx \] \[ 2I = \int_0^{\pi/2} \frac{0}{2 + \sin x \cos x}\, dx = 0 \] Hence \( 2I = 0 \), giving \( I = 0 \).

Answer: \( I = 0 \)

Example 2

Question: Evaluate \( \int_0^{\pi/2} \dfrac{\tan x - 1}{1 + \tan x}\, dx \) using properties of definite integrals.

Solution: Let \( I = \int_0^{\pi/2} \frac{\tan x - 1}{1 + \tan x}\, dx \). Apply the property \( \int_0^{\pi/2} f(x)\, dx = \int_0^{\pi/2} f\!\left(\frac{\pi}{2}-x\right) dx \). Replace \( x \) by \( \dfrac{\pi}{2} - x \): \[ \tan\!\left(\frac{\pi}{2}-x\right) = \cot x = \frac{1}{\tan x} \] The integrand with this substitution becomes: \[ \frac{\dfrac{1}{\tan x} - 1}{1 + \dfrac{1}{\tan x}} = \frac{\dfrac{1 - \tan x}{\tan x}}{\dfrac{\tan x + 1}{\tan x}} = \frac{1 - \tan x}{1 + \tan x} \] So: \[ I = \int_0^{\pi/2} \frac{1 - \tan x}{1 + \tan x}\, dx \] Now add the two expressions for \( I \): \[ 2I = \int_0^{\pi/2} \frac{\tan x - 1}{1 + \tan x}\, dx + \int_0^{\pi/2} \frac{1 - \tan x}{1 + \tan x}\, dx \] \[ 2I = \int_0^{\pi/2} \frac{(\tan x - 1) + (1 - \tan x)}{1 + \tan x}\, dx \] \[ 2I = \int_0^{\pi/2} \frac{0}{1 + \tan x}\, dx = 0 \] Therefore \( 2I = 0 \), so \( I = 0 \).

Answer: \( I = 0 \)

🎯 Try a Similar Question

Try a Similar Question

Question: Using the properties of definite integrals, evaluate \[ \int_0^{\pi} \frac{\sin x - \cos x}{1 + \sin x \cos x}\\,dx. \]

Solution

  1. Step 1: Define the integral: Let \( I = \int_0^{\pi} \frac{\sin x - \cos x}{1 + \sin x \cos x}\\,dx \).
  2. Step 2: Apply the property \( x \to a+b-x \): Using the property \( \int_a^b f(x)\\,dx = \int_a^b f(a+b-x)\\,dx \), replace \( x \) with \( \pi - x \). Note that \( \sin(\pi - x) = \sin x \) and \( \cos(\pi - x) = -\cos x \). So the integrand becomes: \[ \frac{\sin(\pi-x) - \cos(\pi-x)}{1 + \sin(\pi-x)\cos(\pi-x)} = \frac{\sin x - (-\cos x)}{1 + \sin x(-\cos x)} = \frac{\sin x + \cos x}{1 - \sin x \cos x}. \] Therefore \[ I = \int_0^{\pi} \frac{\sin x + \cos x}{1 - \sin x \cos x}\\,dx. \]
  3. Step 3: Add the two expressions for \( I \): Adding the original and transformed forms: \[ 2I = \int_0^{\pi} \left( \frac{\sin x - \cos x}{1 + \sin x \cos x} + \frac{\sin x + \cos x}{1 - \sin x \cos x} \right) dx. \]
  4. Step 4: Simplify the combined integrand: Combine the two fractions over a common denominator \( (1 + \sin x \cos x)(1 - \sin x \cos x) = 1 - \sin^2 x \cos^2 x \). The numerator becomes: \[ (\sin x - \cos x)(1 - \sin x \cos x) + (\sin x + \cos x)(1 + \sin x \cos x). \] Expanding the first term: \[ \sin x - \sin^2 x \cos x - \cos x + \sin x \cos^2 x. \] Expanding the second term: \[ \sin x + \sin^2 x \cos x + \cos x + \sin x \cos^2 x. \] Adding both: \[ 2\sin x + 2\sin x \cos^2 x = 2\sin x(1 + \cos^2 x). \] So \[ 2I = \int_0^{\pi} \frac{2\sin x(1 + \cos^2 x)}{1 - \sin^2 x \cos^2 x}\\,dx. \]
  5. Step 5: Rewrite the denominator: Note that \( 1 - \sin^2 x \cos^2 x = 1 - \cos^2 x(1-\cos^2 x) = \cos^4 x - \cos^2 x + 1 \). Alternatively, write \( 1 - \sin^2 x \cos^2 x = 1 - \frac{\sin^2 2x}{4} \). A cleaner approach: use the substitution \( t = \cos x \), so \( dt = -\sin x\\,dx \). When \( x = 0 \), \( t = 1 \); when \( x = \pi \), \( t = -1 \). Also \( \sin^2 x = 1 - t^2 \), so \( \sin^2 x \cos^2 x = t^2(1-t^2) \). Thus \[ 2I = \int_1^{-1} \frac{2(1+t^2)}{1 - t^2(1-t^2)} \cdot (-dt) = \int_{-1}^{1} \frac{2(1+t^2)}{1 - t^2 + t^4}\\,dt. \]
  6. Step 6: Evaluate the resulting integral: The integrand \( g(t) = \frac{2(1+t^2)}{t^4 - t^2 + 1} \) is an even function (since \( g(-t) = g(t) \)), so \[ 2I = 2\int_0^1 \frac{2(1+t^2)}{t^4 - t^2 + 1}\\,dt = 4\int_0^1 \frac{1+t^2}{t^4 - t^2 + 1}\\,dt. \] Divide numerator and denominator by \( t^2 \): \[ 4\int_0^1 \frac{1 + \tfrac{1}{t^2}}{t^2 - 1 + \tfrac{1}{t^2}}\\,dt. \] Notice \( t^2 - 1 + \tfrac{1}{t^2} = \left(t - \tfrac{1}{t}\right)^2 + 1 \) and \( d\\!\left(t - \tfrac{1}{t}\right) = \left(1 + \tfrac{1}{t^2}\right)dt \). Let \( u = t - \tfrac{1}{t} \). When \( t \to 0^+ \), \( u \to -\infty \); when \( t = 1 \), \( u = 0 \). So \[ 2I = 4\int_{-\infty}^{0} \frac{du}{u^2 + 1} = 4\Big[\tan^{-1} u\Big]_{-\infty}^{0} = 4\left(0 - \left(-\frac{\pi}{2}\right)\right) = 4 \cdot \frac{\pi}{2} = 2\pi. \]
  7. Step 7: Conclude: From \( 2I = 2\pi \), we get \[ I = \pi. \]

Answer: \[ \int_0^{\pi} \frac{\sin x - \cos x}{1 + \sin x \cos x}\\,dx = \pi \]

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)