This document discusses analytical solutions of linear ordinary differential equation initial value problems (ODE-IVPs). It begins by introducing scalar and vector cases of linear ODE-IVPs. For the scalar case, it shows that the solution has the form of et. For the vector case, it shows that the solution has the form of eλtv, where λ are the eigenvalues of the coefficient matrix A and v are the corresponding eigenvectors. It then discusses how to determine the eigenvalues and eigenvectors by solving the characteristic equation of A. Finally, it expresses the general solution as a linear combination of the fundamental solutions eλtv, which must also satisfy the initial conditions.
Comparative Analysis of Different Numerical Methods of Solving First Order Di...ijtsrd
A mathematical equation which relates various function with its derivatives is known as a differential equation.. It is a well known and popular field of mathematics because of its vast application area to the real world problems such as mechanical vibrations, theory of heat transfer, electric circuits etc. In this paper, we compare some methods of solving differential equations in numerical analysis with classical method and see the accuracy level of the same. Which will helpful to the readers to understand the importance and usefulness of these methods. Chandrajeet Singh Yadav"Comparative Analysis of Different Numerical Methods of Solving First Order Differential Equation" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-2 | Issue-4 , June 2018, URL: http://www.ijtsrd.com/papers/ijtsrd13045.pdf http://www.ijtsrd.com/mathemetics/applied-mathematics/13045/comparative-analysis-of-different-numerical-methods-of-solving-first-order-differential-equation/chandrajeet-singh-yadav
On the Numerical Fixed Point Iterative Methods of Solution for the Boundary V...BRNSS Publication Hub
In this research work, we have studied the finite difference method and used it to solve elliptic partial differential equation (PDE). The effect of the mesh size on typical elliptic PDE has been investigated. The effect of tolerance on the numerical methods used, speed of convergence, and number of iterations was also examined. Three different elliptic PDE’s; the Laplace’s equation, Poisons equation with the linear inhomogeneous term, and Poisons equations with non-linear inhomogeneous term were used in the study. Computer program was written and implemented in MATLAB to carry out lengthy calculations. It was found that the application of the finite difference methods to an elliptic PDE transforms the PDE to a system of algebraic equations whose coefficient matrix has a block tri-diagonal form. The analysis carried out shows that the accuracy of solutions increases as the mesh is decreased and that the solutions are affected by round off errors. The accuracy of solutions increases as the number of the iterations increases, also the more efficient iterative method to use is the SOR method due to its high degree of accuracy and speed of convergence
Finite element method have many techniques that are used to design the structural elements like automobiles and building materials as well. we use different design software to get our simulated results at ansys, pro-e and matlab.we use these results for our real value problems.
Second or fourth-order finite difference operators, which one is most effective?Premier Publishers
This paper presents higher-order finite difference (FD) formulas for the spatial approximation of the time-dependent reaction-diffusion problems with a clear justification through examples, “why fourth-order FD formula is preferred to its second-order counterpart” that has been widely used in literature. As a consequence, methods for the solution of initial and boundary value PDEs, such as the method of lines (MOL), is of broad interest in science and engineering. This procedure begins with discretizing the spatial derivatives in the PDE with algebraic approximations. The key idea of MOL is to replace the spatial derivatives in the PDE with the algebraic approximations. Once this procedure is done, the spatial derivatives are no longer stated explicitly in terms of the spatial independent variables. In other words, only one independent variable is remaining, the resulting semi-discrete problem has now become a system of coupled ordinary differential equations (ODEs) in time. Thus, we can apply any integration algorithm for the initial value ODEs to compute an approximate numerical solution to the PDE. Analysis of the basic properties of these schemes such as the order of accuracy, convergence, consistency, stability and symmetry are well examined.
Numerical solution of eigenvalues and applications 2SamsonAjibola
This project aims at studying the methods of numerical solution of eigenvalue problems and their applications. An accurate mathematical method is needed to solve direct and inverse eigenvalue problems related to different applications such as engineering analysis and design, statistics, biology e.t.c. Eigenvalue problems are of immense interest and play a pivotal role not only in many fields of engineering but also in pure and applied mathematics, thus numerical methods are developed to solve eigenvalue problems. The primary objective of this work is to showcase these various eigenvalue algorithms such as QR algorithm, power method, Krylov subspace iteration (Lanczos and Arnoldi) and explain their effects and procedures in solving eigenvalue problems.
Comparative Analysis of Different Numerical Methods of Solving First Order Di...ijtsrd
A mathematical equation which relates various function with its derivatives is known as a differential equation.. It is a well known and popular field of mathematics because of its vast application area to the real world problems such as mechanical vibrations, theory of heat transfer, electric circuits etc. In this paper, we compare some methods of solving differential equations in numerical analysis with classical method and see the accuracy level of the same. Which will helpful to the readers to understand the importance and usefulness of these methods. Chandrajeet Singh Yadav"Comparative Analysis of Different Numerical Methods of Solving First Order Differential Equation" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-2 | Issue-4 , June 2018, URL: http://www.ijtsrd.com/papers/ijtsrd13045.pdf http://www.ijtsrd.com/mathemetics/applied-mathematics/13045/comparative-analysis-of-different-numerical-methods-of-solving-first-order-differential-equation/chandrajeet-singh-yadav
On the Numerical Fixed Point Iterative Methods of Solution for the Boundary V...BRNSS Publication Hub
In this research work, we have studied the finite difference method and used it to solve elliptic partial differential equation (PDE). The effect of the mesh size on typical elliptic PDE has been investigated. The effect of tolerance on the numerical methods used, speed of convergence, and number of iterations was also examined. Three different elliptic PDE’s; the Laplace’s equation, Poisons equation with the linear inhomogeneous term, and Poisons equations with non-linear inhomogeneous term were used in the study. Computer program was written and implemented in MATLAB to carry out lengthy calculations. It was found that the application of the finite difference methods to an elliptic PDE transforms the PDE to a system of algebraic equations whose coefficient matrix has a block tri-diagonal form. The analysis carried out shows that the accuracy of solutions increases as the mesh is decreased and that the solutions are affected by round off errors. The accuracy of solutions increases as the number of the iterations increases, also the more efficient iterative method to use is the SOR method due to its high degree of accuracy and speed of convergence
Finite element method have many techniques that are used to design the structural elements like automobiles and building materials as well. we use different design software to get our simulated results at ansys, pro-e and matlab.we use these results for our real value problems.
Second or fourth-order finite difference operators, which one is most effective?Premier Publishers
This paper presents higher-order finite difference (FD) formulas for the spatial approximation of the time-dependent reaction-diffusion problems with a clear justification through examples, “why fourth-order FD formula is preferred to its second-order counterpart” that has been widely used in literature. As a consequence, methods for the solution of initial and boundary value PDEs, such as the method of lines (MOL), is of broad interest in science and engineering. This procedure begins with discretizing the spatial derivatives in the PDE with algebraic approximations. The key idea of MOL is to replace the spatial derivatives in the PDE with the algebraic approximations. Once this procedure is done, the spatial derivatives are no longer stated explicitly in terms of the spatial independent variables. In other words, only one independent variable is remaining, the resulting semi-discrete problem has now become a system of coupled ordinary differential equations (ODEs) in time. Thus, we can apply any integration algorithm for the initial value ODEs to compute an approximate numerical solution to the PDE. Analysis of the basic properties of these schemes such as the order of accuracy, convergence, consistency, stability and symmetry are well examined.
Numerical solution of eigenvalues and applications 2SamsonAjibola
This project aims at studying the methods of numerical solution of eigenvalue problems and their applications. An accurate mathematical method is needed to solve direct and inverse eigenvalue problems related to different applications such as engineering analysis and design, statistics, biology e.t.c. Eigenvalue problems are of immense interest and play a pivotal role not only in many fields of engineering but also in pure and applied mathematics, thus numerical methods are developed to solve eigenvalue problems. The primary objective of this work is to showcase these various eigenvalue algorithms such as QR algorithm, power method, Krylov subspace iteration (Lanczos and Arnoldi) and explain their effects and procedures in solving eigenvalue problems.
Calculus is the major part of Mathematis. This theoretical presentation covered all relevant definations and systematic review points about calculus. It also brings and promote you towards in advance mathematics.
An energy audit is an inspection survey and an analysis of energy flows for energy conservation in a building. It may include a process or system to reduce the amount of energy input into the system without negatively affecting the output.
Wastewater Treatment: Definition, Process Steps, Design Considerations, Plant Types (With PDF)
Written by Anup Kumar Deyin Civil,Construction,Mechanical,Piping Interface,Process
Wastewater treatment is a process to treat sewage or wastewater to remove suspended solid contaminants and convert them into an effluent that can be discharged back to the environment with acceptable impact. The plants where the wastewater treatment process takes place are popularly known as Wastewater treatment plants, Water resource recovery facilities, or Sewage Treatment Plants. Pollutants present in wastewater can negatively impact the environment and human health. So, these must be removed, broken down, or converted during the treatment process. Typical pollutants that are normally present in wastewater are:
Bacteria, viruses, and disease-causing pathogens.
helminths (intestinal worms and worm-like parasites)
Toxic Chlorine compounds and inorganic chloramines.
Metals possessing toxic effects like mercury, lead, cadmium, chromium, and arsenic.
Decaying organic matter and debris.
oils and greases.
Toxic chemicals like PCBs, PAHs, dioxins, furans, pesticides, phenols, etc.
Some pharmaceutical and personal care products
Wastewater Treatment: Definition, Process Steps, Design Considerations, Plant Types (With PDF)
Written by Anup Kumar Deyin Civil,Construction,Mechanical,Piping Interface,Process
Wastewater treatment is a process to treat sewage or wastewater to remove suspended solid contaminants and convert them into an effluent that can be discharged back to the environment with acceptable impact. The plants where the wastewater treatment process takes place are popularly known as Wastewater treatment plants, Water resource recovery facilities, or Sewage Treatment Plants. Pollutants present in wastewater can negatively impact the environment and human health. So, these must be removed, broken down, or converted during the treatment process. Typical pollutants that are normally present in wastewater are:
Bacteria, viruses, and disease-causing pathogens.
helminths (intestinal worms and worm-like parasites)
Toxic Chlorine compounds and inorganic chloramines.
Metals possessing toxic effects like mercury, lead, cadmium, chromium, and arsenic.
Decaying organic matter and debris.
oils and greases.
Toxic chemicals like PCBs, PAHs, dioxins, furans, pesticides, phenols, etc.
Some pharmaceutical and personal care products
It is part of Chemical Engineering. A lot of toxic released from Chemical Industries. How to reduce that wastewater effluent. All the techniques and measurements are included in this presentation.
Industrial Effluent Treatment by Modern Techniques.pptEr. Rahul Jarariya
Effluent Treatment Plant or ETP is one type of waste water treatment method which is particularly designed to purify industrial wastewater for its reuse and its aim is to release safe water to the environment from the harmful effect caused by the effluent. Helping achieve a greener society.
We have compiled the most important slides from each speaker's presentation. This year’s compilation, available for free, captures the key insights and contributions shared during the DfMAy 2024 conference.
Welcome to WIPAC Monthly the magazine brought to you by the LinkedIn Group Water Industry Process Automation & Control.
In this month's edition, along with this month's industry news to celebrate the 13 years since the group was created we have articles including
A case study of the used of Advanced Process Control at the Wastewater Treatment works at Lleida in Spain
A look back on an article on smart wastewater networks in order to see how the industry has measured up in the interim around the adoption of Digital Transformation in the Water Industry.
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)MdTanvirMahtab2
This presentation is about the working procedure of Shahjalal Fertilizer Company Limited (SFCL). A Govt. owned Company of Bangladesh Chemical Industries Corporation under Ministry of Industries.
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...Amil Baba Dawood bangali
Contact with Dawood Bhai Just call on +92322-6382012 and we'll help you. We'll solve all your problems within 12 to 24 hours and with 101% guarantee and with astrology systematic. If you want to take any personal or professional advice then also you can call us on +92322-6382012 , ONLINE LOVE PROBLEM & Other all types of Daily Life Problem's.Then CALL or WHATSAPP us on +92322-6382012 and Get all these problems solutions here by Amil Baba DAWOOD BANGALI
#vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore#blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #blackmagicforlove #blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #Amilbabainuk #amilbabainspain #amilbabaindubai #Amilbabainnorway #amilbabainkrachi #amilbabainlahore #amilbabaingujranwalan #amilbabainislamabad
6th International Conference on Machine Learning & Applications (CMLA 2024)ClaraZara1
6th International Conference on Machine Learning & Applications (CMLA 2024) will provide an excellent international forum for sharing knowledge and results in theory, methodology and applications of on Machine Learning & Applications.
Immunizing Image Classifiers Against Localized Adversary Attacksgerogepatton
This paper addresses the vulnerability of deep learning models, particularly convolutional neural networks
(CNN)s, to adversarial attacks and presents a proactive training technique designed to counter them. We
introduce a novel volumization algorithm, which transforms 2D images into 3D volumetric representations.
When combined with 3D convolution and deep curriculum learning optimization (CLO), itsignificantly improves
the immunity of models against localized universal attacks by up to 40%. We evaluate our proposed approach
using contemporary CNN architectures and the modified Canadian Institute for Advanced Research (CIFAR-10
and CIFAR-100) and ImageNet Large Scale Visual Recognition Challenge (ILSVRC12) datasets, showcasing
accuracy improvements over previous techniques. The results indicate that the combination of the volumetric
input and curriculum learning holds significant promise for mitigating adversarial attacks without necessitating
adversary training.
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...ssuser7dcef0
Power plants release a large amount of water vapor into the
atmosphere through the stack. The flue gas can be a potential
source for obtaining much needed cooling water for a power
plant. If a power plant could recover and reuse a portion of this
moisture, it could reduce its total cooling water intake
requirement. One of the most practical way to recover water
from flue gas is to use a condensing heat exchanger. The power
plant could also recover latent heat due to condensation as well
as sensible heat due to lowering the flue gas exit temperature.
Additionally, harmful acids released from the stack can be
reduced in a condensing heat exchanger by acid condensation. reduced in a condensing heat exchanger by acid condensation.
Condensation of vapors in flue gas is a complicated
phenomenon since heat and mass transfer of water vapor and
various acids simultaneously occur in the presence of noncondensable
gases such as nitrogen and oxygen. Design of a
condenser depends on the knowledge and understanding of the
heat and mass transfer processes. A computer program for
numerical simulations of water (H2O) and sulfuric acid (H2SO4)
condensation in a flue gas condensing heat exchanger was
developed using MATLAB. Governing equations based on
mass and energy balances for the system were derived to
predict variables such as flue gas exit temperature, cooling
water outlet temperature, mole fraction and condensation rates
of water and sulfuric acid vapors. The equations were solved
using an iterative solution technique with calculations of heat
and mass transfer coefficients and physical properties.
2. Ordinary Differential Equations
• Part 1
• Initial Value Problems (ODE-IVPs) :
• Introduction
• Analytical Solutions of Linear ODE-IVPs
• Part 2
• basic concepts in Numerical solutions of ODE-IVP:
• step size and marching
• concept of implicit and explicit methods
• Taylor series based and Runge-Kutta methods
• Multi-step (predictor-corrector) approaches
• Stability of ODE-IVP solvers
• choice of step size and stability envelopes
• stiffness and variable step size implementation
• Introduction to solution methods for differential algebraic equations (DAEs),
4. Ordinary Differential Equations
• Ordinary differential equations are of
great significance in engineering
practice.
• This is because many physical laws are
understood in terms of the rate of
change of a quantity rather than the
magnitude of the quantity itself.
• Examples
• population-forecasting models (rate of
change of population)
• The acceleration of a falling body (rate of
change of velocity).
• Two types of problems are addressed:
initial-value and boundary-value
problems.
5. Ordinary Differential Equations
simple second-order system defined by the
following linear ordinary differential
equation
(or ODE)
where y and t are the dependent and
independent variables, respectively,
the a’s are constant coefficients, and F(t) is
the forcing function.
Eq 1 alternatively expressed as a pair
of first-order ODEs by defining a new variable z
Eq. 1
Equation 2 can be substituted along with its
derivative into Eq. 1 to remove the
second-derivative term.
This reduces the problem to solving
Eq. 2
Eq. 3
In a similar fashion, an nth-order linear ODE
can always be expressed as a system of n
first-order ODEs.
6. Ordinary Differential Equations
Solution of ODE.
Case 1
The forcing function represents the effect of
the external world on the system.
The homogeneous or general solution of
the equation deals with the case when the
forcing function is set to zero,
Eq. 4
general solution should tell us something
very fundamental about the system being
simulated—that is, how the system
responds in the absence of
external stimuli,
Now, the general solution to all unforced
linear systems is of the form y = ert .
If this function is differentiated and
substituted into Eq. 4 the result is
Eq. 5
result
polynomial called the characteristic equation.
The roots of this polynomial are the values of r
that satisfy Eq. 5.
These r’s are referred to as the system’s
characteristic values, or eigenvalues.
7. Ordinary Differential Equations
So, here is the connection between roots of
polynomials and engineering and science.
The eigenvalue tells us something fundamental about
the system we are modeling.
Finding the eigenvalues involves finding the roots of
polynomials.
finding the root of a second-order equation is easy
with the quadratic formula, finding
Thus, we get two roots.
A)
If the discriminant (a1
2 -4a2a0)= +ve, the roots
are real and the general solution can be
represented as
where the c’s = constants
It can be determined from the initial conditions.
This is called the overdamped case.
B)
If the discriminant is zero, a single real root
results, and the general solution can be
formulated as
This is called the critically damped case.
If the discriminant is negative, the roots will be
complex conjugate numbers,
C)
the general solution can be formulated as
This is called the underdamped case.
Eq. 6
Eq. 7
Eq. 8
8. Ordinary Differential Equations
• Equations 6,7 and 8 express the
possible ways that linear systems
respond dynamically.
• The exponential terms mean that the
solutions are capable of decaying
(negative real part) or growing
(positive real part) exponentially with
time (Fig. a).
• The sinusoidal terms (imaginary part)
mean that the solutions can oscillate
(Fig. b).
• If the eigenvalue has both real and
imaginary parts, the exponential and
sinusoidal shapes are combined (Fig.
c).
9. Ordinary Differential Equations
• Content available in
• Gupta, S. K.; Numerical Methods for Engineers. Wiley Eastern, New Delhi,
1995. (CH 5)
• Philips, G. M.,Taylor, P. J. ; Theory and Applications of Numerical Analysis (2nd
Ed.), Academic Press, 1996. (CH 13)
• Gilbert Strang, Linear Algebra and Its Applications (4th Ed.), Wellesley
Cambridge Press (2009). (CH 6 section 1)
• ref 1. Steven C. Chapra, Raymond P. Canale - Numerical Methods for
Engineers-McGraw-Hill Education (2014) ( part 7 )
11. Initial Value Problems (ODE-IVPs) :
• Introduction
• Newton’s second law to compute the velocity y of a falling parachutist as a function of time t by eq 1.
• --------- eq 1
• where g is the gravitational constant
• m is the mass
• c is a drag coefficient.
• Such equations, which are composed of an unknown function and its derivatives, are called differential
equations.
• Equation 1 is sometimes referred to as a rate equation because it expresses the rate of change of a variable as
a function of variables and parameters.
• Such equations play a fundamental role in engineering because many physical phenomena are best formulated
mathematically in terms of their rate of change.
• the quantity being differentiated, y, is called the dependent variable.
• The quantity with respect to which y is differentiated, t, is called the independent variable.
• When the function involves one independent variable, the equation is called an ordinary
differential equation (or ODE).
• This is in contrast to a partial differential equation (or PDE) that involves two or more independent
variables.
12. Initial Value Problems (ODE-IVPs) :
• Differential equations are also classified as to their order.
• For example, Eq 1 is called a first-order equation because the highest
derivative is a first derivative.
• A second-order equation would include a second derivative. For example, the
equation describing the position x of a mass-spring system with damping is
the second-order equation 2,
--------eq 2
• where c is a damping coefficient
• k is a spring constant.
• Similarly, an nth-order equation would include an nth derivative.
13. Initial Value Problems (ODE-IVPs) :
• Higher-order equations can be reduced to a system of first-order equations.
• For Eq. 2, this is done by defining a new variable y, where
• which itself can be differentiated to yield
• Hence equation reduces to -----eq 3
• These are a pair of first-order equations that are equivalent to the original
second-order equation.
• Because other nth-order differential equations can be similarly reduced.
15. Non-computer Methods for Solving ODEs
• Without computers, ODEs are usually solved with analytical integration
techniques. For example, Eq. 1 could be multiplied by dt and integrated to
yield
eq 4
• The right-hand side of this equation is called an indefinite integral because
the limits of integration are unspecified.
• An analytical solution for Eq. 4 is obtained if the indefinite integral can be
evaluated exactly in equation form.
• For example, recall that for the falling parachutist problem, Eq. 4 was
solved analytically by assuming y = 0 at t = 0):
16. Non-computer Methods for Solving ODEs
For
the time being, the important fact is that exact solutions for many ODEs of practical
importance are not available. As is true for most situations discussed in other parts of
this book, numerical methods offer the only viable alternative for these cases.
18. Analytical Solutions of Linear ODE-IVPs
• A linear equation or polynomial, with one or more terms, consisting
of the derivatives of the dependent variable with respect to one or
more independent variables is known as a linear differential equation.
• A general first-order differential equation is given by the expression:
• dy/dx + Py = Q where y is a function and dy/dx is a derivative.
• The solution of the linear differential equation produces the value of
variable y.
• Examples:
• dy/dx + 2y = sin x
• dy/dx + y = ex
19. Linear Differential Equations Definition
• A linear differential equation is defined by the linear polynomial equation, which
consists of derivatives of several variables.
• It is also stated as Linear Partial Differential Equation when the function is
dependent on variables and derivatives are partial.
• A differential equation having the above form is known as the first-order linear
differential equation where P and Q are either constants or functions of the
independent variable (in this case x) only.
• Also, the differential equation of the form,
• dy/dx + Py = Q ------ eq 1
• is a first-order linear differential equation where P and Q are either constants
or functions of y (independent variable) only.
• To find linear differential equations solution, we have to derive the general form
or representation of the solution.
20. Solving Linear Differential Equations
• determine a function of the independent variable let us say M(x), which is
known as the Integrating factor (I.F).
• Multiplying both sides of equation (1) with the integrating factor M(x) we
get;
• M(x)dy/dx + M(x)Py = QM(x) …..(2)
• Now we chose M(x) in such a way that the L.H.S of equation (2) becomes
the derivative of y.M(x)
• i.e.
• d(yM(x))/dx = (M(x))dy/dx + y (d(M(x)))dx … (Using d(uv)/dx = v(du/dx) + u(dv/dx)
• ⇒ M(x)(dy/dx) + M(x)Py = M (x) dy/dx + y d(M(x))/dx
• ⇒M(x)Py = y dM(x)/dx
• ⇒1/M'(x) = P.dx
21. Solving Linear Differential Equations
Integrating both sides with respect to x, we get;
log M (x) = ∫Pdx (As∫f′(x)f(x))=logf(x)
⇒ M(x) = e∫Pdx I.F
Now, using this value of the integrating factor, we can find out the solution of our first order linear
differential equation.
Multiplying both the sides of equation (1) by the I.F. we get
e∫Pdxdy/dx+yPe∫Pdx=Qe∫Pdx
This could be easily rewritten as:
d(y.e∫Pdx)dx=Qe∫Pdx (Using d(uv)dx=v. du/dx + u. dv/dx)
Now integrating both the sides with respect to x, we get:
∫d(y.e∫Pdx)=∫Qe∫Pdxdx+c
y=1/e∫Pdx * (∫Qe∫Pdxdx+c)
where C is some arbitrary constant.
22. How to Solve First Order Linear Differential
Equation
23. How to Solve First Order Linear Differential
Equation
24.
25.
26. Canonical form expression
Numerical integration of ordinary
differential equations is most
conveniently performed when the
system consists of a set of n
simultaneous first-order ordinary
differential equations of the form
is called canonical form of the
equations.
When the initial
conditions are
given at a common
point x0
solutions of the form
matrix notation vector of initial conditions vector of solutions
27. Converting to Canonical form
nth-order differential equation
It can be transformed to the canonical
form by a series of substitutions.
nth-order equation give the
equivalent set of n first-order
equations of canonical form
If the right-hand side of the differential
equations is not a function of the
independent variable, It is autonomous
28. Transformation of Ordinary Differential Equations
–(homogenous)into Their Canonical Form:
Apply the transformation
Make these substitutions into Eq.
(a) to obtain the following four
equations:
matrix form
where matrix A
right-hand side of this equation = 0
homogeneous equation
29.
30. Transformation of Ordinary Differential
Equations-(non homogenous) into Their
Canonical Form:
An additional transformation is needed
to replace the e-t term
Make the substitutions into Eq. to obtain
the following set of five linear ordinary
differential equations:
matrix form
The presence of the term e' on the
right-hand side of this equation
makes it a nonhomogeneous equation
31. Transformation of Ordinary Differential Equations-
(non homogenous) into Their Canonical Form:
Make the substitutions into
Eq. to obtain the set
This is a set of nonlinear
differential equations which
cannot be expressed in matrix
form.
32. Transformation of Ordinary Differential Equations-
(non homogenous) into Their Canonical Form:
Apply the following transformations
Make the substitutions into
Eq. to obtain the set
33. LINEAR ORDINARY DIFFERENTIAL EQUAT1ONS
The analysis of many
physicochemical systems
yields mathematical
models that are sets of
linear ordinary differential
equations with constant
coefficients and can be
reduced to the form
with given initial conditions
E.g.
The unsteady-state material
and energy balances of
multiunit processes, without
chemical reaction, often yield
linear differential equations.
Sets of linear ordinary
differential equations with
constant coefficients have
closed-form solutions that
can be readily obtained
from the eigenvalues and
eigenvectors of the
matrix A.
34. Analytical Solutions of Linear ODE-IVPs
• Before developing numerical schemes for solving ODE IVPs, we
consider a special sub-class of ODE -IVPs, i.e. linear multi-variable
ODE-IVPs, which can be solved analytically.
• The reason for considering this sub-class is two fold:
• A set of nonlinear ODE-IVPs can often be approximated locally as a set of
linear ODE-IVPs using Taylor series approximation. Thus, it provides insights
into how solutions of a nonlinear ODE-IVP evolve for small perturbations.
• Since the solution of a linear ODE-IVP can be constructed analytically, it
proves to be quite useful while understanding stability behavior of numerical
schemes for solving ODE-IVPs.
• Consider the problem of solving simultaneous linear ODE-IVP
35. Analytical Solutions of Linear ODE-IVPs
To begin with, we develop solution for the scalar case and generalize it to the
multivariable case.
36. Scalar Case
Let the guess solution to this IVP be
Now,
This solution also satisfies the ODE, i.e.
Asymptotic behavior of solution can be
predicted using the value of parameter as
follows
37. Vector case
where v is a constant vector. The above
candidate solution must satisfy the ODE,
i.e.,
Taking clues from the scalar case, let us
investigate a candidate solution of the form
Cancelling eλt from both the sides, as it is a non-
zero scalar, we get an equation that vector must
satisfy,
This fundamental equation has two unknowns
λ and v.
problem is the well known eigenvalue problem in
linear algebra.
The number λ is called the eigenvalue of the
matrix and is v called the eigenvector.
Now, λv= Av is a non-linear equation as λ multiplies v.
if we discover λ then the equation v for would be linear. This
fundamental equation can be rewritten as
This implies that vector v should be perpendicular
to the row space of A-λI
38. Vector case
This is possible only when rows of A-λI
are linearly dependent.
In other words, λ should be selected in such a way
that rows of A-λI become linearly dependent,
i.e., is singular.
This implies that λ is an eigenvalue of A
if and only if
This is the characteristic equation of A and
it has m possible solutions λ1, λ2,…. λm.
Thus, corresponding to each eigenvalue λi,
there is a vector vi that satisfies (A-λI) vi
=0
This implies that each vector eλitvi is a
candidate solution to equation
Now, suppose we construct a
vector as lineal combination of these
fundamental solutions, i.e.
Then, it can be shown that x(t) also satisfies
equation.
Thus, a general solution to the linear ODEIVP
can be constructed as a linear combination of the
fundamental solutions eλitvi .
39. Vector case
The next task is to see to it that the above
equation reduces to the initial conditions at
t=0.
Defining vectors and matrix as
we can write
If the eigenvectors are linearly independent
Thus the solution can be written as
Now let us define exp (At) the matrix as follows
Using the fact that matrix A can be
diagonalized as
-----------( 1)
40. Vector case
where matrix Λ is
we can write
Here, the matrix eΛt is limit of infinite sum
Thus, equation (1) reduces to
41. Asymptotic behavior of solutions
In the case of linear multivariable ODE-IVP
problems, it is possible to analyze
asymptotic behavior of
the solution by observing eigenvalues of
matrix .
As
the asymptotic behavior of the solution x(t) as
t∞ is governed by the terms eαjt We have
following
possibilities here
42.
43. • Part 2
• basic concepts in Numerical solutions of ODE-IVP:
• step size and marching
• concept of implicit and explicit methods
• Taylor series based and Runge-Kutta methods
• Multi-step (predictor-corrector) approaches
• Stability of ODE-IVP solvers
• choice of step size and stability envelopes
• stiffness and variable step size implementation
• Introduction to solution methods for differential algebraic equations (DAEs),
44. Numerical Solution Schemes: Basic Concepts
Marching in Time
denote the true / actual solution of the above ODE-IVP.
In general, for a nonlinear ODE, it is seldom possible to obtain the true solution analytically.
The aim of numerical methods is to find an approximate solution numerically.
Let
Let
be a sequence of numbers such that
, we attempt to approximate the sequence of vectors
Thus, in order to integrate over a large interval we solve a sequence of ODE-IVPs
Sub problems
45. Marching in Time
Instead of attempting to approximate the function
which is defined for all values of such that
we attempt to approximate the sequence of vectors
we solve a sequence of ODE-IVPs subproblems
46. Marching in Time
each defined over a smaller interval
This generates a sequence of approximate solution vectors
The difference
is referred to as the integration step size or the integration interval.
Two possibilities can be considered regarding the choice of the sequence
1. Fixed integration interval: The numbers tn are equispaced, i.e., tn = nh for some h>0
2. Variable size integration intervals
47. Two Solution Approaches : Implicit and Explicit
There are two basic approaches to numerical integrations. To understand these approaches,
consider the integration of the equation (ODEs) over the interval
using Euler's method.
Let us also assume that the numbers tn are equi-spaced and h is the integration stepsize.
Explicit Euler method:If the integration interval is small,
The new value x(n+1) is a function of x only the past value of i.e., x(n) .
This type of numerical scheme is called explicit as it does not involve iterative calculations
while moving forward in time.
48. Implicit Euler method:
Each of the above equation has to be solved by iterative method.
For example if we use successive substitution method for solving the resulting nonlinear equation(s), the
algorithm is summarized as
This type of numerical scheme is called implicit
as it involves iterative calculations while moving forward in
time.
49. Taylor series based and Runge-Kutta methods
Consider a simple scalar case
Suppose we know the exact solution
and the integration step h size is selected sufficiently small,
then we can compute
using Taylor series expansion with respect to
independent variable as
The various derivatives in the above series can be
calculated using the differential equation, as
Now, the exact differential of f(x,t)
we can write
50. Taylor series based and Runge-Kutta methods
Let us now suppose that, instead of actual solution
x*(n) , we have available an approximation to x*(n) ,
denoted as x (n) . With this information, we can
construct
Further approximation by truncating the infinite series.
If the Taylor series is
truncated after hk the term involving , then the Taylor's series
method is said to be of order k .
Order 1(Euler explicit formula)
Order 2
Taylor's series methods are useful starting points for understanding more sophisticated methods,
but are not of much computational use. First order method is too inaccurate and the higher order
methods require calculation of a lot of partial derivatives.
51. Univariate Runge-Kutta (R-K) Methods
Runge-Kutta methods duplicate the accuracy of the
Taylor series methods, but do not require the
calculation of higher partial derivatives.
For example, consider the second order method that
uses the formula
The real numbers α, β, a, and b are chosen such that the RHS of
(RK method) approximates the RHS of
Taylor series method of order 2. To see how this is achieved, let
k2 be represented as where
and
consider the Taylor series expansion of the function k2
about
52. Univariate Runge-Kutta (R-K) Methods
where subscript denotes that the corresponding derivatives have been computed at
Substituting the Taylor series expansion in equation
Order 2
Comparing eqn1 and eqn3, we arrive at the following set of constraints on the parameters
-----eqn3
-----eqn1
Thus, there are 4 unknowns and 3 equations and we can choose one variable arbitrarily. Let us
select variable as the one that can be set arbitrarily. With this choice, we have
53. Univariate Runge-Kutta (R-K) Methods
together with the condition
Thus, the general 2nd order algorithm can be stated as
Heun's modified algorithm: Set b = 1/2.
Modified Euler-Cauchy Method: Set b = 1.
It must be emphasized that eqn4. and eqn1 do not give identical results. However, if we start from
the same x(n), then x(n+1) given by eqn1 and eqn4 would differ only by
54. Univariate Runge-Kutta (R-K) Methods
The third and higher order methods can be derived in an analogous manner. The general
computational form of the third order method can be expressed as follows
The parameters are chosen such that the RHS of (eqn5) approximates the RHS
of Taylor series method of order 3.
55. Multivariate R-K Methods
The most commonly used fourth order R-K method for one variable can be stated as
Now, suppose we want to use this method for solving simultaneous ODE-IVPs
57. numerical method
According to this equation, the slope estimate of Φ is
used to extrapolate from an old value yi to a new value
yi+1 over a distance h.
This formula can be applied step by step to compute out
into the future and, hence, trace out the trajectory of the
solution.
Graphical depiction of a onestep method.