
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
594k+ 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
Class 12 Question and Answer - Your Ultimate Solutions Guide

Master Class 12 Chemistry: Engaging Questions & Answers for Success

Master Class 12 Physics: Engaging Questions & Answers for Success

Master Class 12 Business Studies: Engaging Questions & Answers for Success

Master Class 12 Maths: Engaging Questions & Answers for Success

Master Class 12 Economics: Engaging Questions & Answers for Success

Trending doubts
Which are the Top 10 Largest Countries of the World?

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

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

When was the first election held in India a 194748 class 12 sst CBSE

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

