Question
Question: If \[y\left( x \right)\] is the differential equation \[\dfrac{dy}{dx}+\left( \dfrac{2x+1}{x} \right...
If y(x) is the differential equation dxdy+(x2x+1)y=e−2x,x>0, where y(1)=21e−2, then:
A. y(x) is decreasing in (0,1)
B. y(x) is decreasing in (21,1)
C. y(ln2)=4ln2
D. y(ln2)=ln4
Solution
To solve this question, we will make use of integrating factors. The integrating factor will be chosen in such a way that if we multiply both sides with the integrating factor can make the left-hand side of the general linear differential equation more compact. We will then integrate both sides of this simplified compact linear differential equation to get an equation in x and y and a constant. We will then apply the given condition y(1)=21e−2 to find the constant. Once we get the final equation, we can verify which of the given options are correct.
Complete step by step answer:
A linear differential equation of first order given in form as shown below can be solved by finding the integrating factor of the differential equation. The general linear differential equation is given below
dxdy+f(x)y=g(x)
The equation of this form can be solved by finding integrating factor and following procedures given below:
First we find the integrating factor(I) with the formula given below. This integrating factor will be a function of x since f(x) and g(x) also are function of x
I=e∫f(x)dx
Multiplying both sides of general first order linear differential equation with this integrating factor we get,
e∫f(x)dx(dxdy+f(x)y)=e∫f(x)dxg(x)
e∫f(x)dxdxdy+f(x)ye∫f(x)dx=e∫f(x)dxg(x)
Left hand side can be written compactly as shown below with important formula dxd(e∫f(x)dx)=f(x)e∫f(x)dx we can write it as simply as possible:
dxd(e∫f(x)dx)=f(x)e∫f(x)dx
On integrating both sides with respect to x we get the complete solution of the above differential equation:-
ye∫f(x)dx=∫e∫f(x)dxg(x)dx+c, where c is arbitrary constant
Applying the same process with given question
dxdy+(x2x+1)y=e−2x
We find the Integrating factor(I) with the method stated above
I=e∫x2x+1dx=e∫(2+x1)dx=e2x+∫xdx=e2x+ln(x)=e2xeln(x)=xe2x
Using Integrating factor to solve differential equation,
yxe2x=∫xe2xe−2xdx+c
yxe2x=∫xe2x−2xdx+c
yxe2x=∫xdx+c
And this is the solution we were solving for,
yxe2x=2x2+c
Given y(1)=21e−2
To find value of constant use given values mentioned in the question,
We can substitute the given boundary conditions to find the arbitrary constant,At x=1we gety=21e−2
ye2=212+c
21e−2+2=21+c
We get c=0
We have obtained the particular solution for the differential equation mentioned above after substituting value of constant which is –
yxe2x=2x2
ye2x=2x
We can see the particular solution for the given differential equation:-
y=2xe−2x
In order to determine whether function y(x) is a decreasing function if so in what interval. We will differentiate the given function wrt to x and if y′(x) is greater than 0 then it is an increasing function else a decreasing function.
We know the formula dxd(ex)=ex and dxd[f(x)g(x)]=f′(x)g(x)+f(x)g′(x)
Using above formula we get the derivative as:
y′=2e−2x+2xe−2x(−2)
y′=2e−2x−xe−2x
Given below is derivative of the function y:
y′=(21−x)e−2x
If y′<0 then the function is a decreasing function.
(21−x)e−2x<0
Hence, the given function is decreasing for values of x given below,
x>21
So, the correct answer is “Option B”.
Note: In case above general linear differential equation is of form dydx+f(y)x=g(y) then in that case integrating factor becomes I=e∫f(y)dy and general solution comes in form xe∫f(y)dy=∫e∫f(y)dyg(y)dy+c.