How to integrate (e^t)*tan^2(t)

  • Thread starter Thread starter digipony
  • Start date Start date
  • Tags Tags
    Integrate
Click For Summary
The discussion focuses on integrating the function (e^t) * tan^2(t) as part of solving a second-order differential equation using the variation of parameters method. The user initially attempts to simplify the integral using trigonometric identities but becomes stuck, suspecting that the integral may not be expressible in elementary functions. Other participants suggest that the user may have made an algebraic mistake and prompt them to clarify the differential equation being solved. The correct homogeneous solution is identified as y_h = C1*sin(t) + C2*cos(t), correcting the user's earlier error. The conversation emphasizes the importance of accurately identifying solutions in differential equations.
digipony
Messages
35
Reaction score
0

Homework Statement



I am in the process of solving second order differential equation by the variation of parameters method. I need to calculate ∫(et)*(tant)2 dt

Homework Equations


(tanx)2 = (secx)2-1
∫(secx)dx= lnlsecx*tanxl

The Attempt at a Solution


I have used the trig identity to get this: ∫(et*((sect)2-1)dt
= ∫et*(sect)2 dt -∫(et) dt
=∫et*(sect)2 dt -et
but am stuck here. Any help would be greatly appreciated. Thanks!
 
Last edited:
Physics news on Phys.org
I think it's not expressible in terms of elementary functions. Find another method for your ODE.
 
The problem explicitly asks to solve using variation of parameters. Perhaps I made a mistake in the algebra somewhere before this step; I will go to my professor. Thanks for your input, now I won't waste a hour or two staring at and trying to solve this integral.
 
State the ODE, please. There might be a mistake somewhere, or your professor really likes Gauss hypergeometric functions.
 
I doubt it; I probably made a mistake. Here is the problem:

Find the general solution by variation of parameters:
y'' + y = (tanx)2

For these, I know you find the solution by finding and adding together the solution to the homogeneous equation with that of your particular solution.

I found the solution to the homogeneous equation to be:
yh = C1*e-t+C2

Then I needed to find the particular solution which I knew would be in the form u1*y1 + u2*y2
where
u1 = -∫ \frac{y<sub>2</sub>*g}{W[y<sub>1</sub>,y<sub>2</sub>]} dt
and
u2= ∫ \frac{y<sub>1</sub>*g}{W[y<sub>1</sub>,y<sub>2</sub> ]} dt

(g is (tanx)2, and W is the Wronskian)
 
It's not right. y''+y=0 doesn't have the solution you wrote as y_h. No way.
 
Ah! I see. I was using reduction of power method and messed up. I had gotten r2 + r =0 whereas it should be r2+1=0 . Therefore I should get an imaginary root, and the solution is yh= C1*sint + C2*cost
 

Similar threads

Replies
9
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 105 ·
4
Replies
105
Views
6K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
6
Views
2K
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K