Download Problem. For the ODE dy dx = y - 4x x

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Catenary wikipedia , lookup

Two-body Dirac equations wikipedia , lookup

Path integral formulation wikipedia , lookup

Two-body problem in general relativity wikipedia , lookup

Unification (computer science) wikipedia , lookup

Schrödinger equation wikipedia , lookup

Debye–Hückel equation wikipedia , lookup

Navier–Stokes equations wikipedia , lookup

BKL singularity wikipedia , lookup

Euler equations (fluid dynamics) wikipedia , lookup

Dirac equation wikipedia , lookup

Equations of motion wikipedia , lookup

Computational electromagnetics wikipedia , lookup

Van der Waals equation wikipedia , lookup

Perturbation theory wikipedia , lookup

Derivation of the Navier–Stokes equations wikipedia , lookup

Equation of state wikipedia , lookup

Differential equation wikipedia , lookup

Heat equation wikipedia , lookup

Schwarzschild geodesics wikipedia , lookup

Exact solutions in general relativity wikipedia , lookup

Partial differential equation wikipedia , lookup

Transcript
EXAMPLE: PROBLEM 2.2.30 OF THE TEXT
110.302 DIFFERENTIAL EQUATIONS
PROFESSOR RICHARD BROWN
Problem. For the ODE
dy
y − 4x
=
,
dx
x−y
(1)
do the following:
(a) Show that Equation 1 can be rewritten as
y
dy
x −4
=
.
dx 1 − xy
(2)
Solution. Here,
y
y
y − 4x
dy
x − 4 x
x −4
=
=
=
dx
x−y
1 − xy
1 − xy x
through basic algebraic manipulation. Note that we are implicitly making the assumption that x 6= 0
in our analysis. However, since we are simply looking at the structure of the ODE for clues as to how
to solve it, this is okay. We may have to separately study the cases for initial values y(0) = y0 later.
(b) With the change in variables v =
dv
and dx
.
y
x
or y = xv, write
dy
dx
in terms of x, v,
Solution. With the change y = xv, we can use the Product and Chain Rules to write
dy
d
dv
=
[xv] = v + x .
dx
dx
dx
(c) Now rewrite the ODE in Equation 1 in terms of x and v.
Solution. Here, the ODE is
v+x
y
−4
dv
dy
v−4
=
= x y =
.
dx
dx
1− x
1−v
Thus, we can manipulate this to get
dv
v−4
v−4
1−v
x
=
−v =
−v
dx
1−v
1−v
1−v
2
v−4 v−v
v − 4 − v + v2
v2 − 4
=
−
=
=
.
1−v
1−v
1−v
1−v
Thus the ODE in x and v is
v2 − 4
dv
x
=
.
dx
1−v
1
(3)
2
110.302 DIFFERENTIAL EQUATIONS PROFESSOR RICHARD BROWN
(d) Solve the ODE in Equation 3, obtaining v as an implicit function of x.
Solution. To solve the new ODE, we first note that it is separable, and we have
1−v
dv
1
= .
(4)
(v − 2)(v + 2) dx
x
Integrating the LHS is easier if we decompose the rational function using a partial fraction decomposition:
1−v
A
B
A(v + 2)
B(v − 2)
=
+
=
+
(v − 2)(v + 2)
v−2 v+2
(v − 2)(v + 2) (v − 2)(v + 2)
Av + 2A + bv − 2B
=
(v − 2)(v + 2)
so that 1 = 2A − 2B and −1 = A + B provide values for the two constants A and B which satisfy the
equation. We get A = − 14 and B = − 43 .
Integrate Equation 4 with respect to x to get
Z
Z dv
1
1−v
dx =
dx
(v − 2)(v + 2) dx
x
Z
Z
1
1
3
1
−
dv −
dv = ln |x| + C
4
v−2
4
v+2
1
3
− ln |v − 2| − ln |v + 2| = ln |x| + C.
4
4
With a bit of algebraic manipulation, this becomes
ln |v − 2| + 3 ln |v + 2| + ln x4 = −4C.
Combine the logarithmic terms and
ln (v − 2)(v + 2)3 x4 = −4C.
And exponentiate to get
(v − 2)(v + 2)3 = e−4C = K.
This last equation expresses v as a implicit function of x.
(5)
(e) Rewrite this implicit solution in terms of x and y as a general solution to
Equation 1.
Solution. Rewriting Equation 5 in term of y, we get
y
y
3
−2
+ 2 x4 = K
x
x
1
3 1
(y − 2x) (y + 2x) 3 x4 = K
x
x
3
(y − 2x) (y + 2x) = K.
(f) We will leave the slope field pictures to you.