Differential Equations -- Important Stuff -- Mathematics III
Index
- Basic types of differential equations.
- 1. Linear Differential equation.
- 2. Exact equations
- Steps for finding integrating factor for a non-exact equation.
- 3. Bernoulli's equation
- Differential equations of first order but not first degree.
- 1. Equations solvable for p
- 2. Equations solvable for y
- 3. Equations solvable for x
- Clairaut's equation.
- Second Order Differential Equations
- Method 1 Using the inverse operator method.
- Method 2 Using the method of variation of parameters.
Note : If the equations on the website seem a bit to clumped up/clogged, please go to the resources section and download the PDF. It has better indentation.
Basic types of differential equations.
1. Linear Differential equation.
These can be of two types:
To solve this, we find an integrating factor(I.F).
And we find the solution in terms of y as:
Same stuff, just in terms of x this time.
I.F = $$I.F = e^{\int{P(y) dy}}$$
And we find the solution in terms of x as: $$\boxed{x . (I.F) = \int{Q(y) . (I.F) dy} + C}$$
2. Exact equations
An ordinary D.E of first order and first degree is of the form: $$\frac{dy}{dx} = F(x,y)$$ can be written as:
This equation will be considered exact, if and only if
and the solution of the equation will be given by:
However there are times when :
and thus the equation by-default is not exact.
However we can convert it to an exact equation by finding an integrating factor and then multiplying it to the original equation.
Steps for finding integrating factor for a non-exact equation.
- If equation is of the form
- Then check if
- If true, then equation is non-exact.
Proceeding from here:
Case 1
- Check if both M and N are homogenous (degree of both the functions should be equal to zero).
- If case 1 is true, then check if both M and N have same degree
- If true, then check if
. - If all of the above are true, then the I.F will be: $$\boxed{\frac{1}{Mx + Ny}}$$
- Multiply this I.F to the original equation to get the exact equation. Proceed solving from there as previously discussed.
Case 2 (M and N are both not homogenous/M is not homogenous/N is not homogenous)
- In this case, we proceed by finding : $$\frac{dM}{dy} - \frac{dN}{dx}$$
- Now we can either:
- Divide by M: If the result is a function of y and y only, then our I.F will be: $$\boxed{e^{-\int{g(y)dy}}}$$
- Divide by N: If the result is a function of x and x only, then our I.F will be: $$\boxed{e^{\int{f(x)dx}}}$$
- Multiply this I.F to the original equation to get the exact equation. Proceed solving from there as previously discussed.
For the alternate form
- If equation is of form $$\boxed{y(f(x,y)dx + xg(x,y)dy) = 0}$$
- M =
, N = . - If $$Mx-Ny \neq 0$$, then
- Integrating factor = $$\boxed{\frac{1}{Mx-Ny}}$$
- Multiply this I.F to the original equation to get the exact equation. Proceed solving from there as previously discussed.
3. Bernoulli's equation
It is of the form: $$y' + P(x)y = Q(x).y^{n}$$
Where $$y' = \frac{dy}{dx}$$ The easiest way to solve this is to reduce to a linear D.E.
We start by dividing both sides of the equation with
Let
Differentiate both sides w.r.t
Substitute back into the original equation, we get:
or $$\frac{dz}{dx} + (1-n) . P(x).z = Q(x).(1-n)$$
which can now be solved using the formula of a linear D.E
Differential equations of first order but not first degree.
1. Equations solvable for p
The required form for this type of equation should in the form of a quadratic equation:
or
Example explanation
Let's say we have the equation:
- Set
- So the equation becomes
- Solving the equation, we get roots as
p = -2
andp = 3
. - Equation
to both the values separately and separate the variables
- Integrate both the equations, we get:
and $$y = -2x + c$$
or $$y + 2x - c = 0 ...(4)$$
6. Finally we write both the equations in product form as :
2. Equations solvable for y
These are equations are always of
Steps to solve an equation for y.
- Write equation in terms of y, where y is isolated on the LHS.
- Differentiate L.H.S and R.H.S w.r.t
x
. - Let
. - Try to solve and reduce to a linear differential equation which will be $$\frac{dx}{dp} + P(p).x = Q(p)$$, by doing some substitution by setting some coefficient to z.
- Then solve the linear D.E to get a value in terms of
. - Put that value back in the original given equation and you have the required solution.
Alternatively .
After step 3
- Try to solve the equation and get a value of in terms of
. - Take only those terms which have
associated with them. - Now let's say you get,
, then separate the variables, to one side, to the other. - Integrate both sides.
- Put the value of
back in the original equation.
Both methods are valid. Just depends which one is more applicable, based on the question.
Example explanation
Let's say we have an equation.
So rewriting the equation we get :
So we differentiate both sides w.r.t
Let
So we get the equation as :
which can be further reduced down to:
Here we see that we already have a term with
Therefore, $$p = -2x.\frac{dp}{dx}$$
We separate the variables to get:
Now we integrate both sides to get
which can be solved further down to get:
or $$p^{2} = \frac{c}{x}$$ or $$p = \sqrt{\frac{c}{x}}$$
Now we apply this value back in the original equation to get
or , $$\boxed{y = 2\sqrt{c}.\sqrt{x} + c}$$
Example 2.
Let's say we have another equation: $$y = 2px - p^{2}$$
We apply the same rules as before to get
Let
and then by solving further we get an equation:
Now we could technically apply the alternative method and only choose the second term with dp/dx, but then separating variables would be a problem in this instance.
We would get $$2x{dp} - 2p dp = dx$$
Which now becomes troublesome to separate further.
So discarding this approach, we convert this equation into a linear D.E and then try to solve it.
Thus: $$p.\frac{dx}{dp} + 2x - 2p = 0$$
or $$\frac{dx}{dp} + 2x = 2$$
Solving this D.E we get a value in terms of
Applying this value in original equation, we get the required solution in terms of
3. Equations solvable for x
Here equations are given in the form of: $$x = f(y,p)$$
We generally solve this by differentiating both sides w.r.t
Therefore, $$\frac{dx}{dy} = F(y, p.\frac{dp}{dy})$$
If
We differentiate both sides w.r.t
Or, $$\frac{1}{p} = 1 + 2p.\frac{dp}{dy}$$ Continuing to solve that we get :
or
or $$dy = [2p^{2} - 2p].dp$$
Integrating both sides, we got a solution in terms of
So applying this value in our original equation, we get the required solution as:
Clairaut's equation.
A differential equation of the form
is called Clairaut's form.
We will use the method of 2. Equations solvable for y to solve such equations.
So we differentiate the equation w.r.t
Let
or
Now we set both of the terms
and
From equation 1, we get
Thus,
which is the required general solution,
And from equation 2, we get :
which is the singular solution in terms of x and y only.
Example explanation
- Solve $$(y-px)(p-1) = p$$ and obtain the singular solution.
We write it in Clairaut's form.
Now we differentiate both sides w.r.t
or
let $$\frac{dy}{dx} = p$$
Thus $$\frac{dp}{dx}.[x - \frac{1}{(1-p)^{2}}] = 0$$
Thus from $$\frac{dp}{dx} = 0$$, we get
Thus the required general solution is $$y = cx + \frac{c}{c-1}$$
And from $$[x - \frac{1}{(1-p)^{2}}] = 0$$
we get $$p = \frac{1 + \sqrt{x}}{\sqrt{x}}$$
We get singular solution as : $$y = [\frac{1 + \sqrt{x}}{\sqrt{x}}] . x + \frac{1 + \sqrt{x}}{\sqrt{x}}$$
or $$\boxed{y = 2\sqrt{x} + x + 1}$$
Second Order Differential Equations
A linear D.E of second order with constant coefficients is of the form:
where
We can solve this equation by first converting it to it's auxiliary form using the D-operator method.
Using the symbol D for the differential operator
Case 1: Solving homogenous part and finding C.F
Now if
Rules for finding Complementary factor, C.F
- Convert the given differential equation to it's auxiliary form. For example :
-
Solve the equation and find it's two roots
and . -
If the roots are different, the solution becomes:
where
and are arbitrary constants. -
If the roots are same, i.e
, then the solution becomes: -
If the roots are complex then, the solution becomes:
where
, , . or $$y = c_1.cos(bx) + c_2.sin(bx)$$
Case 2: Solving the non-homogenous part of the differential equation.
In the event of : $$(D^2 + P_1D + P_2)y = X$$,
Firstly we assume
Now for the non-homogenous part, we need to find something called a Particular-Integral or P.I.
The entire general solution will be
There are two ways to find the P.I .
Method 1: Using the inverse operator method.
Let the non-homogenous D.E be :
We do this by setting :
Solving
Now a few important cases of
-
If you have :
or
, where
and are roots of , then we can get the P.I as follows: which is solved as:
Now to find the values of
Let's say we have a given expression
where
We can write
or
Cancelling out
We get
or
Now we compare both the coefficient of
Since there is no
From the two equations, we get
So we get our P.I as:
which, when solved completely, gives us:
as the solution for this P.I.
-
If you have :
where
, is a polynomial function of some degree , we get the P.I as: where we expand
till and then solve .
-
If you have:
, where
is a function of a . We can get the solution as:
Method 2: Using the method of variation of parameters.
This method is used when it's difficult to apply the inverse operator method. However it is not a replacement for the inverse operator method. Both are valid, usage depends on the question.
So picking up from our C.F for equation: $$(D^2 + P_1D + P_2)y = X$$
where we assumed the C.F to be: $$y = c_1.y_1(x) + c_2.y_2(x)$$
Now, let us assume our P.I as $$y = u.y_1(x) + v.y_2(x)$$, where
To find the value of
and $$u' =
\begin{vmatrix}
0 \ y_2 \
X \ y'_2 \
\end{vmatrix}
= \frac{-y_2.X}{W}$$
and
or
and
Put these values back into your P.I equation to get the full general solution to the D.E