a second-order ODE is linear if it can be written as
y,,+p(t)y′+q(t)y=g(t)
other wise, the ode is non-linear
Homogeneous vs non-homogeneous:
A second order Linear ODE is called homogeneous if the RHS function g(t)=0, or G(t)=0
other wise, it is called non homogeneous
to solve these equations we just think it is homogenous and solve that and then bring back that solution to the origanal function
Initial conditions
to obtian a unique solution, 2 initial conditions must be imposed:
Boundry value problems
Definition
insteaf of initial conditions, you can determine a unque solution by imposing two conditions on y only at the endpoints of an interval [t0, t1]
Example
find the general solution
y′′+5y′+6y=0
recall: the ode y’=ry has solution y(t)=cert
idea: try out the same exponential form of solution y(t)=ert
y(t)=ert,y′(t)=rert,y′′(t)=r2ert plugging this into the eq ->r2ert+5(rert)+6ert=0⟹ert(r2+5r+6)=0⟹(r+2)(r+3)=0→r=−2,y(t)=e−2t→r=−,y(t)=e−3ty(t)=c1e−2t+c2e−3tplugging it into the equation again⟹(4c1e−2t+9c2e−3)+5(−2c1e−2t−3c2e−3t)+6(c1e−2t+c2e−3t)=0y(t)=c1e−2t+c2e−3t