Steply

Solve dy/dx = 4x^3/y, y(0) = 3

Step by step, with the reason for every step · Separable equations · Differential Equations

Step by step

The question

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

dydx = 4x3y

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, 1 over y.

That is a separable equation.

separable: 4x3 × 1y

1 Separate x and y

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

y × dydx = 4x3
× y both sides

Now multiply both sides by dx.

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

y dy = 4x3 dx

2 Integrate both sides

Put an integral sign on both sides.

∫ y dy = ∫ 4x3 dx

On the left: y² over 2.

On the right: x⁴.

One + C is enough: the two numbers join into one.

y22 = x4 + C

The power rule backwards, for y.

∫ y dy = y22

3 Use the starting value

Put in x = 0 and y = 3.

The x side gives 0.

322 = 0 + C

So C = 9/2.

C = 92

4 Solve for y

Multiply both sides by 2.

y2 = 2x4 + 9

Careful!

The square root of a sum is not the sum of the roots.

It stays as one root.

Careful: not √(2x4 + 9) = 2x + 9 ✗

Take the square root.

y(0) is positive, so we keep the plus root: y = √(2x⁴ + 9).

y = √2x4 + 9

5 Check

Let's check with a calculator.

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

x = 1: y ≈ 3.317

The slope between two very close points: about 1.21.

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

The right side at that point: about 1.21.

The same slope.

Right!

right side: 4x³/y ≈ 1.21

Let's look back.

First: separate x and y.

Then: integrate both sides.

Then: use the starting value.

Then: solve for y.

Last: check.

Answer
y = √2x4 + 9

Your turn

Try this one yourself, then check:

dydx = 12x3y
Show the answer
y = √6x4 + 1

More from Separable equations

The whole lesson: Separable equations →