Determining directional Field for say ##\dfrac{dy}{dx}=y-x##

  • Context: Undergrad 
  • Thread starter Thread starter chwala
  • Start date Start date
  • Tags Tags
    Curves
Click For Summary
SUMMARY

This discussion focuses on determining directional fields for the differential equation ##\dfrac{dy}{dx}=y-x##. Key steps include identifying turning and inflection points, setting ##\dfrac{dy}{dx}=0## to find isoclines, and analyzing the behavior of the function near these points. The conversation also touches on the use of integration factors and methods such as Euler, Heun's, and Runge-Kutta for solving differential equations. Participants emphasize the importance of stability analysis in relation to these fields.

PREREQUISITES
  • Understanding of differential equations, specifically linear differential equations.
  • Familiarity with methods such as Euler's method, Heun's method, and Runge-Kutta methods.
  • Knowledge of stability analysis in the context of differential equations.
  • Ability to perform integration by parts and utilize integration factors.
NEXT STEPS
  • Study the Euler method for numerical solutions of differential equations.
  • Explore Heun's method and its application in solving initial value problems.
  • Learn about the Runge-Kutta methods for higher accuracy in numerical solutions.
  • Investigate stability analysis techniques for differential equations.
USEFUL FOR

Mathematicians, students of calculus, and anyone involved in solving or analyzing differential equations, particularly those interested in stability and directional fields.

chwala
Gold Member
Messages
2,828
Reaction score
420
TL;DR
What are the key factors to consider when determining the directional fields for curves/straight lines?
I am looking at this now : My understanding is that in determining the directional fields for curves; establishing the turning points and/or inflection points if any is key...then one has to make use of limits and check behaviour of function as it approaches or moves away from these points thus giving us a family of curves. For the question posted here , ...we set ##\dfrac{dy}{dx}=0, c=y-x## and then proceed to get a family of curves (isoclines) then proceed to check the behaviour of other values in the neighbourhood of the parallel lines.

Pretty clear but i may have missed on something hence my post.
 

Attachments

  • directional fields.png
    directional fields.png
    20.2 KB · Views: 126
Physics news on Phys.org
fresh_42 said:
Appreciated...i just wanted to check that my reasoning is correct; then i should be able to determine stability/asymptotic stability or unstability of solutions related to these fields...refreshing on this. cheers man.

and i just clicked the linear differential equation on wolfram. How did they end up with the constant ##1## on ##y=c_1e^x+x+1## in my working i have

##\dfrac{dy}{dx}-y=-x##

using integration factor,

##e^{\int({-1})dx}= \dfrac{1}{e^x}##

...
I end up with,

##ye^{-x} = \int (-xe^{-x} )dx##

...and on integration by parts on rhs... i get,

##ye^{-x}=xe^{-x}+e^{-x} +c##

##y = x+1+ce^x## ahhhh ok boss i can see :cool: .

nice day.
 
Last edited:
  • Like
Likes   Reactions: fresh_42
chwala said:
Appreciated...i just wanted to check that my reasoning is correct; then i should be able to determine stability/asymptotic stability or unstability of solutions related to these fields...refreshing on this. cheers man.
It is similar to what we call "curve discussion" here, and Wiki "curve sketching": differentiate the function three times, determine the zeros, plug in the zeros from one derivative into the other ones, and draw the curve with the information about zeros, local minima, local maxima, asymptotes, inflection points, convex, and concave areas, etc.

It is only a bit more complicated with differential equation systems, but yes, determine as much data as possible: repellers, attractors, possible flows, and so on.
 
  • Like
Likes   Reactions: chwala
Are you trying to plot a Vector Field; specifically here, f(x,y)=y-x, and/or its Characteristic curves?
 
Last edited:
  • Like
Likes   Reactions: chwala
WWGD said:
Are you trying to plot a Vector Field; specifically here, f(x,y)=y-x, and/or its Characteristic curves?
Not really,... Just looking at how to plot directional fields...
 
  • Like
Likes   Reactions: WWGD

Similar threads

  • · Replies 1 ·
Replies
1
Views
645
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 24 ·
Replies
24
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K