Travou nisso? Resolva com IA
Calculus · real student question

Solve the differential equation dy/dx = 3 - 4y.

Question

Solve the differential equation

dydx=3−4y\frac{dy}{dx}=3-4y

Step-by-step solution

  1. Recognise the type and spot the equilibrium. The right side depends on yy only, so the equation is separable (it is also first-order linear). Setting 3−4y=03-4y=0 gives the constant solution y=34y=\tfrac34 — the level at which the derivative vanishes. Every other solution will move toward or away from it, so this value should appear in the final answer.

  2. Separate the variables. Divide by 3−4y3-4y (valid while y≠34y\neq\tfrac34) and multiply by dxdx:

    dy3−4y=dx\frac{dy}{3-4y}=dx

  3. Integrate both sides using the substitution u=3−4yu = 3 - 4y. Then du=−4 dydu=-4\,dy, so dy=−14 dudy=-\tfrac14\,du:

    ∫dy3−4y=−14∫duu=−14ln⁡∣u∣+C\int\frac{dy}{3-4y}=-\frac14\int\frac{du}{u}=-\frac14\ln|u|+C

    The −14-\tfrac14 comes from the chain rule and is the step most often dropped:

    −14ln⁡∣3−4y∣=x+C-\frac14\ln|3-4y|=x+C

  4. Undo the logarithm. Multiply by −4-4 and exponentiate:

    ln⁡∣3−4y∣=−4x+C1⟹∣3−4y∣=eC1e−4x\ln|3-4y|=-4x+C_1\qquad\Longrightarrow\qquad |3-4y|=e^{C_1}e^{-4x}

    Absorbing the sign of 3−4y3-4y into the constant lets the absolute value be dropped: 3−4y=Ae−4x3-4y=Ae^{-4x} with AA any nonzero real.

  5. Solve for y and fold the constants together.

    y=3−Ae−4x4=34−A4e−4x=34+Ce−4xy=\frac{3-Ae^{-4x}}{4}=\frac34-\frac{A}{4}e^{-4x}=\frac34+Ce^{-4x}

    Relabelling −A4-\tfrac{A}{4} as CC is legitimate because AA was arbitrary, and allowing C=0C=0 now recovers the equilibrium solution y=34y=\tfrac34 that the division in step 2 excluded.

  6. Verify by substitution. Differentiating, y′=−4Ce−4xy'=-4Ce^{-4x}. Meanwhile 3−4y=3−3−4Ce−4x=−4Ce−4x3-4y=3-3-4Ce^{-4x}=-4Ce^{-4x} — identical ✓. Numerically with C=2.3C=2.3, at x=0.1x=0.1 both sides equal −6.16694-6.16694, and at x=−0.4x=-0.4 both equal −45.5679-45.5679 ✓.

  7. Interpret the behaviour. Since e−4x→0e^{-4x}\to0 as x→∞x\to\infty, every solution approaches y=34y=\tfrac34 from whichever side it starts on: the equilibrium is stable, which is exactly what the negative coefficient −4-4 on yy predicts.

Answer

y=34+Ce−4xy=\frac34+Ce^{-4x}

Need to solve a different problem like this? Open the solver →