You are on page 1of 2

q

dy x
* Given the differential equation dx = y with the initial condition y = 4
at x = 1, we can solve it as follows:
1. Separate variables:
dy √
√ = x dx
y
2. Integrate both sides:

Z Z
1
√ dy = x dx
y

√ 2
2 y = x3/2 + C
3
3. Solve for y:
 2
1 3/2 C
y= x +
3 2
4. Use the initial condition to find C:
 2
1 3/2 C
4= ·1 +
3 2
 2
1 C
4= +
3 2
1 C C2
4= + +
9 3 4
Solving for C, we get C = 10
3 .
5. Substitute the value of C into the general solution y:
 2
1 3/2 10
y= x +
3 6

* Given the differential equation:


dy
= −y 2 · x · (x2 + 2)4
dx
We can separate variables and integrate both sides:
1
dy = −x · (x2 + 2)4 dx
y2
Integrating: Z Z
1
dy = − x · (x2 + 2)4 dx
y2
This gives:
1 1
− = − · (x2 + 2)5 + C
y 5

1
Solving for y:
1
y= 1
5 · (x2 + 2)5 − C
Applying the initial condition y(0) = 1:
1
1= 1
5 · (02 + 2)5 − C

1
C= 1 −1
5 · 25
5
C= −1
32
27
C=−
32
So the solution to the initial value problem is:
1
y= 1 27
5 · (x2 + 2)5 + 32

You might also like