To solve this problem, we first need to find the general solution to the homogeneous part of the differential equation and then find a particular solution for the inhomogeneous part involving the Dirac delta function. Finally, we will apply the initial conditions and solve for the value of (k) that makes the peak response equal to 2.
Given:
[y'' + \frac{1}{2}y' + y = k\delta(t-1)]
with initial conditions:
[y(0) = 0, \quad y'(0) = 0]
Step 1: Solve the homogeneous equation
The homogeneous equation is:
[y'' + \frac{1}{2}y' + y = 0]
The characteristic equation is:
[r^2 + \frac{1}{2}r + 1 = 0]
Using the quadratic formula:
[r = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} = \frac{-\frac{1}{2} \pm \sqrt{(\frac{1}{2})^2 - 4 \cdot 1 \cdot 1}}{2 \cdot 1}]
[r = \frac{-1 \pm \sqrt{1 - 4}}{2} = \frac{-1 \pm \sqrt{-3}}{2}]
So, the roots are complex:
[r_1 = -\frac{1}{2} + \frac{\sqrt{3}}{2}i, \quad r_2 = -\frac{1}{2} - \frac{\sqrt{3}}{2}i]
The general solution to the homogeneous equation is:
[y_h(t) = e^{-\frac{t}{2}}(C_1 \cos(\sqrt{3}t) + C_2 \sin(\sqrt{3}t))]
Step 2: Find a particular solution for the inhomogeneous equation
For the inhomogeneous equation involving the Dirac delta function, we can use the method of variation of parameters. However, given the simplicity of the forcing function, we can guess a solution of the form:
[y_p(t) = A\delta(t-1)]
Taking the first and second derivatives:
[y_p'(t) = A'\delta(t-1) - A\delta'(t-1)]
[y_p''(t) = A''\delta(t-1) - 2A'\delta'(t-1) + A\delta''(t-1)]
Substituting (y_p(t)), (y_p'(t)), and (y_p''(t)) into the original equation:
[A\delta''(t-1) - 2A'\delta'(t-1) + A\delta(t-1) + \frac{1}{2}(A'\delta(t-1) - A\delta'(t-1)) + A\delta(t-1) = k\delta(t-1)]
Comparing the coefficients of (\delta(t-1)) and (\delta'(t-1)), we find:
[A = k]
[2A' - \frac{1}{2}A = 0]
Solving for (A') gives:
[A' = \frac{1}{4}k]
Since (A) is non-zero only at (t=1), the particular solution is:
[y_p(t) = k\delta(t-1)]
Step 3: General solution and applying initial conditions
The general solution is the sum of the homogeneous and particular solutions:
[y(t) = e^{-\frac{t}{2}}(C_1 \cos(\sqrt{3}t) + C_2 \sin(\sqrt{3}t)) + k\delta(t-1)]
Applying the initial conditions:
[y(0) = 0 \Rightarrow C_1 = 0]
[y'(0) = 0 \Rightarrow -\frac{1}{2}C_2 + k = 0 \Rightarrow C_2 = 2k]
The solution for (t > 1) (ignoring the transient part due to the initial conditions) is:
[y(t) = k]
Step 4: Find (k_1) for a peak response of 2
We want the response to have a peak value of 2. Since the response is constant for (t > 1), we set:
[k = k_1 = 2]
Therefore, the value of (k) for which the response has a peak value of 2 is (k_1 = \boxed{2}).