0% found this document useful (0 votes)
119 views

1 ST Order Differences Between Linear Nonlinear Equations

This document discusses examples of solving first order differential equations that are nonlinear. It provides two examples, the first solving the initial value problem y' + y^3 = 0 and discussing how the interval of the solution depends on the initial value. The second example considers the initial value problem y' = y^(1/3) and determines if any solutions pass through specific points and the set of possible values at a given time. It also discusses uniqueness of solutions and how the interval can depend on the initial condition for nonlinear problems.

Uploaded by

Charbel Kaddoum
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
119 views

1 ST Order Differences Between Linear Nonlinear Equations

This document discusses examples of solving first order differential equations that are nonlinear. It provides two examples, the first solving the initial value problem y' + y^3 = 0 and discussing how the interval of the solution depends on the initial value. The second example considers the initial value problem y' = y^(1/3) and determines if any solutions pass through specific points and the set of possible values at a given time. It also discusses uniqueness of solutions and how the interval can depend on the initial condition for nonlinear problems.

Uploaded by

Charbel Kaddoum
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Differential Equations Practice: 1st Order: Differences Between Linear & Nonlinear Equations Page 1

Questions

Example (2.4.15) Solve the initial value problem y 0 + y 3 = 0, y(0) = y0 and determine how the interval in which the
solution exists depends on the initial value y0 .
Example (2.4.21) Consider the initial value problem y 0 = y 1/3 , y(0) = 0 where t ≥ 0. Is there a solution that passes
through (1, 1)? If so, find it. Is there a solution that passes though (2, 1)? If so, find it. Consider all possible solutions to
the initial value problem. Determine the set of values that these solutions have at t = 2.

Solutions

Example (2.4.15) Solve the initial value problem y 0 + y 3 = 0, y(0) = y0 and determine how the interval in which the
solution exists depends on the initial value y0 .
This is nonlinear since it has the term y 3 . There may not be a general solution which contains all the solutions of the
differential equation. We can still solve the differential equation, since it is separable.

dy
= −y 3
dx
dy
= −dx
y3
Z Z
dy
= − dx
y3
−2
y
− = −x + c
2
1
y2 =
2x − 2c

This is an implicit solution for y. The explicit solution is two functions:


1 1
y = +√ and − √ .
2x − 2c 2x − 2c
Apply the initial condition to determine the constant c. If x = 0, then y = y0 :

1
y02 =
0 − 2c
1
c = − 2
2y0

The initial value problem has solution

1 y02
y2 = 1 = .
2x + y02
2xy02 + 1

Remember the differential equation was nonlinear, so there may be other solutions not represented by this form. In this
case, however, if y0 ∈ R the function is defined, so we have all our solutions.
Frequently what is missing at this stage is some constant valued solutions, however, the only constant valued solution for
this differential equation is y(x) = 0, which is contained in the above if y0 = 0.
The interval of x for which this is valid requires the following to avoid taking the square root of a negative, and division
by zero:
 
2 1
2xy0 + 1 > 0 −→ x ∈ − 2 , ∞ .
2y0
Differential Equations Practice: 1st Order: Differences Between Linear & Nonlinear Equations Page 2

Notice that if y0 = 0, the interval becomes x ∈ (−∞, ∞), which is what we would expect for a constant valued solution.
The Mathematica file contains some plots.
Example (2.4.21) Consider the initial value problem y 0 = y 1/3 , y(0) = 0 where t ≥ 0. Is there a solution that passes
through (1, 1)? If so, find it. Is there a solution that passes though (2, 1)? If so, find it. Consider all possible solutions to
the initial value problem. Determine the set of values that these solutions have at t = 2.
This problem is solved as Example 3 in the text. The solution is

0 0 ≤ t < t0
y(t) =
±[ 32 (t − t0 )]3/2 t ≥ t0

For a solution to pass through (1, 1), we require y(1) = 1 for some value of t0 .
2
y(1) = ±[ (1 − t0 )]3/2 = 1 and 1 ≥ t0
3
since if 1 < t0 , then y(1) = 0. Solve the above for t0 .

2
± [ (1 − t0 )]3/2 = 1
3
2
(1 − t0 ) = 1
3
3 1
t0 = 1− =−
2 2

So t0 = −1/2 < 0; but the problem states t0 ≥ 0. This contradiction tells us that no solution passes through (1, 1).
For a solution to pass through (2, 1), we require y(2) = 1 for some value of t0 .
2
y(2) = ±[ (2 − t0 )]3/2 = 1 and 2 ≥ t0
3
since if 2 < t0 , then y(2) = 0. Solve the above for t0 .

2
± [ (2 − t0 )]3/2 = 1
3
2
(2 − t0 ) = 1
3
3 1
t0 = 2− =
2 2

So t0 = 1/2 > 0, so there is a solution which passes through (2, 1), and it is the one with t0 = 1/2.
For all possible solutions at t = 2, we have:

0 0 ≤ 2 < t0
y(2) =
±[ 32 (2 − t0 )]3/2 2 ≥ t0

A clearer way to express this is as follows. If t0 > 2, then y(2) = 0. If t0 ≤ 2, then y(2) = ±[ 23 (2 − t0 )]3/2 .
 
2
y(2) ∈ 0, ±[ (2 − t0 )]3/2 where 0 ≤ t0 ≤ 2.
3

Simplifying even further yields |y| ≤ (4/3)3/2 .


Differential Equations Practice: 1st Order: Differences Between Linear & Nonlinear Equations Page 3

More Detail about Example 2 in the Text: Example using Theorem 2.4.2 Solve the initial value problem:

dy 3x2 + 4x + 2
= , y(0) = −1.
dx 2(y − 1)

Note that this is nonlinear in both x and y. We must use Theorem 2.4.2.
Begin by identifying the quantities needed for Theorem 2.4.2:

3x2 + 4x + 2 ∂f 3x2 + 4x + 2
f (x, y) = , =−
2(y − 1) ∂y 2(y − 1)2

Both these functions are continuous everywhere except when y = 1. Consequently, we can draw a rectangle about the
initial point where both functions are continuous, and a unique solution will exist in this rectangle.
The size of this rectangle is not arbitrary, and we shall see that it there is a further constraint which is not yet apparent.

The important thing is we know a unique solution will exist in some rectangle about the initial point before we solve the IVP.
The DE is separable, so we shall proceed by writing it in the separable form:

2(y − 1)dy = (3x2 + 4x + 2)dx, (1)


Z Z
2(y − 1)dy = (3x2 + 4x + 2)dx, (2)

y 2 − 2y = x3 + 2x2 + 2x + C, (implicit solution for y(x)) (3)


p
y = 1 ± x3 + 2x2 + 2x + C + 1, (explicit solution (using quadratic theorem)) (4)

Here we do not stop at the implicit solution since we need to determine the rectangle for which the solution is valid. Apply
the initial condition y(0) = −1:
p
y = x3 + 2x2 + 2x + C + 1,
1± (5)
p
−1 = 1 ± 03 + 2 · 02 + 2 · 0 + C + 1, (6)

−1 = 1 − C + 1, (selects the minus sign) (7)
3 = C. (8)
p
y = 1 − x3 + 2x2 + 2x + 4, (9)

Now, we know the solution is bounded by the line y = 1. The square root also introduces a bound on x:

x3 + 2x2 + 2x + 4 ≥ 0.

This cubic function has one real root, x = −2. For x ≥ −2 the quantity under the square root will be positive, which is
what we want. The final, unique solution is given by:
p
y = 1 − x3 + 2x2 + 2x + 4, x ≥ −2, y < 1.
Differential Equations Practice: 1st Order: Differences Between Linear & Nonlinear Equations Page 4

So this solution will always be constrained to have y < 1 and x ≥ −2, and it is unique (it is the only solution). The second
solution to the differential equation does not exist when we apply the initial condition.
Notice also that the constraint x ≥ −2 was not evident from the original differential equation. It was only discovered once
we had solved the IVP.
A Different Initial Condition–loss of uniqueness of solution
If the initial condition had been y(0) = 1, we would not have been able to draw a rectangle around the point (0, 1) for which
f and ∂f /∂y would be continuous; we could not use Theorem 2.4.2 to say anything about the uniqueness or existence of
the solution.
But this does not mean a solution does not exist! It just means we can’t say anything about it to begin with. In fact,
with the new initial condition, we have:
p
y = 1±x3 + 2x2 + 2x + C + 1, (10)
p
1 = 1 ± 03 + 2 · 02 + 2 · 0 + C + 1, (11)
−1 = C. (12)
p
y = 1 ± x3 + 2x2 + 2x, x > 0 (13)

and the solution exists, but is not unique. This is entirely due to the nonlinearity in the problem.

You might also like