
Choose the solution of \[x\cos ydy = \left( {x{e^x}\log x + {e^x}} \right)dx\] from the following options.
A \[\sin y = \dfrac{1}{x}{e^x} + c\]
B \[\sin y + {e^x}\log x + c = 0\]
C \[\sin y = {e^x}\log x + c\]
D None of these.
Answer
164.4k+ views
Hint: Variable separation method is one of the methods of finding a general solution of the differential equation. There are x and y variables in the given differential equation. Separate the terms containing x and y. Then integrate it and simplify to find a general solution.
Formula used:
\[\int {\cos ydy} = \sin y + c\]
Integration by parts,
\[\int {f(x)g'(x)dx} = f(x)g(x) - \int {f'(x)g(x)dx} \]
Where, c is an arbitrary constant.
Complete step by step solution:
The given differential equation is \[x\cos ydy = \left( {x{e^x}\log x + {e^x}} \right)dx\].
Divide the equation by \[x\] to simplify the equation.
\[\begin{array}{l}\dfrac{{x\cos y}}{x}dy = \left( {\dfrac{{x{e^x}\log x + {e^x}}}{x}} \right)dx\\\cos ydy = \left( {{e^x}\log x + \dfrac{{{e^x}}}{x}} \right)dx\end{array}\]
Now integrate the equation.
\[\begin{array}{l}\int {\cos ydy} = \int {\left( {{e^x}\log x + \dfrac{{{e^x}}}{x}} \right)dx} \\\sin y = \int {{e^x}\log xdx} + \int {\dfrac{{{e^x}}}{x}dx} \end{array}\]
Use integration by parts to simplify further.
\[\begin{array}{l}\sin y = {e^x}\log x - \int {\dfrac{{{e^x}}}{x}dx + \int {\dfrac{{{e^x}}}{x}dx} } \\\sin y = {e^x}\log x + c\end{array}\]
So, the general solution of the differential equation is \[\sin y = {e^x}\log x + c\].
Hence option C is the correct option.
Note:The common mistake done here is solving the term \[ - \int {\dfrac{{{e^x}}}{x}} dx\]. In this it is not required to integrate it as we have \[\int {\dfrac{{{e^x}}}{x}} dx\]. It will get canceled. Sometimes students make mistakes while choosing f(x) and g(x) in integration by parts method. To choose f(x) we follow ILATE rule.
Formula used:
\[\int {\cos ydy} = \sin y + c\]
Integration by parts,
\[\int {f(x)g'(x)dx} = f(x)g(x) - \int {f'(x)g(x)dx} \]
Where, c is an arbitrary constant.
Complete step by step solution:
The given differential equation is \[x\cos ydy = \left( {x{e^x}\log x + {e^x}} \right)dx\].
Divide the equation by \[x\] to simplify the equation.
\[\begin{array}{l}\dfrac{{x\cos y}}{x}dy = \left( {\dfrac{{x{e^x}\log x + {e^x}}}{x}} \right)dx\\\cos ydy = \left( {{e^x}\log x + \dfrac{{{e^x}}}{x}} \right)dx\end{array}\]
Now integrate the equation.
\[\begin{array}{l}\int {\cos ydy} = \int {\left( {{e^x}\log x + \dfrac{{{e^x}}}{x}} \right)dx} \\\sin y = \int {{e^x}\log xdx} + \int {\dfrac{{{e^x}}}{x}dx} \end{array}\]
Use integration by parts to simplify further.
\[\begin{array}{l}\sin y = {e^x}\log x - \int {\dfrac{{{e^x}}}{x}dx + \int {\dfrac{{{e^x}}}{x}dx} } \\\sin y = {e^x}\log x + c\end{array}\]
So, the general solution of the differential equation is \[\sin y = {e^x}\log x + c\].
Hence option C is the correct option.
Note:The common mistake done here is solving the term \[ - \int {\dfrac{{{e^x}}}{x}} dx\]. In this it is not required to integrate it as we have \[\int {\dfrac{{{e^x}}}{x}} dx\]. It will get canceled. Sometimes students make mistakes while choosing f(x) and g(x) in integration by parts method. To choose f(x) we follow ILATE rule.
Recently Updated Pages
Geometry of Complex Numbers – Topics, Reception, Audience and Related Readings

JEE Main 2021 July 25 Shift 1 Question Paper with Answer Key

JEE Main 2021 July 22 Shift 2 Question Paper with Answer Key

JEE Atomic Structure and Chemical Bonding important Concepts and Tips

JEE Amino Acids and Peptides Important Concepts and Tips for Exam Preparation

JEE Electricity and Magnetism Important Concepts and Tips for Exam Preparation

Trending doubts
JEE Main 2025 Session 2: Application Form (Out), Exam Dates (Released), Eligibility, & More

Atomic Structure - Electrons, Protons, Neutrons and Atomic Models

Displacement-Time Graph and Velocity-Time Graph for JEE

JEE Main 2025: Derivation of Equation of Trajectory in Physics

Learn About Angle Of Deviation In Prism: JEE Main Physics 2025

Electric Field Due to Uniformly Charged Ring for JEE Main 2025 - Formula and Derivation

Other Pages
JEE Advanced Marks vs Ranks 2025: Understanding Category-wise Qualifying Marks and Previous Year Cut-offs

JEE Advanced Weightage 2025 Chapter-Wise for Physics, Maths and Chemistry

Instantaneous Velocity - Formula based Examples for JEE

JEE Advanced 2025 Notes

JEE Main Chemistry Question Paper with Answer Keys and Solutions

Degree of Dissociation and Its Formula With Solved Example for JEE
