Skip to content
Exercise 9.5 · Q2

Q.Solve the following differential equation: dydx+3y=e−2x\frac{dy}{dx} + 3y = e^{-2x}

Chhattisgarh CgbseTextbookSubjective· 3mImportance★★★★★
38% · 84/222 Questions
✓ Free question

This is a first-order linear ODE solved using the integrating factor method. The general solution is y=e−2x+Ce−3xy = e^{-2x} + Ce^{-3x}, where CC is an arbitrary constant.

The equation dydx+3y=e−2x\frac{dy}{dx} + 3y = e^{-2x} is a classic first-order linear ordinary differential equation. It fits the standard form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), where P(x)=3P(x) = 3 and Q(x)=e−2xQ(x) = e^{-2x}.

The key insight: we cannot directly integrate because yy and its derivative are mixed. But we can multiply both sides by a cleverly chosen function — the integrating factor — that turns the left-hand side into the derivative of a product. This makes the equation integrable in one step.

Let’s work through it.

  1. Find the integrating factor. For dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), the integrating factor is μ(x)=e∫P(x) dx\mu(x) = e^{\int P(x)\,dx}. Here P(x)=3P(x) = 3, so ∫3 dx=3x\int 3\,dx = 3x. Thus

μ(x)=e3x.\mu(x) = e^{3x}.

  1. Multiply the entire equation by μ(x)\mu(x).

e3xdydx+3e3xy=e3x⋅e−2x=ex.e^{3x}\frac{dy}{dx} + 3e^{3x}y = e^{3x} \cdot e^{-2x} = e^{x}.

Notice the left side is exactly ddx(e3xy)\frac{d}{dx}\left( e^{3x} y \right) because the derivative of e3xye^{3x}y is e3xdydx+3e3xye^{3x}\frac{dy}{dx} + 3e^{3x}y (product rule). So we have:

ddx(e3xy)=ex.\frac{d}{dx}\left( e^{3x} y \right) = e^{x}.

  1. Integrate both sides with respect to xx.

∫ddx(e3xy)dx=∫ex dx\int \frac{d}{dx}\left( e^{3x} y \right) dx = \int e^{x}\,dx

e3xy=ex+C,e^{3x} y = e^{x} + C,

where CC is the constant of integration.

  1. Solve for yy. Divide through by e3xe^{3x}:

y=e−2x+Ce−3x.y = e^{-2x} + Ce^{-3x}.

Tip

The integrating factor method always works for first-order linear ODEs. If you ever forget the formula, just remember: multiply by e∫P dxe^{\int P\,dx} so the left side becomes a perfect derivative.

Watch out

A common mistake is forgetting the constant of integration CC or misplacing the sign when integrating exe^{x}. Double-check: ∫ex dx=ex+C\int e^{x}\,dx = e^{x} + C, not ex+1e^{x} + 1 or something else.

The solution is a sum of two parts: the particular solution e−2xe^{-2x} (which matches the forcing term’s form) and the complementary solution Ce−3xCe^{-3x} (which solves the homogeneous equation dydx+3y=0\frac{dy}{dx} + 3y = 0). The constant CC will be fixed if an initial condition is given.

✓Final answer

The general solution is y=e−2x+Ce−3xy = e^{-2x} + Ce^{-3x}.

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.