How does the line integral method solve ODEs?

In summary, the conversation revolves around the discussion of a first-order ODE, where the blue surface represents the function f(x,y) in the first quadrant and the vertical lines represent the line integral along the curve y(x), which is a particular solution for the ODE. The integral equation y(x)=y_0+\int_{x_0}^x f(t,y(t))dt is discussed, along with the notion of a "projection integral" and its relationship to the differential equation. The topic of solving higher-ordered ODEs is also briefly mentioned.
  • #1
saltydog
Science Advisor
Homework Helper
1,591
3
Though you guys might find this interesting. It's something I've not seen before. Consider the ODE:

[tex]\frac{dy}{dx}=f(x,y)[/tex]

and the attached plot below.

The blue represents the surface for the function f(x,y) (some particular example for the plot) in the first quadrant.

The vertical lines represents the line integral along the curve y(x) that is a (particular) solution for the ODE.

That is, we can say:

[tex]y(x)=y_0+\int_{y(x)} f(u,v) ds[/tex]

And thus solving the differential equation amounts to finding a curve in the x-y plane such that the value of the line integral starting from the point [itex](x_0,y_0)[/itex], along the curve y(x), to the point (x,y(x)), plus [itex]y_0[/itex] is the same as the value of y(x).

Why do I find that amazing?
 

Attachments

  • lineintegral.JPG
    lineintegral.JPG
    17 KB · Views: 376
Last edited:
Physics news on Phys.org
  • #2
saltydog said:
Though you guys might find this interesting. It's something I've not seen before. Consider the ODE:

[tex]\frac{dy}{dx}=f(x,y)[/tex]

and the attached plot below.

The blue represents the surface for the function f(x,y) (some particular example for the plot) in the first quadrant.

The vertical lines represents the line integral along the curve y(x) that is a (particular) solution for the ODE.

That is, we can say:

[tex]y(x)=y_0+\int_{y(x)} f(u,v) ds[/tex]

And thus solving the differential equation amounts to finding a curve in the x-y plane such that the value of the line integral starting from the point [itex](x_0,y_0)[/itex], along the curve y(x), to the point (x,y(x)), plus [itex]y_0[/itex] is the same as the value of y(x).

Why do I find that amazing?

For the record I was in error above.

[tex]y(x) \ne y_0+\int_{y(x)} f(u,v) ds[/tex]

but rather simply:

[tex]y(x)=y_0+\int_a^b f(t,y(t)) dt[/tex]

Thank God I'm not a Mathematician and I apologize if anyone was led astray by this.
 
  • #3
I believe I've resolved my mis-interpretation of the integral equation derived from the first order ODE:

[tex]\frac{dy}{dx}=f(x,y)[/tex]

Upon integration of both sides, we obtain:

[tex]y(x)=y_0+\int_{x_0}^x f(t,y(t))dt[/tex]


Erroneously above, I interpreted this to mean integration around the path that is y(x) when actually, I'm beginning to realize it's more like integration of the projection of the line integral onto a flat surface behind the x-y-plane. I hereby cristen this operation a "projection integral" and wish to define it in general:

Take any continuous function f(x,y) in the first quadrant and mark a trajectory upon it's surface that is one-to-one from the points [itex](x_0,y_0,z_0)[/itex] to [itex](x_1,y_1,z_1)[/itex]. Project the resulting curve onto a flat surface orthogonal to the x-y plane (and behind it). Integrate this curve from [itex]x_0[/itex] to [itex]x_1[/itex]. The resulting integral is:

[tex]\int_{x_0}^{x_1} P(t) dt[/tex]

where P is the projection function. Now, if the trajectory so marked on f(x,y), results from a path taken along the x-y plane in terms of some function g(x) which satisfies the following equation:

[tex]g(x)=y_0+\int_{x_0}^x P(t)dt[/tex]

Then g(x) satisfies the differential equation:

[tex]\frac{dg}{dt}=f(x,y)[/tex]

I believe this is correct and will pursue verifying it.
 
  • #4
Consider the equation:

[tex]\frac{dy}{dx}=y;\quad y(0)=1[/tex]

Solving we obtain:

[tex]y(x)=e^x[/tex]

We know that this function satisfies the integral equation:

[tex]y(x)=1+\int_0^x y(t)dt[/tex]

The first plot shows the equation f(x,y)=y in blue. Underneath this plot, shown in vertical lines, is the path that the solution [itex]y(x)=e^x[/itex] takes connecting it with the points immediately above it on the surface f(x,y). I was incorrect above to suggest that the corresponding line-integral along this path was directly related to the integral or differential equation. However, it's becomming clear to me that it's projection to a wall orthogonal to the x-y plane is related. The second plot is the projection of those lines to such a wall. They form a function I call C(x). The thick line is the curve [itex]y(x)=e^x[/tex] which fit it nicely. [itex]y(x)=e^x[/itex] of course is the solution to the differential equation.

What I find interesting is that this is the case for more complicated expressions for the function f(x,y). In fact, I suggest our goal of solving an ODE is to determine the projection function C(x) such that:

[tex]g(x)=y_0+\int_{x_0}^x C(t)dt[/tex]

where g(x) satisfies the differential equation. I know this may be obvious but I still find it interesting to look at the solution of an ODE from this perspective. :smile:


Edit:Oh yea, I suspect an analogous interpretation can be made for higher-ordered ODEs. That is, is there and if so, what is the projection function for a second-order ODE? Is it a surface, the volume underneath of which as a function of x and y, satisfy the differential equation?
 

Attachments

  • path1.JPG
    path1.JPG
    17.5 KB · Views: 354
  • path2.JPG
    path2.JPG
    6.1 KB · Views: 372
Last edited:
  • #5
Just a general comment.

You are on a pretty good track, of course a good fundamental course in ODE's would cover much of what you are playing with.

Hint: You are being very caviler with your limits of integration, take better care of them, understand what they mean in terms of your integral.

Hopefully Halls of Ivy will drop in and add his $.02.
 
  • #6
Integral said:
Just a general comment.

You are on a pretty good track, of course a good fundamental course in ODE's would cover much of what you are playing with.

Hint: You are being very caviler with your limits of integration, take better care of them, understand what they mean in terms of your integral.

Hopefully Halls of Ivy will drop in and add his $.02.

Hello Integral. Yes, a fundamental course. I don't believe I had that with Rainville and Bedient. And Devaney's book, which I've used a lot, is mostly qualitative. Might you kindly tell me specifically where I'm not being rigorous with the limits of integration? :smile:
 
  • #7
saltydog said:
Now, if the trajectory so marked on f(x,y), results from a path taken along the x-y plane in terms of some function g(x) which satisfies the following equation:

[tex]g(x)=y_0+\int_{x_0}^x P(t)dt[/tex]

Then g(x) satisfies the differential equation:

[tex]\frac{dg}{dt}=f(x,y)[/tex]

I believe this is correct and will pursue verifying it.

Suppose I need to make another correction: g(x) above satisfies the differential equation only if:

[tex]P(t)=f(t,g(t))[/tex]

with:

[tex]\frac{dg}{dx}=f(x,g)[/tex]

Suppose that's kind of a circular arguement. The geometry is still interesting though. Take for example:

[tex]\frac{dy}{dx}=\frac{1}{y};\quad y(0)=0[/tex]

Ignoring for the moment the Lipschitz condition is not met and we obtain two solutions, consider for the moment the positive solution:

The first plot shows [itex]f(x,y)=\frac{1}{y}[/itex] in blue along with the path of the solution underneath it.

The second plot is the solution.

The third plot is the projection function C(t) with y(x) described in terms of this function as:

[tex]y(x)=y_0+\int_{x_0}^x C(t)dt[/tex]
 

Attachments

  • oneovery.JPG
    oneovery.JPG
    15.6 KB · Views: 393
  • oneovery2.JPG
    oneovery2.JPG
    3.9 KB · Views: 405
  • oneovery3.JPG
    oneovery3.JPG
    3.4 KB · Views: 340
Last edited:
  • #8
I looked up the references you gave the first appears to be a first "how to solve" course the second appears to an applications course. By fundamental I meant a ODE theory course I took mine from Ordinary Differential Equations in Rn by Piccinini,Stampacchia, & Vidossich. This book starts from page 1 with constructions similar to your approach. Essentially each solution to a ODE is one of a family of "curves". The "curve" followed is defined by the initial conditions.

I may have been off the mark in my initial assement. Let me spend some more time looking at what you are doing.
 
  • #9
Integral said:
I looked up the references you gave the first appears to be a first "how to solve" course the second appears to an applications course. By fundamental I meant a ODE theory course I took mine from Ordinary Differential Equations in Rn by Piccinini,Stampacchia, & Vidossich. This book starts from page 1 with constructions similar to your approach. Essentially each solution to a ODE is one of a family of "curves". The "curve" followed is defined by the initial conditions.

I may have been off the mark in my initial assement. Let me spend some more time looking at what you are doing.

You know Integral, I'm really interested in uniqueness and what determines the number of solutions at a point which fails the Lipschitz condition: some ODEs have 2 solutions, some 3, some an infinite number. But I understand you're retiring so that's ok if I don't here from you. Look at the bright side: You could be going to Louisiana. It's in the mid-90's now. The gumbo's good though.:tongue2:
 
Last edited:

1. What is an ODE?

An ODE, or Ordinary Differential Equation, is a type of mathematical equation that describes the relationship between a function and its derivatives. It is commonly used to model systems that change over time, such as population growth or electrical circuits.

2. What is a new perspective for an ODE?

A new perspective for an ODE refers to a different way of looking at or approaching the solution of an ODE. This can involve using different mathematical techniques, interpretations, or applications to gain a deeper understanding of the system being modeled.

3. Why is a new perspective important for ODEs?

A new perspective can provide insights and solutions that may not be apparent from the traditional methods of solving ODEs. It can also help to simplify complex systems and make them more manageable to work with.

4. How can a new perspective be applied to real-world problems?

A new perspective for an ODE can be applied to real-world problems by using the ODE as a model to make predictions and analyze data. This can help in fields such as physics, engineering, biology, and economics, where systems are constantly changing and can be described by ODEs.

5. What are some examples of a new perspective for an ODE?

Some examples of a new perspective for an ODE include using numerical methods like Euler's method or Runge-Kutta methods, using Laplace transforms, or considering the ODE as a dynamical system. Other examples could involve interpreting the ODE in terms of physical or biological phenomena, or applying it to different types of problems, such as optimization or control theory.

Similar threads

Replies
7
Views
2K
  • Differential Equations
Replies
16
Views
865
  • Differential Equations
Replies
1
Views
5K
  • Differential Equations
Replies
1
Views
748
  • Differential Equations
Replies
2
Views
1K
Replies
13
Views
1K
  • Differential Equations
Replies
4
Views
2K
Replies
1
Views
815
  • Introductory Physics Homework Help
Replies
1
Views
650
  • Differential Equations
Replies
1
Views
2K
Back
Top