Final answer:
The solution to the initial-value problem y''+4y=-3 with given initial conditions is y(x) = 1/4 cos(2x) + 7/2 sin(2x) - 3/4, derived by finding the general solution to the homogeneous equation, a particular solution to the non-homogenous equation, and applying the given initial conditions to solve for the constants.
Step-by-step explanation:
To solve the initial-value problem y''+4y=-3, with initial conditions y(\frac{\pi}{8})=\frac{1}{4}, and y'(\frac{\pi}{8})=2, we first find the general solution to the homogeneous equation y''+4y=0, and then find a particular solution to the non-homogenous equation.
The general solution to the homogeneous equation is y_h(x) = C_1 \cos(2x) + C_2 \sin(2x), where C_1 and C_2 are constants to be determined. A particular solution to the non-homogenous equation is y_p(x) = -\frac{3}{4}, since the non-homogeneous term is a constant.
The general solution to the initial-value problem is y(x) = y_h(x) + y_p(x). Using the initial conditions, we substitute x = \frac{\pi}{8} into y(x) and y'(x) to find C_1 and C_2. After substituting and solving the system of equations, we obtain the particular solution:
y(x) = \frac{1}{4} \cos(2x) + \frac{7}{2} \sin(2x) - \frac{3}{4}.