Integrating: \int{\frac{xsec^2x}{tanx+\sqrt{3}}}dx

  • Thread starter Thread starter Mentallic
  • Start date Start date
  • Tags Tags
    Integrating
Click For Summary
The integral \(\int{\frac{x \sec^2 x}{\tan x + \sqrt{3}}}dx\) was approached using the substitution \(u = \tan x + \sqrt{3}\), leading to complications due to the presence of \(x\). It was suggested that the integral likely does not have a solution in terms of elementary functions and may involve polylogarithms. The discussion also touched on the integral of \(\arctan x\), which can be solved using integration by parts, demonstrating the method's application. The conversation highlighted the distinction between integrals that can be expressed with elementary functions and those that cannot, emphasizing that some integrals, like \(\int e^{-x^2}dx\), have been proven to lack elementary solutions. Overall, the thread explored various integration techniques and the nature of non-elementary integrals.
Mentallic
Homework Helper
Messages
3,802
Reaction score
95

Homework Statement



\int{\frac{xsec^2x}{tanx+\sqrt{3}}}dx

The Attempt at a Solution



I let tanx+\sqrt{3}=u

Then, \frac{du}{dx}=sec^2x , dx=\frac{du}{sec^2x}

Substituting into the integral: \int{\frac{x}{u}du

But now I don't know what to do. That little x is really screwing me over on this... Maybe a whole other approach needs to be taken?
 
Physics news on Phys.org
From your substitution it follows that x=\arctan(u-\sqrt{3}). That said I don't think this integral has a solution within the elementary functions. It will involve some kind of poly logarithm.
 
If this integral has no elementary solution, I think I may give up and walk away from it.

Just out of curiosity, what would \int{arctanx}dx be? I'm sure it's not elementary but the anti-derivative must've been found/solved for such a simple result?
 
Mentallic said:
If this integral has no elementary solution, I think I may give up and walk away from it.

Just out of curiosity, what would \int{arctanx}dx be? I'm sure it's not elementary but the anti-derivative must've been found/solved for such a simple result?
This one can be integrated using integration by parts.
u = tan-1x, dv = dx
du = dx/(1 + x2), v = x

This results in
\int tan^{-1}x dx = xtan^{-1}x - \int xdx/(1 + x^2)
The latter integral can be done with an ordinary substitution, u = 1 + x2.
 
That one is simpler than you think, write it as \int 1*\arctan x dx, then use partial integration.
 
I think I might start reading up on integration by parts, since I couldn't follow where the v came from and the dv=dx, v=x?

If it comes down to not being able to solve an integral with elementary functions, are there any methods available to solve one as such? Other than taking guesses and differentiating to be sure :smile:
 
Mentallic said:
I think I might start reading up on integration by parts, since I couldn't follow where the v came from and the dv=dx, v=x?
That's exactly where the v came from: if dv= dx, then, integrating both sides, v= x!

If it comes down to not being able to solve an integral with elementary functions, are there any methods available to solve one as such? Other than taking guesses and differentiating to be sure :smile:
If it really is true that a given integral cannot be done with "elementary functions", then what in the world would you "guess"? It not a matter of certain methods not working, it is that the answer itself cannot be written in terms of elementary functions. In that case you either define a new function to be its integral or try to convert to a such an integral for which the integral has already been defined.

For example,
\int e^{-x^2}dx
cannot be done "in terms of elementary functions" so the non-elementary function Erf(x) (the "error" function because that integral shows up in probability and calculating "random errors") is defined as that integral.
\int e^{-x^2}dx= Erf(x)+ C

But if you had, now
\int e^{-(2x-3)^2} dx
you could make the substitution u= 2x- 3 so that du= 2dx and dx= (1/2)du so
\int e^{-(2x-3)^2} dx= \frac{1}{2}\int e^{-u^2}du= \frac{1}{2}Erf(u)+ C= \frac{1}{2}Erf(2x-3)+ C.
 
HallsofIvy said:
That's exactly where the v came from: if dv= dx, then, integrating both sides, v= x!
Not sure what the v is doing there in the first place. Oh thanks, I could've guessed that if dv=dx then v=x but I never quite trusted any algebraic manipulations of dx.


HallsofIvy said:
If it really is true that a given integral cannot be done with "elementary functions", then what in the world would you "guess"? It not a matter of certain methods not working, it is that the answer itself cannot be written in terms of elementary functions.
Ahh then I was misunderstanding 'elementary functions'. I suppose I confused it with elementary methods of integrating.
This is quite interesting! Has it been proven that \int{e^{-x^2}}dx cannot be expressed with elementary functions, or is it just that the integral (still possible to express with elementary functions) has yet to be found?
 
It has been proven that it does not exist. As for integration by parts, if you find differentials tricky you can also write it like this.

\int f(x)g'(x)dx=f(x)g(x)-\int f'(x)g(x) dx.

Now write \int \arctan x dx =\int 1*\arctan x dx. Take f(x)=\arctan x, \;\;\; g'(x)=1. Now try to apply integration by parts.
 
  • #10
Integration by parts is the integration counterpart to the product rule of differentiation.
d/dx(f(x)*g(x)) = df(x)/dx*g(x) + f(x)*dg(x)/dx
Multiply by dx to get d(f(x) * g(x)) = df(x) * g(x) + f(x)*dg(x)

Antidifferentiate the above to get
\int d(f(x) * g(x)) = \int df(x) * g(x) + \int f(x)*dg(x)

or
f(x)*g(x) = \int df(x) * g(x) + \int f(x)*dg(x)
or finally,
\int df(x) * g(x) = f(x)*g(x) - \int f(x)*dg(x)
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 105 ·
4
Replies
105
Views
6K
Replies
19
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K