Differential Equations
Linear differential equations
Grade 12
Question:
<p>Let \(\frac{x\,dy}{dx} - y = x^2\left(xe^x + e^x - 1\right)\) for all \(x \in \mathbb{R} - \{0\}\) such that \(y(1) = e - 1\). If \(y(2) = k\,y(1)\,(y(1) + 2)\), then the value of \(\dfrac{k^2}{5}\) is</p>
Step-by-Step Solution
Key Concept: Rewrite the equation in standard linear form dy/dx - y/x = x(xe^x + e^x - 1), then find the integrating factor e^(-∫1/x dx) = 1/x to transform it into a solvable exact equation.
<p><strong>Step 1:</strong> Rewrite the equation in standard form by dividing by x:</p><p>dy/dx - y/x = x²e^x + xe^x - x</p><p><strong>Step 2:</strong> Identify as linear ODE with P(x) = -1/x. The integrating factor is:</p><p>μ(x) = e^(-∫1/x dx) = e^(-ln|x|) = 1/x</p><p><strong>Step 3:</strong> Multiply both sides by μ(x) = 1/x:</p><p>(1/x)·dy/dx - y/x² = xe^x + e^x - 1</p><p><strong>Step 4:</strong> Recognize left side as d/dx(y/x):</p><p>d/dx(y/x) = xe^x + e^x - 1</p><p><strong>Step 5:</strong> Integrate both sides:</p><p>y/x = ∫(xe^x + e^x - 1)dx</p><p>Using integration by parts on xe^x: ∫xe^x dx = xe^x - e^x</p><p>y/x = (xe^x - e^x) + e^x - x + C = xe^x - x + C</p><p><strong>Step 6:</strong> Apply initial condition y(1) = e - 1:</p><p>(e - 1)/1 = 1·e - 1 + C</p><p>e - 1 = e - 1 + C ⟹ C = 0</p><p><strong>Step 7:</strong> Therefore y = x(xe^x - x) = x²e^x - x²</p><p><strong>Step 8:</strong> Find y(2):</p><p>y(2) = 4e² - 4</p><p><strong>Step 9:</strong> Use condition y(2) = k·y(1)·(y(1) + 2):</p><p>4e² - 4 = k(e - 1)(e - 1 + 2)</p><p>4(e² - 1) = k(e - 1)(e + 1)</p><p>4(e - 1)(e + 1) = k(e - 1)(e + 1)</p><p>k = 4</p><p><strong>Step 10:</strong> Calculate k²/5:</p><p>k²/5 = 16/5</p><p>∴ Answer: <strong>16/5 or 3.2</strong></p>
Correct Answer: 16