Study guide

7.4 Area Under Curves & First-Order Differential Equations

Pakistan ECAT Engineering Colleges Admission Test

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: ECAT Exam Structure, Scoring & Strategy

1.1 ECAT Exam Pattern, Scoring Scheme & UET Merit Aggregate 1.2 Time Management, Pacing & MCQ Problem-Solving Tactics

2 Chapter 2: Mathematics — Number Systems, Sets & Algebra

2.1 Real Numbers, Sets, Logic, Binary Operations & Groups 2.2 Complex Numbers, Modulus, Conjugates & De Moivre's Theorem 2.3 Matrices, Determinants, Inverses & Systems of Linear Equations 2.4 Quadratic Equations, Relations Between Roots & Factor/Remainder Theorems

3 Chapter 3: Mathematics — Sequences, Series & Combinatorics

3.1 Arithmetic, Geometric & Harmonic Progressions (AP, GP, HP) 3.2 Permutations, Combinations & Probability Distributions 3.3 Mathematical Induction & the Binomial Theorem

4 Chapter 4: Mathematics — Trigonometry & Trigonometric Equations

4.1 Fundamental Trigonometric Identities & Angle Addition Formulas 4.2 Graphs of Trigonometric Functions & Inverse Trigonometric Functions 4.3 Solutions of Triangles (Sine/Cosine Laws) & Trigonometric Equations

5 Chapter 5: Mathematics — Functions, Limits & Continuity

5.1 Real-Valued Functions, Types, Domains & Ranges 5.2 Limits of Functions, Indeterminate Forms & Squeeze Theorem 5.3 Continuity, Types of Discontinuity & Asymptotes

6 Chapter 6: Mathematics — Differential Calculus

6.1 Definition of Derivative, Power, Product, Quotient & Chain Rules 6.2 Derivatives of Trigonometric, Exponential & Logarithmic Functions 6.3 Implicit Differentiation, Parametric Equations & Higher-Order Derivatives 6.4 Tangents, Normals, Increasing/Decreasing Functions & Extrema

7 Chapter 7: Mathematics — Integral Calculus

7.1 Indefinite Integration Formulas & Integration by Substitution 7.2 Integration by Parts & Partial Fractions 7.3 Definite Integrals, Properties & Fundamental Theorem of Calculus 7.4 Area Under Curves & First-Order Differential Equations

8 Chapter 8: Mathematics — Analytic Geometry, Linear Programming & Vectors

8.1 Coordinates, Slopes, Straight Line Equations & Distances 8.2 Linear Inequalities & Linear Programming 8.3 Circle Equations, Tangents, Normals & Intersections 8.4 Conic Sections: Parabola, Ellipse & Hyperbola Characteristics 8.5 Vectors in 2D and 3D, Dot Product, Cross Product & Scalar Triple Product

9 Chapter 9: Physics — Measurements, Vectors & Equilibrium

9.1 Physical Quantities, SI Units, Errors & Dimensional Analysis 9.2 Vector Addition, Components, Scalar & Vector Products in Physics 9.3 Equilibrium Conditions, Torque & Rotational Equilibrium

10 Chapter 10: Physics — Kinematics, Dynamics & Energy

10.1 Kinematics: Displacement, Velocity, Acceleration & Motion Equations 10.2 Newton's Laws of Motion, Momentum, Impulse & Elastic Collisions 10.3 Projectile Motion: Trajectory, Height, Flight Time & Range 10.4 Work, Energy, Work-Energy Theorem, Conservative Forces & Power

11 Chapter 11: Physics — Circular Motion, Gravitation, Fluids & Oscillations

11.1 Uniform Circular Motion, Centripetal Force & Moment of Inertia 11.2 Gravitation, Escape Velocity, Satellites & Weightlessness 11.3 Viscosity, Drag Force, Equation of Continuity & Bernoulli's Principle 11.4 Simple Harmonic Motion (SHM), Pendulum, Mass-Spring & Resonance

12 Chapter 12: Physics — Waves, Optics, Optical Instruments & Thermodynamics

12.1 Waves, Speed of Sound, Standing Waves & Doppler Effect 12.2 Wave Theory of Light, Interference & Young's Double-Slit Experiment 12.3 Diffraction Grating, Resolving Power & Polarization of Light 12.4 Optical Instruments: Magnifiers, Microscopes, Telescopes, Spectrometer & Fibre Optics 12.5 Kinetic Theory of Gases, First Law, Heat Engines & Carnot Cycle

13 Chapter 13: Physics — Electrostatics, Current Electricity & Electromagnetism

13.1 Coulomb's Law, Electric Fields, Gauss's Law & Capacitors 13.2 Electric Current, Resistance, Ohm's Law, Kirchhoff's Rules & Potentiometer 13.3 Magnetic Fields, Ampere's Law, Faraday's Law, Lenz's Law & Transformers

14 Chapter 14: Physics — Alternating Current, Physics of Solids & Electronics

14.1 Alternating Current: RMS Values, Reactance, Impedance, Resonance & Power 14.2 Physics of Solids: Elasticity, Band Theory, Superconductors & Magnetic Materials 14.3 Electronics: p-n Junction, Rectifiers, Transistors, Op-Amps & Logic Gates

15 Chapter 15: Physics — Modern, Atomic & Nuclear Physics

15.1 Special Relativity, Mass–Energy Equivalence, Pair Production & Annihilation 15.2 Photoelectric Effect, Photons, Atomic Spectra, X-Rays & Nuclear Reactions 15.3 Lasers, Nuclear Reactors, Radiation Detectors, Dosimetry & Elementary Particles

16 Chapter 16: Chemistry — Basic Concepts, Atomic Structure, Bonding & States of Matter

16.1 Mole Concept, Stoichiometry, Limiting Reactants, Isotopes & Experimental Techniques 16.2 Atomic Structure, Bohr's Model, Quantum Numbers & Electronic Configurations 16.3 Chemical Bonding: Ionic, Covalent & Coordinate Bonds, VSEPR, Hybridization & MOT 16.4 Gas Laws, Ideal Gas Equation, Kinetic Molecular Theory & Real Gases 16.5 Liquids, Intermolecular Forces, Hydrogen Bonding & Crystal Lattices

17 Chapter 17: Chemistry — Energetics, Equilibrium & Kinetics

17.1 Enthalpy Changes, Calorimetry, Hess's Law & Born-Haber Cycle 17.2 Reversible Reactions, Equilibrium Constants (Kc, Kp), Le Chatelier & Ksp 17.3 Solutions, Concentration Units, Colligative Properties & Raoult's Law 17.4 Reaction Rates, Rate Equations, Order of Reaction & Activation Energy

18 Chapter 18: Chemistry — Periodic Trends, s-, p- & d-Block Elements & Electrochemistry

18.1 Periodic Trends: Atomic Radii, Ionization Energies & Electronegativities 18.2 Chemistry of s-Block and p-Block Elements (Groups I, II, III, IV, VII) 18.3 Groups V-A & VI-A: Nitrogen, Phosphorus, Oxygen & Sulphur Compounds 18.4 Transition Elements: Electronic Configurations, Complexes & Colors 18.5 Oxidation Numbers, Electrochemical Cells, Standard Potentials & Batteries

19 Chapter 19: Chemistry — Organic Chemistry & Reaction Mechanisms

19.1 Organic Functional Groups, IUPAC Nomenclature & Structural/Stereoisomerism 19.2 Aliphatic Hydrocarbons: Alkanes, Alkenes, Alkynes & Addition Reactions 19.3 Benzene: Electronic Structure, Resonance Stability & Electrophilic Substitution 19.4 Alkyl Halides (SN1/SN2), Grignard Reagents & Functional-Group Tests 19.5 Alcohols, Phenols & Ethers: Preparation and Reactions 19.6 Aldehydes, Ketones, Carboxylic Acids, Acid Derivatives & Amino Acids

20 Chapter 20: Chemistry — Macromolecules, Chemical Industries & Environment

20.1 Macromolecules: Polymers, Carbohydrates, Proteins, Lipids, Enzymes & Nucleic Acids 20.2 Chemical Industries in Pakistan & Environmental Chemistry

21 Chapter 21: English — Reading Comprehension, Vocabulary & Grammar

21.1 Reading Comprehension Strategies, Main Ideas, Inferences & Tone 21.2 Academic Vocabulary, Context Clues, Synonyms & Antonyms 21.3 Subject-Verb Agreement, Tenses & Grammatical Concord 21.4 Sentence Correction, Parallelism, Modifiers & Prepositions

7.4 Area Under Curves & First-Order Differential Equations

Key Takeaways Explain This Topic AI

The definite integral evaluates signed net area; computing the physical geometric area bounded by y = f ( x ) y = f(x) y = f ( x ) and the x x x -axis requires partitioning at roots to integrate absolute magnitudes: A = ∫ a b ∣ f ( x ) ∣ d x A = \int_a^b |f(x)| dx A = ∫ a b ​ ∣ f ( x ) ∣ d x .

The area bounded between two continuous curves y = f ( x ) y = f(x) y = f ( x ) and y = g ( x ) y = g(x) y = g ( x ) from x = a x = a x = a to x = b x = b x = b is given by A = ∫ a b [ y upper − y lower ] d x A = \int_a^b [y_{\text{upper}} - y_{\text{lower}}] dx A = ∫ a b ​ [ y upper ​ − y lower ​ ] d x , independent of whether the curves lie above or below the x x x -axis.

Archimedes' parabolic shortcut establishes that the area bounded by a standard parabola and a chord perpendicular to its axis of symmetry is precisely two-thirds of the circumscribed rectangle: A = 2 3 × base × height A = \frac{2}{3} \times \text{base} \times \text{height} A = 3 2 ​ × base × height , solving standard ECAT area questions in under 20 seconds.

First-order differential equations are classified by order (the highest derivative present, which equals 1) and degree (the algebraic power of that highest derivative after eliminating all fractional powers and radical expressions).

Linear first-order differential equations in standard Leibniz form d y d x + P ( x ) y = Q ( x ) \frac{dy}{dx} + P(x)y = Q(x) d x d y ​ + P ( x ) y = Q ( x ) are solved using the integrating factor I ( x ) = e ∫ P ( x ) d x I(x) = e^{\int P(x) dx} I ( x ) = e ∫ P ( x ) d x , yielding the closed-form general solution y ⋅ I ( x ) = ∫ Q ( x ) I ( x ) d x + c y \cdot I(x) = \int Q(x) I(x) dx + c y ⋅ I ( x ) = ∫ Q ( x ) I ( x ) d x + c .

Last updated: October 2026

Area Under Curves & First-Order Differential Equations

The practical power of integral calculus is demonstrated across two vital engineering domains: determining planar areas bounded by geometric curves and solving differential equations that govern dynamic physical systems. Both topics constitute core components of intermediate mathematics (FSc Part II) and feature prominently on the UET ECAT. Engineering entrance questions test not only your ability to perform rigorous integration, but also your proficiency with geometric shortcuts (such as Archimedes' parabolic area formula) and rapid differential equation classification. This section explores geometric area calculations, establishes rigorous sign-management principles, defines differential order and degree, and provides systematic solution blueprints for first-order ordinary differential equations.

  • 1. Geometric Interpretation of Definite Integrals & Planar Area
  • Net Signed Area vs. Geometric Physical Area

When a curve y = f ( x ) y = f(x) y = f ( x ) lies entirely above the x x x -axis on [ a , b ] [a, b] [ a , b ] , the definite integral ∫ a b f ( x ) d x \int_a^b f(x) dx ∫ a b ​ f ( x ) d x evaluates the exact geometric area enclosed between the curve, the x x x -axis, and the vertical lines x = a x = a x = a and x = b x = b x = b . However, if f ( x ) f(x) f ( x ) drops below the x x x -axis, the function values are negative, and the Riemann sum evaluates these regions with a negative algebraic sign. The definite integral calculates the net signed area :

Net Signed Area = ∫ a b f ( x ) d x = A above − A below \text{Net Signed Area} = \int_a^b f(x) dx = A_{\text{above}} - A_{\text{below}} Net Signed Area = ∫ a b ​ f ( x ) d x = A above ​ − A below ​

To compute the true total geometric area A A A , one must integrate the absolute value of the function:

  • A = ∫ a b ∣ f ( x ) ∣ d x A = \int_a^b |f(x)| dx A = ∫ a b ​ ∣ f ( x ) ∣ d x
  • Systematic Three-Step Procedure for Single-Curve Area

Find Real Roots: Solve f ( x ) = 0 f(x) = 0 f ( x ) = 0 on the interval [ a , b ] [a, b] [ a , b ] to identify all x x x -intercepts where the curve crosses the axis.

Partition Interval: Subdivide [ a , b ] [a, b] [ a , b ] at each root into subintervals where f ( x ) f(x) f ( x ) maintains a constant sign.

Sum Absolute Magnitudes: Integrate f ( x ) f(x) f ( x ) over each subinterval, taking the absolute value of each resulting quantity: A = ∣ ∫ a c 1 f ( x ) d x ∣ + ∣ ∫ c 1 c 2 f ( x ) d x ∣ + ⋯ + ∣ ∫ c k b f ( x ) d x ∣ A = \left| \int_a^{c_1} f(x) dx \right| + \left| \int_{c_1}^{c_2} f(x) dx \right| + \dots + \left| \int_{c_k}^b f(x) dx \right| A = ​ ∫ a c 1 ​ ​ f ( x ) d x ​ + ​ ∫ c 1 ​ c 2 ​ ​ f ( x ) d x ​ + ⋯ + ​ ∫ c k ​ b ​ f ( x ) d x ​

ECAT Walkthrough Example: Find the total area bounded by y = sin ⁡ x y = \sin x y = sin x and the x x x -axis from x = 0 x = 0 x = 0 to x = 2 π x = 2\pi x = 2 π .

If you blindly integrate without splitting: ∫ 0 2 π sin ⁡ x d x = [ − cos ⁡ x ] 0 2 π = − 1 − ( − 1 ) = 0 \int_0^{2\pi} \sin x dx = [-\cos x]_0^{2\pi} = -1 - (-1) = 0 ∫ 0 2 π ​ sin x d x = [ − cos x ] 0 2 π ​ = − 1 − ( − 1 ) = 0 , which is geometrically absurd!

The root on ( 0 , 2 π ) (0, 2\pi) ( 0 , 2 π ) is x = π x = \pi x = π .

Partition at π \pi π : A 1 = ∫ 0 π sin ⁡ x d x = [ − cos ⁡ x ] 0 π = − ( − 1 ) − ( − 1 ) = 2 A_1 = \int_0^\pi \sin x dx = [-\cos x]_0^\pi = -(-1) - (-1) = 2 A 1 ​ = ∫ 0 π ​ sin x d x = [ − cos x ] 0 π ​ = − ( − 1 ) − ( − 1 ) = 2 A 2 = ∫ π 2 π sin ⁡ x d x = [ − cos ⁡ x ] π 2 π = − 1 − ( − ( − 1 ) ) = − 2 ⟹ ∣ A 2 ∣ = 2 A_2 = \int_\pi^{2\pi} \sin x dx = [-\cos x]_\pi^{2\pi} = -1 - (-(-1)) = -2 \implies |A_2| = 2 A 2 ​ = ∫ π 2 π ​ sin x d x = [ − cos x ] π 2 π ​ = − 1 − ( − ( − 1 )) = − 2 ⟹ ∣ A 2 ​ ∣ = 2

Total geometric area: A = 2 + 2 = 4 A = 2 + 2 = 4 A = 2 + 2 = 4 square units.

Area Bounded with Respect to the y y y -Axis

When a curve is given by x = g ( y ) x = g(y) x = g ( y ) , bounded by the y y y -axis and horizontal lines y = c y = c y = c and y = d y = d y = d :

  • A = ∫ c d ∣ g ( y ) ∣ d y A = \int_c^d |g(y)| dy A = ∫ c d ​ ∣ g ( y ) ∣ d y
  • 2. Area Bounded Between Two Curves
  • General Formulation

If f ( x ) f(x) f ( x ) and g ( x ) g(x) g ( x ) are continuous functions such that f ( x ) ≥ g ( x ) f(x) \ge g(x) f ( x ) ≥ g ( x ) for all x ∈ [ a , b ] x \in [a, b] x ∈ [ a , b ] , the area bounded between the two curves from x = a x = a x = a to x = b x = b x = b is the integral of the vertical difference:

A = ∫ a b [ y upper − y lower ] d x = ∫ a b [ f ( x ) − g ( x ) ] d x A = \int_a^b [y_{\text{upper}} - y_{\text{lower}}] dx = \int_a^b [f(x) - g(x)] dx A = ∫ a b ​ [ y upper ​ − y lower ​ ] d x = ∫ a b ​ [ f ( x ) − g ( x )] d x

Critical Insight: This formula holds strictly true regardless of whether both curves lie above the x x x -axis, both lie below the x x x -axis, or one lies above and one below. The vertical height of a representative strip is always y upper − y lower y_{\text{upper}} - y_{\text{lower}} y upper ​ − y lower ​ .

Integration Along the y y y -Axis

When curves are expressed more simply as functions of y y y , such as horizontal parabolas x = f ( y ) x = f(y) x = f ( y ) , vertical strips are replaced with horizontal strips of width d y dy d y and length x right − x left x_{\text{right}} - x_{\text{left}} x right ​ − x left ​ :

A = ∫ c d [ x right − x left ] d y A = \int_c^d [x_{\text{right}} - x_{\text{left}}] dy A = ∫ c d ​ [ x right ​ − x left ​ ] d y

3. High-Speed ECAT Area Shortcuts (Archimedes' Theorems)

Manually solving for intersection limits and integrating quadratic polynomials consumes 2 to 3 minutes. The following closed-form geometric shortcuts allow candidates to solve standard ECAT parabola area questions in under 15 seconds.

1. Parabola Bounded by a Chord Perpendicular to its Axis (Archimedes' Formula)

The area of a parabolic segment bounded by the parabola and a chord perpendicular to its axis of symmetry equals two-thirds of the area of the circumscribed bounding rectangle:

A = 2 3 × base × height A = \frac{2}{3} \times \text{base} \times \text{height} A = 3 2 ​ × base × height

Application: Area bounded by y 2 = 4 a x y^2 = 4ax y 2 = 4 a x and its Latus Rectum ( x = a x = a x = a ):

Base (length of latus rectum) = 4 a = 4a = 4 a .

Height (distance from vertex ( 0 , 0 ) (0,0) ( 0 , 0 ) to chord x = a x = a x = a ) = a = a = a .

Area A = 2 3 ( 4 a ) ( a ) = 8 3 a 2 A = \frac{2}{3}(4a)(a) = \frac{8}{3}a^2 A = 3 2 ​ ( 4 a ) ( a ) = 3 8 ​ a 2 .

  • 2. Area Bounded by Parabola y 2 = 4 a x y^2 = 4ax y 2 = 4 a x and Line y = m x y = mx y = m x
  • A = 8 a 2 3 m 3 A = \frac{8 a^2}{3 m^3} A = 3 m 3 8 a 2 ​

Example: Find the area bounded by y 2 = 8 x y^2 = 8x y 2 = 8 x and y = 2 x y = 2x y = 2 x .

Here 4 a = 8 ⟹ a = 2 4a = 8 \implies a = 2 4 a = 8 ⟹ a = 2 , and m = 2 m = 2 m = 2 .

A = 8 ( 2 2 ) 3 ( 2 3 ) = 8 ( 4 ) 3 ( 8 ) = 4 3 A = \frac{8(2^2)}{3(2^3)} = \frac{8(4)}{3(8)} = \frac{4}{3} A = 3 ( 2 3 ) 8 ( 2 2 ) ​ = 3 ( 8 ) 8 ( 4 ) ​ = 3 4 ​ square units. Solved in 5 seconds!

3. Area Bounded by Two Orthogonal Parabolas y 2 = 4 a x y^2 = 4ax y 2 = 4 a x and x 2 = 4 b y x^2 = 4by x 2 = 4 b y

A = 16 a b 3 A = \frac{16 a b}{3} A = 3 16 ab ​

Example: Find the area enclosed between y 2 = 4 x y^2 = 4x y 2 = 4 x and x 2 = 4 y x^2 = 4y x 2 = 4 y .

Here 4 a = 4 ⟹ a = 1 4a = 4 \implies a = 1 4 a = 4 ⟹ a = 1 and 4 b = 4 ⟹ b = 1 4b = 4 \implies b = 1 4 b = 4 ⟹ b = 1 .

A = 16 ( 1 ) ( 1 ) 3 = 16 3 A = \frac{16(1)(1)}{3} = \frac{16}{3} A = 3 16 ( 1 ) ( 1 ) ​ = 3 16 ​ square units.

  • 4. Area Bounded by Parabola y = a x 2 y = ax^2 y = a x 2 and Line y = c y = c y = c
  • A = 4 3 c c a A = \frac{4}{3} c \sqrt{\frac{c}{a}} A = 3 4 ​ c a c ​ ​
  • 4. Introduction to Differential Equations: Order & Degree

A differential equation (DE) is an algebraic equation that establishes a relationship between an independent variable x x x , a dependent variable y y y , and one or more derivatives of y y y with respect to x x x :

F ( x , y , d y d x , d 2 y d x 2 , … , d n y d x n ) = 0 F\left(x, y, \frac{dy}{dx}, \frac{d^2y}{dx^2}, \dots, \frac{d^n y}{dx^n}\right) = 0 F ( x , y , d x d y ​ , d x 2 d 2 y ​ , … , d x n d n y ​ ) = 0

Definitions of Order and Degree

Order: The order of a differential equation is the order of the highest derivative appearing anywhere in the equation.

Degree: The degree of a differential equation is the power (positive integer exponent) of the highest-order derivative , after the differential equation has been converted into a rational integral form (meaning all fractional powers and radical signs on derivatives have been cleared).

ECAT Trap Alert: Degree is defined only when the equation can be written as a polynomial in its derivatives. If derivatives appear inside transcendental functions (e.g., sin ⁡ ( d y d x ) + y = 0 \sin\left(\frac{dy}{dx}\right) + y = 0 sin ( d x d y ​ ) + y = 0 or e y ′ = x e^{y'} = x e y ′ = x ), the degree is undefined , though the order remains well-defined!

Walkthrough: Determining Order and Degree

Determine the order and degree of: [ 1 + ( d y d x ) 2 ] 3 / 2 = 5 d 2 y d x 2 \left[ 1 + \left(\frac{dy}{dx}\right)^2 \right]^{3/2} = 5 \frac{d^2y}{dx^2} [ 1 + ( d x d y ​ ) 2 ] 3/2 = 5 d x 2 d 2 y ​

Identify the highest derivative: d 2 y d x 2 \frac{d^2y}{dx^2} d x 2 d 2 y ​ , which has order 2 2 2 .

Clear the fractional exponent 3 2 \frac{3}{2} 2 3 ​ by squaring both sides: [ 1 + ( d y d x ) 2 ] 3 = 25 ( d 2 y d x 2 ) 2 \left[ 1 + \left(\frac{dy}{dx}\right)^2 \right]^3 = 25 \left(\frac{d^2y}{dx^2}\right)^2 [ 1 + ( d x d y ​ ) 2 ] 3 = 25 ( d x 2 d 2 y ​ ) 2

The highest-order derivative d 2 y d x 2 \frac{d^2y}{dx^2} d x 2 d 2 y ​ now carries power 2 2 2 .

Order = 2, Degree = 2 .

General Solution vs. Particular Solution

General Solution: A solution containing n n n independent arbitrary constants, where n n n is equal to the order of the differential equation. A first-order DE contains exactly 1 1 1 arbitrary constant c c c .

Particular Solution: A solution obtained from the general solution by assigning specific numerical values to the arbitrary constants using given initial or boundary conditions (e.g., y ( 0 ) = 1 y(0) = 1 y ( 0 ) = 1 ).

5. First-Order Differential Equations: Three Primary Forms

Most first-order differential equations in the Intermediate syllabus fall into one of three standard categories:

Category 1: Variable Separable Differential Equations

An equation is variable separable if it can be algebraically factored such that all terms involving y y y multiply d y dy d y on one side, and all terms involving x x x multiply d x dx d x on the opposite side:

d y d x = g ( x ) h ( y ) ⟹ 1 h ( y ) d y = g ( x ) d x \frac{dy}{dx} = g(x) h(y) \implies \frac{1}{h(y)} dy = g(x) dx d x d y ​ = g ( x ) h ( y ) ⟹ h ( y ) 1 ​ d y = g ( x ) d x

Integrate both sides directly: ∫ 1 h ( y ) d y = ∫ g ( x ) d x + c \int \frac{1}{h(y)} dy = \int g(x) dx + c ∫ h ( y ) 1 ​ d y = ∫ g ( x ) d x + c

Example: Solve d y d x = 1 + y 2 1 + x 2 \frac{dy}{dx} = \frac{1 + y^2}{1 + x^2} d x d y ​ = 1 + x 2 1 + y 2 ​ .

Separate: d y 1 + y 2 = d x 1 + x 2 \frac{dy}{1 + y^2} = \frac{dx}{1 + x^2} 1 + y 2 d y ​ = 1 + x 2 d x ​ .

Integrate: arctan ⁡ y = arctan ⁡ x + c \arctan y = \arctan x + c arctan y = arctan x + c .

Using the tangent addition formula, this simplifies to y = x + C 1 − C x y = \frac{x + C}{1 - Cx} y = 1 − C x x + C ​ .

Category 2: Homogeneous First-Order Differential Equations

A first-order equation d y d x = f ( x , y ) g ( x , y ) \frac{dy}{dx} = \frac{f(x, y)}{g(x, y)} d x d y ​ = g ( x , y ) f ( x , y ) ​ is homogeneous if both f ( x , y ) f(x, y) f ( x , y ) and g ( x , y ) g(x, y) g ( x , y ) are homogeneous polynomials of the same degree n n n , meaning f ( λ x , λ y ) = λ n f ( x , y ) f(\lambda x, \lambda y) = \lambda^n f(x, y) f ( λ x , λ y ) = λ n f ( x , y ) . Alternatively, d y d x = F ( y x ) \frac{dy}{dx} = F\left(\frac{y}{x}\right) d x d y ​ = F ( x y ​ ) .

Standard Substitution: Let y = v x y = vx y = vx . Differentiating with respect to x x x via the product rule: d y d x = v + x d v d x \frac{dy}{dx} = v + x \frac{dv}{dx} d x d y ​ = v + x d x d v ​

Substitute into the differential equation: v + x d v d x = F ( v ) ⟹ x d v d x = F ( v ) − v v + x \frac{dv}{dx} = F(v) \implies x \frac{dv}{dx} = F(v) - v v + x d x d v ​ = F ( v ) ⟹ x d x d v ​ = F ( v ) − v

This transforms the homogeneous equation into a variable-separable equation in v v v and x x x : d v F ( v ) − v = d x x \frac{dv}{F(v) - v} = \frac{dx}{x} F ( v ) − v d v ​ = x d x ​ After integrating, replace v v v with y x \frac{y}{x} x y ​ to express the solution in terms of the original variables.

Category 3: Linear First-Order Differential Equations (Leibniz Form)

A differential equation is linear of first order if it can be written in the canonical form:

d y d x + P ( x ) y = Q ( x ) \frac{dy}{dx} + P(x) y = Q(x) d x d y ​ + P ( x ) y = Q ( x )

where P ( x ) P(x) P ( x ) and Q ( x ) Q(x) Q ( x ) are continuous functions of x x x alone (or constants), and y y y appears strictly to the first power with no products involving y y y and d y d x \frac{dy}{dx} d x d y ​ .

The Integrating Factor (I.F.) Method

Identify P ( x ) P(x) P ( x ) and Q ( x ) Q(x) Q ( x ) from standard form.

Compute the Integrating Factor I ( x ) I(x) I ( x ) : I ( x ) = e ∫ P ( x ) d x I(x) = e^{\int P(x) dx} I ( x ) = e ∫ P ( x ) d x

Write the General Solution: y ⋅ I ( x ) = ∫ Q ( x ) I ( x ) d x + c y \cdot I(x) = \int Q(x) I(x) dx + c y ⋅ I ( x ) = ∫ Q ( x ) I ( x ) d x + c

Proof: Multiply the canonical equation by I ( x ) = e ∫ P ( x ) d x I(x) = e^{\int P(x) dx} I ( x ) = e ∫ P ( x ) d x : e ∫ P ( x ) d x d y d x + P ( x ) e ∫ P ( x ) d x y = Q ( x ) e ∫ P ( x ) d x e^{\int P(x) dx} \frac{dy}{dx} + P(x) e^{\int P(x) dx} y = Q(x) e^{\int P(x) dx} e ∫ P ( x ) d x d x d y ​ + P ( x ) e ∫ P ( x ) d x y = Q ( x ) e ∫ P ( x ) d x By the product rule, the left-hand side is the exact derivative d d x [ y e ∫ P ( x ) d x ] \frac{d}{dx}\left[ y e^{\int P(x) dx} \right] d x d ​ [ y e ∫ P ( x ) d x ] . Integrating both sides with respect to x x x yields y ⋅ I ( x ) = ∫ Q ( x ) I ( x ) d x + c y \cdot I(x) = \int Q(x) I(x) dx + c y ⋅ I ( x ) = ∫ Q ( x ) I ( x ) d x + c .

Linear Form with Dependent Variable x x x

If d y d x \frac{dy}{dx} d x d y ​ is non-linear in y y y but linear in x x x , invert to find d x d y \frac{dx}{dy} d y d x ​ : d x d y + P ( y ) x = Q ( y ) ⟹ I ( y ) = e ∫ P ( y ) d y , x ⋅ I ( y ) = ∫ Q ( y ) I ( y ) d y + c \frac{dx}{dy} + P(y) x = Q(y) \implies I(y) = e^{\int P(y) dy}, \quad x \cdot I(y) = \int Q(y) I(y) dy + c d y d x ​ + P ( y ) x = Q ( y ) ⟹ I ( y ) = e ∫ P ( y ) d y , x ⋅ I ( y ) = ∫ Q ( y ) I ( y ) d y + c

6. Differential Equation Diagnostic & Classification Table

Differential Equation Form Identification Criterion Solution Procedure Key Formula / Substitution

Variable Separable d y d x = f ( x ) g ( y ) \frac{dy}{dx} = f(x)g(y) d x d y ​ = f ( x ) g ( y ) Separate variables and integrate ∫ d y g ( y ) = ∫ f ( x ) d x + c \int \frac{dy}{g(y)} = \int f(x) dx + c ∫ g ( y ) d y ​ = ∫ f ( x ) d x + c

Reducible to Separable d y d x = f ( a x + b y + c ) \frac{dy}{dx} = f(ax + by + c) d x d y ​ = f ( a x + b y + c ) Substitute linear argument Let u = a x + b y + c ⟹ d u d x = a + b d y d x u = ax + by + c \implies \frac{du}{dx} = a + b\frac{dy}{dx} u = a x + b y + c ⟹ d x d u ​ = a + b d x d y ​

Homogeneous d y d x = F ( y x ) \frac{dy}{dx} = F\left(\frac{y}{x}\right) d x d y ​ = F ( x y ​ ) Degree of numerator = = = degree of denominator Let y = v x ⟹ d y d x = v + x d v d x y = vx \implies \frac{dy}{dx} = v + x\frac{dv}{dx} y = vx ⟹ d x d y ​ = v + x d x d v ​

Linear in y y y d y d x + P ( x ) y = Q ( x ) \frac{dy}{dx} + P(x)y = Q(x) d x d y ​ + P ( x ) y = Q ( x ) y y y and d y d x \frac{dy}{dx} d x d y ​ appear to 1st power only I = e ∫ P d x , y ⋅ I = ∫ Q ⋅ I d x + c I = e^{\int P dx}, \quad y \cdot I = \int Q \cdot I dx + c I = e ∫ P d x , y ⋅ I = ∫ Q ⋅ I d x + c

Linear in x x x d x d y + P ( y ) x = Q ( y ) \frac{dx}{dy} + P(y)x = Q(y) d y d x ​ + P ( y ) x = Q ( y ) x x x and d x d y \frac{dx}{dy} d y d x ​ appear to 1st power only I = e ∫ P d y , x ⋅ I = ∫ Q ⋅ I d y + c I = e^{\int P dy}, \quad x \cdot I = \int Q \cdot I dy + c I = e ∫ P d y , x ⋅ I = ∫ Q ⋅ I d y + c

Loading diagram... Decision Flowchart for Solving First-Order Ordinary Differential Equations