Lecture 2 Differential equations

Slides:



Advertisements
Similar presentations
Lecture 2 Free Vibration of Single Degree of Freedom Systems
Advertisements

Ch 3.8: Mechanical & Electrical Vibrations
Section 2.1 Introduction: Second-Order Linear Equations.
Lecture 3 Laplace transform
Lecture 4 Ordinary Differential Equations Purpose of lecture: Solve the full 2 nd order homogeneous ODE Solve these 2 nd order inhomogeneous ODEs Introduction.
A second order ordinary differential equation has the general form
Oscillators fall CM lecture, week 3, 17.Oct.2002, Zita, TESC Review forces and energies Oscillators are everywhere Restoring force Simple harmonic motion.
Harmonic Oscillator. Hooke’s Law  The Newtonian form of the spring force is Hooke’s Law. Restoring forceRestoring force Linear with displacement.Linear.
Math for CS Second Order Linear Differential Equations
The simple pendulum Energy approach q T m mg PH421:Oscillations F09
Copyright © Cengage Learning. All rights reserved. 17 Second-Order Differential Equations.
Ordinary Differential Equations Final Review Shurong Sun University of Jinan Semester 1,
1 Chapter 9 Differential Equations: Classical Methods A differential equation (DE) may be defined as an equation involving one or more derivatives of an.
Module 1 Introduction to Ordinary Differential Equations Mr Peter Bier.
Boyce/DiPrima 9 th ed, Ch 3.1: 2 nd Order Linear Homogeneous Equations-Constant Coefficients Elementary Differential Equations and Boundary Value Problems,
Solving the Harmonic Oscillator
Basic Mechanical Engineering Courses
Fall 2008Physics 231Lecture 10-1 Chapter 30 Inductance.
Motion of a mass at the end of a spring Differential equation for simple harmonic oscillation Amplitude, period, frequency and angular frequency Energetics.
9 Differential Equations. 9.1 Modeling with Differential Equations.
Chapter 4 Transients.
Harmonic Oscillation 1. If a force F acts on a spring, the length x changes. The change is proportional to the restoring force (Hooke’s Law). A spring.
Sheng-Fang Huang. Introduction If r (x) = 0 (that is, r (x) = 0 for all x considered; read “r (x) is identically zero”), then (1) reduces to (2) y"
ELECTRICA L ENGINEERING Principles and Applications SECOND EDITION ALLAN R. HAMBLEY ©2002 Prentice-Hall, Inc. Chapter 4 Transients Chapter 4 Transients.
1 Chapter 8 Ordinary differential equation Mathematical methods in the physical sciences 3rd edition Mary L. Boas Lecture 5 Introduction of ODE.
Chapter 19 MECHANICAL VIBRATIONS
Fin500J Topic 6Fall 2010 Olin Business School 1 Fin500J: Mathematical Foundations in Finance Topic 6: Ordinary Differential Equations Philip H. Dybvig.
Dr. Hatim Dirar Department of Physics, College of Science Imam Mohamad Ibn Saud Islamic University.
Mechanical Vibrations In many mechanical systems: The motion is an oscillation with the position of static equilibrium as the center.
Lecture 2 Differential equations
Oscillators fall CM lecture, week 4, 24.Oct.2002, Zita, TESC Review simple harmonic oscillators Examples and energy Damped harmonic motion Phase space.
Math 3120 Differential Equations with Boundary Value Problems
Differential Equations. Definition A differential equation is an equation involving derivatives of an unknown function and possibly the function itself.
Oscillations – motions that repeat themselves Period ( T ) – the time for one complete oscillation Frequency ( f ) – the number of oscillations completed.
1 Lecture D32 : Damped Free Vibration Spring-Dashpot-Mass System Spring Force k > 0 Dashpot c > 0 Newton’s Second Law (Define) Natural Frequency and Period.
Chapter 4 Transients. 1.Solve first-order RC or RL circuits. 2. Understand the concepts of transient response and steady-state response.
SECOND ORDER LINEAR Des WITH CONSTANT COEFFICIENTS.
The elements of higher mathematics Differential Equations
SECOND-ORDER DIFFERENTIAL EQUATIONS
Week 6 Second Order Transient Response. Topics Second Order Definition Dampening Parallel LC Forced and homogeneous solutions.
Oscillatory motion (chapter twelve)
Oscillations – motions that repeat themselves Period ( T ) – the time for one complete oscillation Frequency ( f ) – the number of oscillations completed.
Apply KCL to the top node ,we have We normalize the highest derivative by dividing by C , we get Since the highest derivative in the equation is.
Oscillations Different Situations.
Lecture 3 Ordinary Differential equations Purpose of lecture: Solve 1 st order ODE by substitution and separation Solve 2 nd order homogeneous ODE Derive.
1 Chapter 1 Introduction to Differential Equations 1.1 Introduction The mathematical formulation problems in engineering and science usually leads to equations.
Damped Free Oscillations
Differential Equations MTH 242 Lecture # 16 Dr. Manshoor Ahmed.
Lecture - 7 First order circuits. Outline First order circuits. The Natural Response of an RL Circuit. The Natural Response of an RC Circuit. The Step.
1 10. Harmonic oscillator Simple harmonic motion Harmonic oscillator is an example of periodic motion, where the displacement of a particle from.
PHY 151: Lecture Motion of an Object attached to a Spring 12.2 Particle in Simple Harmonic Motion 12.3 Energy of the Simple Harmonic Oscillator.
PRIOR READING: Main 1.1, 2.1 Taylor 5.1, 5.2 SIMPLE HARMONIC MOTION: NEWTON’S LAW
First Order Linear Differential Equations Any equation containing a derivative is called a differential equation. A function which satisfies the equation.
Ch. 12 Partial Differential Equations
Differential Equations
Engineering Analysis I
DIFFERENTIAL EQUATIONS
INSTITUTE OF TECHNOLOGY
10. Harmonic oscillator Simple harmonic motion
Differential Equations
EENG 2610: Circuit Analysis Class 13: Second-Order Circuits
2.3 Differential Operators.
Mathematical Modeling of Control Systems
Solving the Harmonic Oscillator
A second order ordinary differential equation has the general form
Theoretical Mechanics DYNAMICS
Engineering Analysis I
RAYAT SHIKSHAN SANSTHA’S S.M.JOSHI COLLEGE HADAPSAR, PUNE
Apply KCL to the top node ,we have We normalize the highest derivative by dividing by C , we get Since the highest derivative in the equation is.
Physics 319 Classical Mechanics
Presentation transcript:

Lecture 2 Differential equations Physics for informatics Lecture 2 Differential equations Ing. Jaroslav Jíra, CSc.

Basic division of differential equations According to type of derivation Ordinary Differential Equations – ODE They contain a function of one independent variable and its derivatives. Example: Partial Differential Equations - PDE They contain unknown multivariable functions and their partial derivatives. Example:

Types of Ordinary Differential Equations General definition of an ODE First order differential equations The highest derivative of the function y of independent variable they contain is one. Example: Higher order differential equations They contain at least second derivative of the function y Example:

Types of Ordinary Differential Equations Linear differential equations The function y appears just linearly here. There are no powers of the function y and its derivatives, there are no products of the funciton y and its derivatives. There are also no functions of the function y like sin(y), exp(y) etc. Example: Nonlinear differential equations If any of conditions previously defined for the linear DE is not met, then we talk about nonlinear DE. Example:

Types of Ordinary Differential Equations Homogeneous differential equations There is no constant or function of x on the right side of the equation. Example: Inhomogenous differential equations Exact opposite to the homogenous DE. Example:

Types of Ordinary Differential Equations Differential equations with constant coefficients The function y and all its derivatives are mutiplied just by constants. Example: Differential equations with variable coefficients The function y and its derivatives are mutiplied either by constants or by functions of x. Example:

How to solve differential equations The following methods will be mentioned subsequently Separation of variables – applicable to homogeneous first order ODEs and to specific types of inhomogeneous first order ODEs. Characteristic equation – applicable to homogeneous first order and higher order linear ODEs with constant coefficients Integrating factor – applicable to inhomogeneous first order and higher order linear ODEs. This method usually completes the solution of previous two methods for inhomogeneous equations.

First order inhomogenous linear differential equation with constant coefficients – separation of variables The most simple differential equation: where Integrating the last equation Example: Where x2+C is general solution of the differential equation Sometimes an additional condition is given like that means the function y(x) must pass through a point We have obtained a particular solution y(x)=x2 -1

First order homogenous linear differential equation with constant coefficients – separation of variables The general formula for such equation is Now we integrate both sides of the equation and then we apply an exponential function to it substituting we obtain general solution Where C is a constant resulting from the initial condition

First order homogenous linear differential equation with constant coefficients – characteristic equation The general formula for such equation is To solve this equation we assume the solution in the form of exponential function. If then and the equation changes into after dividing by the eλx we obtain This is the characteristic equation the solution is Where C is a constant resulting from the initial condition

Example of the first order linear ODE – RC circuit Find the time dependence of the electric current i(t) in the given circuit. Now we take the first derivative of the last equation with respect to time characteristic equation is Constant K can be calculated from initial conditions. We know that general solution is particular solution is

Solution of the RC circuit in the Mathematica Given values are R=1 kΩ; C=100 μF; u=10 V

First order inhomogenous linear differential equation with constant coefficients – integrating factor The general formula for such equation is Where P(x) and Q(x) are continuous functions of variable x. In the first step we omit the right side taking Q(x)=0 and than we can solve the homogeneous equation by separation of variables. Separation of variables gives us: Having solution of homogeneous part of the equation we can continue by looking for the integrating factor. Instead of constant C we are looking for a function C(x), which satisfies both homogeneous solution and the original differential equation.

If C(x) should be a function, then Substituting for y and y’ into the original equation we obtain and after small adjustment: Our integrating factor is: The general solution of this inhomogeneous equation is:

Example of the integrating factor solution – LR circuit Find the time dependence of the electric current i(t) in the given circuit. Firstly we have to solve homogeneous equation Solution of charact. equation In the second step we are looking for the integrating factor First derivative of the current

Substituting for i and di/dt into the original equation gives us General solution Knowing that initial current is zero i(0)=0, we can determine K2. Particular solution of the equation

Solution of the RC circuit in the Mathematica Given values are R=1 kΩ; L=100 mH; U=10 V

The general formula for such equation is Second order homogenous linear differential equation with constant coefficients The general formula for such equation is To solve this equation we assume the solution in the form of exponential function: If then and and the equation will change into after dividing by the eλx we obtain We obtained a quadratic characteristic equation. The roots are

There exist three types of solutions according to the discriminant D 1) If D>0, the roots λ1, λ2 are real and distinct 2) If D=0, the roots are real and identical λ12 =λ 3) If D<0, the roots are complex conjugate λ1, λ2 where α and ω are real and imaginary parts of the root

If we substitute we obtain This is general solution in some cases, but … Further substitution is sometimes used and then considering formula we finally obtain where amplitude A and phase φ are constants which can be obtained from initial conditions and ω is angular frequency. This example leads to an oscillatory motion.

Example of the second order LDE – a simple harmonic oscillator Evaluate the displacement x(t) of a body of mass m on a horizontal spring with spring constant k. There are no passive resistances. If the body is displaced from its equilibrium position (x=0), it experiences a restoring force F, proportional to the displacement x: From the second Newtons law of motion we know Characteristic equation is We have two complex conjugate roots with no real part

The general solution for our symbols is No real part of λ means α=0, and omega in our case The final general solution of this example is Answer: the body performs simple harmonic motion with amplitude A and phase φ. We need two initial conditions for determination of these constants. These conditions can be for example From the first condition From the second condition The particular solution is

Example 2 of the second order LDE – a damped harmonic oscillator The basic theory is the same like in case of the simple harmonic oscillator, but this time we take into account also damping. The damping is represented by the frictional force Ff, which is proportional to the velocity v. The total force acting on the body is The following substitutions are commonly used Characteristic equation is

Solution of the characteristic equation where δ is damping constant and ω is angular frequency There are three basic solutions according to the δ and ω. 1) δ>ω. Overdamped oscillator. The roots are real and distinct 2) δ=ω. Critical damping. The roots are real and identical. 3) δ<ω. Underdamped oscillator. The roots are complex conjugate.

Damped harmonic oscillator in the Mathematica Damping constant δ=1 [s-1], angular frequency ω=10 [s-1]

Damped harmonic oscillator in the Mathematica All three basic solutions together for ω=10 s-1 Overdamped oscillator, δ=20 s-1 Critically damped oscillator, δ=10 s-1 Underdamped oscillator, δ=1 s-1