Question
Question: The differential equation whose solution is \[y = ax + b{e^x}:\] a. \[(x - 1){y_2} - x{y_1} + y = ...
The differential equation whose solution is y=ax+bex:
a. (x−1)y2−xy1+y=0
b. (x−1)y2−xy1=y
c. x2y2−xy1+y=0
d. x2y2+xy1−y=0
Solution
We can solve this type of differential equations by differentiating only. We first differentiate the equation with respect to x to eliminate the x from the first term. And then we differentiate that equation again with respect to x, this will give the value of constant b. Putting the values of a and b in the first equation will give us our needed result.
Complete step-by-step answer:
y=ax+bex…….(i)
Differentiating with respect to x we get,
\Rightarrow $$$${y_1} = a + b{e^x} where, y1=dxdy ……….(ii)
Again, Differentiating with respect to x we get,
⇒ y2=bex where, y2=dx2d2y
Then,
⇒ b=y2e−x
Substituting the value of b in equation (ii), we get,
⇒ y1=a+y2e−x.ex
On simplification we get,
⇒y1=a+y2
⇒a=y1−y2
Again, putting the value of a and b in equation (i), we get,
y=(y1−y2)x+y2e−x.ex
On simplification we get,
⇒y=xy1−xy2+y2
On taking y2 common from last two terms we get,
⇒y=xy1−y2(x−1)
On rearranging we get,
⇒(x−1)y2−xy1+y=0
So, we have our answer as option a, (x−1)y2−xy1+y=0
Note: In this type of problems the target of the problem is to find the values of distinct constants a and b. Then putting the values of a and b into our given equation will give us our desired result.
Basically we can say that we are eliminating the constants to get a differential equation.