Differential Equations | Engineering Mathematics - Civil Engineering (CE) PDF Download

Definition of Differential Equation

  • A differential equation is a special kind of equation that includes terms involving the derivatives of one variable (known as the dependent variable) with respect to another variable (known as the independent variable).
  • For instance, in the equation dy/dx = f(x), "x" is the independent variable, and "y" is the dependent variable.
  • Differential equations can have either partial derivatives or ordinary derivatives. The derivative measures the rate of change, and the differential equation expresses a relationship between a quantity that changes continuously and the change in another quantity.
  • There are various formulas and methods to solve these differential equations and find solutions for the derivatives.

Order of a differential equation

  • Order of a differential equation is defined as the order of the highest order derivative of the dependent variable with respect to the independent variable involved in the given differential equation. Consider the following differential equations:
    dy / dx = ex
    Differential Equations | Engineering Mathematics - Civil Engineering (CE)Differential Equations | Engineering Mathematics - Civil Engineering (CE)
  • The first, second, and third equations involve the highest derivative of first, second, and third order respectively. Therefore, the order of these equations are 1, 2, and 3 respectively. 

Degree of a differential equation

  • By the degree of a differential equation, when it is a polynomial equation in derivatives, we mean the highest power (positive integral index) of the highest order derivative involved in the given differential equation.
  • To study the degree of a differential equation, the key point is that the differential equation must be a polynomial equation in derivatives, i.e., y′, y″, y″′ etc. Consider the following differential equations:
    Differential Equations | Engineering Mathematics - Civil Engineering (CE)
  • We observe that first equation is a polynomial equation in y″′, y″ and y′ with degree 1,.
  • Second equation  is a polynomial equation in y′ (not a polynomial in y though) with degree of 2. Degree of such differential equations can be defined.
  • But third equation is not a polynomial equation in y′ and degree of such a differential equation can't be defined.

Note: Order and degree (if defined) of a differential equation are always positive integers. 

Example Find the order and degree, if defined, of each of the following differential equations:  
(i) dy/dx - cosx = 0
(ii) xy d2y/dx2 + x(dy/dx)2 - ydy/dx = 0
(ii) y''' + y2 + ey = 0

Solution 
(i) The highest order derivative present in the differential equation is dy / dx, so its order is one. It is a polynomial equation in y′ and the highest power raised to  dy / dx one, so its degree is one
(ii) The highest order derivative present in the given differential equation is d2y / dx2, so its order is two. It is a polynomial equation in d2y / dx2and dy/dx and the highest power raised to d2y / dx2 is one, so its degree is one
(iii) The highest order derivative present in the differential equation is y′′′, so its order is three. The given differential equation is not a polynomial equation in its derivatives and so its degree is not defined.

Question for Differential Equations
Try yourself:Find the order and degree, if defined, of the following differential equation: (dy/dx)2 + 2(dy/dx) - 3 = 0
View Solution

Separable differential equation

y' = A(x)B(y)

Example:

y' = ye-x   ⇒ y = 1/(e-x+ c)
RC circuits: 

  • Charging: Differential Equations | Engineering Mathematics - Civil Engineering (CE)
  • Discharging: IR = Q/C ⇒ Q = Qoe-1/RC

Linear Differential Equations

y'(x) + p(x)y(x) = q(x)

Integrating factor

I.F. = e∫p(x)dx

The solution of the Differential Equation written above is given by:

y.(I.F.) = ∫q(x). (I.F. )dx + c


Example: Solve, y' = 3x2- y/x             y(1) = 5

Sol: y' + y/x = 3x2

I.F. = e∫1/xdx = elnx = x

Therefore, y.x = ∫3x2.x dx+ c

yx = 3x4/4 + c

Now    y(1) = 5

Hence, 5x1 = 3x1/4 + c

c = 5-3/4 = 17/4

There the solution of a given differential equation is y(x) = 3x4/4 + 17/4

Exact Differential Equations

(a) Potential function

For M(x, y) + N(x, y)y' = 0 we can find a ∅(x, y) such that d∅/dx = M and d∅ / dy = N;  is the potential function;  M(x, y) + N(x, y)y' is exact.


(b) Exact differential equation

A potential function exists; general solution: ∅(x, y) =
Example: Differential Equations | Engineering Mathematics - Civil Engineering (CE)

Theorem: Test for exactness:Differential Equations | Engineering Mathematics - Civil Engineering (CE) 
Example:  x2 = 3xy + (4xy + 2x)y'= 0
ex sin y - 2x + (ex cosy + 1)y' = 0

Integrating Factors

(a) Integrating factor: μ(x, y) ‡ 0 such that μM(x,y) + μN(x,y)y' = 0 is exact.

Example: y2 - 6xy + (3xy - 6x2)y' = 0
(b) How to find integrating factor: Differential Equations | Engineering Mathematics - Civil Engineering (CE)
Example: x - xy - y'= 0
A. Separable equations and integrating factors: μ= 1/B
B. Linear equations and integrating factors: I.F. = e∫p(x)dx

Homogeneous and Bernoulli Equations


(a) Homogeneous differential equation: Differential Equations | Engineering Mathematics - Civil Engineering (CE); let y = ux separable.

Example: Differential Equations | Engineering Mathematics - Civil Engineering (CE).
(b) Bernoulli equation: Differential Equations | Engineering Mathematics - Civil Engineering (CE) y' = P(x)y = R(x)yα; α= 0 linear;α= 1
⇒ separable; otherwise, let v = y1-α ⇒ linear
Example: Differential Equations | Engineering Mathematics - Civil Engineering (CE)

Higher Order Linear Ordinary Differential Equations

(i) Homogeneous Linear ODEs

An linear ordinary differential equation of order n is said to be homogeneous if it is of the form

an(x)y(n) + an - 1(x)y(n - 1) + .... + a1(x)y' + a0 (x)y = 0


where y'= dy/dx i.e., if all the terms are proportional to a derivative of y (or y itself) and there is no term that contains a function of x alone.
However, there is also another entirely different meaning for a first-order ordinary differential equation, such an equation is said to be homogeneous if it can be written in the form dy/dx = F(y/x).

(i) Homogeneous Linear ODEs with constant coefficients

  1. Differential Equations | Engineering Mathematics - Civil Engineering (CE): Substituting y= eλx, we obtain the characteristic equation λn + an-1λn-1 + ...+ a1λ + a0 = 0.
    (a) Distinct real rootsThe general solution is Differential Equations | Engineering Mathematics - Civil Engineering (CE)
    Example: y''' - 2y'' - y' + 2y =0.
    Solution: y= c1e-x+ c2ex + c3e2x
    (b) Simple complex roots: Differential Equations | Engineering Mathematics - Civil Engineering (CE), y1 = epx cos(qx), y2 = epx sin(qx) .
    Example: y''' - y'' - 100y' + 100y =0.
    Solution: y = c1ex + c2 cos10x + c3 sin10x.
    (c) Multiple real roots: If λ is a real root of order m, then corresponding linearly independent solutions are: eλx,xeλx, x2eλx,xm-1eλx .
    Example: y(5) - 3y(4) + 3y''' - y'' = 0.
    Solution: y = c1 + c2x + (c+ c4x + c5x2)ex.
    (d) Multiple complex roots: If Differential Equations | Engineering Mathematics - Civil Engineering (CE) are complex double roots, the corresponding linearly independent solutions are:
    epx cos(qx), epx sin(qx),xepx cos(qx), xepx sin(qx), .
  2. Convert the higher-order differential equation to a system of first-order equations.
    Example: Differential Equations | Engineering Mathematics - Civil Engineering (CE).

(ii) Non - Homogeneous Linear ODEs

  1.  y(n) + pn-1(x)y(n-1) + ...+ p1(x)y' + p0(x)y = g(x)  the general solution is of the form: y = yh + yp where yh is the homogeneous solution and yis a particular solution.
  2.  Method of undermined coefficients
    Example: y'''+ 3y'' + 3y'+y = 30e
    Solution:  y = (c1 + c2x + c3x2)e-x + 5x3e-x
  3. Method of variation of parameters:
    yp = u1y1 +...+ unyn
    where Differential Equations | Engineering Mathematics - Civil Engineering (CE), k = 1,...., n.
    Example: Differential Equations | Engineering Mathematics - Civil Engineering (CE).
    Solution: Differential Equations | Engineering Mathematics - Civil Engineering (CE).

Question for Differential Equations
Try yourself: Which of the following statements is correct regarding separable differential equations?
View Solution

Points to Remember

  1. F(x,y,y', ....y(n)) = 0, a nth order ODE if the nth derivative Differential Equations | Engineering Mathematics - Civil Engineering (CE) of the unknown function y(x) is the highest occurring derivative.
  2. Linear ODE: y(n) + pn - 1(x)y(n - 1) + ...+ p1(x)y' + p0(x)y = g(x)
  3. Homogeneous linear ODE: y(n) + pn - 1(x)y(n - 1) + ...+ p1(x)y' + p0(x)y = g(x) = 0
    Theorem: Fundamental Theorem for the Homogeneous Linear ODE: For a homogeneous linear ODE, sums and constant multiples of solutions on some open interval I are again solutions on I. (This does not hold for a nonhomogeneous or nonlinear ODE!).
    General solution: y= c1y1+...+ cnyn, where y1,....,yn is a basis (or fundamental system) of solutions on I; that is, these solutions are linearly independent on I.
  4. Linear independence and dependence: n functions y1,....,yn are called linearly independent on some interval I where they are defined if the equation k1y1,....,knyn = 0  on I implies that all k1,....,kn are zero. These functions are called linearly dependent on I if this equation also holds on I for some k1,....,kn not all zero.
    Example: Differential Equations | Engineering Mathematics - Civil Engineering (CE).  Sol.:  y = c1e-2x + c2e-x + c3ex + c4e2x
    Theorem: Let the homogeneous linear ODE have continuous coefficients p0(x),... , pn-1(x) on an open interval I. Then n solutions y1,....,yn on I are linearly dependent on I if and only if their Wronskian is zero for some x= x0 in I. Furthermore, if W is zero for x= x0, then W is identically zero on I. Hence if there is an Differential Equations | Engineering Mathematics - Civil Engineering (CE) in I at which W is not zero, then y1,....,yn are linearly independent on I, so that they form a basis of solutions of the homogeneous linear ODE on I.
    Wronskian: Differential Equations | Engineering Mathematics - Civil Engineering (CE)
  5. Initial value problem: An ODE with n initial conditions y(x0) =K0, y'(x0) = K1, yn-1(x0) = Kn .

Example 1. Determine the order and degree of Differential Equations | Engineering Mathematics - Civil Engineering (CE)

Solution: The given differential equation when written as a polynomial in derivatives becomes
Differential Equations | Engineering Mathematics - Civil Engineering (CE)
The highest order differential coefficient in this equation is Differential Equations | Engineering Mathematics - Civil Engineering (CE)and its power is 2.
The order is 2 and degree is 2.

Example 2. Solve dy/dx = (x + y + 1)2, if y(0) =0
Solution: 
Putting x + y + 1 = t, we get Differential Equations | Engineering Mathematics - Civil Engineering (CE)
Thus, the given equation becomes Differential Equations | Engineering Mathematics - Civil Engineering (CE)
Thus, the given equation becomes Differential Equations | Engineering Mathematics - Civil Engineering (CE)orDifferential Equations | Engineering Mathematics - Civil Engineering (CE)
Integrating both side, we get
Differential Equations | Engineering Mathematics - Civil Engineering (CE)
or tan-1 t = x + c ⇒ tan-1(x + y + 1) = x + c
⇒ x + y + 1 = tan (x + c) When x = 0, y = 0 1 = tan (c)
⇒ c = p/4
Thus, the solution is given by x + y + 1 tan (x + p/4).

Example 3. Solve the differential equation (x2 – y2) dx + 2xy dy = 0, given that y = 1 when x = 1
Solution: 
We have (x2 – y2)dx + 2xy dy = 0
(x2 – y2)dx = - 2xydy
Differential Equations | Engineering Mathematics - Civil Engineering (CE)...(i)
Differential Equations | Engineering Mathematics - Civil Engineering (CE)
⇒ log ( v2 + 1) = - log | x | +c
⇒ log(v2 + 1) + log|x| = logc
⇒ (v2 + 1)|x| = c
Now putting v = y/x
(y2/x2 + 1)|x| = c
⇒ (x2 + y2) = c|x|
Substituting x = 1 and y = 1, we get
c =2
Putting value of c = 2 in equation (2), we get
x2 + y2 = 2x or x2 + y2 = 2(-x).
Hence, x2 + y2 = 2x is the required solution.

The document Differential Equations | Engineering Mathematics - Civil Engineering (CE) is a part of the Civil Engineering (CE) Course Engineering Mathematics.
All you need of Civil Engineering (CE) at this link: Civil Engineering (CE)
65 videos|120 docs|94 tests

Top Courses for Civil Engineering (CE)

FAQs on Differential Equations - Engineering Mathematics - Civil Engineering (CE)

1. What is the order of a differential equation?
Ans. The order of a differential equation is the highest order derivative present in the equation.
2. What is the degree of a differential equation?
Ans. The degree of a differential equation is the power to which the highest order derivative is raised in the equation after it has been simplified.
3. What is a separable differential equation?
Ans. A separable differential equation is a type of equation where the variables can be separated and integrated separately.
4. What are linear differential equations?
Ans. Linear differential equations are equations in which the dependent variable and its derivatives appear linearly, with no products or powers of the dependent variable or its derivatives.
5. What are exact differential equations?
Ans. Exact differential equations are equations that can be solved by finding a function whose total differential is equal to the given equation.
65 videos|120 docs|94 tests
Download as PDF
Explore Courses for Civil Engineering (CE) exam

Top Courses for Civil Engineering (CE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Sample Paper

,

Important questions

,

Semester Notes

,

Differential Equations | Engineering Mathematics - Civil Engineering (CE)

,

Differential Equations | Engineering Mathematics - Civil Engineering (CE)

,

shortcuts and tricks

,

Objective type Questions

,

pdf

,

Previous Year Questions with Solutions

,

Exam

,

ppt

,

Summary

,

study material

,

video lectures

,

mock tests for examination

,

Extra Questions

,

MCQs

,

past year papers

,

Differential Equations | Engineering Mathematics - Civil Engineering (CE)

,

Viva Questions

,

practice quizzes

,

Free

;