Lecture 2
Lecture 2
Department of Mathematics
BITS Pilani K K Birla Goa Campus, Goa
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 1 / 11
Variables Separable or Separable equations
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 2 / 11
Variables Separable or Separable equations
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 2 / 11
Variables Separable
Example: y (x 2 + 1) dy
dx = x
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 3 / 11
Variables Separable
Example: y (x 2 + 1) dy
dx = x
y2
√
Answer: 2 = log x2 + 1 + c
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 3 / 11
Variables Separable
Example: x dy 2
dx + y = y , y (1) = 2
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 4 / 11
Variables Separable
Example: x dy 2
dx + y = y , y (1) = 2
Answer: 2(y − 1) = xy
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 4 / 11
Homogeneous equations
A function f (x, y ) is called homogeneous of degree n if
f (tx, ty ) = t n f (x, y )
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 5 / 11
Homogeneous equations
A function f (x, y ) is called homogeneous of degree n if
f (tx, ty ) = t n f (x, y )
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 5 / 11
Homogeneous equations
A function f (x, y ) is called homogeneous of degree n if
f (tx, ty ) = t n f (x, y )
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 5 / 11
Homogeneous equations
A function f (x, y ) is called homogeneous of degree n if
f (tx, ty ) = t n f (x, y )
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 6 / 11
Homogeneous equations
The differential equation dy
dx
= f (x, y ) is called homogeneous if
f (x, y ) is homogeneous of degree 0.
Now consider homogeneous differential equation dy dx
= f (x, y ). So we
can able to separate the variables by substituting y = zx. How?
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 6 / 11
Homogeneous equations
The differential equation dy
dx
= f (x, y ) is called homogeneous if
f (x, y ) is homogeneous of degree 0.
Now consider homogeneous differential equation dy dx
= f (x, y ). So we
can able to separate the variables by substituting y = zx. How?
dy dz
Let y = zx then = z + x ; so the differential equation becomes
dx dx
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 6 / 11
Homogeneous equations
The differential equation dy
dx
= f (x, y ) is called homogeneous if
f (x, y ) is homogeneous of degree 0.
Now consider homogeneous differential equation dy dx
= f (x, y ). So we
can able to separate the variables by substituting y = zx. How?
dy dz
Let y = zx then = z + x ; so the differential equation becomes
dx dx
dz
z +x = f (x, zx) = x 0 f (1, z) = f (1, z).
dx
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 6 / 11
Homogeneous equations
The differential equation dy
dx
= f (x, y ) is called homogeneous if
f (x, y ) is homogeneous of degree 0.
Now consider homogeneous differential equation dy dx
= f (x, y ). So we
can able to separate the variables by substituting y = zx. How?
dy dz
Let y = zx then = z + x ; so the differential equation becomes
dx dx
dz
z +x = f (x, zx) = x 0 f (1, z) = f (1, z).
dx
The variables can be separated as:
dz dx
= .
f (1, z) − z x
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 6 / 11
Homogeneous equations
Example Solve (x + y )dx − (x − y )dy = 0.
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 7 / 11
Homogeneous equations
Example Solve (x + y )dx − (x − y )dy = 0.
dy x +y
The equation can be written as = .
dx x −y
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 7 / 11
Homogeneous equations
Example Solve (x + y )dx − (x − y )dy = 0.
dy x +y
The equation can be written as = .
dx x −y
Clearly the function on right is homogeneous function of degree 0.
So, we let y = zx and we get that
dz x + zx 1+z
z +x = = .
dx x − zx 1−z
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 7 / 11
Homogeneous equations
Example Solve (x + y )dx − (x − y )dy = 0.
dy x +y
The equation can be written as = .
dx x −y
Clearly the function on right is homogeneous function of degree 0.
So, we let y = zx and we get that
dz x + zx 1+z
z +x = = .
dx x − zx 1−z
By separating the variables, we obtain that
(1 − z)dz dx
2
= .
1+z x
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 7 / 11
Homogeneous equations
Example Solve (x + y )dx − (x − y )dy = 0.
dy x +y
The equation can be written as = .
dx x −y
Clearly the function on right is homogeneous function of degree 0.
So, we let y = zx and we get that
dz x + zx 1+z
z +x = = .
dx x − zx 1−z
By separating the variables, we obtain that
(1 − z)dz dx
2
= .
1+z x
On integration this yields
1
tan−1 (z) − log(1 + z 2 ) = log x + c,
2
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 7 / 11
Homogeneous equations
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 8 / 11
Problems
Verify that the following equations are homogeneous, and solve them:
x 2 y ′ − 3xy − 2y 2 = 0;
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 9 / 11
Problems
Verify that the following equations are homogeneous, and solve them:
x 2 y ′ − 3xy − 2y 2 = 0;
y dy y
xy sin = y sin + x;
x dx x
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 9 / 11
Problems
Verify that the following equations are homogeneous, and solve them:
x 2 y ′ − 3xy − 2y 2 = 0;
y dy y
xy sin = y sin + x;
x dx x
(x 3 + y 3 )dx − xy 2 dy = 0.
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 9 / 11
Substitution method
y ′ = f (ax + by + c)
y ′ = sin2 (x − y + 1).
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 10 / 11
Substitution method
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-2) August 05, 2024 11 / 11