0
$\begingroup$

As I need to study calculus for Physics in Grade 11, I learnt quite a bit and I can say I'm familiar with differentiation and Basic Integrals. But As I'm too curious for my own good, I decided to try out $\mathbf {Integration}$ $\mathbf{By}$ $\mathbf{Parts}$. I solved some easy ones. Then I thought, let's solve $$\int{x \sec x dx}$$

As I tried to solve it, I came up with this :

$$\int{x \sec x dx}$$
$$=x \int \sec x dx - \int \frac d{dx} (x) \left(\int \sec xdx\right)dx$$ $$=x \ln|\sec x + \tan x| - \int \ln |\sec x + \tan x| dx$$ $$=x \ln|\sec x + \tan x| - \ln|\sec x + \tan x| \int dx + \int \frac d{dx}(\ln|\sec x + \tan x|) (\int \ln|\sec x +\tan x|dx)dx$$ $$= x\ln |\sec x + \tan x| - x\ln|\sec x + \tan x| + \int \sec x (\int \ln |\sec x + \tan x| dx)dx$$

And it goes on, quite annoyingly.

I'm new to this, so I might have made some fundamental mistakes, but I still don't think this can be solved. A Mathematics book written in my vernacular informed me that some integral expressions cannot be simplified, so I guess this expression can be like it. Kindly look into this and let me know anything about it. Thanks in advance!

$\endgroup$
8
  • 1
    $\begingroup$ A useful check in such cases is to use a site like wolframalpha.com to check whether $x\sec{x}$ is integrable or not. $\endgroup$ – Ishan Deo May 16 '19 at 6:26
  • 1
    $\begingroup$ It doesn't seem that $x\sec x$ has an elementary primitive. $\endgroup$ – José Carlos Santos May 16 '19 at 6:28
  • $\begingroup$ @IshanDeo WolframAlpha gave me a function with complex arguments $(ie^(ix))$ and a function called Polylog. I guess this function is non-elementary, so I'm not supposed to solve this how I was doing it earlier. $\endgroup$ – rikusp2002 May 16 '19 at 6:34
  • $\begingroup$ Thanks to all for clarifying $\endgroup$ – rikusp2002 May 16 '19 at 6:34
  • 1
    $\begingroup$ @IshanDeo That's not always true, but it's a good start. $\endgroup$ – J.G. May 16 '19 at 6:38
3
$\begingroup$

You'll need something called the polylogarithm function, $\operatorname{Li}_s(z):=\sum_{n\ge 1}z^nn^{-s}$. In particular $\frac{d}{dz}\operatorname{Li}_2(z)=-\frac{\ln(1-z)}{z}$ and$$\frac{d}{dx}(\operatorname{Li}_2(-ie^{ix})-\operatorname{Li}_2(ie^{ix}))=-i\ln\frac{1+ie^{ix}}{1-ie^{ix}},$$while$$\frac{d}{dx}\left(x\ln\frac{1-ie^{ix}}{1+ie^{ix}}\right)=\ln\frac{1-ie^{ix}}{1+ie^{ix}}+x\frac{2e^{ix}}{1+e^{2ix}}.$$The second term is $x\sec x$, so$$\int x\sec xdx=i(\operatorname{Li}_2(-ie^{ix})-\operatorname{Li}_2(ie^{ix}))+x\ln\frac{1-ie^{ix}}{1+ie^{ix}}+C.$$

$\endgroup$
1
  • $\begingroup$ So This is what I needed to know... Thanks! $\endgroup$ – rikusp2002 May 16 '19 at 6:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.