All Exams Test series for 1 year @ ₹349 only
Question

What is ∫ (e log x  + sin x) cos x dx equal to?

This question was previously asked in
NDA 2020 GAT Previous Year Paper (06-Sep-2020)
The correct answer is \(\rm x \sin x + \cos x + \dfrac{\sin^2 x}{2}+c\)

Understanding the Integration Problem

We are asked to evaluate the indefinite integral:

\(\int (e^{\log x} + \sin x) \cos x \, dx\)

The first step is to simplify the expression inside the integral. Recall the property of logarithms and exponentials that \(e^{\log x} = x\) for \(x > 0\). Using this property, the integral becomes:

\(\int (x + \sin x) \cos x \, dx\)

Now, we can distribute \(\cos x\) across the terms inside the parenthesis:

\(\int (x \cos x + \sin x \cos x) \, dx\)

This integral can be split into two separate integrals:

\(\int x \cos x \, dx + \int \sin x \cos x \, dx\)

Solving the First Integral: \( \int x \cos x \, dx \)

The first integral \(\int x \cos x \, dx\) requires the technique of integration by parts. The formula for integration by parts is:

\(\int u \, dv = uv - \int v \, du\)

We need to choose appropriate parts for \(u\) and \(dv\). A common guideline (LIATE/ILATE) suggests letting \(u\) be a term that simplifies when differentiated and \(dv\) be a term that is easily integrated.

  • Let \(u = x\)
  • Let \(dv = \cos x \, dx\)

Now, we find \(du\) and \(v\):

  • Differentiating \(u = x\) gives \(du = 1 \, dx\) or just \(du = dx\).
  • Integrating \(dv = \cos x \, dx\) gives \(v = \int \cos x \, dx = \sin x\).

Now, substitute these into the integration by parts formula:

\(\int x \cos x \, dx = (x)(\sin x) - \int (\sin x) \, dx\)

\(\int x \cos x \, dx = x \sin x - (-\cos x) + C_1\)

\(\int x \cos x \, dx = x \sin x + \cos x + C_1\)

Here, \(C_1\) is the constant of integration for the first integral.

Solving the Second Integral: \( \int \sin x \cos x \, dx \)

The second integral \(\int \sin x \cos x \, dx\) can be solved using a simple substitution method.

Let \(u = \sin x\).

Then, the differential \(du\) is the derivative of \(\sin x\) multiplied by \(dx\):

\(du = \cos x \, dx\)

Now, substitute \(u\) and \(du\) into the integral:

\(\int \sin x \cos x \, dx = \int u \, du\)

This is a basic power rule integral:

\(\int u \, du = \dfrac{u^2}{2} + C_2\)

Substitute back \(u = \sin x\):

\(\int \sin x \cos x \, dx = \dfrac{\sin^2 x}{2} + C_2\)

Here, \(C_2\) is the constant of integration for the second integral.

Combining the Results

The original integral is the sum of the two integrals we just solved:

\(\int (e^{\log x} + \sin x) \cos x \, dx = \int x \cos x \, dx + \int \sin x \cos x \, dx\)

Substitute the results from our calculations:

\(\int (e^{\log x} + \sin x) \cos x \, dx = (x \sin x + \cos x + C_1) + \left(\dfrac{\sin^2 x}{2} + C_2\right)\)

Combine the constants of integration \(C_1\) and \(C_2\) into a single constant \(C = C_1 + C_2\):

\(\int (e^{\log x} + \sin x) \cos x \, dx = x \sin x + \cos x + \dfrac{\sin^2 x}{2} + C\)

Comparing with Options

Let's compare our derived solution with the given options:

  • Option 1: \(\rm \sin x + x \cos x + \dfrac{\sin^2 x}{2}+c\) (Incorrect - terms are similar but sign might be an issue, check carefully)
  • Option 2: \(\rm \sin x - x \cos x + \dfrac{\sin^2 x}{2}+c\) (Incorrect)
  • Option 3: \(\rm x \sin x + \cos x + \dfrac{\sin^2 x}{2}+c\) (Matches our result)
  • Option 4: \(\rm x \sin x - x \cos x + \dfrac{\sin^2 x}{2}+c\) (Incorrect)

Our calculated result, \(x \sin x + \cos x + \dfrac{\sin^2 x}{2} + C\), matches Option 3.

Revision Table: Key Integration Techniques

Technique When to Use Example
Substitution When the integrand contains a function and its derivative.

\(\int f'(g(x)) g'(x) \, dx\)

Let \(u = g(x)\), \(du = g'(x) \, dx\)

Integral becomes \(\int f'(u) \, du\)

Integration by Parts For integrating a product of two functions, especially when one simplifies by differentiation and the other is easily integrated.

\(\int u \, dv = uv - \int v \, du\)

Choose \(u\) and \(dv\) strategically.

Additional Information: Properties Used

This integration problem utilized a few key mathematical concepts:

  • Logarithm and Exponential Property: The fundamental property \(e^{\log x} = x\) (for \(x > 0\)). This simplifies the initial expression significantly.
  • Linearity of Integration: The property that \(\int (f(x) + g(x)) \, dx = \int f(x) \, dx + \int g(x) \, dx\). This allowed us to split the integral into two more manageable parts.
  • Basic Trigonometric Integrals: Knowing the standard integrals like \(\int \cos x \, dx = \sin x\) and \(\int \sin x \, dx = -\cos x\).
  • Trigonometric Identities (Optional approach for second integral): Although we used substitution, the identity \(\sin(2x) = 2 \sin x \cos x\) could also have been used for \(\int \sin x \cos x \, dx\). \(\int \sin x \cos x \, dx = \int \frac{1}{2} \sin(2x) \, dx = -\frac{1}{4} \cos(2x) + C'\). This result is equivalent to \(\frac{\sin^2 x}{2} + C_2\) because \(\sin^2 x = \frac{1 - \cos(2x)}{2}\), so \(\frac{\sin^2 x}{2} = \frac{1 - \cos(2x)}{4} = \frac{1}{4} - \frac{\cos(2x)}{4}\). The difference is just a constant, which is absorbed into the integration constant.
Was this answer helpful?

Similar Questions

  1. What is \(\rm \int \frac{dx}{\sec x+\tan x}\)  equal to?

  2. What is \(\rm \int e^{\left(2\ln x+\ln x^2\right)}dx\) equal to?

  3. What is \(\int \dfrac{dx}{sec^2({tan}^{-1}x)}\)  equal to?

  4. What is ∫(x x ) 2 (1 + ln x)dx equal to ?
  5. What is \(\int (\sin x)^{-1/2} (\cos x)^{-3/2}dx\)  equal to?

  6. If \(I_1 =\int\frac{e^x dx}{e^x + e^{-x}}\)  and  \(I_2 =\int\frac{dx}{e^{2x} + 1},\) then what is I 1+ I 2equal to?

  7. What is \(\smallint \frac{{dx}}{{2{x^2} - 2x + 1}}\) equal to?

  8. What is \(\smallint \frac{{dx}}{{x{{\left( {1 + In\;x} \right)}^n}}}\) equal to (n ≠ 1) ?

  9. What is the value of I 1?

  10. What is the value of I 1+ I 2?


Important Questions from Indefinite Integrals

  1. The value of \(\rm \int \frac{(x+1)}{x(xe^x + 1)}\ dx\)  is equal to:

  2. Evaluation of \(\displaystyle\int{\dfrac{1-\tan x}{1+\tan x}}\ dx\) is:

  3. \(\int\limits_{ - 2}^2 {\left| {1 - {x^2}} \right|} dx\) is:
  4. The value of \(\int\limits_{\pi /4}^{3\pi /4} {\frac{{dx}}{{1 + \cos x}}} \) is:

  5. The value of \(\int_0^\pi {{{\sin }^6}} x \cdot {\cos ^5}x dx\) is:

Need Expert Advice?
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
503 Tests 1 Tests Free
1066 Attempts
4.6(137)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App