Documente Academic
Documente Profesional
Documente Cultură
2 - Exercise 1 Page 1 of 4
Exercise 1
Solve the first-order equation 2ut + 3ux = 0 with the auxiliary condition u = sin x when t = 0.
Solution
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 1 Page 2 of 4
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 1 Page 3 of 4
Figure 2: Plot of the characteristic curves along with the data curve in the tx-plane.
To solve this PDE with the coordinate method, start by making the change of variables,
t0 = 2t + 3x
x0 = 3t − 2x.
Solving for the old variables in terms of the new ones gives us
1
t= (2t0 + 3x0 )
13
1
x = (3t0 − 2x0 ).
13
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 1 Page 4 of 4
To find what ut and ux are in terms of these new variables, it’s necessary to use the chain rule.
∂u ∂t0 ∂u ∂x0
ut = + = 2ut0 + 3ux0
∂t0 ∂t ∂x0 ∂t
∂u ∂t0 ∂u ∂x0
ux = 0 + 0 = 3ut0 − 2ux0
∂t ∂x ∂x ∂x
Now we substitute these expressions into the PDE. The transformed equation is
13ut0 = 0
ut0 = 0.
u(x0 , t0 ) = g(x0 ),
ut = 3g 0
ux = −2g 0
2ut + 3ux = 0, which means this is the solution to the PDE. Now plug in the initial condition,
u(x, 0) = sin x to determine g.
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 2 Page 1 of 1
Exercise 2
Solve the equation 3uy + uxy = 0. (Hint: Let v = uy .)
Solution
3v + vx = 0
This is a first-order linear differential equation that can be solved with an integrating factor.
´
3 dx
I=e = e3x
e3x vx + 3e3x v = 0.
But the left side is simply the x-derivative of the product, e3x v.
∂x (e3x v) = 0
e3x v = f (y),
Therefore,
u(x, y) = e−3x F (y) + g(x),
where F is an arbitrary function of y and g is an arbitrary function of x. We can check to see if
this solves the PDE.
uy = e−3x F 0 (y)
uyx = uxy = −3e−3x F 0 (y)
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 3 Page 1 of 2
Exercise 3
Solve the equation (1 + x2 )ux + uy = 0. Sketch some of the characteristic curves.
Solution
u(x, ξ) = f (ξ),
y = tan−1 x + ξ.
ξ = y − tan−1 x.
Therefore,
u(x, y) = f y − tan−1 x .
(1 + x2 )ux + uy = 0, so this is the correct solution. Shown in Figure 1 are the characteristic curves
in the xy-plane for various values of ξ.
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 3 Page 2 of 2
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 4 Page 1 of 1
Exercise 4
Check that (7) indeed solves (4).
Solution
The problem is asking us to check that the solution in (7) satisfies the PDE in (4).
ux + yuy = 0 (4)
ux = (ye−x )x f 0 = −ye−x f 0
uy = (ye−x )y f 0 = e−x f 0 .
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 6 Page 1 of 3
Exercise 6
√
Solve the equation 1 − x2 ux + uy = 0 with the condition u(0, y) = y.
Solution
u(x, ξ) = f (ξ),
y = sin−1 x + ξ.
ξ = y − sin−1 x.
Therefore,
u(x, y) = f y − sin−1 x .
We’re told that u(0, y) = y, though, so we can determine this unknown function, f .
u(0, y) = f (y) = y
u(x, y) = y − sin−1 x.
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 6 Page 2 of 3
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 6 Page 3 of 3
Figure 2: Plot of the characteristic curves along with the data curve in the xy-plane.
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 7 Page 1 of 3
Exercise 7
2
(a) Solve the equation yux + xuy = 0 with u(0, y) = e−y .
Solution
Part (a)
u(x, ξ) = f (ξ),
where f is an arbitrary function of the characteristic coordinate, ξ. Solving (1) with separation of
variables gives
y dy = x dx
1 2 1 2
y = x + C.
2 2
Multiply both sides by 2 to get rid of the fractions, and let ξ be the constant of integration.
y 2 = x2 + ξ
ξ = y 2 − x2 .
Therefore,
u(x, y) = f y 2 − x2 .
2
We’re told that u(0, y) = e−y , though, so we can determine this unknown function, f .
2
u(0, y) = f (y 2 ) = e−y
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 7 Page 2 of 3
Figure 1: Plot of the characteristic curves along with the data curve in the xy-plane.
Part (b)
The data curve x = 0 only intersects the characteristics with a nonnegative ξ value exactly once.
All the characteristics with a negative value for ξ, that is, those in the dark blue and purple
regions never touch the data curve. Therefore, the solution we obtained in the previous part is
only valid for ξ = y 2 − x2 ≥ 0. In the part of the xy-plane where y 2 − x2 < 0, the function f is
undetermined. ( 2 2
e−(y −x ) for y 2 − x2 ≥ 0
u(x, y) =
f y 2 − x2 for y 2 − x2 < 0
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 7 Page 3 of 3
Figure 2: Plot of u(x, y) for −2 < x < 2 and −2 < y < 2. Note that this graph is defined only for
y 2 − x2 ≥ 0.
ux = −2xf 0
uy = 2yf 0
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 8 Page 1 of 3
Exercise 8
Solve aux + buy + cu = 0.
Solution
b
y= x + ξ.
a
Solving for ξ gives
b
ξ = y − x.
a
Therefore,
b c
u(x, y) = f y − x e− a x .
a
We can check that this is the solution to the PDE.
b c c c
ux = − e− a x f 0 − e− a x f
a a
c
uy = e− a x f 0
c c c c
−a x f 0 − ceX
− aX
x − a
x 0 − aX
x
−be
X X
aux + buy + cu = Xf +
be f + ceX Xf
= 0,
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 8 Page 2 of 3
To solve this PDE with the coordinate method, start by making the change of variables,
x0 = ax + by
y 0 = bx − ay.
Solving for the old variables in terms of the new ones gives us
ax0 + by 0
x=
a2 + b2
bx0 − ay 0
y= 2 .
a + b2
To find what ux and uy are in terms of these new variables, it’s necessary to use the chain rule.
∂u ∂x0 ∂u ∂y 0
ux = + = aux0 + buy0
∂x0 ∂x ∂y 0 ∂x
∂u ∂x0 ∂u ∂y 0
uy = + = bux0 − auy0
∂x0 ∂y ∂y 0 ∂y
Now we substitute these expressions into the PDE. The transformed equation is
c
0 − x0
u(x0 , y 0 ) = ±eg(y ) e a2 +b2
c
− x0
u(x0 , y 0 ) = h(y 0 )e a2 +b2 ,
where h is an arbitrary function of y 0 . Now return back to the original variables, x and y.
c
− (ax+by)
u(x, y) = h(bx − ay)e a2 +b2
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 8 Page 3 of 3
− c
(ax+by)
(( 0 a2 c − a2 +b
(( c
2 (ax+by)
aux + buy + cu = (
abe
((a2(
+b2
(
2
h −2
e h
a +b
c
− 2( ((((0
((ax+by) b2 c − a2 +b c
2 (ax+by) − 2 c 2 (ax+by)
−(abe
((a +b2 h − 2 e h + ce a +b h
a + b2
X2XX2
a + bX − c (ax+by) − c (ax+by)
aux + buy + cu = −cX2X 2 e a2 +b2 h + ce a2 +b2 h
a +XbX
aux + buy + cu = 0.
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 9 Page 1 of 3
Exercise 9
Solve the equation ux + uy = 1.
Solution
u(x, ξ) = x + f (ξ).
y =x+ξ
ξ = y − x.
Therefore,
u(x, y) = x + f (y − x).
We can check that this is the solution.
ux = 1 − f 0
uy = f 0
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 9 Page 2 of 3
Figure 1: Plot of the characteristic curves in the xy-plane for −5 < x < 5 and −5 < y < 5.
To solve this PDE with the coordinate method, start by making the change of variables,
x0 = x + y
y 0 = x − y.
Solving for the old variables in terms of the new ones gives us
1
x = (x0 + y 0 )
2
1
y = (x0 − y 0 ).
2
To find what ux and uy are in terms of these new variables, it’s necessary to use the chain rule.
∂u ∂x0 ∂u ∂y 0
ux = + = ux0 + uy0
∂x0 ∂x ∂y 0 ∂x
∂u ∂x0 ∂u ∂y 0
uy = + = ux0 − uy0
∂x0 ∂y ∂y 0 ∂y
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 9 Page 3 of 3
Now we substitute these expressions into the PDE. The transformed equation is
2ux0 = 1
1
ux0 = .
2
Solve for u by partially integrating both sides with respect to x0 .
1
u(x0 , y 0 ) = x0 + g(y 0 ),
2
where g is an arbitrary function of y 0 . Now we return to the original variables, x and y.
1
u(x, y) = (x + y) + g(x − y)
2
We can check that this is the solution.
1
ux = + g0
2
1
uy = − g 0
2
ux + uy = 1, which means this is the solution to the PDE.
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 10 Page 1 of 5
Exercise 10
Solve ux + uy + u = ex+2y with u(x, 0) = 0.
Solution
We find that
du
ex + ex u = ex ex+2y
dx
d x
(e u) = e2x+2y
dx
Now integrate both sides.
ˆ
x
e u= e2(x+y) dx + f (ξ),
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 10 Page 2 of 5
We’re told that u(x, 0) = 0, though, so we can determine this unknown function, f .
1
u(x, 0) = ex + e−x f (−x) = 0
4
Solving for f gives
1
f (−x) = − e2x .
4
This implies that f (w) = − 14 e−2w , where w is any expression. Thus,
1 x+2y −x 1 −2(y−x)
u(x, y) = e +e − e
4 4
1 x+2y
− ex−2y .
u(x, y) = e (4)
4
Another form for u(x, y) can be obtained by factoring out ex .
ex 1 2y 1 −2y
u(x, y) = e − e
2 2 2
And so
1
u(x, y) = ex sinh 2y.
2
We can check that (4) is the solution to the PDE.
1 x+2y
− ex−2y
ux = e
4
1
2ex+2y + 2ex−2y
uy =
4
Hence,
1 x+2y 1 1 x+2y
− ex−2y + 2ex+2y + 2ex−2y + − ex−2y
ux + uy + u = e e
4
4 4
1 1 1 x+2y 1 1 1 x−2y
ux + uy + u = + + e + − + − e
4 2 4 4 2 4
ux + uy + u = ex+2y ,
which means that (4) is the solution to the PDE. Shown below in Figure 1 are the characteristic
curves in the xy-plane. Since the data curve (y = 0) intersects each of the characteristics exactly
once, the solution we obtained for the PDE is valid everywhere in the xy-plane, that is, for all x
and y. u(x, y) is shown in Figure 2.
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 10 Page 3 of 5
Figure 1: Plot of the characteristic curves in the xy-plane along with the data curve for −5 < x < 5
and −5 < y < 5.
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 10 Page 4 of 5
To solve this PDE with the coordinate method, start by making the change of variables,
x0 = x + y
y 0 = x − y.
Solving for the old variables in terms of the new ones gives us
1
x = (x0 + y 0 )
2
1
y = (x0 − y 0 ).
2
To find what ux and uy are in terms of these new variables, it’s necessary to use the chain rule.
∂u ∂x0 ∂u ∂y 0
ux = + = ux0 + uy0
∂x0 ∂x ∂y 0 ∂x
∂u ∂x0 ∂u ∂y 0
uy = + = ux0 − uy0
∂x0 ∂y ∂y 0 ∂y
Now we substitute these expressions into the PDE. The transformed equation is
1 0 0 1 0 0
(ux0 + uy0 ) + (ux0 − uy0 ) + u = e 2 (x +y )+2[ 2 (x −y )] .
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 10 Page 5 of 5
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 11 Page 1 of 3
Exercise 11
Solve aux + buy = f (x, y), where f (x, y) is a given function. If a 6= 0, write the solution in the form
ˆ
u(x, y) = (a2 + b2 )−1/2 f ds + g(bx − ay),
L
where g is an arbitrary function of one variable, L is the characteristic line segment from the y
axis to the point (x, y), and the integral is a line integral. (Hint: Use the coordinate method.)
Solution
Following the hint, we will use the coordinate method to prove this result. Start by making the
change of variables,
x0 = ax + by
y 0 = bx − ay.
Solving for the old variables in terms of the new ones gives us
ax0 + by 0
x=
a2 + b2
bx0 − ay 0
y= 2 .
a + b2
To find what ux and uy are in terms of these new variables, it’s necessary to use the chain rule.
∂u ∂x0 ∂u ∂y 0
ux = + = aux0 + buy0
∂x0 ∂x ∂y 0 ∂x
∂u ∂x0 ∂u ∂y 0
uy = + = bux0 − auy0
∂x0 ∂y ∂y 0 ∂y
Now we substitute these expressions into the PDE. The transformed equation is
0
ax + by 0 bx0 − ay 0
a(aux0 + buy0 ) + b(bux0 − auy0 ) = f , .
a2 + b2 a2 + b2
Simplifying this gives
ax0 + by 0 bx0 − ay 0
2 2
(a + b )ux0 = f , .
a2 + b2 a2 + b2
Dividing both sides by a2 + b2 isolates ux0 .
ax0 + by 0 bx0 − ay 0
1
ux0 = 2 f ,
a + b2 a2 + b2 a2 + b2
To solve for u, integrate both sides partially with respect to x0 .
ˆ x0
ar + by 0 br − ay 0
0 0 1
u(x , y ) = f , dr + g(y 0 ),
a2 + b2 a2 + b2 a2 + b2
where g is an arbitrary function of y 0 . Now we return to the original variables, x and y.
ˆ ax+by
1 ar + b(bx − ay) br − a(bx − ay)
u(x, y) = 2 f , dr + g(bx − ay)
a + b2 a2 + b2 a2 + b2
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 11 Page 2 of 3
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 11 Page 3 of 3
2
b x + a(ax) a2 y + b(by)
1 a b
aux + buy = √ f , a √ +b √
a2 + b2 a2 + b2 a2 + b2 a2 + b2 a2 + b2
2
a + b2
1
aux + buy = √ f (x, y) √
a2 + b2 a2 + b2
aux + buy = f (x, y).
Hence, (1) is indeed the solution to the PDE, and it can be represented compactly as
ˆ
2 2 −1/2
u(x, y) = (a + b ) f ds + g(bx − ay).
L
Before we call it a night, let’s have a little fun with this formula. Let’s use it to solve Exercise 9,
ux + uy = 1. Here f (x, y) = 1 and a = b = 1. If we plug these values into (1), we get
ˆ x+y
√
1 2
u(x, y) = √ ds + g(x − y).
2
And so
1 x+y
u(x, y) = √ √ + g(x − y)
2 2
x y
= + + g(x − y).
2 2
Although this form is different from the one derived in Exercise 9, it does satisfy the PDE.
1
ux = + g0
2
1
uy = − g 0
2
ux + uy = 1, so this solution we obtained using formula (1) is valid. As another example, let’s find
the solution of ux + uy = xy. Here f (x, y) = xy and a = b = 1. So formula (1) gives us
ˆ x+y
√
" √ #" √ #
1 2 x + ( 2s − y) y + ( 2s − x)
u(x, y) = √ ds + g(x − y).
2 2 2
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 12 Page 1 of 1
Exercise 12
Show that the new coordinate axes defined by (3) are orthogonal.
Solution
x0 = ax + by y 0 = bx − ay. (3)
Treat these coordinate axes as vectors in the plane. We can tell if they are orthogonal by seeing if
the dot product of the two is 0. Recall that the dot product is the sum of the product of the
x-components and the product of the y-components.
x0 = [a, b]
y 0 = [b, −a]
x0 · y 0 = ab + b(−a) = ab − ab = 0
Because the dot product is 0, the coordinate axes defined by (3) are orthogonal.
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 13 Page 1 of 5
Exercise 13
Use the coordinate method to solve the equation
Solution
Because we’re using the coordinate method, we have to start by making the change of variables,
x0 = ax + by = x + 2y
y 0 = bx − ay = 2x − y.
∂u ∂x0 ∂u ∂y 0
ux = 0
+ 0 = ux0 + 2uy0
∂x ∂x ∂y ∂x
∂u ∂x0 ∂u ∂y 0
uy = + = 2ux0 − uy0
∂x0 ∂y ∂y 0 ∂y
Now we substitute these expressions into the PDE. The transformed equation is
1 0 0 1 0 0
(ux0 + 2uy0 ) + 2(2ux0 − uy0 ) + 2 (x + 2y ) − (2x − y ) u
5 5
2 2
1 0 0 1 0 0 1 0 0 1 0 0
= 2 (x + 2y ) + 3 (x + 2y ) (2x − y ) − 2 (2x − y ) .
5 5 5 5
5ux0 + y 0 u = x0 y 0 .
y0 1
ux0 + u = x0 y 0
5 5
This is a first-order linear inhomogeneous equation. To solve this equation for u, multiply both
sides by the integrating factor,
´ x0 y0 x0 y 0
I(x0 ) = e 5
ds
=e 5 .
x0 y 0 y 0 x0 y 0 1 x0 y 0
e 5 ux0 + e 5 u = x0 y 0 e 5
5 5
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 13 Page 2 of 5
0
e 5 u = x0 y 0 e 5
∂x 5
Therefore,
5 −2x2 −3xy+2y 2
u(x, y) = x + 2y + +e 5 f (2x − y).
y − 2x
We can check that this is the solution to the PDE.
10 1 −2x2 −3xy+2y2
−(4x + 3y)f + 10f 0
ux = 1 + + e 5
(y − 2x)2 5
5 1 −2x2 −3xy+2y2
(−3x + 4y)f − 5f 0
uy = 2 − + e 5
(y − 2x)2 5
Hence,
10 1 −2x2 −3xy+2y2 0
ux + 2uy + (2x − y)u = 1 + 2 + e 5 −(4x + 3y)f + 10f
H
(y− 2x)
H
5 H
10 2 −2x2 −3xy+2y2
5fZ0
+ 4 − 2 + e 5 (−3x + 4y)f − Z
(y − 2x)
5
5 −2x2 −3xy+2y 2
+ (2x − y) x + 2y + +e 5 f
y − 2x
1 −2x2 −3xy+2y2
ux + 2uy + (2x − y)u = 5 + e 5 (−10x + 5y)f + (2x − y)(x + 2y) − 5
5
−2x2 −3xy+2y 2
+ (2x − y)e 5 f
( (((2(
−2x2 −3xy+2y 2
(((( 2 −3xy+2y
−2x(
ux + 2uy + (2x − y)u = −( (− y)e
(2x (( ( ( 5 f + (2x − y)(x + 2y) + ( (−
(2x ( y)e
( ( ( 5 f
ux + 2uy + (2x − y)u = 2x2 + 3xy − 2y 2 ,
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 13 Page 3 of 5
Suppose that we wish to solve the PDE using the method of characteristics. We know that it
collapses to an ODE
du
+ (2x − y)u = 2x2 + 3xy − 2y 2 (1)
dx
on the curves in the xy-plane defined by
dy
= 2, y(ξ, 0) = ξ, . (2)
dx
That is, u = u(x, y) is constant on the characteristics defined by (2). (2) implies that y is a
function of x, so before we can solve (1), we must solve (2) first. Integrating (2) yields
y = 2x + ξ. (3)
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 13 Page 4 of 5
Hence,
10 0
2 − ex(y−2x) (4x − y)g + Z
ux + 2uy + (2x − y)u = 1 + 2g
(y − 2x)
Z
10
+ 4 − 2 + 2ex(y−2x) xg + S gS0
(y − 2x)
5
+ (2x − y) x + 2y + + ex(y−2x) g
y − 2x
ux + 2uy + (2x − y)u = 5 + ex(y−2x) (−2x + y)g + (2x − y)(x + 2y) − 5 + (2x − y)ex(y−2x) g
(
(( (
((
ux + 2uy + (2x − y)u = −( (−
(2x (x(y−2x)
y)e
(( (
g + (2x − y)(x + 2y) + ( (−
(2x (x(y−2x)
y)e
(( (
g
ux + 2uy + (2x − y)u = 2x2 + 3xy − 2y 2 ,
www.stemjock.com
Strauss PDEs 2e: Section 1.2 - Exercise 13 Page 5 of 5
Figure 1: Plot of the characteristic curves in the xy-plane for −10 < x < 10 and −10 < y < 10.
www.stemjock.com