How should I approach this ODE

  • Thread starter Thread starter Icebreaker
  • Start date Start date
  • Tags Tags
    Approach Ode
Click For Summary

Homework Help Overview

The discussion revolves around a second-order, homogeneous, nonlinear ordinary differential equation (ODE) given by y'' = -e^{-2y}. Participants explore various methods of approach and integration techniques related to this ODE.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants suggest multiplying both sides by y' and integrating, while others express confusion about the integration process. There are discussions on the implications of constants of integration and how they relate to initial value problems (IVPs).

Discussion Status

The conversation is ongoing, with participants providing guidance on integration techniques and questioning the validity of their approaches. Some participants are exploring different interpretations of the ODE and its solutions, while others are attempting to clarify their understanding of the integration steps involved.

Contextual Notes

There are mentions of initial conditions for specific IVPs, and participants are trying to determine if explicit solutions can be derived from the given conditions. The discussion also highlights the challenges of integrating certain expressions and the potential for mistakes in the process.

Icebreaker
[tex]y''=-e^{-2y}[/tex]

Second order, homogenous, nonlinear. I think.
 
Last edited by a moderator:
Physics news on Phys.org
Try multiplying both sides by [tex]y'[/tex] and see what you can do.
 
I got nothing that I've seen before.
 
Icebreaker said:
I got nothing that I've seen before.

The point of learning the theory and techniques is to be able to solve problems you haven't seen before. Surely, you have some tools at your disposal if you've gotten into the ODE course.


Follow PM's advice:

[tex]y' \frac {dy'}{dx} = -e^{-2y} \frac {dy}{dx}[/tex]

Now multiply both sides by dx and integrate. Then see what you can do after that.
 
[tex]\int y'' \frac{dy}{dx}dx = \int -e^{-2y}\frac{dy}{dx}dx[/tex]

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

[tex]2e^{2y}\frac{dy}{dx}=1[/tex]

[tex]2\int e^{2y} \frac{dy}{dx}dx=\int 1dx[/tex]

[tex]e^{2y}=x[/tex]

[tex]\ln e^{2y}=\ln x[/tex]

[tex]y = \ln \sqrt{x}[/tex]

Is this right?

However, I have not included any constants of integration during the process. My thought is that since I have an IVP, I can use the final equation to find the constants backwards. It seems easier. Can I do that?
 
Hey Icebreaker, your notation is awkward:

Icebreaker said:
[tex]\int y'' \frac{dy}{dx}dx = \int -e^{-2y}\frac{dy}{dx}dx[/tex]

Tide said this:

Tide said:
Follow PM's advice:

[tex]y' \frac {dy'}{dx} = -e^{-2y} \frac {dy}{dx}[/tex]

Now multiply both sides by dx and integrate. Then see what you can do after that.

So that would just be:

[tex]y^{'}dy^{'}=-e^{-2y}dy[/tex]

That's just two differentials with "variables separated" so:

[tex]\int y^{'}dy^{'}=-\int e^{-2y}dy[/tex]

And I'd leave the constant of integration in this one and the other one you have to integrate, and then use the initial conditions with the constants in place to find the solution.
 
Last edited:
How does one integrate

[tex]\int y'dy'[/tex]
 
Do a change in variables, let x=y', can you do it now?
 
Ok let me start over:

[tex]y''=-e^{-2y}[/tex]

[tex]y''\frac{dy}{dx}dx = -e^{-2y}\frac{dy}{dx}dx[/tex]

[tex]y'dy'=-e^{-2y}dy[/tex]

[tex]\int y'dy'=-\int e^{-2y}dy[/tex]

But now a constant comes in. Suppose it's zero, then it's easy:

[tex](y')^2=e^{-2y}[/tex]

[tex]y'=e^{-2y}[/tex]

However with the constant, the equation becomes:

[tex](y')^2+c=e^{-2y}[/tex]
 
  • #10
Ice breaker, may have seen my earlier post. Couldn't debug it here. This is it bug-free:

Icebreaker . . . that y'dy' got you doesn't it? That's just y' multiplied by it's differential. It could be anything:

[tex]fd(f)[/tex]

[tex][xy]d(xy)[/tex]

[tex][f(x)g(y)]d(f(x)g(y))[/tex]

even:

[tex](anything)d(anything)[/tex]

So when you integrate it, it's just:

[tex]\frac{\text{anything}^2}{2}+c[/tex]

so:

[tex]\int y^{'}dy^{'}=\frac{(y^{'})^2}{2}+c[/tex]

other side is just:

[tex]\frac{1}{2}e^{-2y}+c[/tex]

put um' together, combine the constants:

[tex]\frac{(y^{'})^2}{2}=\frac{1}{2}e^{-2y}+k_1[/tex]

so, when you extract the root you get TWO differential equations for [itex]y^{'}[/itex]. Gotta solve them both or just figure. So anyway, how do we proceed from here?[/QUOTE]
 
Last edited:
  • #11
Do you mean

[tex]y' = \pm \sqrt{2e^{-2y}+k}[/tex]

I suppose a substitution where [tex]u = 2e^{-2y}+k[/tex]?

This is quite odd considering we haven't talked about total differentials, much less how they are manipulated...
 
Last edited by a moderator:
  • #12
Icebreaker, there seems to still be bugs with the edit software of the new update here (I'm having problems editing posts). I hope it's fixed soon. It's unpleasnt. This is what I get:

[tex]y^{'}=\pm\sqrt{e^{-2y}+k_1}[/tex]

so:

[tex]\frac{dy_1}{\sqrt{e^{-2y_1}+k_1}}=dx[/tex]

-0r-

[tex]\frac{dy_2}{\sqrt{e^{-2y_2}+k_1}}=-dx[/tex]

Choose according to the value of y'(0).

Edit: Perhaps I should edit that last line up there: choose which ever one works.
 
Last edited:
  • #13
Well, the IVP consists of y(3)=0 and y'(3)=0. Is it possible to solve for an explicit solution of y in terms of x? Is it necessary? Because I don't understand how using dx and dy alone I can solve the equation.
 
  • #14
Tell you what, solve this one first:

[tex]y^{''}=-e^{-2y};\quad y(0)=0,\quad y'(0)=1[/tex]

Look at the equation:

[tex]\frac{dy}{dx}=\sqrt{e^{-2y}+c}[/tex]

can you figure what c is? Well, it's sayin' the derivative is equal to that expression. But we have what the derivative is at x=0 and what the value of y is at 0 too. So:

[tex]1=\sqrt{e^{0}+c}[/tex]

or c=0.

That makes the integration a little easier and you can in that case solve for y in terms of x explicitly. What's the answer for that one then?
 
  • #15
For my equation,

[tex]y'=\sqrt{e^{-2y}+c}[/tex]

Since y' and y are both 0 at x=3, then

[tex]0=\sqrt{e^0+c}[/tex]

So c=-1. This means,

[tex]y'=\sqrt{e^{-2y}-1}[/tex]
 
  • #16
Icebreaker said:
For my equation,

[tex]y'=\sqrt{e^{-2y}+c}[/tex]

Since y' and y are both 0 at x=3, then

[tex]0=\sqrt{e^0+c}[/tex]

So c=-1. This means,

[tex]y'=\sqrt{e^{-2y}-1}[/tex]

That will do it. Know how to integrate that right? You can just integrate it definitely: y goes from 0 to y, x goes from 3 to x or just change the dummy variables of the integrands to keep the purist in here happy else they'll tell me "salty, your notation is awkward".
 
Last edited:
  • #17
Actually I don't. Do you mean,

[tex]\int_0^y \int_3^x \sqrt{e^{-2y}-1} dxdy?[/tex]

Or perhaps,

[tex]\int_0^y dy = \int_3^x \sqrt{e^{-2y}-1} dx?[/tex]
 
  • #18
Icebreaker said:
Actually I don't. Do you mean,

[tex]\int_0^y \int_3^x \sqrt{e^{-2y}-1} dxdy?[/tex]

Or perhaps,

[tex]\int_0^y dy = \int_3^x \sqrt{e^{-2y}-1} dx?[/tex]

Icebreaker, you fell off a cliff with this you know that don't you? We have:

[tex]\frac{dy}{dx}=\sqrt{e^{-2y}-1}[/tex]

so:

[tex]\frac{dy}{\sqrt{e^{-2y}-1}}=dx[/tex]

and so we integrate one more time:

[tex]\int_0^y \frac{dq}{\sqrt{e^{-2q}-1}}=\int_3^x dt[/tex]

Now, that's it dude. You just have to know how to integrate that stuf on the left. You get ArcTan, some this, some that, then solve for an explicit expression of y in terms of x.
 
Last edited:
  • #19
ODE is confusing. Very confusing.

Now, Mathematica gives this thing for the integral. I'm assuming I did something wrong there as well?
 

Attachments

  • untitled.JPG
    untitled.JPG
    5.7 KB · Views: 437
Last edited by a moderator:
  • #20
Icebreaker said:
ODE is confusing. Very confusing.

Now, Mathematica gives this thing for the integral. I'm assuming I did something wrong there as well?

Mathematica returns:

[tex]\int \frac{dy}{\sqrt{e^{-2y}-1}}=-ArcTan[-1+e^{-2y}][/tex]

however, you can just solve it from scratch using the substitution:

[tex]u=e^{-y}[/tex]

and get the answer expressed in terms of ArcSec.
 
  • #21
Well then. Thanks.
 
  • #22
saltydog said:
Mathematica returns:
[tex]\int \frac{dy}{\sqrt{e^{-2y}-1}}=-ArcTan[-1+e^{-2y}][/tex]
however, you can just solve it from scratch using the substitution:
[tex]u=e^{-y}[/tex]
and get the answer expressed in terms of ArcSec.

You know Icebreaker, I made a mistake up there.

[tex]\int \frac{dy}{\sqrt{e^{-2y}-1}}=-ArcTan\left(\sqrt{e^{-2y}-y}\right)[/tex]

Sorry about that. Perhaps I was a bit direct with the cliff stuf up there. See. I recognize when I make mistakes. Anyway, we do the integration and finally we get:

[tex] y(x)=-ln\left(\sqrt{\text{Tan}^2(x-3)+1}\right)[/tex]
 
  • #23
Perhaps I shall one day learn to regonise mistakes as well, after actually learning half the materials up there. ODE + Deadlines, not a good mix.
 

Similar threads

Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
3
Views
2K