NivaarExam PrepOfficial exam papers ↗

04-BS-1 · December 2017

Question 2 of 8: Euler–Cauchy Equation with Non-Resonant Exponential–Polynomial Forcing

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

National Exams — December 2017 — 04-BS-1 Mathematics. Three-hour, closed-book exam (one double-sided aid sheet permitted, approved calculator allowed). Format: eight questions offered; any five constitute a complete paper and only the first five appearing in the answer book are marked. All eight are solved below for completeness.

Reference texts: Kreyszig, Advanced Engineering Mathematics (10th ed., Wiley) — ODEs, systems of ODEs, Laplace transforms, line/surface integrals, Stokes'/divergence theorems; Stewart, Calculus: Early Transcendentals (9th ed., Cengage) — spherical coordinates, tangent planes and linear approximation, triple integrals.

Question 2: Euler–Cauchy Equation with Non-Resonant Exponential–Polynomial Forcing (20 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given. An Euler–Cauchy (equidimensional) ODE with forcing $(1-2x)x^3e^{-2x}$, which is not itself an Euler-compatible power of $x$ (it carries an $e^{-2x}$ factor), so undetermined coefficients does not apply directly.

Find. The general solution $y(x)$ (two arbitrary constants).

Approach. Solve the homogeneous Euler–Cauchy equation with the power trial $y=x^m$, then build a particular solution by variation of parameters using the two homogeneous solutions as a basis. Dividing the forcing by the Wronskian is engineered by the source paper to cancel the denominator exactly, leaving an elementary polynomial×exponential integral.

  1. Homogeneous solution. Try $y=x^m$: $x^2\cdot m(m-1)x^{m-2}-2x\cdot mx^{m-1}+2x^m=0\Rightarrow m^2-3m+2=0=(m-1)(m-2)$, so $m=1,2$ and $$y_h(x)=C_1x+C_2x^2.$$
  2. Standard form and Wronskian. Dividing the ODE by $x^2$ puts it in standard form $y''-\tfrac2xy'+\tfrac2{x^2}y=g(x)$ with $g(x)=\dfrac{(1-2x)x^3e^{-2x}}{x^2}=(1-2x)xe^{-2x}$. With $y_1=x,\ y_2=x^2$, the Wronskian is $$W=y_1y_2'-y_2y_1'=x(2x)-x^2(1)=x^2.$$
  3. Variation-of-parameters integrals. The formula $y_p=-y_1\displaystyle\int\frac{y_2g}{W}dx+y_2\int\frac{y_1g}{W}dx$ needs $$\frac{y_2g}{W}=\frac{x^2(1-2x)xe^{-2x}}{x^2}=(x-2x^2)e^{-2x},\qquad \frac{y_1g}{W}=\frac{x(1-2x)xe^{-2x}}{x^2}=(1-2x)e^{-2x}$$ — the $x^2$ in $W$ exactly cancels the $x^2$ in the numerators, leaving elementary polynomial×exponential integrands, both done by parts: $$\int(1-2x)e^{-2x}dx=xe^{-2x},\qquad \int(x-2x^2)e^{-2x}dx=\left(x^2+\tfrac x2+\tfrac14\right)e^{-2x}.$$
  4. Assemble the particular solution. $$y_p=-x\left(x^2+\tfrac x2+\tfrac14\right)e^{-2x}+x^2\left(xe^{-2x}\right)=\left(-x^3-\tfrac{x^2}2-\tfrac x4+x^3\right)e^{-2x}=-\left(\frac{x^2}2+\frac x4\right)e^{-2x}.$$

$$y(x)=\boxed{C_1x+C_2x^2-\left(\frac{x^2}2+\frac x4\right)e^{-2x}}$$

QuantityResult
Homogeneous solution$C_1x+C_2x^2$
Wronskian$W=x^2$
Particular solution$-\left(\tfrac{x^2}2+\tfrac x4\right)e^{-2x}$