👉 Try now NerdPal! Our new math app on iOS and Android
  1. calculators
  2. First Order Differential Equations

First Order Differential Equations Calculator

Get detailed solutions to your math problems with our First Order Differential Equations step-by-step calculator. Practice your math skills and learn step by step with our math solver. Check out all of our online calculators here.

Go!
Math mode
Text mode
Go!
1
2
3
4
5
6
7
8
9
0
a
b
c
d
f
g
m
n
u
v
w
x
y
z
.
(◻)
+
-
×
◻/◻
/
÷
2

e
π
ln
log
log
lim
d/dx
Dx
|◻|
θ
=
>
<
>=
<=
sin
cos
tan
cot
sec
csc

asin
acos
atan
acot
asec
acsc

sinh
cosh
tanh
coth
sech
csch

asinh
acosh
atanh
acoth
asech
acsch

1

Solved example of first order differential equations

$\frac{dy}{dx}=\frac{5x^2}{4y}$
2

Rewrite the differential equation in the standard form $M(x,y)dx+N(x,y)dy=0$

$4ydy-5x^2dx=0$
3

The differential equation $4ydy-5x^2dx=0$ is exact, since it is written in the standard form $M(x,y)dx+N(x,y)dy=0$, where $M(x,y)$ and $N(x,y)$ are the partial derivatives of a two-variable function $f(x,y)$ and they satisfy the test for exactness: $\displaystyle\frac{\partial M}{\partial y}=\frac{\partial N}{\partial x}$. In other words, their second partial derivatives are equal. The general solution of the differential equation is of the form $f(x,y)=C$

$4ydy-5x^2dx=0$

Find the derivative of $M(x,y)$ with respect to $y$

$\frac{d}{dy}\left(-5x^2\right)$

The derivative of the constant function ($-5x^2$) is equal to zero

0

Find the derivative of $N(x,y)$ with respect to $x$

$\frac{d}{dx}\left(4y\right)$

The derivative of the constant function ($4y$) is equal to zero

0
4

Using the test for exactness, we check that the differential equation is exact

$0=0$

The integral of a function times a constant ($-5$) is equal to the constant times the integral of the function

$-5\int x^2dx$

Apply the power rule for integration, $\displaystyle\int x^n dx=\frac{x^{n+1}}{n+1}$, where $n$ represents a number or constant function, such as $2$

$-\frac{5}{3}x^{3}$

Since $y$ is treated as a constant, we add a function of $y$ as constant of integration

$-\frac{5}{3}x^{3}+g(y)$
5

Integrate $M(x,y)$ with respect to $x$ to get

$-\frac{5}{3}x^{3}+g(y)$

The derivative of the constant function ($-\frac{5}{3}x^{3}$) is equal to zero

0

The derivative of $g(y)$ is $g'(y)$

$0+g'(y)$
6

Now take the partial derivative of $-\frac{5}{3}x^{3}$ with respect to $y$ to get

$0+g'(y)$

Simplify and isolate $g'(y)$

$4y=0+g$

$x+0=x$, where $x$ is any expression

$4y=g$

Rearrange the equation

$g=4y$
7

Set $4y$ and $0+g'(y)$ equal to each other and isolate $g'(y)$

$g'(y)=4y$

Integrate both sides with respect to $y$

$g=\int4ydy$

The integral of a function times a constant ($4$) is equal to the constant times the integral of the function

$g=4\int ydy$

Applying the power rule for integration, $\displaystyle\int x^n dx=\frac{x^{n+1}}{n+1}$, where $n$ represents a number or constant function, in this case $n=1$

$g=2y^2$
8

Find $g(y)$ integrating both sides

$g(y)=2y^2$
9

We have found our $f(x,y)$ and it equals

$f(x,y)=-\frac{5}{3}x^{3}+2y^2$
10

Then, the solution to the differential equation is

$-\frac{5}{3}x^{3}+2y^2=C_0$

Group the terms of the equation

$2y^2=C_0+\frac{5}{3}x^{3}$

Divide both sides of the equation by $2$

$\frac{2y^2}{2}=\frac{C_0+\frac{5}{3}x^{3}}{2}$

Simplifying the quotients

$y^2=\frac{C_0+\frac{5}{3}x^{3}}{2}$

Removing the variable's exponent

$\sqrt{y^2}=\pm \sqrt{\frac{C_0+\frac{5}{3}x^{3}}{2}}$

Cancel exponents $2$ and $\frac{1}{2}$

$y=\pm \sqrt{\frac{C_0+\frac{5}{3}x^{3}}{2}}$

As in the equation we have the sign $\pm$, this produces two identical equations that differ in the sign of the term $\sqrt{\frac{C_0+\frac{5}{3}x^{3}}{2}}$. We write and solve both equations, one taking the positive sign, and the other taking the negative sign

$y=\sqrt{\frac{C_0+\frac{5}{3}x^{3}}{2}},\:y=-\sqrt{\frac{C_0+\frac{5}{3}x^{3}}{2}}$

Combining all solutions, the $2$ solutions of the equation are

$y=\sqrt{\frac{C_0+\frac{5}{3}x^{3}}{2}},\:y=-\sqrt{\frac{C_0+\frac{5}{3}x^{3}}{2}}$
11

Find the explicit solution to the differential equation. We need to isolate the variable $y$

$y=\sqrt{\frac{C_0+\frac{5}{3}x^{3}}{2}},\:y=-\sqrt{\frac{C_0+\frac{5}{3}x^{3}}{2}}$

Final Answer

$y=\sqrt{\frac{C_0+\frac{5}{3}x^{3}}{2}},\:y=-\sqrt{\frac{C_0+\frac{5}{3}x^{3}}{2}}$

Struggling with math?

Access detailed step by step solutions to thousands of problems, growing every day!