Variation of Parameters — Question 4

PDF ↗

Question 4

Let gg be continuous on ℝ\mathbb R. For y″+y=g(t)y''+y=g(t), compare the homogeneous bases (y1,y2)=(cos⁡t,sin⁡t),(z1,z2)=(cos⁡t+sin⁡t,cos⁡t−sin⁡t).(y_1,y_2)=(\cos t,\sin t),\qquad (z_1,z_2)=(\cos t+\sin t,\cos t-\sin t). In both parameter constructions, set the two parameter values to zero at t=0t=0.

Tasks

  1. Derive the parameter derivatives for both bases, including the sign of each Wronskian.

  2. Prove directly that both constructions give the same integral formula for the zero-data response.

  3. If the lower endpoint is changed from zero to aa, express the difference between the two particular solutions as a homogeneous combination.

  4. Apply the formula to g(t)=et2g(t)=e^{t^2} with y(0)=2y(0)=2, y′(0)=−1y'(0)=-1. Verify the solution without assuming that its integrals have elementary antiderivatives.

Original worksheet page 1: question and worked solution for 3-10-004
Show solutionHide solution

Question 4 – Solution

Strategy. A basis changes the parameter functions, but the integral response with fixed initial data must remain the same.

Step 1: Compute both parameter systems. For the first basis W=1W=1, so u1′=−gsin⁡tu_1'=-g\sin t, u2′=gcos⁡tu_2'=g\cos t. The constant change-of-basis determinant is −2-2, hence Wz=−2W_z=-2. Thus v1′=12g(cos⁡t−sin⁡t),v2′=−12g(cos⁡t+sin⁡t).v_1'=\tfrac 12g(\cos t-\sin t),\qquad v_2'=-\tfrac 12g(\cos t+\sin t). The negative Wronskian is essential to these signs.

Step 2: Compare the reconstructed functions. For the first basis, the integrand multiplying g(s)g(s) is sin⁡tcos⁡s−cos⁡tsin⁡s=sin⁡(t−s)\sin t\cos s-\cos t\sin s=\sin(t-s). For the second, it is 12[(cos⁡t+sin⁡t)(cos⁡s−sin⁡s)−(cos⁡t−sin⁡t)(cos⁡s+sin⁡s)],\tfrac 12[(\cos t+\sin t)(\cos s-\sin s) -(\cos t-\sin t)(\cos s+\sin s)], which expands to the same expression. Therefore both give Y0(t)=∫0tsin⁡(t−s)g(s)ds.\boxed{Y_0(t)=\int_0^t\sin(t-s)g(s)\,ds.} This also holds for negative tt using oriented integrals.

Step 3: Change the lower endpoint. Set Ya(t)=∫atsin⁡(t−s)g(s)dsY_a(t)=\int_a^t\sin(t-s)g(s)\,ds. Then Ya−Y0=cos⁡t∫0asin⁡sg(s)ds−sin⁡t∫0acos⁡sg(s)ds.Y_a-Y_0=\cos t\int_0^a\sin s\,g(s)\,ds -\sin t\int_0^a\cos s\,g(s)\,ds. Both coefficients are constants in tt. Changing the lower endpoint changes a particular solution only by a homogeneous term; the data must be fitted again.

Step 4: Use a nonelementary forcing. The requested solution is y=2cos⁡t−sin⁡t+∫0tsin⁡(t−s)es2ds.\boxed{y=2\cos t-\sin t+\int_0^t\sin(t-s)e^{s^2}\,ds.} Leibniz differentiation gives Y0′=∫0tcos⁡(t−s)es2dsY_0'=\int_0^t\cos(t-s)e^{s^2}\,ds and Y0″=et2−Y0Y_0''=e^{t^2}-Y_0. Also Y0(0)=Y0′(0)=0Y_0(0)=Y_0'(0)=0. Thus the equation and data hold. A definite-integral formula is a complete exact solution even without an elementary antiderivative.

Original worksheet page 2: question and worked solution for 3-10-004

Original worksheet layout. Use Enlarge or open the PDF for a closer view.