Q.63 d2y/dx2 − y = 0. The initial conditions for this second order homogeneous differential equation are:
y(0) = 1 and dy/dx = 3 at x = 0
The value of y when x = 2 is __________.
Solution of the Differential Equation d2y/dx2 − y = 0
Initial conditions: y(0) = 1, y′(0) = 3
Final result: y(2) ≈ 14.64
Problem Statement
Solve the second-order homogeneous differential equation
d2y/dx2 − y = 0
subject to the initial conditions:
- y(0) = 1
- dy/dx (0) = 3
and determine the value of y at x = 2.
Step 1: Characteristic Equation
Assume a solution of the form:
y = erx
Substituting into the differential equation gives:
r2 − 1 = 0
Solving:
r = ±1
Step 2: General Solution
The general solution is:
y(x) = c1ex + c2e−x
This can also be written using hyperbolic functions:
y(x) = A cosh(x) + B sinh(x)
Step 3: Apply Initial Conditions
Condition 1: y(0) = 1
c1 + c2 = 1
Condition 2: y′(0) = 3
First derivative:
y′(x) = c1ex − c2e−x
At x = 0:
c1 − c2 = 3
Solving the Two Equations
Adding:
2c1 = 4 → c1 = 2
Therefore:
c2 = −1
Final Form of the Solution
y(x) = 2ex − e−x
or equivalently:
y(x) = 2 cosh(x) + sinh(x)
Step 4: Evaluate y(2)
y(2) = 2e2 − e−2
Using numerical values:
- e2 ≈ 7.389
- e−2 ≈ 0.135
y(2) = 2(7.389) − 0.135
= 14.778 − 0.135
= 14.64
Final Answer
y(2) ≈ 14.64
Exam Notes
- This is a standard linear homogeneous ODE with constant coefficients
- Always apply initial conditions after finding the general solution
- Hyperbolic and exponential forms are mathematically equivalent


