Clear Notion Academy

Differential Equations (Beyond Advanced) Practice: Let y +y=2x on [0,1] , with 0 1 e x y(x) ,dx=0 . Find y(1)-y(0) , correct to two decimal…

Question

Let y′+y=2xy\prime+y=2x on [0,1][0,1], with ∫01exy(x) dx=0\int_0^1 e^x y(x)\,dx=0. Find y(1)−y(0)y(1)-y(0), correct to two decimal places.

Answer

Answer: 1.09

Hint

The weighted integral constrains the constant in the integrating-factor solution; it is not the integral term in the unweighted DE.

Solution

The IF exe^x gives y=2x−2+Ce−xy=2x-2+Ce^{-x}. Multiplying by exe^x and integrating yields 0=∫01(2x−2)ex dx+C=4−2e+C0=\int_0^1(2x-2)e^x\,dx+C=4-2e+C. Thus C=2e−4C=2e-4, y(0)=2e−6y(0)=2e-6 and y(1)=2−4/ey(1)=2-4/e. Their difference is 8−2e−4/e=1.091918578…8-2e-4/e=1.091918578\ldots, which rounds to 1.091.09. Simply integrating the original equation with a zero unweighted mean would confuse two different constraints.

More questions from Differential Equations (Beyond Advanced) Practice

Practise the full set: Differential Equations — Beyond Advanced