Problems with integrating and Deferential equation

  • Thread starter Thread starter IRNB
  • Start date Start date
  • Tags Tags
    Integrating
AI Thread Summary
The discussion revolves around solving the differential equation x' = tx + 6te^(-t^2) using integration techniques. The user initially struggles with integration by parts and the correct form of the equation, leading to confusion over the exponential terms. After several attempts and clarifications, including the correct substitution and integration methods, the user arrives at a solution involving the exponential function. Ultimately, the final expression for x is confirmed to be correct after addressing earlier mistakes. The conversation highlights the importance of careful integration and substitution in solving differential equations.
IRNB
Messages
16
Reaction score
0

Homework Statement


give the general solution of the following equation

x' = tx + 6te-t2



Homework Equations



for x'+p(t)x=q(t)

xeI=\intq(t)eIdt where I=\intp(t)dt

integration by parts
\intf'g = [fg] - \intfg'

The Attempt at a Solution



x'-tx=6te-2t

I=\int-t dt = -t2/2

xe-t2/2dt = \int6te-2te-t2/2dt

using integration by parts i get

\intf'g = [fg] - \intfg'
f'=e-t2/2
g=6t

\int6te-2te-t2/2dt = [\frac{6t}{-2-t}e-2t-t2/2] - \int\frac{6}{-2-t}e-2t-t2/2 dt

I've tried to integrate the second part of this integral i.e.
\int\frac{6}{-2-t}e-2t-t2/2 dt
using integration by parts but it seems to be a very difficult integral to solve. I also have my suspicions that this method may go on forever.

can anyone help? am i missing some kind of identity that i should know? any help would be appreciated.
 
Physics news on Phys.org
i just noticed a typo where i stated what value i used for f' it should read

f' = e-2-t2/2
 
You seem to have stated the question twice, but differently both times. first you have

x' = tx + 6texp(-t^2)
and then you write
x'-tx=6texp(-2t)

Which is the correct form?
 
Hi Physics Math

The second one was just me re-arranging the first one to get it into the form of
x'+p(t)x=q(t)
so that i could apply the relevant formula (under relevant equations).
 
You didn't just rearrange you changed the argument of the exponent as well. It would also be nice if you would put tags around the entire expression and not just the occasional symbol.
 
oh yes, i see what you mean

exp(-t^2) does not equal exp(-2t).

I'll give it another go.

thanks guys.
 
Using the correct argument will make the integration easier.
 
Okay I've had another go and got an answer and want to check whether its correct or not.

x'-tx=6te-t2

I = \int-t dt = -t2/2

xe-t2/2=\int6te-t2e-t2/2 dt

xe-t2/2 = \int6te-(3/2)t2dt

now using integration by parts where
f'=e-(3/2)t2 and
g=6t
and recalling that \inte-ax2 dx = \sqrt{pi/a}

i get

[\sqrt{2pi/3} 6t] - \int\sqrt{2pi/3}6 dt

= 2[\sqrt{2pi/3} 6t] + C

so

x=(2[\sqrt{2pi/3} 6t] + C) / (e-t2/2)

However, in all the other examples i have done the exp term has disappeared by the time i got to the final answer, so i just wanted to check that i have the correct answer here or not.
 
IRNB said:
and recalling that LaTeX Code: \\int e-ax2 dx = LaTeX Code: \\sqrt{pi/a}

This is only true if you're integrating from -infinity to +infinity, which you are not. If you want to use partial integration you will have to resort to the error function. That said you do not want to use partial integration, but instead use a substitution u=-t^2.
 
  • #10
Thank you cyosis for all your help. My integration skills are quite weak so please bare with me here.


f' = exp(-3t2/2)
using
u= t2
f' = exp((-3/2)u)

f = \intexp((-3/2)u) (dt/du) du
f = (-2/3)exp((-3/2)u) (1/2t)
f = (-1/3t)exp((-3/2)t2)
g = 6t
g'=6

now using integration by parts

\int6t exp((3/2)tt) dt = [(-6t/3t)exp((-3/2)t2)] + \int(6/3t)exp((-3/2)t2) dt

integrating the second term by parts

f' = exp(-3t2/2)
f = (-1/3t)exp((-3/2)t2)
g = 6/3t
g' = -6/3t2

\int(6/3t)exp((-3/2)t2) dt = [(6/9t2)exp((-3/2)t2)] - \int(-6/9t3)exp((-3/2)t2) dt

i seem to be going in circles...

it seems there is always going to be an integral that needs to be solved...

help
 
  • #11
Why are you using partial differentiation again? The original integral is already cast in a very easy form.

Example integral: Using the substitution u=t^2 du=2tdt.
<br /> \begin{align*}<br /> \int t e^{t^2}dt &amp; =\int \frac{1}{2}e^u du\\<br /> &amp; =\frac{1}{2}e^u\\<br /> &amp; =\frac{1}{2}e^{t^2}<br /> \end{align*}<br />
 
  • #12
i have no idea why i didnt see that. its been a really long day

so now i have

\int 6t exp((-3/2)t2) dt

u = t2
du = 2t dt

\int3 exp((-3/2)u) du = 3(-2/3) exp((-3/2)u) = -2 exp((-3/2)t2) + C

x exp(-t2/2) = -2 exp((-3/2)t2) + C

x = (1/exp(-t2/2))C - 2 exp(-t2/2)

does this look correct?
 
  • #13
there is a typo in my answer. it should read

x = (1/exp(-(t^2)/2))C - 2 exp(-t^2)

Thank you for your help Cyosis
 
  • #14
You're welcome, and your answer is correct.
 
Back
Top