Академический Документы
Профессиональный Документы
Культура Документы
J. Robert Buchanan
Department of Mathematics
Fall 2018
Objectives
where
I ∇ · f denotes the divergence of f , and
I ∇u denotes the gradient of u.
Classification
ux + c u y = 0
Simple Case
ux + c u y = 0
hux , uy i · h1, ci = 0
Dh1,ci u(x, t) = 0.
Remarks:
I This can be interpreted as stating the directional derivative
of u(x, y ) in the direction of vector h1, ci is 0.
Simple Case
ux + c u y = 0
hux , uy i · h1, ci = 0
Dh1,ci u(x, t) = 0.
Remarks:
I This can be interpreted as stating the directional derivative
of u(x, y ) in the direction of vector h1, ci is 0.
I Function u(x, y ) is constant along lines of the form
y − c x = k.
Simple Case
ux + c u y = 0
hux , uy i · h1, ci = 0
Dh1,ci u(x, t) = 0.
Remarks:
I This can be interpreted as stating the directional derivative
of u(x, y ) in the direction of vector h1, ci is 0.
I Function u(x, y ) is constant along lines of the form
y − c x = k.
I Function u(x, y ) ≡ f (k ) where f is an arbitrary
differentiable function.
Illustration
The solutions of
ux + cuy = 0
must be constant along lines of the form y − c x = k .
y
y-c x=k0
y-c x=k1
y-c x=k2
y-c x=k3
y-c x=k4
x
k1 k2 k4
- - -
c c c
Confirmation of Solution
ux = −c f 0 (y − c x)
uy = f 0 (y − c x)
Confirmation of Solution
ux = −c f 0 (y − c x)
uy = f 0 (y − c x)
and
ux + c uy = −c f 0 (y − c x) + c f 0 (y − c x) = 0.
Confirmation of Solution
ux = −c f 0 (y − c x)
uy = f 0 (y − c x)
and
ux + c uy = −c f 0 (y − c x) + c f 0 (y − c x) = 0.
Functions of the form u(x, y ) = f (y − c x) are referred to as the
general solutions to this simple PDE.
Initial Conditions
for (x, y ) ∈ D ⊂ R2 .
Vector Field (1 of 3)
d
[u(x, y )] = ux x 0 (t) + uy y 0 (t).
dt
Consider
d
[u(x, y )] = ux x 0 (t) + uy y 0 (t).
dt
Consider
1.0
0.5
0.0
y
-0.5
-1.0
-1.5
-3 -2 -1 0 1 2 3
x
Vector Field (3 of 3)
dx dy
If = a(x, y ) and = b(x, y ) then
dt dt
dy dy /dt b(x, y )
= = .
dx dx/dt a(x, y )
Suppose the implicit form of the solution of this ODE is
φ(x, y ) = k where k is an arbitrary constant.
Along the curves defined by φ(x, y ) = k the general first-order
linear PDE
a(x, y )ux + b(x, y )uy = c(x, y )u + d(x, y )
becomes
b(x, y ) c(x, y )u + d(x, y )
ux + uy =
a(x, y ) a(x, y )
dy c(x, y )u + d(x, y )
ux + uy =
dx a(x, y )
du c(x, y )u + d(x, y )
= .
dx a(x, y )
Ordinary Differential Equation
du c(x, y )u + d(x, y )
=
dx a(x, y )
is an ordinary differential equation for u as a function of variable
x (since y ≡ y (x)) and arbitrary constant k .
Solving this ODE yields u ≡ u(x, k ) ≡ u(x, y ) since k = φ(x, y ).
Characteristics
dy b(x, y )
=
dx a(x, y )
du
= c(x, y )u + d(x, y )
dt
are called the characteristic equations.
Characteristics
dy b(x, y )
=
dx a(x, y )
du
= c(x, y )u + d(x, y )
dt
are called the characteristic equations.
I The solution curves (x(t), y (t), u(x(t), y (t))) to the
characteristic equations are called the characteristic
curves.
Characteristics
dy b(x, y )
=
dx a(x, y )
du
= c(x, y )u + d(x, y )
dt
are called the characteristic equations.
I The solution curves (x(t), y (t), u(x(t), y (t))) to the
characteristic equations are called the characteristic
curves.
I The curves in the xy -plane of the form (x(t), y (t)) are
called characteristics.
Characteristic Curves vs, Characteristics
2ux + 3uy − 4u = 0
u(x, 0) = sin x.
dy 3 3
= =⇒ y = x + k̂ ⇐⇒ 2y − 3x = k .
dx 2 2
Comment: the characteristics for this PDE are straight lines of
the form 2y − 3x = k .
Solution (1 of 2)
2ux + 3uy − 4u = 0
In this PDE we can let a(x, y ) = 2 and b(x, y ) = 3, thus
dy 3 3
= =⇒ y = x + k̂ ⇐⇒ 2y − 3x = k .
dx 2 2
Comment: the characteristics for this PDE are straight lines of
the form 2y − 3x = k .
Think of u(x, y ) = u(x, y (x)) so that
du dy 3
= ux + uy = ux + uy = 2u
dx dx 2
which implies
u(x, 0) = sin x
f (−3x)e2x = sin x
f (−3x) = e−2x sin x
f (z) = −e2z/3 sin(z/3).
−y ux + x uy = 0.
Solution (1 of 2)
dy x
= −
dx y
y dy = −x dx
Z Z
y dy = − x dx
1 2 1
y = − x 2 + k̂
2 2
2 2
x + y = k.
√
In this example the characteristics are circles of radius k for
k ≥ 0.
Solution (2 of 2)
du dy
= ux + uy
dx dx
x
= ux − uy
y
du
= 0
dx
u = f (k )
u(x, y ) = f (x 2 + y 2 )
2x y ux + uy − u = 0
u(x, 0) = x,
dy 1
= (separable ODE)
dx 2x y
1
y dy = dx
Z Z2x
1
y dy = dx
2x
1 2 1
y = ln x + k̂
2 2
y 2 − ln x = k .
√
Thus curves of the form y = k + ln x are the characteristics of
the solution.
Solution (2 of 2)
To find the general solution to the PDE:
2xy ux + uy − u = 0
1 u
ux + uy =
2xy 2xy
du u
= √ (separable ODE)
dx 2x k + ln x
1 1
du = √ dx
u 2x k + ln x
Z Z
1 1
du = √ dx (substitute v = k + ln x)
u 2x k + ln x
√
ln u = k + ln x + ln f (k )
√
k +ln x
u(x, y ) = f (k )e = f (y 2 − ln x)ey
where f is an arbitrary differentiable function.
Solution (2 of 2)
To find the general solution to the PDE:
2xy ux + uy − u = 0
1 u
ux + uy =
2xy 2xy
du u
= √ (separable ODE)
dx 2x k + ln x
1 1
du = √ dx
u 2x k + ln x
Z Z
1 1
du = √ dx (substitute v = k + ln x)
u 2x k + ln x
√
ln u = k + ln x + ln f (k )
√
k +ln x
u(x, y ) = f (k )e = f (y 2 − ln x)ey
where f is an arbitrary differentiable function.
Since u(x, 0) = x then
2 2
x = f (− ln x) ⇐⇒ f (x) = e−x =⇒ u(x, y ) = e−y e = x ey −y .
+ln x y
Illustration
2
u(x, y ) = x ey −y
Example
−y ux + xuy = 0
u(x, 0) = 3x
has no solution.
Justification
which is a contradiction.
Characteristics
ux + (cos x)uy + u = x y .
dy
= cos x
dx
dy = cos x dx
Z Z
1 dy = cos x dx
y = sin x + k .
ux + (cos x)uy + u = x y
du
= x y − u = x(sin x + k ) − u
dx
du
+ u = x sin x + k x.
dx
This is a first-order, linear ODE which can be solved by
multiplying both sides by the integrating factor ex and
integrating.
Solution (3 of 4)
du
+ u = x sin x + k x
dx
d
[u ex ] = x ex sin x + k x ex
Z dx Z
x
d [u e ] = (x ex sin x + k x ex ) dx
1 x
u ex = e (2k (x − 1) − (x − 1) cos x + x sin x) + f (k )
2
1
u = (2k (x − 1) − (x − 1) cos x + x sin x) + e−x f (k )
2
where f is an arbitrary differentiable function.
Solution (4 of 4)
1
u = (2k (x − 1) − (x − 1) cos x + x sin x) + e−x f (k )
2
x −1 x
u(x, y ) = (x − 1)(y − sin x) − cos x + sin x
2 2
+ e−x f (y − sin x)
Example
y ux − 4x uy = 2x y
u(x, 0) = x 4
dy 4x
= − (separable ODE)
dx y
y dy = −4x dx
Z Z
y dy = − 4x dx
1 2
y = −2x 2 + k̂ .
2
In this example the characteristics are curves of the form
y 2 + 4x 2 = k .
Solution (2 of 3)
y ux − 4x uy = 2x y
4x
ux − uy = 2x
y
du
= 2x (separable ODE)
dx
Z du = 2x
Z dx
1 du = 2x dx
u = x 2 + f (k )
u(x, y ) = x 2 + f (4x 2 + y 2 )
u(x, 0) = x 2 + f (4x 2 )
x 4 = x 2 + f (4x 2 )
f (4x 2 ) = x 4 − x 2
z2 z
f (z) = −
16 4
(4x 2 + y 2 )2 4x 2 + y 2
u(x, y ) = x 2 + −
16 4
Illustration
(4x 2 + y 2 )2 4x 2 + y 2
u(x, y ) = x 2 + −
16 4
Example
y ux − 4x uy = 2x y
u(x, 0) = x 3
u(x, y ) = x 2 + f (4x 2 + y 2 )
u(x, y ) = x 2 + f (4x 2 + y 2 )
However, when x 6= 0,
which is a contradiction.
Homework