Access free live classes and tests on the app
Download
+
Unacademy's Blog!
Login Join for Free
avtar
  • ProfileProfile
  • Settings Settings
  • Refer your friendsRefer your friends
  • Sign outSign out
  • Terms & conditions
  • •
  • Privacy policy
  • About
  • •
  • Careers
  • •
  • Blog

© 2023 Sorting Hat Technologies Pvt Ltd

Trending Topics

  • Comprehensive Guide for GATE Data Science
  • GATE PYQs Test Series (DS & AI Engineering)
  • GATE DS & AI UA Lite – 2026
  • Unacademy Subscription – GATE CSIT, DSAI & Interview Preparation
  • Foundation Batch for GATE & PSUs 2028 – DSAI 4.0
  • GATE Preparation Books

Related Links

  • What is gate
  • GATE 2026 Detailed Paper Analysis & Solution
  • Abhyaas : Practice Program Batch for GATE & ESE 2026 - CE
  • Starters Kit for GATE 2027 & 2028 - CE
  • Abhyaas : Practice Batch for GATE, ESE & PSUs 2026 - ME
  • Course On Measurements & Instrumentation
  • Starters Kit for GATE 2027 & 2028 - EC
  • Distance Learning Program for GATE - ECE 2025
  • Aasha : Batch for WBSEDCL JE Gr-II 2025
  • GATE Civil Engineering Syllabus 2026
  • GATE Exam Syllabus For Mechanical Engineering
  • Best GATE Preparation Books for ECE
  • How to Prepare for GATE CS & IT
  • GATE Preparation
Download previous years papers .

Trending Topics

  • Comprehensive Guide for GATE Data Science
  • GATE PYQs Test Series (DS & AI Engineering)
  • GATE DS & AI UA Lite – 2026
  • Unacademy Subscription – GATE CSIT, DSAI & Interview Preparation
  • Foundation Batch for GATE & PSUs 2028 – DSAI 4.0
  • GATE Preparation Books

Related Links

  • What is gate
  • GATE 2026 Detailed Paper Analysis & Solution
  • Abhyaas : Practice Program Batch for GATE & ESE 2026 - CE
  • Starters Kit for GATE 2027 & 2028 - CE
  • Abhyaas : Practice Batch for GATE, ESE & PSUs 2026 - ME
  • Course On Measurements & Instrumentation
  • Starters Kit for GATE 2027 & 2028 - EC
  • Distance Learning Program for GATE - ECE 2025
  • Aasha : Batch for WBSEDCL JE Gr-II 2025
  • GATE Civil Engineering Syllabus 2026
  • GATE Exam Syllabus For Mechanical Engineering
  • Best GATE Preparation Books for ECE
  • How to Prepare for GATE CS & IT
  • GATE Preparation
Download previous years papers .
GATE 2026 Exam Date Announced – Complete Schedule, Syllabus, and Key Details » GATE Study Materials » Civil Engineering » Linear and Non-Linear First Order Differential Equations (ODE)

Trending Topics

  • Comprehensive Guide for GATE Data Science
  • GATE PYQs Test Series (DS & AI Engineering)
  • GATE DS & AI UA Lite – 2026
  • Unacademy Subscription – GATE CSIT, DSAI & Interview Preparation
  • Foundation Batch for GATE & PSUs 2028 – DSAI 4.0
  • GATE Preparation Books

Related Links

  • What is gate
  • GATE 2026 Detailed Paper Analysis & Solution
  • Abhyaas : Practice Program Batch for GATE & ESE 2026 - CE
  • Starters Kit for GATE 2027 & 2028 - CE
  • Abhyaas : Practice Batch for GATE, ESE & PSUs 2026 - ME
  • Course On Measurements & Instrumentation
  • Starters Kit for GATE 2027 & 2028 - EC
  • Distance Learning Program for GATE - ECE 2025
  • Aasha : Batch for WBSEDCL JE Gr-II 2025
  • GATE Civil Engineering Syllabus 2026
  • GATE Exam Syllabus For Mechanical Engineering
  • Best GATE Preparation Books for ECE
  • How to Prepare for GATE CS & IT
  • GATE Preparation
Download previous years papers .

Linear and Non-Linear First Order Differential Equations (ODE)

Mathematically, an ordinary differential equation (ODE) is explained as a differential equation having one or more functions of only one independent variable and the derivatives of those functions.

Table of Content
  •  

Differential Equations

In mathematics, dy/dx + My = N takes the form of a linear differential equation given M and N are numeric constants or functions in x. It includes a y and its derivative. Here, the differential is of the first order, therefore it is called a first-order linear differential equation. The motive of solving an ordinary differential equation is to find out the function or function(s) that satisfy the given equation. There is three fundamental classifications of differential equation namely: Ordinary (ODE), Partial (PDE), or differential-algebraic (DAE). They can further be secluded based on their order, degree, and linearity. Hence, here are some ordinary differential equations examples: (dy/dx) = sin x (d2y/dx2) + c2y = 0 (rdr/dα) + cos α = 12 Generally, we come across three types of ordinary differential equations: autonomous ODEs, linear ODEs, and non-linear ODEs. In this field, several scientists like Newton, Leibniz, Riccati, and Bernoulli have put forward their theories. The elementary depiction of an ordinary differential equation is Newton’s Second Law of Motion which says – the link between the time t of an object and the displacement x under the force F is given by:
  1. d2x(t)/dt2 = F (x(t))
Here, F is referred to as a function of the particle’s position x(t) at time t. In modern agriculture, the implementation of an ordinary differential equation is necessary to assess the length of the trajectory of agricultural vehicles operating on sloping land. This constitutes a critical planning stage in optimizing agricultural mechanisms.

Ordinary Differential Equation

ODEs are explained as differential equations having one or more functions of only one independent variable and the derivatives of those functions. For the other two types of differential equations, it is possible to have derivatives of functions of more than one variable. These include partial, homogenous, and nonhomogenous differential equations. Provided, F is a function of p, q, and derivatives of q, then an equation can be noted as: F (p, q, q’, . . . , q(n-1)) = q(n). The equation is of the order n.

Ordinary Differential Equation Order

The highest derivative’s order is considered as the order of differential equations. An nth order ordinary differential equation is written as:  F(x, y, y’,…,yn) = 0. Here y’ is either dy/dx or dy/dt and yn can be dny/dxn or dny/dtn) For linear ODE, the equation is: p0(x)yn + p1(x)yn-1 + … +pn(x)y = q(x). The function p1(x) is a co-efficient of the linear equation.

First Order Differential Equations

First-order DEs are of the form dy/dx = f(x,y). The function f(x,y) is defined on a region of the XY plane. Two techniques are devised to solve the linear first-order differential equations namely: integrating method and method of variation constant. First-order DEs find use in solving problems based on Electrical circuits, falling bodies, Newton’s law of cooling, and dilution. Classification of differential equation of first order is given as follows:
  • Linear DEs
  • Homogenous DEs
  • Exact Equations
  • Separable Equations
  • Integrating Factor or IF
Two characteristics of first-order DEs are:
  • Logarithmic and trigonometric functions cannot be included.
  • The product of y and any of its derivatives cannot be there.
<br. Problem: Solve the equation y’ + 2xy = x
Here, the equation is already presented in standard form, y’ + P(x)y + Q(x)
So, P(x) = 2x and Q(x) = x
Let us multiply both sides by;
α(x) = e ∫Pdx = e ∫2xdx = ex2
ex2 + 2xex2y = xex2
d/dx(ex2y) = xex2
Integrate both sides,
ex2y = ∫ xex2dx
ex2y = ½. ex2+ k
y = ½ + ke-x2

Ordinary Differential Equations Examples

Problem  dx/dt+etx(t)=t2cos(t) 
(1) Initial condition be x(0)=5x(0)=5.
Solution:
To begin with, let’s calculate the integrating factor
μ(t)=e∫etdt=eet=exp(et)  [exp(x) is another way of writing ex].
Multiplying equation (1) by μ(t), now the left-hand side is the derivative of μ(t)x(t).
This can written as:
d/dt(exp(et)x(t)) = t2cos(t)exp(et).
To solve the ODE in terms of the initial conditions x(0), we integrate from 0 to t,
∫0t d/ds(exp(e8)x(s))ds = ∫0t s2cos(s)exp(es)ds
exp(et)x(t) – exp(e0)x(0) =∫0t s2cos(s)exp(es)ds
As we cannot find the integral analytically, we still consider the ordinary differential equation solved. Referring to the initial conditions x(0) = 5, we can write the solution of the ODE (1) as:
x(t)=5exp(1−et) +∫0t  s2cos(s)exp(e8−et)ds
You can find that x(t) satisfies the ODE (1) and the initial conditions x(0) = 5.
Problem
Cos2 𝑥 sin(𝑥) 𝑑𝑦/𝑑𝑥 + cos3 (𝑥) 𝑦 = 1
Solution:
First, let us change the equation to standard form from general.
𝑑𝑦/𝑑𝑥 + cos(𝑥)/sin(𝑥) 𝑦 = 1 /cos2(𝑥) sin(𝑥)
The integrating factor is:
𝑒 ∫cos(𝑥)/sin(𝑥) 𝑑𝑥 = 𝑒 ln |sin(𝑥)| = sin(𝑥)
Multiply the standard form with sin(𝑥),
sin(𝑥) 𝑑𝑦/𝑑𝑥 + cos(𝑥)𝑦 = 1/cos2 𝑥
∴ 𝑑/𝑑𝑥 [𝑦. sin(𝑥)] = 1/cos2(𝑥)
∴ 𝑦. sin(𝑥) = ∫sec2 (𝑥) 𝑑𝑥 = tan 𝑥 + 𝑐
∴ (𝑥) = 1/cos(𝑥) + 𝑐/sin(𝑥)
Or, ( 𝑥) = sec (𝑥) + 𝑐. csc(𝑥)

Conclusion

There are two types of ordinary differential equations: linear and non-linear. Linear DEs are linear in respect of both x(t) and its first-order derivative dx/dt (t). While non-linear DEs are not linear in the unknown function and their derivatives. Therefore, it cannot be written as x=Bx for some matrix B.

Trending Topics

  • Comprehensive Guide for GATE Data Science
  • GATE PYQs Test Series (DS & AI Engineering)
  • GATE DS & AI UA Lite – 2026
  • Unacademy Subscription – GATE CSIT, DSAI & Interview Preparation
  • Foundation Batch for GATE & PSUs 2028 – DSAI 4.0
  • GATE Preparation Books

Related Links

  • What is gate
  • GATE 2026 Detailed Paper Analysis & Solution
  • Abhyaas : Practice Program Batch for GATE & ESE 2026 – CE
  • Starters Kit for GATE 2027 & 2028 – CE
  • Abhyaas : Practice Batch for GATE, ESE & PSUs 2026 – ME
  • Course On Measurements & Instrumentation
  • Starters Kit for GATE 2027 & 2028 – EC
  • Distance Learning Program for GATE – ECE 2025
  • Aasha : Batch for WBSEDCL JE Gr-II 2025
  • GATE Civil Engineering Syllabus 2026
  • GATE Exam Syllabus For Mechanical Engineering
  • Best GATE Preparation Books for ECE
  • How to Prepare for GATE CS & IT
  • GATE Preparation
Download previous years papers
.

Trending Topics

  • Comprehensive Guide for GATE Data Science
  • GATE PYQs Test Series (DS & AI Engineering)
  • GATE DS & AI UA Lite – 2026
  • Unacademy Subscription – GATE CSIT, DSAI & Interview Preparation
  • Foundation Batch for GATE & PSUs 2028 – DSAI 4.0
  • GATE Preparation Books

Related Links

  • What is gate
  • GATE 2026 Detailed Paper Analysis & Solution
  • Abhyaas : Practice Program Batch for GATE & ESE 2026 – CE
  • Starters Kit for GATE 2027 & 2028 – CE
  • Abhyaas : Practice Batch for GATE, ESE & PSUs 2026 – ME
  • Course On Measurements & Instrumentation
  • Starters Kit for GATE 2027 & 2028 – EC
  • Distance Learning Program for GATE – ECE 2025
  • Aasha : Batch for WBSEDCL JE Gr-II 2025
  • GATE Civil Engineering Syllabus 2026
  • GATE Exam Syllabus For Mechanical Engineering
  • Best GATE Preparation Books for ECE
  • How to Prepare for GATE CS & IT
  • GATE Preparation
Download previous years papers
.
Company Logo

Unacademy is India’s largest online learning platform. Download our apps to start learning


Starting your preparation?

Call us and we will answer all your questions about learning on Unacademy

Call +91 8585858585

Company
About usShikshodayaCareers
we're hiring
BlogsPrivacy PolicyTerms and Conditions
Help & support
User GuidelinesSite MapRefund PolicyTakedown PolicyGrievance Redressal
Products
Learner appLearner appEducator appEducator appParent appParent app
Popular goals
IIT JEEUPSCSSCCSIR UGC NETNEET UG
Trending exams
GATECATCANTA UGC NETBank Exams
Study material
UPSC Study MaterialNEET UG Study MaterialCA Foundation Study MaterialJEE Study MaterialSSC Study Material

© 2026 Sorting Hat Technologies Pvt Ltd

Unacademy's Blog!

Share via

COPY