Ordinary differential equations of first order notes — Unit 1
Free unit-wise study notes on ordinary differential equations of first order for Engineering Mathematics II, Semester 2 of B.Tech — Computer Science & Engineering — key concepts, examples, important questions and a revision checklist for semester exams.
Comprehensive 18-page hand-written notes covering First Order Ordinary Differential Equations. Master Exact Equations, Integrating Factors, Bernoulli's Equation, and practical applications like Orthogonal Trajectories and Newton's Law of Cooling.
Notebook — 18 pages
Page 1
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
1. Intro to Differential Equations
An equation involving independent variables, dependent variables, and derivatives of dependent variables with respect to independent variables is called a Differential Equation.
⇒Order and Degree
Order: The highest order derivative present in the differential equation.
Degree: The highest power (exponent) of the highest order derivative, provided the equation is written as a polynomial in derivatives (i.e., free from radicals and fractions).
Page 2
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
2. Variable Separable Method
If a first-order, first-degree differential equation dxdy=f(x,y) can be expressed in the form f(x)dx+g(y)dy=0, then it is called variable separable.
1.Group all terms involving x and dx on one side.
2.Group all terms involving y and dy on the other side.
3.Integrate both sides independently.
4.Add an arbitrary constant C to one side of the equation.
Example: Solve dxdy=yx
⇒y,dy=x,dx ⇒∫y,dy=∫x,dx ⇒2y2=2x2+C
Page 3
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
3. Homogeneous Differential Eq.
A differential equation of the form dxdy=g(x,y)f(x,y) is Homogeneous if f(x,y) and g(x,y) are homogeneous functions of the same degree.
⇒Solution Method:
1.Substitute y=vx.
2.Differentiate with respect to x: dxdy=v+xdxdv.
3.Substitute these back into the original equation.
4.The equation will reduce to a Variable Separable form in terms of v and x.
5.Integrate and replace v with xy in the final answer.
Page 4
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
4. Reducible to Homogeneous
Equations of the form: dxdy=a2x+b2y+c2a1x+b1y+c1
⇒Case 1: If a2a1=b2b1
Put x=X+h and y=Y+k. Choose h and k such that the constants vanish: a1h+b1k+c1=0 and a2h+b2k+c2=0. The equation becomes homogeneous in X,Y.
⇒Case 2: If a2a1=b2b1=m
Put (a1x+b1y)=t and differentiate w.r.t x. The equation reduces directly to Variable Separable form.
Page 5
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
5. Exact Differential Equations
An equation M(x,y)dx+N(x,y)dy=0 is Exact if it is the total differential of some function U(x,y)=c (i.e., dU=0).
⇒Solution of an Exact Equation:
∫M,dx (treating y as constant);+;∫(terms in N free from x),dy=C
Page 6
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
6. Exact Eq. Example
Solve: (x2−y)dx+(y2−x)dy=0
Here, M=x2−y and N=y2−x.
∂y∂M=−1 and ∂x∂N=−1.
Since ∂y∂M=∂x∂N, the equation is Exact.
Integration: ∫(x2−y),dx [y is constant]=3x3−xy
∫(terms in N free from x),dy=∫y2,dy=3y3
Final Solution: 3x3−xy+3y3=C
Page 7
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
7. Integrating Factors (I.F.)
If Mdx+Ndy=0 is NOT exact (∂M/∂y=∂N/∂x), we multiply it by a suitable function u(x,y) called an Integrating Factor (I.F.) to make it exact.
⇒Rule 1: Homogeneous Equations
If M and N are homogeneous functions of the same degree, and Mx+Ny=0, then: I.F.=Mx+Ny1
⇒Rule 2: f1(xy)y,dx+f2(xy)x,dy=0
If the equation is of this form and Mx−Ny=0, then: I.F.=Mx−Ny1
Page 8
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
8. I.F. Rules 3 and 4
⇒Rule 3: Function of x alone
If N1(∂y∂M−∂x∂N)=f(x) (a function of x only or a constant), then: I.F.=e∫f(x),dx
⇒Rule 4: Function of y alone
If M1(∂x∂N−∂y∂M)=g(y) (a function of y only or a constant), then: I.F.=e∫g(y),dy
Page 9
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
9. Linear Differential Eq.
A first-order differential equation is linear if the dependent variable (y) and its derivative (dxdy) appear only in the first degree, and are not multiplied together.
Standard Form:dxdy+Py=Q where P and Q are functions of x only (or constants).
1.Identify P and Q.
2.Calculate the Integrating Factor: I.F.=e∫P,dx
3.Write the solution directly: y×(I.F.)=∫Q×(I.F.),dx+C
Page 10
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
10. Linear Eq. Example
Solve: dxdy+x1y=x2
Compare with dxdy+Py=Q. Here P=x1,Q=x2.
I.F.=e∫x1,dx=elnx=x.
Solution: y⋅(x)=∫(x2)⋅(x),dx+C
xy=∫x3,dx+C
xy=4x4+C
Page 11
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
11. Bernoulli's Equation
An equation of the form: dxdy+Py=Qyn where P and Q are functions of x alone, is called Bernoulli's Equation.
It is non-linear but can be reduced to a linear form.
1.Divide the entire equation by yn: y−ndxdy+Py1−n=Q
3.Substitute this back. The equation becomes a standard Linear Equation in v and x.
Page 12
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
12. Choosing the Right Method
During exams, the method is rarely given. Use this checklist in order:
ODE Decision Matrix
Condition
Method to Use
Can x and y terms be separated easily?
Variable Separable
Are all terms of the same degree?
Homogeneous (y=vx)
Is it in the form dxdy+P(x)y=Q(x)?
Linear Equation (I.F.)
Does it have a yn term on the RHS?
Bernoulli's Eq. (Reduce to Linear)
Is ∂M/∂y=∂N/∂x?
Exact Equation
None of the above?
Find an I.F. using Rules 1-4
Page 13
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
13. Orthogonal Trajectories
A curve that cuts every member of a given family of curves at a right angle (90∘) is called an Orthogonal Trajectory.
⇒Cartesian Coordinates (x,y):
1.Differentiate the given family equation f(x,y,c)=0 w.r.t x to find dxdy.
2.Eliminate the arbitrary constant c to form the differential equation.
3.Replace dxdy with −dydx (since product of perpendicular slopes is −1).
4.Solve the new differential equation to get the orthogonal family.
Page 14
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
14. O.T. in Polar Coordinates
For curves given in polar form r=f(θ):
1.Differentiate the given equation w.r.t θ to find dθdr.
2.Eliminate the arbitrary constant to form the differential equation.
3.Replace dθdr with −r2drdθ.
4.Solve the resulting differential equation to find the orthogonal trajectories.
Page 15
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
15. Newton's Law of Cooling
The rate of change of temperature of a body is proportional to the difference between its own temperature and the temperature of the surrounding medium.
dtdT=−k(T−Ts)
T = Temperature of the body at time t
Ts = Temperature of the surrounding (constant)
k = Positive constant of proportionality (the negative sign shows temp is decreasing)
This is a simple Variable Separable ODE. Integrating gives: ln(T−Ts)=−kt+C
Page 16
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
16. Simple Electrical Circuits
ODEs are heavily used to model transient currents in circuits.
⇒L-R Series Circuit
By Kirchhoff's Voltage Law, the sum of voltage drops across an Inductor (L) and a Resistor (R) equals the applied voltage E(t):
Ldtdi+Ri=E(t)
This is a standard First-Order Linear Differential Equation. Divide by L: dtdi+LRi=LE. Here, P=LR and I.F.=eRt/L.
Page 17
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
17. R-C Series Circuit
For a circuit with a Resistor (R) and a Capacitor (C):
Ri+C1q=E(t)
Since current i=dtdq, the equation becomes:
Rdtdq+C1q=E(t)
This is a linear ODE in terms of charge q. I.F.=et/RC. Once q(t) is found by integrating, differentiate it to find the transient current i(t).
Page 18
Wink Notes
B.Tech CSE — 2nd Semester
Engineering Mathematics II
— Unit - 1 —
18. Unit 1 Revision Checklist
⇒Test yourself before the exam:
Can I determine the order and degree of a complex ODE containing radicals?
What is the condition for an equation to be Exact?
If an equation is homogeneous, what substitution must I make?
Write the Integrating Factor formula for a Linear Differential Equation.
What substitution converts Bernoulli's equation into a linear equation?
In polar coordinates, what do you replace dr/dθ with to find orthogonal trajectories?