
If the solution of the differential equation $x\dfrac{dy}{dx}+y=x{{e}^{x}}$ be $xy={{e}^{x}}\varphi (x)+c$. Then, $\varphi (x)$ is equal to?
(a) x + 1
(b) x – 1
(c) 1 – x
(d) x
Answer
604.8k+ views
Hint: For solving this question, we use the basic concepts of first order linear differential equations. The formula for first order linear equation $\dfrac{dy}{dx}$ + P(x)y = Q(x) is given by –
y ${{e}^{\int{P(x)dx}}}$ = $\int{\left( Q(x){{e}^{\int{P(x)dx}}} \right)}\text{ }dx$ + c
Complete step by step answer:
Thus, to solve this problem, we first convert $x\dfrac{dy}{dx}+y=x{{e}^{x}}$ into format similar to $\dfrac{dy}{dx}$ + P(x)y = Q(x). This would be because we can then use the formula y ${{e}^{\int{P(x)dx}}}$ = $\int{\left( Q(x){{e}^{\int{P(x)dx}}} \right)}\text{ }dx$ + c , to get the required differential equation. Thus, in the given problem, we have,
$x\dfrac{dy}{dx}+y=x{{e}^{x}}$
Thus, dividing LHS and RHS by x, we get,
$\dfrac{dy}{dx}+\dfrac{y}{x}={{e}^{x}}$
Now, we are in the position to compare this equation to $\dfrac{dy}{dx}$ + P(x)y = Q(x). By comparing, we have,
P(x) = $\dfrac{1}{x}$, Q(x) = ${{e}^{x}}$
Now, evaluating, ${{e}^{\int{P(x)dx}}}$ , we have,
${{e}^{\int{\dfrac{1}{x}dx}}}$=${{e}^{\ln x}}$ = x (since, $\int{\dfrac{1}{x}dx}$ = lnx )
Now, substituting this in y ${{e}^{\int{P(x)dx}}}$ = $\int{\left( Q(x){{e}^{\int{P(x)dx}}} \right)}\text{ }dx$ + c, we have,
$yx=\int{x{{e}^{x}}dx}+c$ -- (1)
Now, we use integration by parts to evaluate $\int{x{{e}^{x}}dx}$. The formula for integration of parts is given by –
$\int{uvdx=u\int{vdx-\int{\left( \dfrac{du}{dx}\int{vdx} \right)}}}dx$
Where, in this case, u = x and v = ${{e}^{x}}$ . Thus, we have,
= \[u\int{vdx-\int{\left( \dfrac{du}{dx}\int{vdx} \right)}}dx\]
= \[x\int{{{e}^{x}}dx-\int{\left( \dfrac{d\left( x \right)}{dx}\int{{{e}^{x}}dx} \right)}}dx\]
= \[x{{e}^{x}}-\int{\left( 1 \right){{e}^{x}}dx}\]
(Since, $\dfrac{d(x)}{dx}=1$ and $\int{{{e}^{x}}dx={{e}^{x}}}$ )
= \[x{{e}^{x}}-{{e}^{x}}\]
Now, substituting this in (1), we get,
yx = \[x{{e}^{x}}-{{e}^{x}}\] + c
xy = \[{{e}^{x}}(x-1)\]+ c
Now, comparing this with $xy={{e}^{x}}\varphi (x)+c$ , we can tell that $\varphi (x)$ = (x-1).
Hence, the correct option is (b) x-1.
Note: In case of first order linear differential equation problems, it is always useful to remember the formula for $\dfrac{dy}{dx}$ + P(x)y = Q(x), given by y ${{e}^{\int{P(x)dx}}}$ = $\int{\left( Q(x){{e}^{\int{P(x)dx}}} \right)}\text{ }dx$ + c . At times equation may not be in the desired format, at those times it is suggested to manipulate the original differential equation slightly as done in the problem till we get equation of the format $\dfrac{dy}{dx}$ + P(x)y = Q(x).
y ${{e}^{\int{P(x)dx}}}$ = $\int{\left( Q(x){{e}^{\int{P(x)dx}}} \right)}\text{ }dx$ + c
Complete step by step answer:
Thus, to solve this problem, we first convert $x\dfrac{dy}{dx}+y=x{{e}^{x}}$ into format similar to $\dfrac{dy}{dx}$ + P(x)y = Q(x). This would be because we can then use the formula y ${{e}^{\int{P(x)dx}}}$ = $\int{\left( Q(x){{e}^{\int{P(x)dx}}} \right)}\text{ }dx$ + c , to get the required differential equation. Thus, in the given problem, we have,
$x\dfrac{dy}{dx}+y=x{{e}^{x}}$
Thus, dividing LHS and RHS by x, we get,
$\dfrac{dy}{dx}+\dfrac{y}{x}={{e}^{x}}$
Now, we are in the position to compare this equation to $\dfrac{dy}{dx}$ + P(x)y = Q(x). By comparing, we have,
P(x) = $\dfrac{1}{x}$, Q(x) = ${{e}^{x}}$
Now, evaluating, ${{e}^{\int{P(x)dx}}}$ , we have,
${{e}^{\int{\dfrac{1}{x}dx}}}$=${{e}^{\ln x}}$ = x (since, $\int{\dfrac{1}{x}dx}$ = lnx )
Now, substituting this in y ${{e}^{\int{P(x)dx}}}$ = $\int{\left( Q(x){{e}^{\int{P(x)dx}}} \right)}\text{ }dx$ + c, we have,
$yx=\int{x{{e}^{x}}dx}+c$ -- (1)
Now, we use integration by parts to evaluate $\int{x{{e}^{x}}dx}$. The formula for integration of parts is given by –
$\int{uvdx=u\int{vdx-\int{\left( \dfrac{du}{dx}\int{vdx} \right)}}}dx$
Where, in this case, u = x and v = ${{e}^{x}}$ . Thus, we have,
= \[u\int{vdx-\int{\left( \dfrac{du}{dx}\int{vdx} \right)}}dx\]
= \[x\int{{{e}^{x}}dx-\int{\left( \dfrac{d\left( x \right)}{dx}\int{{{e}^{x}}dx} \right)}}dx\]
= \[x{{e}^{x}}-\int{\left( 1 \right){{e}^{x}}dx}\]
(Since, $\dfrac{d(x)}{dx}=1$ and $\int{{{e}^{x}}dx={{e}^{x}}}$ )
= \[x{{e}^{x}}-{{e}^{x}}\]
Now, substituting this in (1), we get,
yx = \[x{{e}^{x}}-{{e}^{x}}\] + c
xy = \[{{e}^{x}}(x-1)\]+ c
Now, comparing this with $xy={{e}^{x}}\varphi (x)+c$ , we can tell that $\varphi (x)$ = (x-1).
Hence, the correct option is (b) x-1.
Note: In case of first order linear differential equation problems, it is always useful to remember the formula for $\dfrac{dy}{dx}$ + P(x)y = Q(x), given by y ${{e}^{\int{P(x)dx}}}$ = $\int{\left( Q(x){{e}^{\int{P(x)dx}}} \right)}\text{ }dx$ + c . At times equation may not be in the desired format, at those times it is suggested to manipulate the original differential equation slightly as done in the problem till we get equation of the format $\dfrac{dy}{dx}$ + P(x)y = Q(x).
Recently Updated Pages
A man running at a speed 5 ms is viewed in the side class 12 physics CBSE

The number of solutions in x in 02pi for which sqrt class 12 maths CBSE

State and explain Hardy Weinbergs Principle class 12 biology CBSE

Write any two methods of preparation of phenol Give class 12 chemistry CBSE

Which of the following statements is wrong a Amnion class 12 biology CBSE

Differentiate between action potential and resting class 12 biology CBSE

Trending doubts
What are the major means of transport Explain each class 12 social science CBSE

Which are the Top 10 Largest Countries of the World?

Draw a labelled sketch of the human eye class 12 physics CBSE

How much time does it take to bleed after eating p class 12 biology CBSE

Explain sex determination in humans with line diag class 12 biology CBSE

Explain sex determination in humans with the help of class 12 biology CBSE

