Main derivation
S01 · definition
Before
\text{initial-value problem}After
y''(x)=6x\ (x\in\mathbb{R}),\ y(0)=1,\ y'(0)=2Conditions: none
Rule: mko_ivp · Uses: G1, mko_ivp
Leaf basis: mko_ivp + def_intro
By the MKO, an initial-value problem consists of an equation and initial data for the same unknown function at a specified point. Here the equation is of second order (the highest derivative is y''), so two initial data are given: y(0)=1 and y'(0)=2. Both are requirements on the same function y at the same point x0=0.
S02 · equivalent
Before
y\ \text{solves the IVP}After
(E)\ \forall x\in\mathbb{R}:\ R_y(x)=0\ \land\ (I_1)\ y(0)=1\ \land\ (I_2)\ y'(0)=2Conditions: none
Rule: def_unfold · Uses: S01, G3, mko_ode_residual
Leaf basis: def_unfold + and_intro_elim
Unfold 'solves the initial-value problem': a candidate must meet three requirements at once: the equation requirement (E), that the residual R_y(x)=y''(x)−6x vanishes on all of ℝ, and the two initial-condition requirements (I1) and (I2). They form a conjunction, and failure of any one means the candidate does not solve this initial-value problem.
S03 · equivalent
Before
y_A=x^3+2x+1
After
y_A'=3x^2+2,\ y_A''=6x
Conditions: none
Rule: poly_deriv · Uses: G2, poly_deriv
Leaf basis: poly_deriv
Differentiate y_A term by term with the derivative rules for polynomials, in two sub-steps for the first and second derivatives.
S04 · equivalent
Before
R_{y_A}(x)=y_A''(x)-6xAfter
R_{y_A}(x)=6x-6x=0\ \ \forall x\in\mathbb{R}Conditions: none
Rule: eq_replace · Uses: S03, S02
Leaf basis: eq_replace + add_inverse + forall_intro
Substitute y_A''=6x: R_{y_A}(x)=6x−6x=0. This is an algebraic identity valid for every real x, not the result of sampling some points, so the equation requirement (E) holds on all of ℝ.
S05 · equivalent
Before
y_A(0),\ y_A'(0)
After
y_A(0)=1,\ y_A'(0)=2
Conditions: none
Rule: numeric_evaluation · Uses: G2, S03
Leaf basis: numeric_evaluation + forall_elim
Substitute x=0: y_A(0)=0+0+1=1 and y_A'(0)=3·0+2=2. Both initial-condition requirements (I1) and (I2) hold. Note that y_A'(0) uses the derivative y_A', not y_A itself.
S06 · implies
Before
(E),\ (I_1),\ (I_2)\ \text{for}\ y_AAfter
y_A\ \text{solves the IVP on}\ \mathbb{R}Conditions: none
Rule: and_intro_elim · Uses: S02, S04, S05
Leaf basis: and_intro_elim + def_unfold
All three requirements are proved (S04, S05), so by S02 y_A solves this initial-value problem on ℝ. This also shows the problem has at least one solution; uniqueness is not claimed.
S07 · implies
Before
y_B=x^3+1
After
R_{y_B}\equiv 0,\ y_B(0)=1,\ y_B'(0)=0\neq 2Conditions: none
Rule: poly_deriv · Uses: G2, poly_deriv, S02
Leaf basis: poly_deriv + de_morgan_logic + numeric_evaluation
y_B'=3x² and y_B''=6x, so R_{y_B}(x)=6x−6x=0 for every x and (E) holds; y_B(0)=1, so (I1) holds; but y_B'(0)=3·0=0≠2, so (I2) fails. By S02, y_B satisfies the equation but does not solve this initial-value problem.
S08 · implies
Before
y_A,\ y_B\ \text{both satisfy}\ (E),\ (I_1)After
y_A(1)=4\neq 2=y_B(1)
Conditions: none
Rule: numeric_evaluation · Uses: S04, S05, S07
Leaf basis: numeric_evaluation + exists_intro
y_A and y_B both satisfy the equation and y(0)=1, but y_A(1)=1+2+1=4 and y_B(1)=1+1=2, so they are different functions. Hence y(0)=1 alone does not single out a solution; the second datum y'(0)=2 is what excludes y_B. This is why the MKO says a second-order problem typically needs both y(x0) and y'(x0).
S09 · implies
Before
y_C=x^2+2x+1
After
y_C(0)=1,\ y_C'(0)=2,\ R_{y_C}(0)=2\neq 0Conditions: none
Rule: quantifier_negation · Uses: G2, poly_deriv, S02
Leaf basis: quantifier_negation + poly_deriv + numeric_evaluation
y_C'=2x+2 and y_C''=2. Initial data: y_C(0)=1 and y_C'(0)=2, both hold. But R_{y_C}(x)=2−6x, and at x=0, R_{y_C}(0)=2≠0. To negate 'R(x)=0 for every x' one x with R(x)≠0 is enough, so (E) fails and y_C is not a solution. Someone who checks only the initial data would wrongly accept y_C.
S10 · equivalent
Before
y_D=3x^5-15x^4+21x^3+2x+1
After
y_D'=15x^4-60x^3+63x^2+2,\ y_D''=60x^3-180x^2+126x
Conditions: none
Rule: poly_deriv · Uses: G2, poly_deriv
Leaf basis: poly_deriv + numeric_evaluation
Differentiate y_D term by term, computing the first and second derivatives in two sub-steps; the coefficient products are checked exactly in N2 to N7.
S11 · equivalent
Before
R_{y_D}(x)=y_D''(x)-6xAfter
R_{y_D}(x)=60x^3-180x^2+120x=60x(x-1)(x-2)Conditions: none
Rule: distributive · Uses: S10, G3
Leaf basis: distributive + add_assoc + numeric_evaluation
R_{y_D}(x)=60x³−180x²+126x−6x=60x³−180x²+120x. Factor out the common factor: 60x(x²−3x+2), and x²−3x+2=(x−1)(x−2). So R_{y_D}(x)=60x(x−1)(x−2); N9 checks this as a polynomial identity.
S12 · implies
Before
x\in\{0,1,2\}After
R_{y_D}(0)=R_{y_D}(1)=R_{y_D}(2)=0,\ y_D(0)=1,\ y_D'(0)=2Conditions: none
Rule: zero_product · Uses: S11, G2, G3, S10
Leaf basis: zero_product + numeric_evaluation
On the specified grid one factor of 60x(x−1)(x−2) is zero, so the residual is 0 at all three points (N10). Initial data: y_D(0)=1 (only the constant term remains) and y_D'(0)=2 (only the constant term 2 remains). y_D passes this finite-grid-plus-initial-data audit.
S13 · implies
Before
R_{y_D}(3)After
60\cdot 3\cdot 2\cdot 1=360\neq 0\ \Rightarrow\ y_D\ \text{not a solution}Conditions: none
Rule: quantifier_negation · Uses: S11, S12, S02
Leaf basis: quantifier_negation + numeric_evaluation
Take x=3 outside the grid: R_{y_D}(3)=60·3·2·1=360≠0. So 'R(x)=0 for every x' fails, (E) fails and y_D does not solve this initial-value problem, even though it passed the finite audit of S12. This is the MKO's warning: a zero residual at finitely many points is not an identity on the whole interval.
S14 · implies
Before
y_A,\ y_B,\ y_C,\ y_D
After
\text{only}\ y_A\ \text{solves the IVP among the four candidates}Conditions: none
Rule: case_analysis · Uses: S06, S07, S09, S13
Leaf basis: case_analysis + and_intro_elim
Each of the four candidates is decided: y_A meets all three requirements (S06); y_B fails at y'(0) (S07); y_C fails the equation (S09); y_D passes only the finite grid and fails the equation at x=3 (S13). The conclusion covers these four candidates only: y_A is a solution and the others are not.
Error controls and negative controls
Checking the initial data but not the equation
The first mistake named by the MKO. y_C satisfies y(0)=1 and y'(0)=2, but y_C''=2 and the residual 2−6x is already 2 at x=0 (S09). The equation requirement and the initial-condition requirements must be checked separately, and failure of either rules the candidate out.
Zero residual on a finite grid does not establish a solution on the whole interval
The second mistake named by the MKO. The residual 60x(x−1)(x−2) of y_D vanishes on the whole grid {0,1,2} and the initial values match, but R(3)=360 (S12, S13). Finite sampling can refute (by finding a nonzero point) but cannot by itself prove a residual is identically zero; for y_A, the residual is shown to vanish for all x by the algebraic identity 6x−6x=0.
A second-order problem needs two initial values
y_A and y_B both satisfy y''=6x and y(0)=1, yet they are different functions (S08). Checking only y(0) would wrongly accept y_B; y'(0)=2 is the necessary second datum. When checking y'(0), substitute into the derivative y', not into y itself.
- y_C(0)=1 and y_C'(0)=2, so y_C solves this initial-value problem →
reject — R_{y_C}(x)=2−6x and R_{y_C}(0)=2≠0, so the equation fails. - y_D has zero residual at 0, 1 and 2 and correct initial values, so y_D is a solution →
reject — R_{y_D}(3)=60·3·2·1=360≠0. - y_B satisfies y''=6x and y(0)=1, so it solves this initial-value problem →
reject — y_B'(0)=0≠2, so the second initial value fails. - Finding one candidate that meets the equation and the initial data proves that the solution is unique →
reject — One solution existing does not exclude others; with only y(0)=1, y_A and y_B are two different solutions. Uniqueness needs a separate argument, which this guide does not give.