Steply

Find y = f(x), the particular solution of the differential equation…

Step by step, with the reason for every step · AP Calculus AB Practice Exam 2 · AP Calculus AB

Step by step

The question

Question: solve dy/dx = 4x³y, with y(0) = 3.

dydx = 4x3y

The x parts on one side, the y parts on the other.

y(0) = 3 is the starting value: when x is 0, y is 3.

y(0) = 3

The right side splits into an x part, 4x³, times a y part, y.

That is a separable equation.

Our goal: each side with only one letter, so we can integrate each side.

separable: 4x3 × y

1 Separate x and y

Divide both sides by y, so y is only on the left.

1y × dydx = 4x3
÷ y both sides

Now multiply both sides by dx.

All the y parts are with dy, all the x parts with dx.

1y dy = 4x3 dx

2 Integrate both sides

Put an integral sign on both sides.

∫ 1y dy = ∫ 4x3 dx

On the left: ln |y|.

On the right: x⁴.

Each side would get its own number; the two join into one, so we write one + C.

ln |y| = x4 + C

The integral of 1/y is the natural log of the size of y.

∫ 1y dy = ln |y|

3 Solve for y

To undo ln, use e on both sides: e and ln undo each other, so e to the ln of |y| is just |y|.

|y| = e^(x⁴ + C)

A plus in the power splits into a times: e^(x⁴ + C) = e^C × e^(x⁴).

|y| = e^(C) × e^(x⁴)
e^(a + b) = e^(a) × e^(b)

Careful!

The C is not added at the end.

e^C is a number that multiplies.

Careful: not y = e^(x⁴) + C ✗

e^C is just some number.

With the ± from |y|, call it A: any number.

y = Ae^(x⁴)
A = ±e^(C) (any number)

4 Use the starting value

Put in x = 0 and y = 3.

The power is 0 there, and e⁰ = 1.

3 = Ae^(0)

So A = 3.

A = 3

So y = 3e^(x⁴).

y = 3e^(x⁴)

5 Check

Let's check with a calculator.

At x = 1, our answer gives y ≈ 8.155.

x = 1: y ≈ 8.155

The slope between two very close points: about 32.62.

slope: y(1.001) − y(0.999)0.002 ≈ 32.62

The right side at that point: about 32.62.

The same slope.

Right!

right side: 4x³y ≈ 32.62

Let's look back.

First: separate x and y.

Then: integrate both sides.

Then: solve for y.

Then: use the starting value.

Last: check.

Answer
y = 3e^(x⁴)

Your turn

Try this one yourself, then check your answer:

Solve dydx = 8x3y, with y(0) = 1
Show the answer
y = e^(2x⁴)

More from AP Calculus AB Practice Exam 2

The whole lesson: AP Calculus AB Practice Exam 2 →