Where did I go wrong with my solution to this first order ODE?

  • Thread starter Thread starter jellicorse
  • Start date Start date
  • Tags Tags
    First order Ode
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 2K views
jellicorse
Messages
40
Reaction score
0

Homework Statement



Can anyone point out where I have gone wrong with this?

Verify that the given function is a solution of the differential equation.

[tex]y' -2ty =1[/tex] [tex]y= e^{t^2}\int^t_0 e^{-s^2}ds+e^{t^2}[/tex]

The Attempt at a Solution



The steps I have taken are the following:

i) Evaluate integral in expression for y
ii) Differentiate the expression for y
iii)Substitute these values into [tex]\frac{dy}{dt}-2ty=1[/tex]
i)Evaluate the integral

[tex]\int^t_0e^{-s^2}ds[/tex]

by substitution:

[tex]u=s^2[/tex]; [tex]ds=\frac{1}{-2s}du[/tex]

[tex]\frac{1}{-2s}\int^t_0e^{u}du = \left[\frac{e^{-s^2}}{-2s}\right]^t_0 =\frac{e^{-t^2}}{-2t}[/tex]
ii)Differentiate expression for y

[tex]y=e^{t^2}\cdot \frac{e^{-t^2}}{-2t}+e^{t^2}[/tex]

[tex]y=e^{t^2}-\frac{1}{2}t^{-1}[/tex]

[tex]y'=2te^{t^2}+\frac{1}{2}t^{-2}[/tex]
iii) Substitute these into [tex]y'-2ty=1[/tex][tex] <br /> [tex]2te^{t^2}+\frac{1}{2}t^{-2} -2t(2te^t{2}+\frac{1}{2}t^{-2})[/tex]<br /> <br /> [tex]2te^{t^2}+\frac{1}{2}t^{-2}-4t^2e^{t^2}-t^{-1}[/tex]Which is not what is required.[/tex]
 
Physics news on Phys.org
jellicorse said:
i)Evaluate the integral

[tex]\int^t_0e^{-s^2}ds[/tex]

by substitution:

[tex]u=s^2[/tex]; [tex]ds=\frac{1}{-2s}du[/tex]

[tex]\frac{1}{-2s}\int^t_0e^{u}du = \left[\frac{e^{-s^2}}{-2s}\right]^t_0 =\frac{e^{-t^2}}{-2t}[/tex]

Hi jellicorse!

The quoted step is incorrect. There exists no antiderivative for ##e^{-x^2}##. While evaluating the integral, you took ##s## outside the integral but ##s## is a function of ##u## so what you did is not valid.

For the given problem, you have to differentiate the given function using Fundamental Theorem of Calculus. Can you find the derivative wrt t for:
$$\int_0^t e^{-s^2}\,ds$$
?
 
Thanks a lot Pranav!

I need to go and revise the Fundamental Theorem of Calculus again to check...
 
jellicorse said:
Thanks a lot Pranav!

I need to go and revise the Fundamental Theorem of Calculus again to check...

Oh, I forgot. Welcome to PF! :smile:
 
Thanks, Pranav!

I see that comes to [tex]e^{-t^2}[/tex] according to the Fundamental Theorem of Calculus... I am getting a bit rusty on that so need to revise it a bit!
 
jellicorse said:
Thanks, Pranav!
Your welcome. :)

I see that comes to [tex]e^{-t^2}[/tex] according to the Fundamental Theorem of Calculus.

Yes. :approve:
 
hilbert2 said:
...but you can't represent it in terms of elementary functions.

Yes, that's what I meant, sorry for the confusion. :redface: