Examples from ODE fundamentals
All examples from ODE fundamentals.
[EXAMPLE]The relation
y+tan−1y=2x2defines a solution of
y′=2+y2x(1+y2).Differentiating implicitly gives
y′+1+y2y′=x.Collecting the terms containing y′,
y′1+y22+y2=x,so
y′=2+y2x(1+y2).
[EXAMPLE]For a first-order equation,
y′=sin(3x)gives
y=−31cos(3x)+C.For a third-order equation,
y′′′=0gives
y=Ax2+Bx+C.For
y′′=x+5,integrating twice gives
y=6x3+25x2+C1x+C2.
[EXAMPLE]For the IVP
y′=sin(3x),y(0)=4,the general solution gives
−31+C=4.Thus
y=4+31−cos(3x).For the BVP
y′′+6y′+9y=0,y(0)=1,y(2)=0,the repeated-root solution is
y=(A+Bx)e−3x.The first condition gives A=1. The second gives
(1+2B)e−6=0,so B=−21. The BVP solution is therefore
y=(1−2x)e−3x.
[EXAMPLE]The instruction "solve the IVP" can have different outcomes:
- y′=x, y(0)=1 has the unique solution y=1+x2/2.
- y′=3y2/3, y(0)=0 has at least the two solutions y=0 and y=x3, so uniqueness can fail. The Lipschitz condition explains why.
- xy′=y−1, y(0)=1 has the family y=1+Cx; the coefficient of y′ vanishes at the initial point, so the usual normal form is singular there.
- ∣y′∣+∣y∣=0, y(0)=1 has no solution, because the equation forces y=0 everywhere while the initial value requires y(0)=1.