A solution that contains as many arbitrary constants as the order of the differential equation is its general solution. A particular solution is obtained from it by giving the constants definite values, which needs as many conditions as there are constants.
Given: y′′−5y′+6y=0, with y=1 and y′=4 at x=0. To find: the values of k, a verification, and the particular solution.
Step 1 — Substitute y=ekx. Here y′=kekx and y′′=k2ekx, so
k2ekx−5kekx+6ekx=ekx(k2−5k+6)=0
Since ekx=0, we need k2−5k+6=(k−2)(k−3)=0, so k=2 or k=3.
Step 2 — Verify y=Ae2x+Be3x. Here y′=2Ae2x+3Be3x and y′′=4Ae2x+9Be3x, so
y′′−5y′+6y=Ae2x(4−10+6)+Be3x(9−15+6)=0
It is a solution for all A,B. It contains two arbitrary constants, which cannot be merged into one because e3x is not a constant multiple of e2x. Two constants equal the order 2 of the equation, so it is the general solution.
Step 3 — Use the two conditions. From y(0)=1: A+B=1. From y′(0)=4: 2A+3B=4. Subtracting twice the first equation from the second gives B=2, and then A=−1.
Answer: (i) k=2 or k=3. (ii) y=Ae2x+Be3x satisfies the equation for all A and B, and its two independent arbitrary constants equal the order 2, so it is the general solution. (iii) The particular solution is y=2e3x−e2x.
Note: Check: y(0)=2−1=1 and y′(0)=6e0−2e0=4, as required.