Porisma

Worked solution

Retain the zero solution when separating an exponential equation

Find the general solution of dy/dx−2y=0dy/dx-2y=0.

CJC · Lecture · Example 3

Separate the nonzero case

For y≠0y\ne0, dy/dx=2ydy/dx=2y gives ∫(1/y) dy=∫2 dx\int(1/y)\,dy=\int2\,dx, so ln⁡∣y∣=2x+A\ln|y|=2x+A. Exponentiating gives ∣y∣=e2x+A|y|=e^{2x+A}, hence y=±eAe2x=Be2xy=\pm e^Ae^{2x}=Be^{2x} with nonzero real B. The sign and exponential constant can be absorbed into one new constant.

How did this part go?

Check the value excluded by division

The constant function y=0y=0 also satisfies y′−2y=0y\prime-2y=0. Combining both cases, y=Ce2xy=Ce^{2x} for every real C. The source calls the zero case “trivial” and remarks that examinations discuss nontrivial cases; that remark does not justify dropping a valid solution from this unrestricted general-solution ask.

How did this part go?

Common mistakes

A constant obtained as plus-or-minus an exponential is nonzero until the missing equilibrium case is restored.

Read the hint