Differential Equations | CBSE Class 12 Maths Notes
On this page
Differential Equations in Mathematics covers equations involving derivatives, order and degree, general and particular solutions, verification of solutions, separation of variables, homogeneous equations, linear equations, integrating factors, tangent conditions and continuous growth.
What is a differential equation?
A differential equation is an equation involving derivatives of a dependent variable with respect to one or more independent variables. It connects an unknown function with the rate at which that function changes. Solving it means finding a function that satisfies this relationship.
Throughout the usual form of these equations, denotes the independent variable and the dependent variable. The symbol denotes a function, so means that the value of depends on .
Definition: An ordinary differential equation involves derivatives with respect to just one independent variable. A partial differential equation involves derivatives with respect to more than one independent variable. The methods below concern ordinary differential equations.
How are the derivatives written?
The notation means the first derivative, the second derivative and the third derivative, all with respect to . In full notation these are , and , respectively.
For example, contains no derivative, whereas does. This is the essential distinction between an ordinary algebraic relation involving variables and a differential equation.
Differentiation starts with a function and finds its derivative. Solving a differential equation works in the reverse direction: the derivative relationship is given, and a function satisfying it is sought. Integration is therefore central to the methods used here.
How do order and degree differ?
The order of a differential equation is the order of the highest derivative appearing in it. Read the derivative itself before looking at its power. Squaring a first derivative does not turn it into a second derivative.
The degree is defined when the equation is polynomial in its derivatives. It is the highest power of the highest order derivative in that polynomial equation. A trigonometric or exponential function of a derivative can prevent degree from being defined.
Note: The polynomial condition concerns derivatives. A term such as does not itself prevent degree from being defined, because is the dependent variable rather than one of its derivatives.
| Differential equation | Order | Degree | Reason |
|---|---|---|---|
| One | One | The first derivative occurs to the first power. | |
| Two | One | The highest derivative is the second derivative, occurring to the first power. | |
| Two | One | The equation remains polynomial in its derivatives. | |
| One | Not defined | The sine of a derivative prevents a polynomial form in that derivative. |
How should a mixed-power equation be classified?
Worked example 1. Find the order and degree of .
Answer:
- Identify all derivatives: , and . The highest derivative is .
- The order is therefore , regardless of the other exponents.
- The equation is polynomial in its derivatives. The highest derivative occurs as , so the degree is .
- Check the tempting alternatives: the power belongs to the first derivative, while belongs to the dependent variable. Neither determines the degree.
What are general and particular solutions?
A solution is a function that satisfies the differential equation when the function and its derivatives are substituted into it. Verification is an identity check: the two sides must agree throughout the domain being considered.
A general solution, also called a primitive, contains arbitrary constants. In the general solutions considered here, the number of independent arbitrary constants equals the order of the differential equation. A particular solution fixes those constants and contains no arbitrary constants.
How can a family satisfy one equation?
Let and denote arbitrary real constants. The family is a general solution of . Giving particular values to and selects a member of that family.
Worked example 2. Verify for , where and are arbitrary real constants.
Answer:
- Differentiate once, keeping the constants fixed:
- Differentiate again:
- Substitute both the original function and its second derivative:
- The terms cancel for every allowed value of . Thus the family satisfies the equation and retains the two arbitrary constants appropriate to this second order equation.
How is an exponential solution verified?
Worked example 3. Verify as a solution of . Here is the base of natural logarithms.
Answer:
- Use the chain rule:
- Differentiate the first derivative:
- Substitute into the complete left side:
- The right side is also . The proposed function is therefore a solution, with no arbitrary constant left to determine.
How does separation of variables work?
A first order, first degree equation may be written , where denotes a function of the two variables. It is separable when the right side is a product of a function of and a function of .
Write the factors as and , where depends only on and only on . The purpose of separation is to place each variable beside its own differential before integration.
Result: the separated integral form
- Start with the product form:
- On an interval where , divide by this factor and separate:
- Integrate each side with respect to the variable shown:
- Let be an antiderivative of , an antiderivative of , and an arbitrary constant. The solution is
One arbitrary constant suffices because the difference of the two constants introduced by integration can be replaced by a single constant. A solution can remain implicit; isolating the dependent variable is not required in every problem.
How is an implicit solution obtained?
Worked example 4. Solve , with .
Answer:
- Separate the variables:
- Integrate both sides: where is an arbitrary integration constant.
- Multiply through by two, rearrange, and write :
- Differentiate the answer to check it:
- Collect the derivative terms: Dividing by recovers the given equation on its stated domain.
How are particular solutions found after separation?
An initial condition gives the dependent variable at a specified value of the independent variable. First integrate to obtain a family of solutions. Then substitute the given values into that family to calculate the arbitrary constant.
Keep the integration and the use of the condition as separate steps. Substituting the initial values into the differential equation gives information at one point; it does not replace finding a function that satisfies the equation.
What happens when inverse trigonometric functions appear?
Worked example 5. Find the general solution of .
Answer:
- Since for real , separate without dividing by zero:
- Integrate both sides: The notation denotes the inverse tangent function.
- Check by implicit differentiation:
- Multiply by to recover the equation. The arbitrary constant remains because no initial condition was supplied.
How is the constant determined?
Worked example 6. Solve , given when .
Answer:
- For the nonzero solution through the given point, separate:
- Integrate:
- Insert the condition:
- Substitute the constant and solve for the dependent variable:
- Recompute its derivative: Also, , so both requirements hold.
Note: Dividing by a dependent-variable factor can exclude a solution. Here also satisfies the original differential equation, but cannot satisfy the supplied initial condition.
How do tangent conditions produce differential equations?
The slope of the tangent to a curve at a point is . A statement giving that slope therefore supplies a differential equation. A point through which the curve passes supplies the condition needed to determine a particular member of the solution family.
Translate the two pieces of information separately. The slope relationship applies at points along the curve. The supplied point is used after integration to identify the required curve. Its coordinates must satisfy the final answer.
How is a curve recovered from its slope?
Worked example 7. Find the curve through whose tangent slope at is .
Answer:
- Translate the slope statement:
- Separate the variables:
- Integrate:
- Use the point:
- Write the required curve:
- Differentiate the implicit equation: At the supplied point, both sides of equal .
The implicit form makes the derivative check short, while the explicit form gives the dependent variable directly. These are two ways of presenting the same particular curve. In either form, retain restrictions required by the original slope expression.
What makes a differential equation homogeneous?
A function is homogeneous of degree if simultaneous scaling of both variables gives . Here denotes the degree of homogeneity and is a nonzero scale factor.
This degree describes a function under scaling. It is different from the degree of a differential equation, which describes the power of the highest derivative. Keeping these two definitions separate prevents a common classification error.
| Function | Scaling result | Degree of homogeneity |
|---|---|---|
| Two | ||
| One | ||
| , with | Zero |
Result: the ratio test for a homogeneous equation
A differential equation written is homogeneous when is homogeneous of degree zero. On a domain where , its right side can be expressed as , a function of the ratio alone.
For example, has right side . The cancellation of a common scale factor shows why the ratio is useful. The denominator also requires .
The expression does not satisfy the same scaling condition. Recognise homogeneity by testing the function rather than by assuming that every equation containing both variables is homogeneous.
How does the homogeneous substitution make variables separable?
For an equation whose right side depends on , introduce a new dependent variable by . Thus , where varies with . The product rule is essential when differentiating this substitution.
Derivation: reduction to a separable equation
- Start with and substitute .
- Differentiate the product:
- Replace the ratio by and rearrange:
- Where the divisors are nonzero, separate and integrate:
- Replace by to express the answer in the original variables.
Treat the substitution variable as a function of . Use the product rule rather than assuming its derivative is zero. Constant values of satisfying can give straight-line solutions ; check these separately in the original equation before dividing by . The last substitution is just as necessary: an answer in the auxiliary variable alone does not yet give the requested relation between the original variables.
How does this work with a trigonometric ratio?
Worked example 8. Solve , on a domain where and .
Answer:
- Divide to obtain The symbol denotes the reciprocal cosine function. The right side depends on the ratio alone.
- Set , so , with . Then
- Subtract and separate:
- Integrate and return to the original variables: Here denotes the natural logarithm.
- Check implicitly: Multiplication by gives the original equation after rearrangement.
What is a first order linear differential equation?
A first order linear differential equation in the dependent variable has the standard form . Here is the coefficient function of the dependent variable and is the function on the right side. Both depend only on , or are constants.
Before identifying these functions, make the coefficient of the derivative equal to one. The integrating factor is a multiplier that turns the complete left side into the derivative of a product.
Result: the integrating-factor formula
Let denote the integrating factor. Its formula is . The solution is . The following derivation explains why the same factor multiplies every term.
- Multiply the standard equation by :
- Apply the product rule to the intended left side: where means the derivative of the integrating factor.
- Match coefficients by choosing . Dividing by the nonzero factor and integrating gives
- The multiplied equation becomes
- Integrate once more to obtain
Check the product derivative before integrating. It confirms both the sign of the coefficient and the integrating factor. The final integration introduces the arbitrary constant required for the general solution.
Note: In this method, a term involving a power of the dependent variable greater than one does not fit the stated linear form. The coefficient functions must depend on the chosen independent variable alone.
How are linear equations solved step by step?
The standard sequence is to normalise the derivative coefficient, identify the coefficient functions, find the integrating factor, recognise a product derivative and integrate. Keeping these stages visible makes sign errors easier to detect.
How is a non-unit derivative coefficient handled?
Worked example 9. Solve , with .
Answer:
- Divide the whole equation by : Thus and .
- Find an integrating factor:
- Multiply through and recognise the product:
- Integrate and divide by :
- Differentiate: Substitution gives
How is integration by parts used?
Worked example 10. Solve .
Answer:
- Identify , , and calculate .
- Multiply and integrate:
- Let denote the integral on the right, omitting its constant temporarily. Integration by parts gives
- Apply integration by parts to the remaining integral:
- Substitute back and collect the two copies of :
- Insert the integral and multiply by :
- Recompute the derivative: Subtracting the solution gives , as required.
The factor comes from the signed coefficient of the dependent variable. In the second example that coefficient is negative. Reversing its sign would prevent the multiplied left side from being the intended product derivative.
When is it better to treat the other variable as dependent?
Some equations become linear when is treated as a function of . Their standard form is , where and denote coefficient functions depending only on , or constants.
All stages then use as the independent variable. The integrating factor is , and the quantity multiplied by it in the solution formula is the dependent variable .
How does the reversed linear form work?
Worked example 11. Solve , treating as a function of on an interval where .
Answer:
- Divide and arrange the linear form: Here and .
- Choose the integrating factor . Direct differentiation verifies
- Multiply through:
- Integrate and rearrange:
- Check using :
The choice of dependent variable determines which coefficient functions are allowed and which integration variable to use. Similarly, a homogeneous equation written as suggests the substitution , where now depends on .
How are initial conditions used in linear equations?
The integrating-factor method first produces a family of solutions. A condition such as a specified point then fixes its arbitrary constant. The method does not change, but the final answer must satisfy both the differential equation and that point.
How is a tangent problem solved by a linear method?
Worked example 12. Find the curve through whose tangent slope at equals the sum of the horizontal coordinate and the product of the two coordinates.
Answer:
- Translate and rearrange:
- Identify and . The integrating factor is
- Multiply to form a product derivative:
- Use the derivative of the exponential to integrate:
- Multiply by , then insert the point:
- The required curve is Its derivative is , and it gives .
A useful final check has two parts. Differentiating verifies the rate relationship everywhere the formula applies. Substituting the initial point verifies the constant. Neither check by itself establishes both requirements of a particular-solution problem.
Recognising the derivative of the exponential also simplifies the integration. Its exponent has derivative , which explains the negative sign in the antiderivative used above.
How does continuous growth lead to a differential equation?
When the rate of increase of a quantity is proportional to the quantity present, a differential equation expresses that relationship. Continuous growth is handled by integrating a rate equation, with the initial quantity determining the arbitrary constant.
In the following example, denotes the principal amount in rupees, rather than the coefficient function used in the linear-equation sections. The variable denotes elapsed time in years. The stated rate is a rate of increase of the current amount.
How long does the given principal take to double?
Worked example 13. A bank principal increases continuously at per year. Find the time in which ₹ doubles.
Answer:
- Translate the rate:
- Since the principal is positive, separate and integrate:
- Let be the positive multiplicative constant. Exponentiation gives
- Use the initial amount:
- For doubling, set : The answer is years.
- Check the model by differentiation: At the computed time, .
The initial amount and the target amount perform different roles: one fixes the solution, while the other determines the required time. Keep the time unit consistent with the period used in the stated percentage rate.
Glossary
- Differential equation — An equation involving derivatives of a dependent variable with respect to one or more independent variables.
- Ordinary differential equation — A differential equation involving derivatives with respect to just one independent variable.
- Order — The order of the highest derivative appearing in the given differential equation.
- Degree — The highest power of the highest order derivative, when the equation is polynomial in its derivatives.
- Solution — A function that satisfies a differential equation when its derivatives and values are substituted.
- General solution — A solution containing arbitrary constants, with their number corresponding to the order in the equations considered.
- Particular solution — A solution obtained by fixing the arbitrary constants of the general solution at particular values.
- Primitive — Another name for the general solution of a differential equation containing arbitrary constants.
- Separable equation — An equation in which the variables can be separated completely beside their respective differentials before integration.
- Homogeneous function — A function whose simultaneous scaling of all variables produces a fixed power of the scale factor.
- Linear differential equation — A first order equation linear in the dependent variable, with coefficients depending on the independent variable alone.
- Integrating factor — A multiplier that converts the left side of a linear differential equation into a product derivative.
Common errors and misconceptions
- Misconception: The largest exponent anywhere gives the order. Correct: Order depends on the highest derivative, not its exponent or the power of the dependent variable.
- Misconception: A sine term always makes degree undefined. Correct: A sine of the dependent variable can occur in a polynomial equation in derivatives; a sine of a derivative prevents that polynomial form.
- Misconception: Any constant appearing in an equation is arbitrary. Correct: An arbitrary constant is a free parameter; a particular solution fixes its value using supplied information.
- Misconception: Differentiating gives . Correct: The substitution variable depends on , so the product rule gives .
- Misconception: The integrating factor can be read before normalising the derivative coefficient. Correct: First put the equation into standard linear form and then identify the signed coefficient of the dependent variable.
- Misconception: One multiplies just the derivative term by the integrating factor. Correct: Multiply every term, so the entire left side becomes a product derivative.
- Misconception: A factor involving the dependent variable may be cancelled without checking zero. Correct: Check excluded values in the original equation, then check whether they satisfy any given initial condition.
- Misconception: A solution satisfying the given point is automatically correct. Correct: It must also satisfy the differential equation when differentiated and substituted.
Exam-style questions with model answers
Q1. Determine the order and degree of . Explain why the squared first derivative does not decide the degree. [2 marks]
- The highest derivative present is , so the order is .
- The equation is polynomial in its derivatives and has power , so the degree is . The squared term concerns a lower order derivative.
Q2. Verify that satisfies . [3 marks]
- Differentiate the proposed function with respect to the independent variable, using the chain rule: .
- Differentiate again to obtain the second derivative required by the equation: .
- Substitute all three expressions into the left side: . This equals the right side for every real value of , verifying the proposed solution.
Q3. Find the particular solution of , given at . [3 marks]
- For the nonzero solution through the supplied point, separate the variables: .
- Integrate to get , where is an arbitrary constant.
- Use the initial condition: . Hence .
- Check the answer by differentiation: . Substitution at the initial point also gives , so the rate equation and the condition are both satisfied.
Q4. Solve , where , using an integrating factor, and verify your solution. [5 marks]
- Divide every term by the nonzero independent variable to obtain the standard linear form . The coefficient function is and the right side is .
- Calculate the integrating factor . The absolute value keeps the logarithmic step valid on either permitted side of zero.
- Multiply the standard equation by this factor. The left side becomes a product derivative: .
- Integrate to obtain , then divide by : .
- Recompute . Substitution gives , since the terms containing the arbitrary constant cancel. This verifies the answer on intervals excluding zero.
Q5. Show that is homogeneous and solve it where and . [5 marks]
- Divide to write . The right side is a function of the ratio alone, so simultaneous scaling of the two variables leaves it unchanged. The equation is homogeneous.
- Introduce , a function of , so . The product rule gives .
- Substitute and cancel the matching terms: . Thus .
- Integrate to get , then restore the original variables: .
- For verification, implicit differentiation gives . Multiplying by and rearranging reproduces the given differential equation, within the domain stated in the question. The constant remains arbitrary because no initial value has been supplied.
Q6. Solve as a linear equation for in terms of , on an interval where . [4 marks]
- Write . This is linear in , with coefficient . In this orientation, every differentiation and integration uses the other coordinate as the independent variable.
- Choose integrating factor ; it satisfies .
- Multiply the complete equation by the factor to obtain .
- Integrate: , giving . Differentiating gives ; substitution into gives zero, confirming the solution.
Q7. A principal of ₹ increases continuously at per year. Form the differential equation and find the exact time needed for the amount to double. [5 marks]
- Let denote the principal in rupees and elapsed time in years. The proportional growth condition gives , with initial condition .
- Since the amount is positive, separate and integrate: , giving .
- Exponentiate, writing : . The initial condition makes , so the amount at time is .
- Doubling means . Therefore , and the required time is years.
- Check by substituting this time into the amount formula: . Its derivative also equals , confirming the continuous growth relationship used throughout. The time unit is years, matching the annual rate given in the question.
Q8. Find the curve through satisfying , where . [3 marks]
- Divide by the nonzero independent variable: .
- Integrate term by term to obtain , where denotes an arbitrary constant.
- Insert the supplied point: , so . The required curve is , on the positive interval containing the given point.
- Differentiate to check: , which recovers the original differential equation after multiplication by .
Key takeaways
- A differential equation relates an unknown function to its derivatives; solving it means finding a function that satisfies that relationship.
- Order comes from the highest derivative, while degree requires a polynomial equation in derivatives and concerns that highest derivative's power.
- A general solution contains arbitrary constants; a particular solution fixes them using specified information such as an initial point.
- For separable equations, group each variable with its own differential, integrate, and check any values excluded during division.
- A homogeneous equation depends on a ratio of variables; the substitution requires the product rule because the new variable varies.
- For linear equations, normalise first, calculate the integrating factor from the signed coefficient, and integrate the resulting product derivative.
- Treating the other variable as dependent may reveal a linear equation, but the coefficient functions and integration variable must change together.
- Verify a particular solution twice: differentiate to check the equation, then substitute the given values to check its constant.
Test yourself
Why does have a defined degree?
The equation is polynomial in its derivatives. The sine acts on the dependent variable, so the degree is .
What distinguishes a particular solution from a general solution?
A particular solution fixes the arbitrary constants at specified values; a general solution retains those constants as free parameters.
What must be checked before dividing a separable equation by a function of the dependent variable?
Check where that function is zero and whether any excluded value satisfies the original equation and the supplied condition.
What derivative follows from the homogeneous substitution ?
The product rule gives , because the substitution variable depends on .
What is the integrating factor for ?
The coefficient of the dependent variable is , so an integrating factor is .
For , which variable is used in the integrating-factor integral?
Integrate with respect to , the independent variable in this form; the integrating factor is .
What two checks are needed after finding a particular solution?
Substitute the function and its derivatives into the equation, then confirm that the function satisfies the supplied initial condition.
What differential equation represents a positive principal growing continuously at per year, with time measured in years?
The rate equation is ; the positive amount allows division by the principal during separation.
