Facebook Pixel
Mathos
Calculus

Solve y' = y by Separation of Variables

Solve the differential equation y' = y with separation of variables, integrate both sides, and verify the general exponential solution y = Ce^x.

Master Math with AI

Stuck on a problem? Mathos AI provides step-by-step solutions, instant visualizations, and personalized tutoring for any math concept.


Learning Resources

This content is part of the Mathos AI open learning library. Designed to help students visualize and understand complex mathematical problems.

Trusted & Recognized


Backed by

Y Combinator

Featured on

Forbes

Problem

Solve the differential equation

y=y.y' = y.

Step 1: Read the Derivative Condition

The equation says that the derivative of yy with respect to xx is equal to yy itself:

dydx=y.\frac{dy}{dx} = y.

In other words, the function must grow or shrink at a rate that matches its current value.

Step 2: Separate the Variables

Write the derivative as dydx\frac{dy}{dx}, then move the yy expression with dydy and the xx expression with dxdx:

dydx=y.\frac{dy}{dx} = y.

Dividing by yy and multiplying by dxdx gives

1ydy=dx.\frac{1}{y}\,dy = dx.

Step 3: Integrate Both Sides

Now take the antiderivative of both sides:

1ydy=dx.\int \frac{1}{y}\,dy = \int dx.

The antiderivative of 1y\frac{1}{y} is lny\ln|y|, and the antiderivative of 11 is xx, so

lny=x+C.\ln|y| = x + C.

Step 4: Rewrite in Exponential Form

Use the exponential function to isolate yy:

y=ex+C.|y| = e^{x+C}.

The constant can be absorbed into one arbitrary constant, giving

y=Cex.y = Ce^x.

Step 5: Check the Solution Family

Differentiate y=Cexy = Ce^x, where CC is any constant:

y=Cex.y' = Ce^x.

Since this is the same as yy,

y=y.y' = y.

Therefore, the general solution is

y=Cex.\boxed{y = Ce^x}.

Concepts

Introduction to Differential Equations

Equations involving a function and its derivatives. Separable differential equations can be solved by moving all yy terms to one side and all xx terms to the other, then integrating both sides. Initial conditions determine the specific solution.

More videos

© 2026 Mathos. All rights reserved