Solveeit Logo

Question

Question: The slope of a curve at any point \[\left( {x,y} \right)\] other than the origin, is \[y + \dfrac{y}...

The slope of a curve at any point (x,y)\left( {x,y} \right) other than the origin, is y+yxy + \dfrac{y}{x}. Then, the equation of the curve is:
A. y=Cxexy = Cx{e^x}
B. y=x(ex+C)y = x\left( {{e^x} + C} \right)
C. xy=Cexxy = C{e^x}
D. y+xex=Cy + x{e^x} = C
E. (yx)ex=C\left( {y - x} \right){e^x} = C

Explanation

Solution

Hint: First of all, equate the given slope with dydx\dfrac{{dy}}{{dx}}. Now, write the obtained equation in the form of g(y)dy=f(x)dxg\left( y \right)dy = f\left( x \right)dx and then integrate left side of the equation with respect to yy and right side of the equation with respect to xx. As we know that, lnex=x=elnx\ln {e^x} = x = {e^{\ln x}} , so we can use this to convert the expression in simplified form.

Complete step by step solution:
Consider the given expression, y+yxy + \dfrac{y}{x}.
We have to find the equation of a curve which has slope equals to y+yxy + \dfrac{y}{x}.
We know that the slope of any curve =dydx = \dfrac{{dy}}{{dx}}. In this question slope is given as y+yxy + \dfrac{y}{x}.
Therefore, we can say that dydx=y+yx\dfrac{{dy}}{{dx}} = y + \dfrac{y}{x}.
Also, this slope is defined for all (x,y)\left( {x,y} \right) other than (0,0)\left( {0,0} \right).
Therefore, we have dydx=y+yx\dfrac{{dy}}{{dx}} = y + \dfrac{y}{x} where (x,y)(0,0)\left( {x,y} \right) \ne \left( {0,0} \right).

Now, we need to solve the equation dydx=y+yx\dfrac{{dy}}{{dx}} = y + \dfrac{y}{x},
In order to solve this differential equation, rewrite this equation in the form of g(y)dy=f(x)dxg\left( y \right)dy = f\left( x \right)dx
Thus, we get,

dydx=y+yx dydx=y(1+1x) (1y)dy=(1+1x)dx  \Rightarrow \dfrac{{dy}}{{dx}} = y + \dfrac{y}{x} \\\ \Rightarrow \dfrac{{dy}}{{dx}} = y\left( {1 + \dfrac{1}{x}} \right) \\\ \Rightarrow \left( {\dfrac{1}{y}} \right)dy = \left( {1 + \dfrac{1}{x}} \right)dx \\\

We know that (1)dx=x+C\left( 1 \right) \cdot dx = x + C and 1xdx=lnx+lnC\dfrac{1}{x}dx = \ln \left| x \right| + \ln C where CC is constant of integration.
So, integrate left side of the equation (1y)dy=(1+1x)dx\left( {\dfrac{1}{y}} \right)dy = \left( {1 + \dfrac{1}{x}} \right)dx with respect to yy and right side of the equation with respect to xx.

(1y)dy=(1+1x)dx lny=(1)dx+(1x)dx lny=x+lnx+lnC  \Rightarrow \int {\left( {\dfrac{1}{y}} \right)dy} = \int {\left( {1 + \dfrac{1}{x}} \right)dx} \\\ \Rightarrow \ln \left| y \right| = \int {\left( 1 \right)dx} + \int {\left( {\dfrac{1}{x}} \right)dx} \\\ \Rightarrow \ln \left| y \right| = x + \ln \left| x \right| + \ln C \\\

We know that natural logarithm function is the inverse function of exponential function and vice versa. That is, for any xRx \in \mathbb{R}, lnex=x=elnx\ln {e^x} = x = {e^{\ln x}} equation(i)
Rewrite xx as lnex\ln {e^x} using equation (i) in the equation obtained above that is lny=x+lnx+lnC\ln \left| y \right| = x + \ln \left| x \right| + \ln C and simply the equation using the multiplication property of logarithmic function.
Thus, we have,

lny=lnex+lnx+lnC lny=lnCxex y=elnCxex y=Cxex  \Rightarrow \ln \left| y \right| = \ln {e^x} + \ln \left| x \right| + \ln C \\\ \Rightarrow \ln \left| y \right| = \ln \left| {Cx{e^x}} \right| \\\ \Rightarrow y = {e^{\ln \left| {Cx{e^x}} \right|}} \\\ \Rightarrow y = Cx{e^x} \\\

Therefore, the correct option is A.

Note: In this question, first of all, note that the slope is given for all points (x,y)\left( {x,y} \right) other than the origin in the form of an expression. Slope is not a constant value. So, we have to solve this question using differentiation and integration concepts.