Row Reduce 1 3 - 10 4 2 0 5 1 6
Row Reduce 1 3 - 10 4 2 0 5 1 6
Row Reduce 1 3 - 10 4 2 0 5 1 6
Input:
1 3 -10
row reduce 4 2 0
5 1 6
Result:
1 0 2
0 1 -4
0 0 0
Dimensions:
3 (rows) × 3 (columns)
Matrix plot:
1 2 3
1 1
2 2
3 3
1 2 3
λ1 1
λ1 1
λ2 1
λ3 0
v1 (0, 1, 0)
v2 (1, 0, 0)
v3 (-2, 4, 1)
Diagonalization:
M S.J.S-1
where
1 0 2
M 0 1 -4
0 0 0
-2 0 1
S 4 1 0
1 0 0
0 0 0
J 0 1 0
0 0 1
0 0 1
S-1 0 1 -4
1 0 2
Condition number:
In[6]:= x2 dy dx - 2 x y = 3 y4 , y(1) = 1 2
Input interpretation:
∂y(x) 1
x2 × - 2 x y(x) 3 y(x)4 , y(1)
∂x 2
Bernoulli's equation:
2 y(x) 3 y(x)4
y′ (x) +
x x2
Bernoulli's equation »
ODE classification:
Alternate forms:
1
x (x y′ (x) - 2 y(x)) 3 y(x)4 , y(1)
2
1
x2 y′ (x) 3 y(x)4 + 2 x y(x), y(1)
2
5 x2
3
y(x)
3
49 - 9 x5
Possible intermediate steps:
Solve Bernoulli's equation
x2 ⅆy(x)
ⅆx
- 2 x y(x) 3 y(x)4
, such that
1
y(1) 2
:
Let v(x)
1
y(x)3
, which
ⅆv(x)
gives ⅆx
ⅆy(x)
3
- ⅆx
y(x)4
:
ⅆ v(x) 6 v(x) 9
+ -
ⅆx x x2
6
∫
6
Let μ(x) ⅇ∫ x ⅆx x6 .
Multiply both sides by
μ(x) :
ⅆ v(x)
x6 + 6 x5 v(x) -9 x4
ⅆx
ⅆ 6
Substitute 6 x5 ⅆx
x :
ⅆ v(x) ⅆ
x6 + x6 v(x) -9 x4
ⅆx ⅆx
ⅆ
ⅆx
(f g) to the
left-hand side:
ⅆ 6
x v(x) -9 x4
ⅆx
-5 x2 x2 (-1)2/3 x2
3
y( ) y( ) y( )
3
-9 x5 + 5 c1 5 5
3 - 95x + c1 3 - 95x + c1
For y(x)
3
-5 x2
- , solve for
3
-9 x5 +c1
c1 using the
initial conditions:
1
Substitute y(1) 2
into y(x)
3
-5 x2
- :
3
-9 x5 +c1
3
-5 1
-
3
c1 - 9 2
For y(x)
x2
, solve for
9 x5
3 - 5
+c1
c1 using the
initial conditions:
1
Substitute y(1) 2
into y(x)
x2
:
9 x5
3 - 5
+c1
1 1
2
9
3 c1 - 5
49
Substitute c1 5
into y(x)
x2
:
9 x5
3 - 5
+c1
x2
y(x)
5
3 - 95x + 49
5
For y(x)
(-1)2/3 x2
, solve for
9 x5
3 - 5
+c1
c1 using the
initial conditions:
1
Substitute y(1) 2
into y(x)
(-1)2/3 x2
:
9 x5
3 - 5
+c1
(-1)2/3 1
2
9
3 c1 - 5
y(x)
(-1)2/3 x2
9 x5
3 - 5
+c1
Collect solutions:
Answer:
x2
y(x)
5
3 - 95x + 49
5
y y′
x y
y
3.0
2.5
2.0
y(x)
1.5
1.0
x
1.1 1.2 1.3
0.0
Initial conditions:
More controls
Input interpretation:
ODE names:
Bernoulli's equation:
y(x) y(x)2
y′ (x) +
x x2
Homogeneous equation:
y(x)
y(x) 1 + x
y′ (x)
x
Homogeneous equation »
ODE classification:
Alternate form:
y(x) (y(x) + x)
y′ (x)
x2
Expanded form:
y(x)2 y(x)
y′ (x) +
x2 x
Simplify:
ⅆ v(x)
x + v(x) (v(x) + 1) v(x)
ⅆx
ⅆx
ⅆv(x)
Solve for ⅆx
:
ⅆ v(x) v(x)2
ⅆx x
Answer:
x
y(x) -
log(x) + c1
y y′
y(1) 1
y(1) 1
x y
600
400
(sampling y(1))
200
x
1.2 1.4 1.6 1.8 2.0 2.2 2.4
y(1) 1.
y
60
40
y(x)
20
x
1.5 2.0 2.5
-20
Initial conditions:
y(1)
More controls
Input interpretation:
∂y(x) x
, y(1) 1
∂x x2 y(x) + 4 y(x)
Separable equation:
x
y′ (x) y(x)
4 + x2
ODE classification:
Alternate form:
x
y′ (x) , y(1) 1
x2 + 4 y(x)
Hide steps
, such that
y(1) 1 :
Let R(x, y)
x
- 4 y+x 2y
and
S(x, y)
1 .
This is not an exact equation, because
x
∂R(x,y)
∂y
- 4 y+x 2 y ≠ 1
∂S(x,y)
∂x
.
This means
∂
∂
∂y
(μ(y) R(x, y))
∂
∂x
(μ(y) S(x, y)) :
ⅆμ(y)
ⅆy
x μ(y) x x2 + 4
- + 0
4 y + y x2 4 y + y x2
2
Isolate μ(y)
to the left-hand side:
∂μ(y)
∂y 1
μ(y) y
μ(y(x)) :
x ⅆ y(x)
- + y(x) 0
x2 + 4 ⅆx
0
∂Q(x,y)
∂x
.
Define f (x, y)
such that
∂ f (x,y)
∂x
P(x, y)
and
∂ f (x,y)
∂y
Q(x, y)
. :
Then, the solution will be given by
f (x, y) c1 , where
c1
is an arbitrary constant.
∂ f (x,y)
Integrate ∂x
with respect to
x
in order to find
f (x, y) :
f (x, y)
x
∫ - x2 +4 ⅆ x
- 12 logx2 + 4 + g(y) where
g(y)
is an arbitrary function of
y .
Differentiate
f (x, y)
with respect to
y
in order to find
g(y) :
∂ f (x, y) ∂ 1 ⅆ g(y)
- logx2 + 4 + g(y)
∂y ∂y 2 ⅆy
Substitute into
∂ f (x,y)
∂y
Q(x, y) :
ⅆ g(y)
y
ⅆy
ⅆg(y)
Integrate ⅆy
with respect to
with respect to
y :
g(y)
∫ y ⅆy
y2
2
Substitute g(y)
into f (x, y) :
y2 1
f (x, y) - logx2 + 4
2 2
The solution is
f (x, y) c1 :
y2 1
- logx2 + 4 c1
2 2
Solve for y :
2 2
y(x) - logx + 4 + 2 c1 or y(x) logx + 4 + 2 c1
For y(x)
- logx2 + 4 + c1 , solve for
c1 using the
initial conditions:
Substitute y(1) 1
into y(x)
- logx2 + 4 + c1 :
- c1 + log(5) 1
y(x)
- logx2 + 4 + c1
cannot satisfy the initial condition, which means no solution exists.
For y(x)
logx2 + 4 + c1 , solve for
c1 using the
initial conditions:
Substitute y(1) 1
into y(x)
logx2 + 4 + c1 :
c1 + log(5) 1
Substitute c1 1 - log(5)
into y(x)
logx2 + 4 + c1 :
Collect solutions:
Answer:
y y′
x y
1.8
1.6
1.4 y(x)
1.2
x
2 3 4 5
0.8
Initial conditions:
More controls