Microsoft PowerPoint deq19 02 First Order de pptx
Example: Discontinuous f(x)
Download 0.79 Mb.
|
deq19 02 First Order DE (1)
- Bu sahifa navigatsiya:
- Non-elementary Functions
- Level Curves and Family of Solutions
- Differentials of Two-Variable Functions
- Criterion for an Exact Differential
- Proof of the Sufficiency (1/2)
- Proof of the Sufficiency (2/2)
- Example: 2 xy dx +( x 2 – 1) dy = 0
- Example: An IVP of Exact Equation
- Integrating Factors for Exactness
- Solution by Substitutions
- Homogeneous Equations (1/2)
- Homogeneous Equations (2/2)
- Example: ( x 2+ y 2) dx +( x 2- xy ) dy = 0
- Example: x dy / dx + y = x 2 y 2
- Another Reduction to Separation
- Example: dy / dx = (–2 x + y )2 – 7, y (0) = 0
- Numerical Methods The solution of a DE can be approximated using a tangent line: Euler’s Method
Example: Discontinuous f(x)
find c2 so that 0, x > 1 dx Solution: dy + y = f (x), f (x) = 1, 0 x 1 and y(0) = 0. 2 c e , x > 1 y = x 1 e x , 0 x 1 lim y(x) = y(1) + x1 f(x) x y x 1 Non-elementary Functions
Example: e x2 dx sin x2dx x t e dt 0 2 erf (x) = 2 Level Curves and Family of Solutions
x y 2 1 -1 -2 -2 -1 1 2 Level curves of ey+ye–y+e–y+2cos = c -1 -2 x y 2 1 -2 -1 1 Solutions of IVPs 2 c = 4 (0, 0) c = 2 (/2, 0) Differentials of Two-Variable Functions
dz = f dx + f dy. x y If f (x, y) = c, we have: f dx + f dy = 0. x y Given a one-parameter family of curves f (x, y) = c, we can derive a first order DE. Example:
(2x – 5y) dx + (–5x + 3y2) dy = 0. Question: can we think reversely? Exact Equations
M(x, y) dx + N(x, y) dy = 0 is said to be an exact equation if the expression on the left-hand side is an exact differential. Criterion for an Exact Differential
Then a necessary and sufficient condition that M(x, y) dx + N(x, y) dy be an exact differential is M = N . y x Proof of the Necessity
M (x, y)dx + N (x, y)dy = f dx + f dy. x y Therefore, M(x, y) = f/x, and N(x, y) = f/y, and M = f = 2 f = f = N y y x yx x y x . # Proof of the Sufficiency (1/2)
If we can prove that g'(y) is a function of y alone, integrating g'(y) w.r.t. y, gives us the solution. x f = M (x, y) f (x, y) = M (x, y)dx + g( y), y y therefore, where g(y), shall be a function of y. Since we want f = N (x, y) N (x, y) = M (x, y)dx + g( y), y g( y) = N (x, y) M (x, y)dx Proof of the Sufficiency (2/2)
In this case, the solution is and M/y = N/x, we have /x[g'(y)] = 0. Thus, g'(y) is a function of y alone. N M x N (x, y) y M (x, y)dx = x y M (x, y)dx dy. y N (x, y) f (x, y) = M (x, y)dx + # Observations
x where c is a constant parameter.
f (x, y) = N (x, y)dy + h(x) h(x) = M (x, y) N (x, y)dy M (x, y)dx dy = c, y N (x, y) f (x, y) = M (x, y)dx + Example: 2xy dx+(x2 – 1)dy = 0
Since M(x, y) = 2xy, N(x, y) = x2 – 1, we have M/y = 2x = N/x so the equation is exact, and there exists f(x, y) such that f/x = 2xy and f/y = x2 – 1. Integrating the first equation f(x, y) = x2y + g(y) Take the partial derivative of y, equate it with N(x, y), we have x2 + g(y) = x2 – 1. Therefore, g(y) = –1, and f (x, y) = x2y – y. The implicit solution is x2y – y = c. Example: An IVP of Exact Equation
2 dy = xy cos x sin x , y(0) = 2. 2 1 2 cos x h(x) = (cos x)(sin xdx) = dx y(1 x2 ) Solution: M = 2xy = N y x x f = xy2 + h(x) = cos x sin x xy2 2 2 f (x, y) (1 x ) + h(x) 2 2 = y y(1 x ), y f = Example: An IVP (cont.)The implicit solution is y2(1 – x2) – cos2x = c. Substitute the initial condition y(0) = 2 into the implicit solution, we have c = 3. y x Integrating Factors for Exactness
(x, y)M(x, y) dx + (x, y)N(x, y) dy = 0 an exact differential equation? To achieve this goal, (x, y) must satisfy My – Nx + (My – Nx)= 0. d = M y Nx dx N Separable equation if (My – Nx)/N contains x alone. Solution by Substitutionsthen We can then solve for du/dx = F(x, u). If u = (x) is the solution, then y = g(x, (x)).
is a function of x, to solve for the solution. By chain rule: dy du = gx (x, u) + gu (x, u) , dx dx du f (x, g(x, u)) = gx (x, u) + gu (x, u) dx . Homogeneous Equations (1/2)
Example: f (x, y) = x3+y3 is a homogeneous equation of degree 3. M(x, y)dx+N(x, y)dy = 0 is said to be homogeneous if both M and N are homogeneous function of the same degree. Homogeneous Equations (2/2)
M(x, y) = xM(1, u) and N(x, y) = xN(1, u), u = y/x and M(x, y) = yM(v, 1) and N(x, y) = yN(v, 1), v = x/y Example: (x2+y2)dx+(x2-xy)dy = 0
M and N are 2nd-order homogeneous equation. Let y = ux, then dy = u dx+x du. After substitution, we have (x2+u2x2)dx+(x2-ux2)[u dx+x du] = 0 x2 (1+u)dx+x3 (1-u) du = 0 Therefore 2 du + dx = 0 1+ u x 1+ u x 1 u du + dx = 0 1+ – u + 2 ln1+ u + ln x = ln c Bernoulli’s Equation
dx where n is any real number, is called Bernoulli’s equation. Note that for n = 0 and n = 1, it is linear. For any other n, the substitution u = y1–n reduces any equation of this form to a linear equation. dy + P(x) y = f (x) yn Example: x dy/dx + y = x2y2is e–dx/x = x–1, we have x–1u = –x + c y = 1/(– x2 + cx).
dy + 1 y = xy,2 dx x substitute with y = u–1 and dy/dx = –u–2du/dx. dx x du 1 u = x, the integrating factor on (0, ) dx d [x1u]= 1 Another Reduction to Separationdxcan always be reduced to an equation with separable variables by means of the substitutionu = Ax+By+C, B ≠ 0.
dy = f ( Ax + By + C) Example: dy/dx = (–2x + y)2 – 7, y(0) = 0
Let u =-2x+y, then du/dx =-2+dy/dx. The DE can be reduced to du/dx = u2-9. 1 du 1 = dx 1 du = dx (u 3)(u + 3) 6 u 3 u + 3 1 1 ln 6c 6 x = ce , c = e u + 3 u 3 = x + c 1 u 3 6 u + 3 1 ce6 x 3(1+ ce6 x ) y = 2x + y(0) = 0, c = 1. x y Numerical Methods
Euler’s Method
x2 = x1 + h = x0 + 2h, and y(x2) = y1 + hf(x1, y1) xn = x0 + nh, n = 0, 1, 2, … Error Accumulations58/58 (0, 1) x
y Euler’s method exact solution Runge-Kutta method Download 0.79 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling