1stODE
Separable Variable Method¶
for any ODE satisfying
linear Equation¶
standard form¶
integrating factor¶
solving method¶
-
standard form
\[y'+Py=f\] -
multiple M(x)
\[y'⋅M+P⋅My=f⋅M\] -
notice that
\[M'=P⋅M\] -
thus (form 2.)
\[M\cdot y'+M'\cdot y=M\cdot f\] -
according to product rule
\[\frac{d}{dx}(M\cdot y)=M\cdot f\] -
integrate both sides
\[M\cdot y = \int{M\cdot f dx} + c\] -
check initial value and singular points 1
Exact Equation¶
Any 1st ODE can be written as
If \(\exists f(x, y)\), s.t.
which means
\[\frac{∂f(x, y)}{∂x}=M(x, y)\]\[\text{and}\]\[\frac{∂f(x, y)}{∂x}=N(x, y)\]
, then
is an Exact Equation.
for an exact equation
due to
we know that
solution to exact equation¶
-
check the 1st ODE is exact equation
\[\frac{∂M}{∂y}=\frac{∂N}{∂x}=\frac{∂f}{∂x∂y}\] -
then
\[f(x,y) = \int{M\cdot dx} + g(y)\] -
and we can get \(g(y)\) by
\[\frac{\partial}{\partial y}f(x,y)=N(x, y)\] -
solve
\[f(x, y)=c\]
modify non-exact equations to exact equations¶
given a 1st ODE which isn't exact equation
meaning
we can try to find an integrating factor \(\mu\) s.t.
is an exact equation.
check if this equation satisfy either
1. > > \(\(h(y)=\frac{N_x-M_y}{M}\)\) > > is independent to \(x\). (dependent to \(y\) alone)
or
2. > > \(\(h(x)=\frac{M_y-N_x}{N}\)\) > > is independent to \(y\). (dependent to \(x\) alone)
if neither of these condition were satisfied, the equation cannot be exact equation.
otherwise, the equation can be multiplied by \(\mu\) to become exact equation, and solve by the method mentioned above.
-
\[\mu(y)=e^{\int {h(y)dy}}\]
or
-
\[\mu(x)=e^{\int {h(x)dx}}\]
see proof.
homogeneous Equation¶
There are two different definition of homogeneous equation.
homogeneous Linear Equation¶
The constant term of linear Equation is zero
In 1st ODE case
The equation is homogeneous if f(x) = 0
see further definition.
homogeneous 1st ODE¶
以下兩種定義等價。
-
ODE in \(y' = f(x,y)\) form
The equation is homogeneous if
\[y'=f(x,y)=f(tx,ty)\] -
ODE in \(Mdx + Ndy = 0\) form
If \(M(x,y)\) and \(N(x,y)\) are homogeneous functions of the same degree, then the 1st ODE is homogeneous.
Quick Check Guide : sum of powers (指數之和)
Solution to 1st ODE¶
Set \(y=ux\), \(dy = udx +xdu\),
then use separable variable method
Bernoulli's Equations¶
aka 白努力 equation
standard form¶
Solution¶
Assume
according to chain rule, we can write
代入 standard form
then use the method of solving linear 1st ODE.
Ax + By + C¶
If the 1st ODE has the form
set \(u=Ax+By+C\)
then
and solve it by any method above.
-
singular points
\(\forall x\) s.t.
\[P(x)\rightarrow \infty \quad \text{or} \quad f(x) \rightarrow \infty\]singular points cannot be solution.