Skip to content
Exercise 9.3 · Q5

Q.Solve the following differential equation: (ex+e−x) dy−(ex−e−x) dx=0(e^x + e^{-x}) \, dy - (e^x - e^{-x}) \, dx = 0

Yanam CbseNCERTSubjective· 3mImportance★★★★★
14% · 32/222 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

This is a first-order separable ODE. Rearranging and integrating gives y=log⁡(ex+e−x)+Cy = \log(e^x + e^{-x}) + C, which simplifies to y=log⁡(cosh⁡x)+log⁡2+Cy = \log(\cosh x) + \log 2 + C or just y=log⁡(cosh⁡x)+C′y = \log(\cosh x) + C'.

The equation is (ex+e−x) dy−(ex−e−x) dx=0(e^x + e^{-x}) \, dy - (e^x - e^{-x}) \, dx = 0. At first glance, it looks like a mix of xx and yy differentials. The key is to separate them — get all the yy stuff on one side and all the xx stuff on the other. That’s the heart of Separation of Variables: if you can write the equation as f(y) dy=g(x) dxf(y) \, dy = g(x) \, dx, you can integrate both sides independently.

Why does this work? Because dydy and dxdx are independent differentials — they represent tiny changes in yy and xx. If the relationship between them factors cleanly, integration recovers the function y(x)y(x).

Let’s do it step by step.

  1. Rearrange to separate variables. Move the dxdx term to the other side:

(ex+e−x) dy=(ex−e−x) dx(e^x + e^{-x}) \, dy = (e^x - e^{-x}) \, dx

Now divide both sides by (ex+e−x)(e^x + e^{-x}) to isolate dydy:

dy=ex−e−xex+e−x dxdy = \frac{e^x - e^{-x}}{e^x + e^{-x}} \, dx

The left side depends only on yy, the right side only on xx — perfectly separated.

  1. Integrate both sides.

∫dy=∫ex−e−xex+e−x dx\int dy = \int \frac{e^x - e^{-x}}{e^x + e^{-x}} \, dx

The left integral is trivial: y+constanty + \text{constant}. The right integral needs a trick.

  1. Spot the derivative pattern. Look at the denominator: ex+e−xe^x + e^{-x}. Its derivative is ex−e−xe^x - e^{-x}. Exactly the numerator! So the integrand is of the form f′(x)f(x)\frac{f'(x)}{f(x)}, whose integral is log⁡∣f(x)∣\log|f(x)|. Hence: ∫ex−e−xex+e−x dx=log⁡∣ex+e−x∣+C\int \frac{e^x - e^{-x}}{e^x + e^{-x}} \, dx = \log|e^x + e^{-x}| + C …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.