Access free live classes and tests on the app
Download
+
Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA
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

Watch Free Classes
    • GATE 2024
    • GATE 2024 Question Papers
    • GATE Notes by Jaspal Singh
    • GATE Notes by S K Mondal
    • Downloads
    • GATE 2024 Rank Predictor
    • Notifications
    • MCQs
    • Question Bank
    • Video Lectures
    • Study Materials
    • PSU Recruitment
    • Difference Between
    • Full Forms
    • Exam Tips
    • GATE Books
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)
Prepare for GATE & ESE

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.

Crack GATE with Unacademy

Get subscription and access unlimited live and recorded courses from India’s best educators

  • Structured syllabus
  • Daily live classes
  • Ask doubts
  • Tests & practice
Learn more

Notifications

Get all the important information related to the GATE Exam including the process of application, important calendar dates, eligibility criteria, exam centers etc.

Complete Guide to GATE 2025 Syllabus for CSE with Subject-wise Weightage – Quick Guide
GATE 2012 Questions with Answers
GATE 2013 Question with Answers
GATE 2014 Question with Answers
GATE 2015 Questions with Answers
GATE 2016 Questions with Answers
GATE 2017 Questions with Answers
GATE 2018 Questions with Answers
GATE 2019 Questions with Answers
GATE 2020 Question Paper with Answer: Download PDFs
GATE 2021 Questions with Answers
GATE 2022 Rankers Summit
GATE 2023 Admit Card – Release Date, How to Download & Direct Link
GATE 2023 Exam Dates
GATE 2024 Registration – Application Form at gate2024.iisc.ac.in
GATE 2026 Detailed Paper Analysis & Solution
GATE CS & IT Engineering Previous Year Questions with Answers
GATE Cutoff 2023 – Brach-wise and Category-wise cut-off
GATE Electrical Engineering Previous Year Questions with Answers
GATE Electronics and Communication Engineering (ECE) Previous Year Questions with Answers
GATE Eligibility Criteria 2026: Age Restrictions, Qualifications, and Applicants
GATE Exam Calendar 2023
GATE Exam Pattern 2023 – New Test Structure, Paper Pattern, Marking Scheme for all papers
GATE Mechanical Engineering Previous Year Questions with Answers
GATE Previous Year Question Papers with Solution – Download PDFs
GATE Previous Year Question Papers with Solutions for Civil Engineering
GATE Result 2023 Out – Steps to check GATE Result
GATE Syllabus 2026: Download GATE Syllabus PDF
See all

Related articles

Learn more topics related to Civil Engineering
Weirs and Notches

Weirs and notches are the tools in agricultural engineering that are basically used to measure the flow of the water and also to discharge the extra flow from the water bodies. These are of various type and size which is basically used in water bodies or any device which is made for storing the water

Vector Differentiation

In this article, the Agricultural Engineering topic of differentiation will be carefully analysed. Under this chief topic, the subtopics that will be discussed thoroughly include vector differentiation, differentiation calculator, and partial derivative calculator.

Types of Leveling

This study highlights various levelling in agricultural engineering, some of them are “reciprocal levelling”, “different levelling”, “trigonometric levelling” and others. These types of levelling become integral regarding the measure of the sample in the agricultural points of view.

Total Differentiation

This write-up is based on the introduction of differentiation, differentiation calculator, differentiation example, and partial derivative calculator.

See all
Access more than

10,997+ courses for GATE & ESE

Get subscription
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
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA

Share via

COPY