This tutorial was made solely for the purpose of education and it was designed
for students taking Applied Math 0340. It is primarily for students who
have some experience using Mathematica. If you have never used
Mathematica before and would like to learn more of the basics for this computer algebra system, it is strongly recommended looking at the APMA
0330 tutorial. As a friendly reminder, don't forget to clear variables in use and/or the kernel. The Mathematica commands in this tutorial are all written in bold black font, while Mathematica output is in regular fonts.
Finally, you can copy and paste all commands into your Mathematica notebook, change the parameters, and run them because the tutorial is under the terms of the GNU General Public License
(GPL). You, as the user, are free to use the scripts for your needs to learn the Mathematica program, and have
the right to distribute and refer to this tutorial, as long as
this tutorial is accredited appropriately. The tutorial accompanies the
textbookApplied Differential Equations.
The Primary Course by Vladimir Dobrushkin, CRC Press, 2015; http://www.crcpress.com/product/isbn/9781439851043
Return to computing page for the first course APMA0330
Return to computing page for the second course APMA0340
Return to Mathematica tutorial for the first course APMA0330
Return to Mathematica tutorial for the second course APMA0340
Return to the main page for the
first course APMA0330
Return to the main page for the
second course APMA0340
Return to Part VI of the course APMA0340
Introduction to Linear Algebra
Recall that both the real and imaginary parts of an analytic function satisfy
Laplace’s equation in two dimension. Suppose the region of interest is
defined by the angular wedge W = 0 ≤ θ ≤ α. Consider the
analytic function
of which we consider the principal branch. If α = π/m for some
integer m, then f(z) is analytic everywhere. If
α is an arbitrary real number, then f(z) may
have a branch point at the origin, but we may choose the branch cut so that
f(z) is still analytic in our region everywhere except at the
origin. In fact the function \( f_n (z) =
z^{n\pi /\alpha} \) for any integer n has the
same nice properties. Then its real part \(
u(t, \theta ) = \Re f(z) = r^{\pi /\alpha} \cos \frac{\pi\theta}{\alpha} \)
and imaginary part \(
v(t, \theta ) = \Im f(z) = r^{\pi /\alpha} \sin \frac{\pi\theta}{\alpha} \)
are both solutions of the Laplace's equation:
\[
\Delta u =0 \qquad\mbox{and}\qquad \Delta v =0
\]
in the wedge. Thus, the potential in a wedge-shaped region W with
opening angle α and conducting boundaries at potential V0
is described by the complex potential
The coefficients an must be chosen to
satisfy any remaining boundary conditions in r.
Since the origin is included within our wedge-shaped region W, the sum
is over positive n only, so that the potential remains finite. Then the
potential near the origin (small r) is dominated by the first (n
= 1) term,and the field near the origin has components:
This is true only when \( -1 + \frac{\pi}{\alpha} > 0
\) Otherwise, π < α, the field is unbounded unless the
first coefficient is zero.
As one might expect, the behavior of solution near r = 0 has to be
restricted:
\[
v(r,\theta ) = c_0 + c_1 \ln r + o(1) \qquad\mbox{as} \quad r \to 0 ,
\]
where c0 and c1 are some constants. The
constant c0 cannot be chosen arbitrary. (It is analogous to
the so-called blockage coefficient in other potential flows.) The above
condition on behavior of harmonic function near the corner point is called the
wedge condition.
For instance, if we consider the Neumann boundary conditions on the two sides
of the wedge,
where f is a specified function. Evidently, the solution of the
problem, u, is not unique because we can always add
c0 + c1 log r, where
c0 and c1 are arbitrary constants.
To solve the given boundary value problem, we apply separation of variables. So
we seek partial nontrivial (not identically zero) solutions of the auxiliary
problem
Note that λ = 0 is not an eigenvalue because the corresponding
eigenfunction Θ0 = a+ bθ must be identically zero to
satisfy the homogeneous boundary condition.
Therefore, we get a discrete sequence of positive eigenvalues
We reduce the given boundary value problem to the problem considered in the
previous example with homogeneous boundary conditions by representing the
unknown function u(r,θ) as a sum of two functions:
Actually, instead of w can be used any function that satisfies the
prescribed boundary conditions: \( w(r,0) = u_0 \)
and \( w(r,\alpha ) = u_{\alpha} . \) Then for
function v(r,θ) we get the following boundary value problem
If the boundary conditions on the crack are the same, u0 =
u1, the solution can be obtained from our first two examples
by taking the limit \( \lim_{\alpha \to 2\pi} u(r, \theta ) . \) When they are not the same, the problem becomes very hard to solve.
■
Return to the main page (APMA0340)
Return to the Part 1 Matrix Algebra
Return to the Part 2 Linear Systems of Ordinary Differential Equations
Return to the Part 3 Non-linear Systems of Ordinary Differential Equations
Return to the Part 4 Numerical Methods
Return to the Part 5 Fourier Series
Return to the Part 6 Partial Differential Equations
Return to the Part 7 Special Functions