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
685.5k+ 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
Which of the following graphs shows the variation of class 12 physics CBSE

Draw a labelled diagram of the human male reproductive class 12 biology CBSE

Describe the experiment to compare the emf of two cells class 12 physics CBSE

What is standard hydrogen electrode

What is conventional current and electric current class 12 physics CBSE

2Bromopentane is treated with an alcoholic KOH solution class 12 chemistry CBSE

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

Which are the Top 10 Largest Countries of the World?

A member of Simon commission later became Prime Minister class 12 social science CBSE

Draw ray diagrams each showing i myopic eye and ii class 12 physics CBSE

Give one example of a reptile that is viviparous class 12 biology CBSE

Which is the correct genotypic ratio of mendel dihybrid class 12 biology CBSE

