SOLVER7 Study. Nothing Else.
Exercise 9.5 Q4

For each of the differential equations given in Exercises 1 to 12, find the general solution: \(\dfrac{dy}{dx}+(sec\ x)y=tan\ x\left(0\le x<\dfrac{\pi}{2}\right)\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine you want to untangle a knotted rope. A special trick helps you loosen the knot all at once. Here, the equation has y mixed up with other things. We multiply both sides by a clever number called the integrating factor. This is like a magic key that unlocks the tangle. Once we use it, the left side becomes something very easy to work with. We then simply collect everything on the right side and add a constant C to get the full answer.

Answer: \[ y(\sec x + \tan x) = \sec x + \tan x - x + C \]

📖 General Solution of a Linear Differential Equation

Detailed Explanation

A first-order linear differential equation is one that can be written in the standard form \( \frac{dy}{dx} + P(x)\,y = Q(x) \), where \( P(x) \) and \( Q(x) \) are functions of \( x \) only. To solve it, we multiply the whole equation by a special factor called the Integrating Factor (I.F.), given by \( e^{\int P\,dx} \). This factor turns the left-hand side into the exact derivative of a product, making the equation easy to integrate. Comparing our equation with the standard form, we see \( P(x) = \sec x \) and \( Q(x) = \tan x \), so it is indeed linear in \( y \).

Formula Used

For \( \frac{dy}{dx} + P(x)\,y = Q(x) \), the Integrating Factor is \( \text{I.F.} = e^{\int P\,dx} \), and the solution is \( y \cdot (\text{I.F.}) = \int Q \cdot (\text{I.F.})\, dx + C \).

Solution

  1. Step 1: Compare the given equation with the standard linear form \( \frac{dy}{dx} + P(x)\,y = Q(x) \). Here we identify \( P(x) = \sec x \) and \( Q(x) = \tan x \). Since the equation is linear in \( y \), we use the integrating factor method.
  2. Step 2: Compute the integrating factor. We need \( \int P\, dx = \int \sec x\, dx = \log|\sec x + \tan x| \). Therefore \[ \text{I.F.} = e^{\int \sec x\, dx} = e^{\log|\sec x + \tan x|} = \sec x + \tan x. \] Since \( 0 \le x < \frac{\pi}{2} \), the quantity \( \sec x + \tan x \) is positive, so we can drop the modulus.
  3. Step 3: Write the standard solution form. The general solution is \[ y \cdot (\text{I.F.}) = \int Q(x)\cdot(\text{I.F.})\, dx + C. \] Substituting our values gives \[ y(\sec x + \tan x) = \int \tan x\,(\sec x + \tan x)\, dx + C. \]
  4. Step 4: Expand and integrate the right-hand side. Expanding, \[ \int \tan x\,(\sec x + \tan x)\, dx = \int (\sec x \tan x + \tan^2 x)\, dx. \] Using \( \tan^2 x = \sec^2 x - 1 \), this becomes \[ \int (\sec x \tan x + \sec^2 x - 1)\, dx. \]
  5. Step 5: Integrate each term separately. We know \( \int \sec x \tan x\, dx = \sec x \), \( \int \sec^2 x\, dx = \tan x \), and \( \int 1\, dx = x \). Hence \[ \int (\sec x \tan x + \sec^2 x - 1)\, dx = \sec x + \tan x - x. \]
  6. Step 6: Write the complete general solution by putting everything together: \[ y(\sec x + \tan x) = \sec x + \tan x - x + C. \] This relates \( y \) and \( x \) with an arbitrary constant \( C \), which is the required general solution.

Final Answer

\[ y(\sec x + \tan x) = \sec x + \tan x - x + C \]

Common Mistake

A common mistake is to write the integrating factor as \( e^{\log|\sec x + \tan x|} \) and forget that it simplifies to \( \sec x + \tan x \); some students leave it in exponential form or wrongly integrate \( \sec x \) as \( \log(\sec x) \). Also, students often forget to convert \( \tan^2 x \) into \( \sec^2 x - 1 \) before integrating, which is the key step for integrating the right-hand side.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the standard form and read off P(x) and Q(x): Match the given equation with the standard linear form \( \frac{dy}{dx} + P(x)\,y = Q(x) \). Here, \( P(x) = \sec x \) and \( Q(x) = \tan x \). — Reason: Confirming linearity in \( y \) tells us the integrating factor method applies directly.
  2. Step 2: Compute the integral needed for the Integrating Factor: Evaluate \( \int P(x)\,dx = \int \sec x\,dx = \log|\sec x + \tan x| \). — Reason: This is a standard result; knowing \( \int \sec x\,dx \) is essential for building the integrating factor.
  3. Step 3: Find the Integrating Factor: Apply the formula \( \text{I.F.} = e^{\int P\,dx} \): \[ \text{I.F.} = e^{\log|\sec x + \tan x|} = \sec x + \tan x. \] Since \( 0 \le x < \frac{\pi}{2} \), the expression \( \sec x + \tan x \) is positive, so the absolute value is dropped. — Reason: The property \( e^{\log f} = f \) simplifies the exponential into a clean trigonometric expression.
  4. Step 4: Multiply through by the Integrating Factor: Multiplying both sides of the ODE by \( (\sec x + \tan x) \) turns the left-hand side into an exact derivative: \[ \frac{d}{dx}\bigl[y(\sec x + \tan x)\bigr] = \tan x \cdot (\sec x + \tan x). \] — Reason: This is the whole purpose of the integrating factor — it collapses the left-hand side into a single derivative, ready to integrate.
  5. Step 5: Expand the right-hand side: Expand the product on the right: \[ \tan x(\sec x + \tan x) = \sec x \tan x + \tan^2 x. \] Use the identity \( \tan^2 x = \sec^2 x - 1 \) to rewrite: \[ \sec x \tan x + \sec^2 x - 1. \] — Reason: Expanding and using a Pythagorean identity rewrites the integrand in terms of functions whose antiderivatives are standard.
  6. Step 6: Integrate both sides: Integrate the right-hand side term by term: \[ \int (\sec x \tan x + \sec^2 x - 1)\,dx = \sec x + \tan x - x + C. \] — Reason: Each term integrates using a known result: \( \int \sec x \tan x\,dx = \sec x \), \( \int \sec^2 x\,dx = \tan x \), and \( \int 1\,dx = x \).
  7. Step 7: Write the general solution: Combine both sides to state the general solution: \[ y(\sec x + \tan x) = \sec x + \tan x - x + C. \] — Reason: The left-hand side is the integrated form of \( \frac{d}{dx}[y \cdot \text{I.F.}] \), and the right-hand side is the result from Step 6, giving the complete general solution.

Final Answer

\[ y(\sec x + \tan x) = \sec x + \tan x - x + C \]

Common Mistake

One common mistake: forgetting to apply the identity \( \tan^2 x = \sec^2 x - 1 \) when integrating \( \tan^2 x \); students often try to integrate \( \tan^2 x \) directly without converting it, leading to an incorrect antiderivative.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Standard form: \( P(x) = \sec x \), \( Q(x) = \tan x \). I.F. = \( e^{\int \sec x \, dx} = e^{\log|\sec x + \tan x|} = \sec x + \tan x \)
  2. Step 2: Solution: \( y(\sec x + \tan x) = \int \tan x (\sec x + \tan x) \, dx = \int (\sec x \tan x + \tan^2 x) \, dx \)
  3. Step 3: \( \int (\sec x \tan x + \sec^2 x - 1) \, dx = \sec x + \tan x - x + C \)

Answer: \[ y(\sec x + \tan x) = \sec x + \tan x - x + C \]

➕ More Examples

More Examples

Example 1

Question: Find the general solution of the differential equation \[ \frac{dy}{dx} + (\cot x)\, y = \cos x \quad \left(0 < x < \frac{\pi}{2}\right) \]

Solution: The equation is already in standard linear form \( \frac{dy}{dx} + P(x)y = Q(x) \) where \( P(x) = \cot x \) and \( Q(x) = \cos x \). Compute the Integrating Factor: \[ \text{IF} = e^{\int \cot x \, dx} = e^{\ln|\sin x|} = \sin x \] Multiply both sides of the equation by \( \sin x \): \[ \sin x \frac{dy}{dx} + y \cos x = \sin x \cos x \] The left side is the derivative of a product: \[ \frac{d}{dx}\left(y \sin x\right) = \sin x \cos x \] Integrate both sides with respect to \( x \): \[ y \sin x = \int \sin x \cos x \, dx \] Use the identity \( \sin x \cos x = \frac{1}{2}\sin 2x \): \[ y \sin x = \frac{1}{2} \int \sin 2x \, dx = \frac{1}{2} \cdot \left(-\frac{\cos 2x}{2}\right) + C = -\frac{\cos 2x}{4} + C \] Using \( \cos 2x = 1 - 2\sin^2 x \): \[ y \sin x = -\frac{1 - 2\sin^2 x}{4} + C = \frac{\sin^2 x}{2} - \frac{1}{4} + C \] Absorbing \( -\frac{1}{4} \) into the arbitrary constant \( C \), the general solution is: \[ y \sin x = -\frac{\cos 2x}{4} + C \] or equivalently \[ y = \frac{-\cos 2x + 4C}{4\sin x} \]

Answer: \( y\sin x = -\dfrac{\cos 2x}{4} + C \)

Example 2

Question: Find the general solution of the differential equation \[ \frac{dy}{dx} + 2y\tan x = \sin x \quad \left(0 \le x < \frac{\pi}{2}\right) \]

Solution: The equation is in standard form \( \frac{dy}{dx} + P(x)y = Q(x) \) with \( P(x) = 2\tan x \) and \( Q(x) = \sin x \). Compute the Integrating Factor: \[ \text{IF} = e^{\int 2\tan x \, dx} = e^{2\ln|\sec x|} = e^{\ln\sec^2 x} = \sec^2 x \] Multiply both sides by \( \sec^2 x \): \[ \sec^2 x \frac{dy}{dx} + 2y \sec^2 x \tan x = \sin x \sec^2 x \] The left side equals \( \frac{d}{dx}\left(y\sec^2 x\right) \): \[ \frac{d}{dx}\left(y\sec^2 x\right) = \sin x \sec^2 x = \frac{\sin x}{\cos^2 x} = \tan x \sec x \] Integrate both sides with respect to \( x \): \[ y \sec^2 x = \int \tan x \sec x \, dx \] Recall that \( \frac{d}{dx}(\sec x) = \sec x \tan x \), so: \[ y \sec^2 x = \sec x + C \] Divide both sides by \( \sec^2 x \): \[ y = \frac{\sec x + C}{\sec^2 x} = \frac{1}{\sec x} + \frac{C}{\sec^2 x} = \cos x + C\cos^2 x \] Therefore, the general solution is: \[ y = \cos x + C\cos^2 x \]

Answer: \( y = \cos x + C\cos^2 x \)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the general solution of the differential equation \( \frac{dy}{dx} + (\csc\, x)\, y = \cot x \), where \( 0 < x < \frac{\pi}{2} \).

Solution

  1. Step 1: Identify P(x) and Q(x): Comparing with the standard form \( \frac{dy}{dx} + P(x)\,y = Q(x) \), we get \( P(x) = \csc x \) and \( Q(x) = \cot x \).
  2. Step 2: Find the Integrating Factor: The integrating factor is \( \text{IF} = e^{\int \csc x \, dx} \). We know that \( \int \csc x \, dx = \ln|\csc x - \cot x| \). Therefore, \[ \text{IF} = e^{\ln|\csc x - \cot x|} = \csc x - \cot x \] (taking the positive value since \( 0 < x < \frac{\pi}{2} \)).
  3. Step 3: Multiply both sides by the IF: Multiplying the differential equation by \( (\csc x - \cot x) \): \[ (\csc x - \cot x)\frac{dy}{dx} + (\csc x)(\csc x - \cot x)\,y = \cot x(\csc x - \cot x) \] The left side equals \( \frac{d}{dx}\bigl[y(\csc x - \cot x)\bigr] \).
  4. Step 4: Write as exact derivative and integrate: So we have \[ \frac{d}{dx}\bigl[y(\csc x - \cot x)\bigr] = \cot x(\csc x - \cot x) \] Expanding the right side: \[ \cot x \cdot \csc x - \cot^2 x = \csc x \cot x - (\csc^2 x - 1) \] Integrating both sides: \[ y(\csc x - \cot x) = \int \left(\csc x \cot x - \csc^2 x + 1\right) dx \]
  5. Step 5: Evaluate the integral on the right: Using standard integrals \( \int \csc x \cot x \, dx = -\csc x \), \( \int \csc^2 x \, dx = -\cot x \), and \( \int 1 \, dx = x \): \[ \int \left(\csc x \cot x - \csc^2 x + 1\right) dx = -\csc x + \cot x + x + C \]
  6. Step 6: Write the general solution: Therefore, the general solution is \[ y(\csc x - \cot x) = -\csc x + \cot x + x + C \] This can also be written as \[ y(\csc x - \cot x) = -(\csc x - \cot x) + x + C \]

Answer: \[ y(\csc x - \cot x) = -(\csc x - \cot x) + x + C \]

Everything you get with Solver7

More questions in Differential Equations

Chapter 9 Examples Q1(i) 65/2/1 2022 / Section A Q1 Chapter 9 Examples Q1(ii) 65/2/2 2023 / Section A Q2 Chapter 9 Examples Q1(iii) 65/2/2 2023 / Section A Q3 Chapter 9 Examples Q2 Chapter 9 Examples Q3 Chapter 9 Examples Q4 Chapter 9 Examples Q5 65/1/1 2023 / Section A Q7 65/2/1 2024 / Section A Q7 65/3/1 2024 / Section A Q7 65/4/1 2022 / Section A Q5 Chapter 9 Examples Q6 65/1/1 2024 / Section A Q8 65/3/1 2023 / Section A Q8 Chapter 9 Examples Q7 65/3/1 2023 / Section A Q9 65/4/2 2024 / Section A Q9 Chapter 9 Examples Q8 65(B) 2026 / Section A Q10 65/4/1 2023 / Section A Q10 Chapter 9 Examples Q9 65(B) 2026 / Section A Q11 65/1/1 2026 / Section A Q11 65/2/1 2022 / Section B Q9 65/4/1 2023 / Section A Q11 Chapter 9 Examples Q10 65/1/1 2026 / Section A Q12 65/4/1 2026 / Section A Q12 Chapter 9 Examples Q11 65/3/1 2026 / Section A Q13 65/4/1 2026 / Section A Q13 65/4/2 2024 / Section A Q13 65/5/1 2026 / Section A Q13 Chapter 9 Examples Q12 65/1/1 2024 / Section A Q14 65/2/1 2024 / Section A Q14 65/5/1 2026 / Section A Q14 Chapter 9 Examples Q13 65/1/1 2023 / Section A Q15 65/2/3 2026 / Section A Q15 Chapter 9 Examples Q14 65/2/3 2026 / Section A Q16 65/4/1 2022 / Section C Q12(a) Chapter 9 Examples Q15 65/4/1 2022 / Section C Q12(b) Chapter 9 Examples Q16 Chapter 9 Examples Q17 65/3/1 2026 / Section A Q19 Chapter 9 Examples Q18 Chapter 9 Miscellaneous Examples Q19 Chapter 9 Miscellaneous Examples Q20 Chapter 9 Miscellaneous Examples Q21 Chapter 9 Miscellaneous Examples Q22 Exercise 9.1 Q1 Exercise 9.1 Q2 Exercise 9.1 Q3 Exercise 9.1 Q4