
































Besser lernen dank der zahlreichen Ressourcen auf Docsity
Heimse Punkte ein, indem du anderen Studierenden hilfst oder erwirb Punkte mit einem Premium-Abo
Diese Seite wird in der Vorschau nicht angezeigt
Lass dir nichts Wichtiges entgehen!

































Nasser M. Abbasi September 1, 2021 Compiled on September 1, 2021 at 12:35am
A place to keep quick notes about Math that I keep forgetting. This is meant to be a scratch notes and cheat sheet for me to write math notes before I forget them or move them somewhere else. Can and will contain errors and/or not complete description in number of places. Use at your own risk.
Lyapunov function is used to determine stability of an equilibrium point. Taking this
equilibrium point to be zero, and someone gives us a set of differential equations
and assuming (0, 0, 0) is an equilibrium point. The question is, how to
determine if it stable or not? There are two main ways to do this. One by linearization of the system around origin. This means we find the Jacobian matrix, evaluate it at origin, and check the sign of the real parts of the eigenvalues. This is the common way to do this. Another method, called Lyapunov, is more direct. There is no linearization needed.
But we need to do the following. We need to find a function 𝑉 �𝑥, 𝑦, 𝑧� which is called Lyapunov function for the system which meets the following conditions
𝑑𝑉 𝑑𝑡 along any solution trajectory. This condition says that the total en- ergy is either constant in time (the zero case) or the total energy is decreasing in time (the negative definite case). Both of which indicate that the origin is a stable equilibrium point.
If
𝑑𝑉 𝑑𝑡 is negative semi-definite then the origin is stable in Lyapunov sense. If^
𝑑𝑉 𝑑𝑡 is negative definite then the origin is asymptotically stable equilibrium. Negative semi-definite means the system, when perturbed away from the origin, a trajectory will remain around the origin since its energy do not increase nor decrease. So it is stable. But asymptotically stable equilibrium is a stronger stability. It means when perturbed from the origin the solution will eventually return back to the origin since the energy is decreasing. Global
stability means 𝑑𝑉 𝑑𝑡 ≤ 0^ everywhere, and not just in some closed region around the origin. Local stability means
𝑑𝑉 𝑑𝑡 ≤ 0^ in some closed region around the origin. Global stability is stronger stability than local stability.
Main difficulty with this method is to find 𝑉 �𝑥.𝑦, 𝑧�. If the system is Hamiltonian, then 𝑉 is the same as total energy. Otherwise, one will guess. Typically a quadratic function such as 𝑉 = 𝑎𝑥^2 + 𝑐𝑥𝑦 + 𝑑𝑦^2 is used (for system in 𝑥, 𝑦) then we try to find 𝑎, 𝑐, 𝑑 which makes it positive definite everywhere away from origin, and also more importantly
makes 𝑑𝑉 𝑑𝑡 ≤ 0. If so, we say origin is stable. Most of the problems we had starts by giving us 𝑉 and then asks to show it is Lyapunov function and what kind of stability it is.
To determine if 𝑉 is positive definite or not, the common way is to find the Hessian and check the sign of the eigenvalues. Another way is to find the Hessian and check the sign
We write 𝑆(𝑧) ∼ 𝑓(𝑧) when 𝑆 (𝑧) is the asymptotic series expansion of 𝑓(𝑧) for large 𝑧. Most common method to find 𝑆(𝑧) is by integration by parts. At least this is what we did in the class I took.
For Taylor series, leading behavior is 𝑎 0 no controlling factor? For Frobenius series, leading behavior term is 𝑎 0 𝑥𝛼^ and controlling factor is 𝑥𝛼. For asymptotic series, control- ling factor is assumed to be 𝑒𝑆(𝑥)^ always. proposed by Carlini (1817)
Method to find the leading behavior of the solution 𝑦 (𝑥) near irregular singular point using asymptotic is called the dominant balance method.
When solving 𝜖𝑦′′^ + 𝑝(𝑥)𝑦′^ + 𝑞(𝑥)𝑦 = 0 for very small 𝜖 then use WKB method, if there is no boundary layer between the boundary conditions. If the ODE non-linear, can’t use WKB, has to use boundary layer (B.L.). Example 𝜖𝑦′′^ +𝑦𝑦′^ −𝑦 = 0 with 𝑦(0) = 0, 𝑦(1) = − then use BL.
good exercise is to solve say 𝜖𝑦′′^ + (1 + 𝑥)𝑦′^ + 𝑦 = 0 with 𝑦(0) = 𝑦(1) using both B.L. and
WKB and compare the solutions, they should come out the same. 𝑦 ∼ 2 1+𝑥 −exp^ �
−𝑥 𝜖 −^
𝑥^2 2𝜖 �+ 𝑂 (𝜖). with BL had to do the matching between the outer and the inner solutions. WKB is easier. But can’t use it for non-linear ODE.
When there is rapid oscillation over the entire domain, WKB is better. Use WKB to solve Schrodinger equation where 𝜖 becomes function of ℏ (Planck’s constant, 6.62606957× 10 −34^ m^2 kg/s)
In second order ODE with non constant coefficient, 𝑦′′(𝑥) + 𝑝(𝑥)𝑦′^ (𝑥) + 𝑞(𝑥)𝑦(𝑥) = 0, if we know one solution 𝑦 1 (𝑥), then a method called the reduction of order can be used to find the second solution 𝑦 2 (𝑥). Write 𝑦 2 (𝑥) = 𝑢(𝑥)𝑦 1 (𝑥), plug this in the ODE, and solve for 𝑢(𝑥). The final solution will be 𝑦(𝑥) = 𝑐 1 𝑦 1 (𝑥) + 𝑐 2 𝑦 2 (𝑥). Now apply I.C.’s to find 𝑐 1 , 𝑐 2.
To find particular solution to 𝑦′′^ (𝑥) + 𝑝(𝑥)𝑦′(𝑥) + 𝑞(𝑥)𝑦(𝑥) = 𝑓(𝑥), we can use a method called undetermined coefficients. But a better method is called variation of parameters , In this method, assume 𝑦𝑝 (𝑥) = 𝑢 1 (𝑥)𝑦 1 (𝑥) + 𝑢 2 (𝑥) 𝑦 2 (𝑥) where 𝑦 1 (𝑥), 𝑦 2 (𝑥) are the two linearly independent solutions of the homogeneous ODE and 𝑢 1 (𝑥), 𝑢 2 (𝑥) are to be determined.
This ends up with 𝑢 1 (𝑥) = − ∫^
𝑦 2 (𝑥)𝑓(𝑥) 𝑊 𝑑𝑥^ and^ 𝑢^2 (𝑥) = ∫
𝑦 1 (𝑥)𝑓(𝑥) 𝑊 𝑑𝑥. Remember to put the ODE in standard form first, so 𝑎 = 1, i.e. 𝑎𝑦′′(𝑥) + ⋯. In here, 𝑊 is the Wronskian
𝑊 = �
Two solutions of 𝑦′′(𝑥) + 𝑝 (𝑥) 𝑦′(𝑥) + 𝑞(𝑥)𝑦(𝑥) = 0 are linearly independent if 𝑊(𝑥) ≠ 0, where 𝑊 is the Wronskian.
For second order linear ODE defined over the whole real line, the Wronskian is either always zero, or not zero. This comes from Abel formula for Wronskian, which is 𝑊(𝑥) =
𝑘 exp �− ∫^ 𝐵(𝑥) 𝐴(𝑥) 𝑑𝑥�^ for ODE of form^ 𝐴 (𝑥) 𝑦
′′ (^) +𝐵(𝑥)𝑦′ (^) +𝐶(𝑥)𝑦 = 0. Since exp �− ∫ 𝐵(𝑥) 𝐴(𝑥) 𝑑𝑥� > 0, then it is decided by 𝑘. The constant of integration. If 𝑘 = 0, then 𝑊(𝑥) = 0 everywhere, else it is not zero everywhere.
For linear PDE, if boundary condition are time dependent, can not use separation of variables. Try Transform method (Laplace or Fourier) to solve the PDE.
If unable to invert Laplace analytically, try numerical inversion or asymptotic methods. Need to find example of this.
Green function takes the homogeneous solution and the forcing function and con- structs a particular solution. For PDE’s, we always want a symmetric Green’s function.
To get a symmetric Green’s function given an ODE, start by converting the ODE to a Sturm-Liouville form first. This way the Green’s function comes out symmetric.
For numerical solutions of field problems, there are basically two different problems: Those with closed boundaries and those with open boundaries but with initial condi- tions. Closed boundaries are elliptical problems which can be cast in the form 𝐴𝑢 = 𝑓,
and the other are either hyperbolic or parabolic.
For numerical solution of elliptical problems, the basic layout is something like this:
Always start with trial solution 𝑢(𝑥) such that 𝑢𝑡𝑟𝑖𝑎𝑙(𝑥) = ∑𝑖=𝑁𝑖=0 𝐶𝑖𝜙𝑖(𝑥) where the 𝐶𝑖 are the unknowns to be determined and the 𝜙𝑖 are set of linearly independent functions (polynomials) in 𝑥.
How to determine those 𝐶𝑖 comes next. Use either residual method (Galerkin) or varia- tional methods (Ritz). For residual, we make a function based on the error 𝑅 = 𝐴−𝑢𝑡𝑟𝑖𝑎𝑙𝑓.
It all comes down to solving ∫ 𝑓(𝑅) = 0 over the domain. This is a picture
| +---------------+-------------------------------------+ | | residual Variational (sub u_trial in I(u) | where I(u) is functional to minimize. | +----------------+-------------+----------+ | | | | Absolute error collocation subdomain orthogonality .... +----------------------+------------+ | | | method of moments Galerkin least squares
Geometric probability distribution. Use when you want an answer to the question: What is the probability you have to do the experiment 𝑁 times to finally get the output you are looking for, given that a probability of 𝑝 showing up from doing one experiment.
For example: What is the probability one has to flip a fair coin 𝑁 times to get a head?
The answer is 𝑃(𝑋 = 𝑁) = (1 − 𝑝)𝑘−1𝑝. So for a fair coin, 𝑝 =
1 2 that a head will show up from one flip. So the probability we have to flip a coin 10 times to get a head is 𝑃(𝑋 = 10) = (1 − 0.5)^9 (0.5) = 0.00097 which is very low as expected.
To generate random variable drawn from some distribution different from uniform distribution, by only using uniform distribution 𝑈(0, 1) do this: Lets say we want to generate random number from exponential distribution with mean 𝜇.
This distribution has 𝑝𝑑𝑓(𝑋) = 1 𝜇 𝑒
−𝑥 𝜇 (^) , the first step is to find the cdf of exponential distri-
bution, which is known to be 𝐹(𝑥) = 𝑃(𝑋 <= 𝑥) = 1 − 𝑒
−𝑥 𝜇 (^).
Now find the inverse of this, which is 𝐹−1(𝑥) = −𝜇 ln(1 − 𝑥). Then generate a random number from the uniform distribution 𝑈(0, 1). Let this value be called 𝑧.
Now plug this value into 𝐹−1(𝑧), this gives a random number from exponential distribu- tion, which will be −𝜇 ln(1 − 𝑧) (take the natural log of both side of 𝐹(𝑥)).
This method can be used to generate random variables from any other distribution by knowing on 𝑈(0, 1). But it requires knowing the CDF and the inverse of the CDF for the other distribution. This is called the inverse CDF method. Another method is called the rejection method
Given 𝑢, a r.v. from uniform distribution over [0,1], then to obtain 𝑣, a r.v. from uniform distribution over [A,B], then the relation is 𝑣 = 𝐴 + (𝐵 − 𝐴)𝑢.
When solving using F.E.M. is best to do everything using isoparametric element (natural coordinates), then find the Jacobian of transformation between the natural and physical coordinates to evaluate the integrals needed. For the force function, using Gaussian quadrature method.
A solution to differential equation is a function that can be expressed as a convergent series. (Cauchy. Briot and Bouquet, Picard)
and 𝑉 is matrix that has the 𝑛 eigenvectors as its columns.
lim𝑘→∞ ∫
𝑥 2 𝑥 1
𝑥 2 𝑥 1
lim𝑘→∞ 𝑓𝑘 (𝑥) 𝑑𝑥 only if 𝑓𝑘(𝑥) converges uniformly over [𝑥 1 , 𝑥 2 ].
𝐴^3 = 𝐼, has infinite number of 𝐴 solutions. Think of 𝐴^3 as 3 rotations, each of 1200 , going back to where we started. Each rotation around a straight line. Hence infinite number of solutions.
How to integrate 𝐼 = ∫ √𝑥^3 − 𝑥 𝑑𝑥.
Let 𝑢 = 𝑥^3 + 1, then 𝑑𝑢 = 3𝑥^2 𝑑𝑥 and the above becomes
Now let 𝑢 = tan^2 𝑣 or (^) √𝑢 = tan 𝑣, hence 1 2
1 √𝑢^
𝑑𝑢 = sec^2 𝑣 𝑑𝑣 and the above becomes
tan^2 𝑣 − 1
�2√𝑢 sec^2 𝑣� 𝑑𝑣
tan^2 𝑣 − 1
sec^2 𝑣 𝑑𝑣
tan^2 𝑣 tan^2 𝑣 − 1
sec^2 𝑣 𝑑𝑣
But tan^2 𝑣 − 1 = sec^2 𝑣 hence
� tan^2 𝑣 𝑑𝑣
(tan 𝑣 − 𝑣)
Substituting back
𝐼 =
�√𝑢 − arctan �√𝑢 ��
Substituting back
𝐼 =
�√𝑥^3 + 1 − arctan �√𝑥^3 + 1 ��
(added Nov. 4, 2015) Made small diagram to help me remember long division terms used.
x^3 − 2 x^2 − 4
P (x)
R(x) d(x)
p1.ipe
If a linear ODE is equidimensional, as in 𝑎𝑛𝑥𝑛𝑦(𝑛)^ + 𝑎𝑛−1𝑥𝑛−1𝑦(𝑛01)^ + … for example 𝑥^2 𝑦′′^ − 2𝑦 = 0 then use ansatz 𝑦 = 𝑥𝑟^ this will give equation in 𝑟 only. Solve for 𝑟 and obtain 𝑦 1 = 𝑥𝑟^1 , 𝑦 2 = 𝑥𝑟^2 and the solution will be
𝑦 = 𝑐 1 𝑦 1 + 𝑐 2 𝑦 2
For example, for the above ode, the solution is 𝑐 1 𝑥^2 + 𝑐 2 𝑥. This ansatz works only if ODE is equidimensional. So can’t use it on 𝑥𝑦′′^ + 𝑦 = 0 for example.
If 𝑟 is multiple root, use 𝑥𝑟, 𝑥𝑟^ log(𝑥), 𝑥𝑟(log(𝑥))^2 … as solutions.
for 𝑥𝑖, where 𝑖 = √−1 , write it as 𝑥 = 𝑒log^ 𝑥^ hence 𝑥𝑖^ = 𝑒𝑖^ log^ 𝑥^ = cos(log 𝑥) + 𝑖 sin(log 𝑥)
Some integral tricks: ∫ √𝑎^2 − 𝑥^2 𝑑𝑥 use 𝑥 = 𝑎 sin 𝜃. For ∫ √𝑎^2 + 𝑥^2 𝑑𝑥 use 𝑥 = 𝑎 tan 𝜃
and for ∫ √𝑥^2 − 𝑎^2 𝑑𝑥 use 𝑥 = 𝑎 sec 𝜃.
𝑦′′^ + 𝑥𝑛𝑦 = 0 is called Emden-Fowler form.
For second order ODE, boundary value problem, with eigenvalue (Sturm-Liouville), remember that having two boundary conditions is not enough to fully solve it.
One boundary condition is used to find the first constant of integration, and the second boundary condition is used to find the eigenvalues.
We still need another input to find the second constant of integration. This is normally done by giving the initial value. This problem happens as part of initial value, boundary value problem. The point is, with boundary value and eigenvalue also present, we need 3 inputs to fully solve it. Two boundary conditions is not enough.
If given ODE 𝑦′′(𝑥) + 𝑝 (𝑥) 𝑦′(𝑥) + 𝑞(𝑥)𝑦(𝑥) = 0 and we are asked to classify if it is
singular at 𝑥 = ∞, then let 𝑥 = 1 𝑡 and check what happens at^ 𝑡 = 0. The^
𝑑^2 𝑑𝑥^2 operator
becomes �2𝑡^3 𝑑 𝑑𝑡 + 𝑡
4 𝑑^2 𝑑𝑡^2 �^ and^
𝑑 𝑑𝑥 operator becomes^ −𝑡
2 𝑑 𝑑𝑡. And write the ode now where 𝑡 is the independent variable, and follow standard operating procedures. i.e. look at lim𝑡→0 𝑥𝑝(𝑡) and lim𝑡→0 𝑥^2 𝑞(𝑡) and see if these are finite or not. To see how the operator
Now plug-in 𝑢 �𝑡𝑛, 𝑥𝑗� in place of 𝑈𝑗𝑛 and 𝑢 �𝑡𝑛^ + 𝑘, 𝑥𝑗� in place of 𝑈𝑗𝑛+1 and plug-in
𝑢 (𝑡𝑛, 𝑥 + ℎ) in place of 𝑈𝑗+1𝑛 and plug-in 𝑢 (𝑡𝑛, 𝑥 − ℎ) in place of 𝑈𝑗−1𝑛 in the above. It be- comes
Where in the above 𝑘 is the time step (also written as Δ𝑡) and ℎ is the space step size.
Now comes the main trick. Expanding the term 𝑢 �𝑡𝑛^ + 𝑘, 𝑥𝑗� in Taylor,
𝑡𝑛
𝑡𝑛
And expanding
𝑥𝑗
𝑥𝑗
And expanding
𝑥𝑗
𝑥𝑗
Now plug-in (2,3,4) back into (1). Simplifying, many things drop out, and we should obtain that 𝐿𝑇𝐸 = 𝑂(𝑘) + 𝑂 �ℎ^2 �
Which says that 𝐿𝑇𝐸 → 0 as ℎ → 0, 𝑘 → 0. Hence it is consistent.
To check it is stable, use Von Neumann method for stability. This check if the solution at next time step does not become larger than the solution at the current time step. There
can be condition for this. Such as it is stable if 𝑘 ≤ ℎ^2
it will be stable as long as time step is smaller than ℎ^2
For 𝑎𝑥^2 + 𝑏𝑥 + 𝑐 = 0, with roots 𝛼, 𝛽 then the relation between roots and coefficients is
Leibniz rules for integration
𝑑 𝑑𝑥
𝑏(𝑥)
𝑎(𝑥)
𝑏(𝑥)
𝑎(𝑥)
𝑏(𝑥)
𝑎(𝑥)
𝑏 𝑎
𝑏 𝑎
Differentiable function implies continuous. But continuous does not imply differen- tiable. Example is |𝑥| function.
Mean curvature being zero is a characteristic of minimal surfaces.
How to find phase difference between 2 signals 𝑥 1 (𝑡), 𝑥 2 (𝑡)? One way is to find the DFT of both signals (in Mathematica this is Fourier, in Matlab fft()), then find where the bin where peak frequency is located (in either output), then find the phase difference between the 2 bins at that location. Value of DFT at that bin is complex number. Use Arg in Mathematica to find its phase. The difference gives the phase difference between the original signals in time domain. See https://mathematica.stackexchange.com/
questions/11046/how-to-find-the-phase-difference-of-two-sampled-sine-waves for an example.
Watch out when squaring both sides of equation. For example, given 𝑦 = √𝑥. squaring both sides gives 𝑦^2 = 𝑥. But this is only true for 𝑦 ≥ 0. Why? Let us take the square root
of this in order to get back to the original equation. This gives (^) �𝑦^2 = √𝑥. And here
is the problem, (^) �𝑦^2 = 𝑦 only for 𝑦 ≥ 0. Why? Let us assume 𝑦 = −1. Then (^) �𝑦^2 =
�(−1)
(^2) = √1 = 1 which is not −1. So when taking the square of both sides of the
equation, remember this condition.
do not replace √𝑥^2 by 𝑥, but by |𝑥|, since 𝑥 = √𝑥^2 only for non negative 𝑥.
Given an equation, and we want to solve for 𝑥. We can square both sides in order to get rid of sqrt if needed on one side. But be careful. Even though after squaring both sides, the new equation is still true, the solutions of the new equation can introduce extraneous solution that does not satisfy the original equation. Here is an example I saw on the internet which illustrate this. Given (^) √𝑥 = 𝑥 − 6. And we want to solve for 𝑥.
Squaring both sides gives 𝑥 = (𝑥 − 6) 2
. This has solutions 𝑥 = 9, 𝑥 = 4. But only 𝑥 = 9 is valid solution for the original equation before squaring. The solution 𝑥 = 4 is extraneous. So need to check all solutions found after squaring against the original equation, and remove those extraneous one. In summary, if 𝑎^2 = 𝑏^2 then this does not mean that 𝑎 = 𝑏.
But if 𝑎 = 𝑏 then it means that 𝑎^2 = 𝑏^2. For example (−5)^2 = 5^2. But −5 ≠ 5.
(Added July, 2017).
If the ODE 𝑀 �𝑥, 𝑦� + 𝑁 �𝑥, 𝑦� 𝑑𝑦 𝑑𝑥 = 0^ has both^ 𝑀^ and^ 𝑁^ homogenous functions of same power, then this ODE can be converted to separable. Here is an example. We want to solve
�𝑥^3 + 8𝑥^2 𝑦� + �4𝑥𝑦^2 − 𝑦^3 � 𝑦′^ = 0 (1)
The above is homogenous in 𝑀, 𝑁, since the total powers of each term in them is 3.
⎛ ⎜⎜ ⎜⎜ ⎝
3 ⏞𝑥 (^3) + 8
3 𝑥^ ⏞^2 𝑦
3 𝑥𝑦^ ⏞^2 −
3 ⏞𝑦 3
So we look at each term in 𝑁 and 𝑀 and add all the powers on each 𝑥, 𝑦 in them. All powers should add to same value, which is 3 in this case. Of course 𝑁, 𝑀 should be polynomials for this to work. So one should check that they are polynomials in 𝑥, 𝑦 before starting this process. Once we check 𝑀, 𝑁 are homogeneous, then we let
𝑦 = 𝑥𝑣
Therefore now
𝑀 = 𝑥^3 + 8𝑥^2 (𝑥𝑣) = 𝑥^3 + 8𝑥^3 𝑣 (2)
And
𝑁 = 4𝑥 (𝑥𝑣)^2 − (𝑥𝑣)^3 = 4𝑥^3 𝑣^2 − 𝑥^3 𝑣^3 (3)
And
𝑦′^ = 𝑣 + 𝑥𝑣′^ (4)
Integrating once w.r.t 𝑥 gives
𝜕𝑧 �𝑥, 𝑦� 𝜕𝑦
Integrating again w.r.t. 𝑦 gives
Example 5
Solve 𝑢𝑡 + 𝑢𝑥 = 0 with 𝑢 (𝑥, 1) = 𝑥 1+𝑥^2. Let^ 𝑢 ≡ 𝑢 (𝑥(𝑡), 𝑡), therefore
𝑑𝑢 𝑑𝑡
Comparing the above with the given PDE, we see that if 𝑑𝑥 𝑑𝑡 = 1^ then^
𝑑𝑢 𝑑𝑡 = 0^ or^ 𝑢 (𝑥(𝑡), 𝑡) is constant. At 𝑡 = 1 we are given that
To find 𝑥(1), from 𝑑𝑥 𝑑𝑡 = 1^ we obtain that^ 𝑥 (𝑡) = 𝑡 + 𝑐. At^ 𝑡 = 1,^ 𝑐 = 𝑥(1) − 1. Hence 𝑥 (𝑡) = 𝑡 + 𝑥(1) − 1 or 𝑥(1) = 𝑥(𝑡) + 1 − 𝑡
Hence solution from (1) becomes
Example 6
Solve 𝑢𝑡 + 𝑢𝑥 + 𝑢^2 = 0.
Let 𝑢 ≡ 𝑢 (𝑥(𝑡), 𝑡), therefore 𝑑𝑢 𝑑𝑡
Comparing the above with the given PDE, we see that if 𝑑𝑥 𝑑𝑡 = 1^ then^
𝑑𝑢 𝑑𝑡 = −𝑢
(^2) or − 𝑢 = −𝑡 + 𝑐.^ Hence 𝑢 =
At 𝑡 = 0, 𝑐 =
1 𝑢(𝑥(0),0)^. Let^ 𝑢 (𝑥(0), 0) = 𝑓 (𝑥(0)). Therefore
1 𝑓(𝑥(0))
Now we need to find 𝑥(0). From 𝑑𝑥 𝑑𝑡 = 1, then^ 𝑥 = 𝑡 + 𝑐^ or^ 𝑐 = 𝑥(0), hence^ 𝑥(0) = 𝑥 − 𝑡^ and the above becomes
𝑢 (𝑥, 𝑡) =
1 𝑓(𝑥−𝑡)
(added Oct. 20, 2016)
Is f (x) piecewise smooth function (can have finite number of jump discontinuities) over −L... L (see Dirichlet conditions)?
Fourier series exist No Fourier series.^ f^ (x) not bounded.
Is f (−L) = f (L)? YES NO
−L L
−L L
periodic extension has jump discontinuity. Use ≈ and not =. Hence f (x) ≈ a 0 +∑∞ n=1 an cos(n πL x)+bn sin(n πL x). Also, the terms an, bn will have (^) n^1
periodic extension do not have jump discontinuity. Use =. Hence f (x) = a 0 + ∑∞ n=1 an cos(n πL x) + bn sin(n πL x). Terms an, bn will have (^) n^12
Can also perform term by term differentiation. Result of term-by-term differentiation is the F.S. of f ′(x). Note that f ′(x) might not be continuous (can have jumps).
term by term differentiation is not justified
Integration term-by-term of F.S. of f (x) can always be done and the resulting series will always converge to direct integration∫ (^) L is not be a F.S. Needs adjustment.^ −L^ f^ (x)^ dx. However, The resulting series
Integration term-by-term of F.S. can always be done. And the resuling series will always converge to direct integration ∫^ −LL f (x) dx. The resulting series will be the F.S.
Nasser M. Abbasi (fs.ipe). Oct 2016
does f (x) have jump discontinuity? NO YES
For cos and sin Fourier series, we need the following conditions to be able to use f (x) =... instead of f (x) ≈... For cos series, the conditions are less strict than for sin series. For cos all what is needed is that f (x) defined over 0 · · · L not have jump discontinuity. Since the even extension will automatically make f (−L) = f (L). For sin series, not only we need f (x) not have jump discontinuity over 0 · · · L, but also we need f (−L) = f (L) = 0 and we also need f (0) = 0. If any of the above conditions fail, then we must use f (x) ≈...
YES NO
4.1 Theorem on when we can do term by term differentiation
If 𝑓(𝑥) on −𝐿 ≤ 𝑥 ≤ 𝐿 is continuous (notice, NOT piecewise continuous), this means 𝑓(𝑥) has no jumps in it, and that 𝑓′(𝑥) exists on −𝐿 < 𝑥 < 𝐿 and 𝑓′(𝑥) is either continuous or piecewise continuous (notice, that 𝑓′(𝑥) can be piecewise continuous (P.W.C.), i.e. have finite number of jump discontinuities), and also and this is very important, that 𝑓 (−𝐿) = 𝑓(𝐿) then we can do term by term differentiation of the Fourier series of 𝑓(𝑥) and use = instead of ∼. Not only that, but the term by term differentiation of the Fourier series of 𝑓(𝑥) will give the Fourier series of 𝑓′(𝑥) itself.
So that main restriction here is that 𝑓(𝑥) on −𝐿 ≤ 𝑥 ≤ 𝐿 is continuous (no jump discon- tinuities) and that 𝑓 (−𝐿) = 𝑓(𝐿). So look at 𝑓(𝑥) first and see if it is continuous or not (remember, the whole 𝑓(𝑥) has to be continuous, not piecewise, so no jump discontinu- ities). If this condition is met, look at see if 𝑓 (−𝐿) = 𝑓(𝐿).
For example 𝑓(𝑥) = 𝑥 on −1 ≤ 𝑥 ≤ 1 is continuous, but 𝑓 (−1) ≠ 𝑓(1) so the F.S. of 𝑓 (𝑥) can’t be term be term differentiated (well, it can, but the result will not be the Fourier series of 𝑓′(𝑥)). So we should not do term by term differentiation in this case.
But the Fourier series for 𝑓(𝑥) = 𝑥^2 can be term by term differentiated. This has its 𝑓′(𝑥) being continuous, since it meets all the conditions. Also Fourier series for 𝑓(𝑥) = |𝑥| can be term by term differentiated. This has its 𝑓′(𝑥) being P.W.C. due to a jump at 𝑥 = 0
If 𝑦 1 , 𝑦 2 are two solutions to 𝑎𝑦′′^ +𝑏𝑦′^ +𝑐𝑦 = 0 then to show that 𝑐 1 𝑦 1 +𝑐 2 𝑦 2 is also solution:
𝑎𝑦′′ 1 + 𝑏𝑦′ 1 + 𝑐𝑦 1 = 0 𝑎𝑦′′ 2 + 𝑏𝑦′ 2 + 𝑐𝑦 2 = 0
Multiply the first ODE by 𝑐 1 and second ODE by 𝑐 2
𝑎 �𝑐 1 𝑦 1 �
′′
′
𝑎 �𝑐 2 𝑦 2 �
′′
′
Add the above two equations, using linearity of differentials
𝑎 �𝑐 1 𝑦 1 + 𝑐 2 𝑦 2 �
′′
′
Therefore 𝑐 1 𝑦 1 + 𝑐 2 𝑦 2 satisfies the original ODE. Hence solution.
Since
𝑊(𝑥) = �
Where 𝑦 1 , 𝑦 2 are two solutions to 𝑎𝑦′′^ + 𝑏𝑦′^ + 𝑐𝑦 = 0. Write
𝑎𝑦′′ 1 + 𝑝𝑦′ 1 + 𝑐𝑦 1 = 0 𝑎𝑦′′ 2 + 𝑝𝑦′ 2 + 𝑐𝑦 2 = 0
Multiply the first ODE above by 𝑦 2 and the second by 𝑦 1
𝑎𝑦 2 𝑦′′ 1 + 𝑝𝑦 2 𝑦′ 1 + 𝑐𝑦 2 𝑦 1 = 0 𝑎𝑦 1 𝑦′′ 2 + 𝑝𝑦 1 𝑦′ 2 + 𝑐𝑦 1 𝑦 2 = 0
Subtract the second from the first
𝑎 �𝑦 2 𝑦′′ 1 − 𝑦 1 𝑦′′ 2 � + 𝑝 �𝑦 2 𝑦′ 1 − 𝑦 1 𝑦′ 2 � = 0 (1)
But
𝑝 �𝑦 2 𝑦′ 1 − 𝑦 1 𝑦′ 2 � = −𝑝𝑊 (2)
And
𝑑𝑊 𝑑𝑥
Substituting (2,3) into (1) gives the Wronskian differential equation
Whose solution is
𝑝 𝑎 𝑑𝑥
Where 𝐶 is constant of integration.
Remember: 𝑊 (𝑥 0 ) = 0 does not mean the two functions are linearly dependent. The functions can still be Linearly independent on other interval, It just means 𝑥 0 can’t be in the domain of the solution for two functions to be solutions. However, if the two functions are linearly dependent, then this implies 𝑊 = 0 everywhere. So to check if two functions are L.D., need to show that 𝑊 = 0 everywhere.
Green function is what is called impulse response in control. But it is more general, and can be used for solving PDE also.
Given a differential equation with some forcing function on the right side. To solve this, we replace the forcing function with an impulse. The solution of the DE now is called the impulse response, which is the Green’s function of the differential equation.
Now to find the solution to the original problem with the original forcing function, we just convolve the Green function with the original forcing function. Here is an example.
Suppose we want to solve 𝐿 �𝑦 (𝑡)� = 𝑓(𝑡) with zero initial conditions. Then we solve
𝐿 �𝑔(𝑡)� = 𝛿(𝑡). The solution is 𝑔(𝑡). Now 𝑦(𝑡) = 𝑔(𝑡) ⊛ 𝑓(𝑡). This is for initial value problem.
For example. 𝑦′(𝑡) + 𝑘𝑥 = 𝑒𝑎𝑡, with 𝑦(0) = 0. Then we solve 𝑔′(𝑡) + 𝑘𝑔 = 𝛿(𝑡). The solution
is 𝑔(𝑡) = �
, this is for causal system. Hence 𝑦(𝑡) = 𝑔 (𝑡) ⊛ 𝑓(𝑡). The nice thing
here, is that once we find 𝑔(𝑡), we can solve 𝑦′(𝑡) + 𝑘𝑥 = 𝑓(𝑡) for any 𝑓(𝑡) by just convolving the Green function (impulse response) with the new 𝑓(𝑡).
We can think of Green function as an inverse operator. Given 𝐿 �𝑦(𝑡)� = 𝑓(𝑡), we want
to find solution 𝑦(𝑡) = ∫
∞ −∞ 𝐺 (𝑡; 𝜏) 𝑓 (𝜏) 𝑑𝜏. So in a sense, 𝐺 (𝑡; 𝜏) is like 𝐿−1^ �𝑦(𝑡)�.
Need to add notes for Green function for Sturm-Liouville boundary value ODE. Need to be clear on what boundary conditions to use. What is B.C. is not homogeneous?
Green function properties:
When solving for 𝐺 (𝑡; 𝜏), in context of 1D, hence two boundary conditions, one at each end, and second order ODE (Sturm-Liouville), we now get two solutions, one for 𝑡 < 𝜏 and one for 𝑡 > 𝜏.
So we have 4 constants of integrations to find (this is for second order ODE) not just two constants as normally one would get , since now we have 2 different solutions. Two of these constants from the two boundary conditions, and two more come from property
of Green function as mentioned above. 𝐺 (𝑡; 𝜏) =
Remember that 𝑢𝑐(𝑡)𝑓 (𝑡 − 𝑐) ⟺ 𝑒−𝑐𝑠𝐹(𝑠) and 𝑢𝑐(𝑡)𝑓(𝑡) ⟺ 𝑒−𝑐𝑠ℒ �𝑓 (𝑡 + 𝑐)�. For example,
if we are given 𝑢 2 (𝑡)𝑡, then ℒ (𝑢 2 (𝑡)𝑡) = 𝑒−2𝑠ℒ {𝑡 + 2} = 𝑒−2𝑠^ � 1 𝑠^2 +^
2 𝑠 � = 𝑒
𝑠^2 �. Do not
do 𝑢𝑐 (𝑡) 𝑓(𝑡) ⟺ 𝑒−𝑐𝑠ℒ �𝑓(𝑡)�! That will be a big error. We use this allot when asked to write a piecewise function using Heaviside functions.
expansion
𝑛
2
3
So everything is the same, we just change 𝑥 with 1 𝑥 and remember to multiply the whole expansion with 𝑥𝑛. For example, for 𝑛 = −
1 (1 + 𝑥)
1 𝑥 �
2 − �
3
1 𝑥 �
2
3
These tricks are very useful when working with Laurent series.
Arithmetic series:
𝑁 � 𝑛=
𝑁 � 𝑛=
i.e. the sum is 𝑁 times the arithmetic mean.
Taylor series: Expanded around 𝑥 = 𝑎 is
Where 𝑅𝑛 is remainder 𝑅𝑛 = (𝑥−𝑎)𝑛+ (𝑛+1)! 𝑓
0 )^ where^ 𝑥 0 is some point between^ 𝑥^ and^ 𝑎.
Maclaurin series: Is just Taylor expanded around zero. i.e. 𝑎 = 0
This diagram shows the different convergence of series and the relation between them
set of all convergent series
Absolutely convergent
Uniform convergent
A
B C
D
Nasser M. Abbasi (p2.ipe, Sept 2018)
The above shows that an absolutely convergent series (𝐵) is also convergent. Also a uniformly convergent series (𝐷) is also convergent. But the series 𝐵 is absolutely con- vergent and not uniform convergent. While 𝐷 is uniform convergent and not absolutely convergent.
The series 𝐶 is both absolutely and uniformly convergent. And finally the series 𝐴 is con- vergent, but not absolutely (called conditionally convergent). Examples of 𝐵 (converges absolutely but not uniformly) is
∞ � 𝑛=
2
And example of 𝐷 (converges uniformly but not absolutely) is
∞ � 𝑛=
Example of 𝐴 (converges but not absolutely) is the alternating harmonic series
∞ � 𝑛=
The above converges to ln(2) but absolutely it now becomes the harmonic series and it diverges ∞ � 𝑛=
For uniform convergence, we really need to have an 𝑥 in the series and not just numbers, since the idea behind uniform convergence is if the series convergence to within an error tolerance 𝜀 using the same number of terms independent of the point 𝑥 in the region.
The sequence ∑∞𝑛= 1 𝑛𝑎^ converges for^ 𝑎 > 1^ and diverges for^ 𝑎 ≤ 1. So^ 𝑎 = 1^ is the flip value. For example
1 +
Diverges, since 𝑎 = 1, also 1+ 1 √^
1 √^
1 √^
+⋯ diverges, since 𝑎 = 1 2 ≤ 1. But^ 1+^
1 4 +
1 9 +^
1 16 +⋯
converges, where 𝑎 = 2 here and the sum is 𝜋^2
Using partial sums. Let ∑∞𝑛=0 𝑎𝑛 be some sequence. The partial sum is 𝑆𝑁 = ∑𝑁𝑛=0 𝑎𝑛. Then (^) ∞
� 𝑛=
𝑎𝑛 = lim 𝑁→∞
If lim𝑁→∞ 𝑆𝑛 exist and finite, then we can say that ∑∞𝑛=0 𝑎𝑛 converges. So here we use set up a sequence who terms are partial sum, and them look at what happens in the limit to such a term as 𝑁 → 𝜃. Need to find an example where this method is easier to use to test for convergence than the other method below.
Given a series, we are allowed to rearrange order of terms only when the series is
absolutely convergent. Therefore for the alternating series 1 − 1 2 +^
1 3 −^
1 4 + ⋯, do not rearrange terms since this is not absolutely convergent. This means the series sum is independent of the order in which terms are added only when the series is absolutely convergent.
In an infinite series of complex numbers, the series converges, if the real part of the series and also the complex part of the series, each converges on their own.
Power series: 𝑓(𝑧) = ∑∞𝑛=0 𝑎𝑛 (𝑧 − 𝑧 0 )𝑛. This series is centered at 𝑧 0. Or expanded around
𝑧 0. This has radius of convergence 𝑅 is the series converges for �𝑧 − 𝑧 0 � < 𝑅 and diverges
for �𝑧 − 𝑧 0 � > 𝑅.