Everything Flashcards
(82 cards)
dy/dx = f(x)
Direct integration
dy/dx = f(x)g(y)
Separation of variables
dy/dx = f(y/x)
Substitute v(x)=y(x)/x
example: dy/dx = sin(x+y+1)
Substitute to separable form with u(x)=x+y(x)+1
dy/dx + p(x)y = q(x)
Integrating factor or, if q(x) not complex, homogeneous, particular integral method as dy/dx + p(x)y = 0 is always separable
Linear nice 1st order in general:
Direct integration
Integrating factor
Linear 1st order dy/dx = f(x,y)
Substitute RHS to make nicer
Non-linear 1st order in general:
Substitution to make linear
example: y * dy/dx + sin(x) = y^2
Substitute z=y^2
Theorem 3.1 If y1 and y2 are solutions to any homogeneous ODE then a1y1+a2y2 is also a solution.
Take the ODE but with y1 and the ODE but with y2. Multiply them by the appropriate a and then add them together. Differentiation is a linear map so you can combine the derivatives
Theorem 3.2 If yp is a solution to the inhomogeneous ODE then y(x) is a solution iff y(x)=yc(x)+yp(x) where yc(x) is a solution to the homogeneous ODE.
Write the ODE with y(x) as a solution (=yc(x)+yp(x)). Use linear map and expand it out and separate it into yc(x) and yp(x). yp(x) but = f(x) so yc(x) bit =0 so its a solution to the homogeneous ODE.
Non-linear ODE where a solution is known ( z(x) )
Sub in y(x)=u(x)z(x). ( Remember p(x)z’‘+q(x)z’+r(x)z=0 ). This should give you a differential equation of degree one less than you started. For 2nd order ODES this gives you a (usually) solvable first order ODE
Consider the homogeneous linear equation. d2(y)+q d1(y) + ry=0. The equation m^2+qm+r=0 has roots m1,m2. Then we have the 3 cases
Note q=-(m1+m2) and r=m1m2
So the ODE is d2(y) -(m2-m1)d1(y) + m1m2y = 0
e^(m1x) is a solution of this which can be checked.
This gives d2(u) -(m2-m1)d1(u) = 0
If case 1: m2-m1/=0. This gives solution du/dx = ke^(m2-m1) whixh when subbing y back in proves case 1
If case 2: m2-m1=0 so d2(u)=0. Integrating gives case 2 proof
If case 3: m1,m2 complex conjugate pair. Use the solution to case 1 and eulers identity
Definition of partial differentiation
Let f:R^n→R be a function of n variables x1,x2,…,xn.
Then the partial derivative ∂f/∂xi is the rate of change of f at a point (p1,…,pn) when we vary only xi and keep other variables constant.
We have
∂f/∂x(p_1,…,p_n ) = lim(h→0) of
[f(p1,…,p(i-1),pi+h,p(i+1),…,pn ) - f(p_1,…,p_n) ] /h
(∂^2f)/∂x∂y
y first then x
f sub yx (partial differentiation)
y first then x
State the chain rule for dF/dt
Let F(t) = f( u(t), v(t) ). Then dF/dt= ∂f/∂u * du/dt + ∂f/∂v * dv/dt
State the chain rule for ∂F/dx
LEt F(t) = f( u(x,y), v(x,y) ). Then ∂F/∂t = ∂f/∂u * ∂u/∂x + ∂f/∂v * ∂v/∂x
Prove the chain rule
∂F/∂t = ∂f/∂u * ∂u/∂x + ∂f/∂v * ∂v/∂x
We know that if F(t) = f( u(t), v(t) ).
Then
dF/dt= ∂f/∂u * du/dt + ∂f/∂v * dv/dt
So if F(t)=f( u(x,y), v(x,y) ) we can say the same. But when we calculate du/dx it’s actually ∂u/∂x because we have to keep y constant.
Partial Differential equations general
Just integrate and consider functions
Separate the variables straight away
Separable solutions
Partial Differential equation in one variable
Treat as full derivatives then the constants at the end are actually functions of the other variables
Jacobian ∂(x,y)/∂(u,v)
Determinant of the matrix
( ∂x/∂u ∂x/∂v )
( ∂y/∂u ∂y/∂v )
Does
dx dy = |∂(x,y)/∂(u,v)| du dv
or
du dv = |∂(x,y)/∂(u,v)| dx dy
dx dy = |∂(x,y)/∂(u,v)| du dv
Remember it by diving by du dv.
The x and y goes on top the u and v goes on the bottom
Proposition 5.1.
Let r and s be functions of u and v which in turn are functions of x and y.
Then ∂(r,s)/(∂(x,y) = ∂(r,s)/(∂(u,v) * ∂(u,v)/∂(x,y)
As a corollary ∂(x,y)/∂(u,v) * ∂(u,v)/∂(x,y)=1
Write ∂(r,s)/∂(x,y) as the determinant of the Jacobian matrix. Expand out each element using the chain rule. This can then be written as a multiplication of the (r,s)/(u,v) and the (u,v)/(x,y) Jacobian matrices
Expand out the determinants
For the corollary set r=x, s=y