Question
Question: The solution of the differential equation \({\text{ydx - (x + 2}}{{\text{y}}^2}{\text{)dy = 0 }}\)is...
The solution of the differential equation ydx - (x + 2y2)dy = 0 is x = f (y). If f (-1) = 1, then f (1) is equal to:
A. 2
B. 3
C. 4
D. 1
Solution
Hint: To solve this question, we will find the solution of the given differential equation and put the value in the equation formed to find the integration constant. After it, we will find the required value.
Complete step-by-step answer: -
Now, we are given the equation
ydx - (x + 2y2)dy = 0 . Now, to simplify this equation, we can write it as,
ydx = (x + 2y2)dy. Now, dividing both sides by ydy, we get
dydx = yx + 2y
So, the equation is dydx - yx = 2y.
Now, the above equation represents the linear equation of the form dydx + Px = Qwhose solution can be found by x(I.F) = ∫Q(I.F)dy, where I.F is the integrating factor and I.F = e∫Pdy.
Now, comparing the equation dydx - yx = 2y with linear form, we get
P = - y1 and Q = 2y. As, we know that ∫x1dx = lnx and elnx = x. Also, logmn = n(logm).
So, I.F = e∫Pdy = e∫−ydy = e−lny = elny1
Therefore, I.F = y1
Therefore, solution is x(y1) = ∫2y(y1)dy
x(y1) = ∫2dy
x(y1) = 2y + C
So, we get x = 2y2+ Cy.
Now, we have f (-1) = 1
1 = 2( - 1)2 + C( - 1)
1 = 2 – C
C = 1
Applying value of C, we get
x = 2y2 + y
Now, we have to find the value at f (1). Therefore, putting y = 1 in the above equation, we get
x = 2(1)2 + 1
x = 3
so, option (B) is correct.
Note: When we come up with such types of questions, we will require some knowledge of integration to find the solution of the given differential equation. First, we will find the solution of the differential equation and then we will apply the values provided in the question to find the integration constant. After it, we apply that value in the function, whose value we have to find.