Each answer here was worked out by hand, without RatMath, before the RatMath code was written. Where the arithmetic is long, the working says how it was checked.
1.Separable
Solve y′=xy2, y(0)=1.
Answer
−1/y=x2/2+C, C=−1: y=2−x22.
2.Linear, integrating factor
Solve y′+2y=e−x, y(0)=0.
Answer
(ye2x)′=ex: y=e−x−e−2x.
3.Exact equation
Solve (2xy+3)dx+(x2−1)dy=0.
Answer
My=2x=Nx. ψ=x2y+3x−y=C.
4.Bernoulli
Solve y′=y2−y.
Answer
v=1/y: v′−v=−1, v=1+Cex: y=1+Cex1 (and y=0).
5.Homogeneous
Solve y′=xx+y for x>0.
Answer
y=vx: v+xv′=1+v, v=lnx+C: y=xlnx+Cx.
6.Distinct real roots
Solve y′′−5y′+6y=0.
Answer
r2−5r+6=0, r=2,3: y=C1e2x+C2e3x.
7.Repeated root
Solve y′′+4y′+4y=0, y(0)=1, y′(0)=0.
Answer
y=(C1+C2x)e−2x; C1=1, C2−2=0: y=(1+2x)e−2x.
8.Complex roots
Solve y′′+2y′+5y=0.
Answer
r=−1±2i: y=e−x(C1cos2x+C2sin2x).
9.Undetermined coefficients
Find a particular solution of y′′−3y′+2y=4x.
Answer
yp=Ax+B: 2A=4, −3A+2B=0: yp=2x+3.
10.Resonance
Find a particular solution of y′′+y=cosx.
Answer
yp=2xsinx.
11.Variation of parameters
Find a particular solution of y′′+y=secx.
Answer
yp=xsinx+cosxln∣cosx∣.
12.Laplace transform
Find L{t2e3t}.
Answer
(s−3)32.
13.Inverse Laplace transform
Find L−1{s2+4s+13s+1}.
Answer
(s+2)2+9(s+2)−1: e−2t(cos3t−31sin3t).
14.Step forcing
Solve y′+y=u(t−1), y(0)=0, where u is the unit step.
Answer
Y=s(s+1)e−s: y=u(t−1)(1−e−(t−1)).
15.Linear system
Solve x′=(1221)x and classify the origin.
Answer
Eigenvalues 3 with (1,1), −1 with (1,−1): x=c1e3t(1,1)+c2e−t(1,−1). A saddle, unstable.
16.Classifying an equilibrium
Classify the origin for x′=y, y′=−x−y.
Answer
Trace −1, determinant 1, discriminant 1−4<0: a stable spiral.
17.Nonlinear phase plane
Find and classify the equilibria of x′=x(3−x−y), y′=y(x−1) with x,y≥0.