# How do you integrate this $ \int {\left( {\dfrac{1}{{1 + \sin x + \cos x}}} \right)} dx $ ?

Last updated date: 27th Mar 2023

•

Total views: 206.7k

•

Views today: 4.83k

Answer

Verified

206.7k+ views

**Hint**: To solve and take out the integral of this question , we need to solve it step by step . Here we are going to transform the fraction apart and perform some calculations and formulae of integration to simplify the given question with the help of the concept of Weierstrass substitution . It is used for converting rational expressions of trigonometric functions into algebraic rational functions, which may be easier to integrate . Any rational expression of trigonometric functions can be always reduced to integrating a rational function by making the Weierstrass substitution . And then again adding back together when the individual fraction would be solved to make our question solved easily . Some basic trigonometry formulae will come into existence while solving the integration part and Don’t forget to place Constant of integration $ C $ at the end of the integral.

**:**

__Complete step-by-step answer__We are given an expression $ \int {\left( {\dfrac{1}{{1 + \sin x + \cos x}}} \right)} dx $ and we have to calculate its integral .

The Weierstrass substitution is very useful for integrals involving a simple rational expression in \[\sin x\] and/or \[\cos x\] in the denominator .

In order to calculate this integral we may use the following to substitute –

$ t = \tan \left( {\dfrac{x}{2}} \right) $

Hence,

$ \sin x = \dfrac{{2t}}{{1 + {t^2}}} $ , $ \cos x = \dfrac{{1 - {t^2}}}{{1 + {t^2}}} $ , $ dx = \dfrac{2}{{1 + {t^2}}}dt $

Now we are going to substitute these in our given question .

$ \int {\left( {\dfrac{1}{{1 + \sin x + \cos x}}} \right)} dx $

$

= \int {\left( {\dfrac{1}{{1 + \sin x + \cos x}}} \right)} dx \\

= \int {\left( {\dfrac{1}{{1 + \dfrac{{2t}}{{1 + {t^2}}} + \dfrac{{1 - {t^2}}}{{1 + {t^2}}}}}} \right)} \dfrac{2}{{1 + {t^2}}}dt \;

$

To solve this further we will now try to cancel out the common terms by taking LCM as –

$

= \int {\left( {\dfrac{1}{{\dfrac{{1 + {t^2}}}{{1 + {t^2}}} + \dfrac{{2t}}{{1 + {t^2}}} + \dfrac{{1 - {t^2}}}{{1 + {t^2}}}}}} \right)} \dfrac{2}{{1 + {t^2}}}dt \\

= \int {\left( {\dfrac{1}{{\dfrac{{1 + {t^2} + 2t + 1 - {t^2}}}{{1 + {t^2}}}}}} \right)} \dfrac{2}{{1 + {t^2}}}dt \\

= \int {\left( {\dfrac{2}{{1 + {t^2} + 2t + 1 - {t^2}}}} \right)} dt \;

$

Now perform simple calculations like addition and subtraction to make it simplified .

$

= \int {\left( {\dfrac{2}{{1 + {t^2} + 2t + 1 - {t^2}}}} \right)} dt \\

= \int {\left( {\dfrac{2}{{2 + 2t}}} \right)} dt \\

= \int {\left( {\dfrac{2}{{2(1 + t)}}} \right)} dt \\

= \int {\left( {\dfrac{1}{{1 + t}}} \right)} dt \;

$

Now it is easier for us to integrate this , we get –

$

= \int {\left( {\dfrac{1}{{1 + t}}} \right)} dt \\

= \ln |1 + t| + C \;

$

Now , we will simply substitute the value of t , we get-

$

= \ln |1 + t| + C \\

= \ln \left| {1 + \tan \left( {\dfrac{x}{2}} \right)} \right| + C \;

$

$ \ln \left| {1 + \tan \left( {\dfrac{x}{2}} \right)} \right| + C $

This is the required answer $ \ln \left| {1 + \tan \left( {\dfrac{x}{2}} \right)} \right| + C $ .

**So, the correct answer is “ $ \ln \left| {1 + \tan \left( {\dfrac{x}{2}} \right)} \right| + C $ ”.**

**Note**:

I.Always make use of the Weierstrass substitution for integrals involving a simple rational expression in \[\sin x\] and/or \[\cos x\] in the denominator.

II.Use standard formula carefully while evaluating the integrals.

III.Indefinite integral=Let $ f(x) $ be a function .Then the family of all its primitives (or antiderivatives) is called the indefinite integral of $ f(x) $ and is denoted by $ \int {f(x)} dx $

IV.The symbol $ \int {f(x)dx} $ is read as the indefinite integral of $ f(x) $ with respect to x.

V.C is known as the constant of integration and Don’t forget to place Constant of integration $ C $ at the end of the integral.

VI.Cross check the answer and always keep the final answer simplified .

VII.Remember the algebraic identities and apply appropriately .

Recently Updated Pages

If ab and c are unit vectors then left ab2 right+bc2+ca2 class 12 maths JEE_Main

A rod AB of length 4 units moves horizontally when class 11 maths JEE_Main

Evaluate the value of intlimits0pi cos 3xdx A 0 B 1 class 12 maths JEE_Main

Which of the following is correct 1 nleft S cup T right class 10 maths JEE_Main

What is the area of the triangle with vertices Aleft class 11 maths JEE_Main

KCN reacts readily to give a cyanide with A Ethyl alcohol class 12 chemistry JEE_Main

Trending doubts

What was the capital of Kanishka A Mathura B Purushapura class 7 social studies CBSE

Difference Between Plant Cell and Animal Cell

Write an application to the principal requesting five class 10 english CBSE

Ray optics is valid when characteristic dimensions class 12 physics CBSE

Give 10 examples for herbs , shrubs , climbers , creepers

Tropic of Cancer passes through how many states? Name them.

Write the 6 fundamental rights of India and explain in detail

Write a letter to the principal requesting him to grant class 10 english CBSE

Name the Largest and the Smallest Cell in the Human Body ?