Example 1
Question: Which of the following represents the general solution of the differential equation \( \frac{dx}{dy} + 3x = e^{2y} \)? Choose the correct form and verify it. (A) \( x \cdot e^{3y} = \int \left( e^{2y} \cdot e^{3y} \right) dy + C \) (B) \( y \cdot e^{3x} = \int \left( e^{2y} \cdot e^{3x} \right) dx + C \) (C) \( x \cdot e^{3x} = \int \left( e^{2y} \cdot e^{3x} \right) dx + C \) (D) \( y \cdot e^{3y} = \int \left( e^{2y} \cdot e^{3y} \right) dy + C \)
Solution: The given equation is \( \frac{dx}{dy} + 3x = e^{2y} \). Comparing with the standard form \( \frac{dx}{dy} + P_1 x = Q_1 \), we identify: \( P_1 = 3 \) and \( Q_1 = e^{2y} \). Note that \( P_1 \) and \( Q_1 \) are functions of \( y \) (or constants), so integration is performed with respect to \( y \). Step 1: Find the integrating factor. \[ \text{IF} = e^{\int P_1 \, dy} = e^{\int 3 \, dy} = e^{3y} \] Step 2: Write the general solution formula. The general solution of \( \frac{dx}{dy} + P_1 x = Q_1 \) is: \[ x \cdot e^{\int P_1 \, dy} = \int \left( Q_1 \cdot e^{\int P_1 \, dy} \right) dy + C \] Step 3: Substitute the values. \[ x \cdot e^{3y} = \int \left( e^{2y} \cdot e^{3y} \right) dy + C \] This matches option (A). The integration on the right gives: \[ x \cdot e^{3y} = \int e^{5y} \, dy + C = \frac{e^{5y}}{5} + C \] So the complete solution is: \[ x = \frac{e^{2y}}{5} + C e^{-3y} \] Options (B) and (C) are incorrect because integration is done with respect to \( x \) instead of \( y \). Option (D) is incorrect because the dependent variable is \( x \), not \( y \).
Answer: Option (A): \( x \cdot e^{3y} = \int \left( e^{2y} \cdot e^{3y} \right) dy + C \), which simplifies to \( x = \frac{e^{2y}}{5} + C e^{-3y} \)
Example 2
Question: Identify the correct general solution of the differential equation \( \frac{dx}{dy} + \frac{x}{y} = \sin y \). (A) \( x \cdot e^{\int \frac{1}{y} \, dy} = \int \left( \sin y \cdot e^{\int \frac{1}{y} \, dy} \right) dy + C \) (B) \( y \cdot e^{\int \frac{1}{y} \, dy} = \int \left( \sin y \cdot e^{\int \frac{1}{y} \, dy} \right) dy + C \) (C) \( x \cdot e^{\int \frac{1}{x} \, dx} = \int \left( \sin y \cdot e^{\int \frac{1}{x} \, dx} \right) dx + C \) (D) \( x \cdot y = \int \sin y \, dx + C \) Also evaluate the integrating factor explicitly.
Solution: The given equation is \( \frac{dx}{dy} + \frac{1}{y} x = \sin y \). Comparing with \( \frac{dx}{dy} + P_1 x = Q_1 \), we get: \( P_1 = \frac{1}{y} \) and \( Q_1 = \sin y \). Both are functions of \( y \), so integration is with respect to \( y \). Step 1: Find the integrating factor. \[ \text{IF} = e^{\int P_1 \, dy} = e^{\int \frac{1}{y} \, dy} = e^{\ln |y|} = y \] Step 2: Apply the general solution formula. The general solution of \( \frac{dx}{dy} + P_1 x = Q_1 \) is: \[ x \cdot e^{\int P_1 \, dy} = \int \left( Q_1 \cdot e^{\int P_1 \, dy} \right) dy + C \] Step 3: Substitute. \[ x \cdot e^{\int \frac{1}{y} \, dy} = \int \left( \sin y \cdot e^{\int \frac{1}{y} \, dy} \right) dy + C \] This matches option (A). Using the simplified integrating factor \( y \): \[ x \cdot y = \int y \sin y \, dy + C \] Using integration by parts for \( \int y \sin y \, dy \): \[ \int y \sin y \, dy = -y \cos y + \int \cos y \, dy = -y \cos y + \sin y + C \] So the complete general solution is: \[ xy = -y \cos y + \sin y + C \] Options (B) is incorrect because the dependent variable should be \( x \), not \( y \). Option (C) integrates with respect to \( x \), which is wrong here. Option (D) integrates with respect to \( x \), which is also incorrect.
Answer: Option (A): \( x \cdot e^{\int \frac{1}{y} \, dy} = \int \left( \sin y \cdot e^{\int \frac{1}{y} \, dy} \right) dy + C \), i.e., \( xy = -y \cos y + \sin y + C \)