Find the general solution of each of the following differential equati \( \begin{array}{ll}\text { (a) } \sec ^{2} x \frac{\mathrm{~d} y}{\mathrm{~d} x}=2 \tan x & \text { (b) } \frac{\mathrm{d} y}{\mathrm{~d} x}+2 y=1\end{array} \)
Real Tutor Solution
Answer
Solution
Reviewed and approved by the UpStudy tutoring team
Mind Expander
To solve the given differential equations, we can proceed with each equation individually. **(a)** For the equation \(\sec^2 x \frac{dy}{dx} = 2 \tan x\): We can rewrite this equation as: \[ \frac{dy}{dx} = 2 \tan x \sec^2 x \] Next, recall that \(\sec^2 x = 1 + \tan^2 x\) and the fact that the derivative of \(\tan x\) is \(\sec^2 x\). Thus, this suggests using a substitution for \(\tan x\). Let \( u = \tan x \). Then, \( \frac{du}{dx} = \sec^2 x \), which means \( \frac{dy}{dx} = 2u \frac{du}{dx} \). Integrate both sides with respect to \(u\): \[ y = u^2 + C = \tan^2 x + C \] So, the general solution is: \[ y = \tan^2 x + C \] **(b)** For the equation \(\frac{dy}{dx} + 2y = 1\): This is a linear first-order ordinary differential equation and can be solved using an integrating factor. The integrating factor \( \mu(x) \) is given by: \[ \mu(x) = e^{\int 2 \, dx} = e^{2x} \] Multiplying the entire equation by \( e^{2x} \): \[ e^{2x} \frac{dy}{dx} + 2 e^{2x} y = e^{2x} \] The left-hand side is now the derivative of \(y e^{2x}\): \[ \frac{d}{dx}(y e^{2x}) = e^{2x} \] Integrating both sides: \[ y e^{2x} = \frac{1}{2} e^{2x} + C \] Thus, we can express \(y\): \[ y = \frac{1}{2} + Ce^{-2x} \] The general solution is: \[ y = \frac{1}{2} + Ce^{-2x} \]