Q.Verify that the function y=c1eaxcosbx+c2eaxsinbx, where c1,c2 are arbitrary constants is a solution of the differential equation dx2d2y−2adxdy+(a2+b2)y=0.
Concept understanding — Verification of Solution
Verifying a Solution of a Differential Equation
A function y=ϕ(x) is called a solution of a differential equation if, when you substitute it and its derivatives into the equation, the two sides become equal for every x in the domain. Verification is the act of carrying out that substitution and checking that it holds as an identity.
The useful point: you do not have to solve the equation to verify a candidate. You are only checking a function that is already handed to you — which is exactly how many exam questions are phrased: "Show that … is a solution of …."
The steps
- From the given y=ϕ(x), compute exactly the derivatives that appear in the equation.
- Substitute y and those derivatives into the left-hand side.
- Simplify and check that it equals the right-hand side for all x (an identity, not just at one point).
Example 1
Verify that y=e−3x is a solution of dx2d2y+dxdy−6y=0.
Here y′=−3e−3x and y′′=9e−3x. Substituting:
9e−3x+(−3e−3x)−6e−3x=(9−3−6)e−3x=0.
The left side is 0 for every x, so y=e−3x is a solution.
Example 2 (a solution with constants)
Verify that y=acosx+bsinx satisfies dx2d2y+y=0 for any constants a,b.
Since y′′=−acosx−bsinx=−y, we get y′′+y=0. It holds for all a,b, so this two-constant family is a solution.
Verification links your answer back to the definition of a solution: a function is a solution not because of how you found it, but because it makes the differential equation true. If the substitution does not reduce to an identity, the function is simply not a solution.
Verifying that a given function solves a differential equation is explicitly listed as an exercise type in the NCERT Class 12 Mathematics textbook's Differential Equations chapter, and "verify the solution of differential equation examples" is a common CBSE and JEE Main search. This is often the easiest full-mark question in the chapter once the substitution steps are practiced a few times.
Concept: Verification of Solution — substitute the candidate function into the differential equation and check that it satisfies the equation identically.
Step 1: First derivative
y=eax(c1cosbx+c2sinbx)
Using the product rule:
dxdy=aeax(c1cosbx+c2sinbx)+eax(−bc1sinbx+bc2cosbx)
=eax[(ac1+bc2)cosbx+(ac2−bc1)sinbx]
Step 2: Second derivative
Differentiate again (product rule on each term):
dx2d2y=aeax[(ac1+bc2)cosbx+(ac2−bc1)sinbx]+eax[−b(ac1+bc2)sinbx+b(ac2−bc1)cosbx]
=eax[(a2c1+abc2+abc2−b2c1)cosbx+(a2c2−abc1−abc1−b2c2)sinbx]
=eax[(a2−b2)c1+2abc2]cosbx+[(a2−b2)c2−2abc1]sinbx
Step 3: Substitute into the DE
Compute −2adxdy+(a2+b2)y and add to dx2d2y.
After collecting coefficients of cosbx and sinbx, each coefficient simplifies to zero. For example, the cosbx coefficient:
(a2−b2)c1+2abc2−2a(ac1+bc2)+(a2+b2)c1=0
Similarly for sinbx. Hence the DE is satisfied for all x.
The given function is a solution of the differential equation.
The given function is a linear combination of eaxcosbx and eaxsinbx, which are the two independent solutions of the second-order linear ODE with constant coefficients whose characteristic equation has complex roots a±ib. Substituting directly verifies that it satisfies the differential equation identically.
We need to check that y=c1eaxcosbx+c2eaxsinbx satisfies
dx2d2y−2adxdy+(a2+b2)y=0.
The key idea: this is a linear homogeneous ODE with constant coefficients. For such equations, if we can show that both eaxcosbx and eaxsinbx individually satisfy the ODE, then any linear combination (like the given y) will also satisfy it, by linearity. So we can either verify the combination directly, or verify each basis function separately. We'll do the direct substitution — it's cleaner and avoids repeating work.
- First derivative Differentiate y term by term. For eaxcosbx, use the product rule:
dxd(eaxcosbx)=aeaxcosbx−beaxsinbx.
For eaxsinbx:
dxd(eaxsinbx)=aeaxsinbx+beaxcosbx.
So
dxdy=c1(aeaxcosbx−beaxsinbx)+c2(aeaxsinbx+beaxcosbx).
- Second derivative Differentiate again. For the c1 part:
dxd(aeaxcosbx−beaxsinbx)=a(aeaxcosbx−beaxsinbx)−b(aeaxsinbx+beaxcosbx).
Simplify:
=(a2−b2)eaxcosbx−2abeaxsinbx.
For the c2 part:
dxd(aeaxsinbx+beaxcosbx)=a(aeaxsinbx+beaxcosbx)+b(aeaxcosbx−beaxsinbx).
Simplify:
=(a2−b2)eaxsinbx+2abeaxcosbx.
Hence
dx2d2y=c1[(a2−b2)eaxcosbx−2abeaxsinbx]+c2[(a2−b2)eaxsinbx+2abeaxcosbx].
- Form the combination We need to compute:
dx2d2y−2adxdy+(a2+b2)y.
It's efficient to group terms by the two basis functions. Let’s collect coefficients of eaxcosbx and eaxsinbx separately.
Coefficient of eaxcosbx (from all three pieces):
- From dx2d2y: c1(a2−b2)+c2(2ab)
- From −2adxdy: −2a[c1a+c2b] (since dxdy has c1a and c2b multiplying cosbx)
- From (a2+b2)y: (a2+b2)c1
Sum these:
c1(a2−b2)+c2(2ab)−2a(c1a+c2b)+(a2+b2)c1.
Simplify c1 terms: a2−b2−2a2+a2+b2=0.
Simplify c2 terms: 2ab−2ab=0.
So the coefficient of eaxcosbx is 0.
Coefficient of eaxsinbx:
- From dx2d2y: c1(−2ab)+c2(a2−b2)
- From −2adxdy: −2a[−c1b+c2a] (since dxdy has −c1b and c2a multiplying sinbx)
- From (a2+b2)y: (a2+b2)c2
Sum:
−2abc1+c2(a2−b2)−2a(−c1b+c2a)+(a2+b2)c2.
Simplify c1 terms: −2ab+2ab=0.
Simplify c2 terms: a2−b2−2a2+a2+b2=0.
Again zero.
- Conclusion Both coefficients vanish, so the entire expression equals 0 for all x, regardless of c1 and c2. Hence y is indeed a solution.
This is exactly the general solution of the ODE when the characteristic equation r2−2ar+(a2+b2)=0 has roots r=a±ib. The verification above is essentially checking that these complex exponentials satisfy the ODE — but doing it with real functions avoids complex arithmetic.
A common mistake is to forget the cross terms when differentiating eaxsinbx — the derivative of sinbx gives bcosbx, which contributes to the cos coefficient, and vice versa. Always track both basis functions carefully.
The given function satisfies the differential equation for all a,b and arbitrary constants c1,c2.
Method: Verifying a two-constant candidate for a second-order equation
Use this when asked to verify that a function containing arbitrary constants (here c1,c2) solves a second-order linear equation. The technique is substitution, organised so the algebra stays manageable.
Steps
Step 1: Differentiate carefully with the product rule.
For a product like eaxcosbx, both factors depend on x, so dxd(eaxcosbx)=aeaxcosbx−beaxsinbx. Keep the constants a,b,c1,c2 fixed.
Step 2: Differentiate again for dx2d2y, tracking cross terms.
Differentiating a cos term feeds the sin term and vice versa — do not drop these.
Step 3: Substitute into the equation and group by basis function.
Collect the coefficient of eaxcosbx and, separately, the coefficient of eaxsinbx.
Step 4: Show each grouped coefficient is 0.
If both coefficients vanish for all c1,c2, the left side is identically 0 and the function is verified as a solution.
Common Mistakes
Mistake 1: Product-rule slips on eaxcosbx.
Why it's wrong: both factors depend on x, so dxd(eaxcosbx)=aeaxcosbx−beaxsinbx; forgetting either term breaks the verification. Correct approach: differentiate both factors every time.
Mistake 2: Dropping cross terms in the second derivative.
Why it's wrong: differentiating a cos part contributes to the sin part and vice versa; losing these makes the coefficients fail to cancel. Correct approach: keep every term and group by eaxcosbx and eaxsinbx.
Mistake 3: Treating a, b, c1, c2 as variables.
Why it's wrong: they are constants, so they never get differentiated. Correct approach: hold them fixed and show each grouped coefficient reduces to 0.
Showing the 12 most recent of 86 on this concept.
- TG EAPCET 2025Set eng-2025-05-03-FN1 markMCQQ.If the differential equation having y=Aex+Bsinx as its general solution is f(x)dx2d2y+g(x)dxdy+h(x)y=0, then f(x)+g(x)+h(x)= (A) cosx−sinx (B) 4sinx (C) 2cosx (D) 0
›Reveal solutionSolution
Eliminating A,B from y=Aex+Bsinx gives (cosx−sinx)y′′+2sinxy′−(sinx+cosx)y=0, so f+g+h=0 — option (D).
Concept. A two‑parameter family y=Aex+Bsinx satisfies a second‑order ODE obtained by eliminating A and B from y,y′,y′′. The Wronskian‑style determinant of {y,ex,sinx} vanishing is exactly that eliminant.
Solution.
- Differentiate:
y=Aex+Bsinx,y′=Aex+Bcosx,y′′=Aex−Bsinx.
- A non‑trivial (A,B) exists iff
yy′y′′exexexsinxcosx−sinx=0.
- Expand along the first column and divide by ex:
(cosx−sinx)y′′+2sinxy′−(sinx+cosx)y=0.
- Read off the coefficients:
f(x)=cosx−sinx,g(x)=2sinx,h(x)=−(sinx+cosx).
- Add them:
f+g+h=(cosx−sinx)+2sinx−(sinx+cosx)=0.
✓Final answerf(x)+g(x)+h(x)=0 — option (D).
- TG EAPCET 2026Set eng-2026-05-11-FN1 markMCQQ.The general solution of the differential equation (2xy+y2)dy=(x2−y2)dx is (A) x3−3x2y−y3=c (B) x3−3x2y+y3=c (C) x3−3xy2+y3=c (D) x3−3xy2−y3=c
›Reveal solutionSolution
This is a homogeneous differential equation. Substituting y=vx reduces it to a separable form, and integrating gives the general solution x3−3xy2−y3=c, which matches option (D).
The given equation is (2xy+y2)dy=(x2−y2)dx. Notice that every term is of degree 2 — 2xy, y2, x2, y2 — so the equation is homogeneous. For a homogeneous equation, the standard trick is to set y=vx, which turns the equation into one where variables separate cleanly.
- Rewrite in standard form Bring the dx term to the left:
(2xy+y2)dy−(x2−y2)dx=0
Or equivalently,
dxdy=2xy+y2x2−y2
- Substitute y=vx Then dxdy=v+xdxdv. The right-hand side becomes:
2x(vx)+(vx)2x2−(vx)2=x2(2v+v2)x2(1−v2)=2v+v21−v2
So the equation is:
v+xdxdv=2v+v21−v2
- Separate variables Subtract v from both sides:
xdxdv=2v+v21−v2−v=2v+v21−v2−v(2v+v2)
Simplify the numerator:
1−v2−2v2−v3=1−3v2−v3
So:
xdxdv=2v+v21−3v2−v3
Now separate:
1−3v2−v32v+v2dv=xdx
- Integrate both sides The left-hand side is set up for a simple substitution. Let u=1−3v2−v3. Then du=(−6v−3v2)dv=−3(2v+v2)dv. Notice that 2v+v2 appears in the numerator, so:
1−3v2−v32v+v2dv=−31udu
Integrating:
∫−31udu=∫xdx
−31log∣u∣=log∣x∣+C
Multiply by −3:
log∣u∣=−3log∣x∣−3C
log∣u∣=log∣x−3∣+logK(where logK=−3C)
So:
u=x3K
- Back-substitute Recall u=1−3v2−v3 and v=y/x:
1−3(xy)2−(xy)3=x3K
Multiply through by x3:
x3−3xy2−y3=K
Renaming the constant K as c, we get the general solution:
x3−3xy2−y3=c
Watch outA common mistake is to misplace the signs when simplifying the numerator after subtracting v. Always combine terms carefully: v=2v+v2v(2v+v2), so the numerator becomes 1−v2−2v2−v3=1−3v2−v3.
TipSpotting the derivative pattern du=−3(2v+v2)dv saves time — it means you don't need partial fractions or any heavy algebra.
✓Final answerThe correct option is (D): x3−3xy2−y3=c.
- TG EAPCET 2021Set eng-2021-08-04-FN1 markMCQQ.The general solution of dxdy=x+sinxcosy+xcosy+sinx is (A) tan2x=2y2−cosy+C (B) tan2y=2x2−cosx+C (C) sec22y=2x2−cosx+C (D) tan2y=2x2+cosx+Cx
›Reveal solutionSolution
The given differential equation is separable after factoring. The solution is found by integrating both sides, leading to tan2y=2x2−cosx+C, which matches option (B).
The key is to notice that the right-hand side can be grouped into terms that depend only on x and terms that depend only on y. That’s the hallmark of a separable differential equation — and once you see the pattern, the integration is straightforward.
Let’s rewrite the equation:
dxdy=x+sinxcosy+xcosy+sinx
Group the terms cleverly:
dxdy=(x+sinx)+(sinxcosy+xcosy)
Factor cosy from the last two terms:
dxdy=(x+sinx)+cosy(x+sinx)
Now factor (x+sinx) out of the whole right-hand side:
dxdy=(x+sinx)(1+cosy)
This is clearly separable: the x-part is (x+sinx) and the y-part is (1+cosy).
- Separate the variables Bring all y terms to the left and x terms to the right:
1+cosydy=(x+sinx)dx
- Integrate both sides The left side uses a standard trigonometric identity. Recall:
1+cosy=2cos22y
So:
1+cosy1=2cos22y1=21sec22y
Therefore:
∫1+cosydy=21∫sec22ydy
Let u=y/2, then dy=2du, and:
21∫sec2u⋅2du=∫sec2udu=tanu+C=tan2y+C
The right side integrates easily:
∫(x+sinx)dx=2x2−cosx+C
- Combine the results Equating the two integrals (with a single constant of integration):
tan2y=2x2−cosx+C
Watch outA common mistake is to forget the factor of 1/2 when integrating sec2(y/2). Always check the chain rule: the derivative of tan(y/2) is 21sec2(y/2), so the integral of sec2(y/2) is 2tan(y/2). Here the 1/2 from the identity cancels that factor neatly.
TipThe identity 1+cosy=2cos2(y/2) is your best friend for integrals involving 1+cosy or 1+siny. Memorize it — it saves time in exams.
✓Final answerThe correct option is (B): tan2y=2x2−cosx+C.
- TG EAPCET 2023Set eng-2023-05-13-AN1 markMCQQ.The general solution of the differential equation (secx+tanx)dxdy+(sec2x+secxtanx)y=1 is (A) (1+sinx)y=ncosx+c (B) (1+cosx)y=xsinx+c (C) (secx+tanx)y=xsecx+c (D) (secx+tanx)y=x+c
›Reveal solutionSolution
This is a first-order linear ODE. Rewriting it in standard form and applying the integrating factor method shows that the general solution is (secx+tanx)y=x+c, which matches option (D).
The key concept is recognizing the equation as a first-order linear differential equation of the form
dxdy+P(x)y=Q(x).
The standard method is to multiply through by an integrating factor μ(x)=e∫Pdx, which makes the left side a perfect derivative. Here, the coefficients are cleverly arranged so that the integrating factor simplifies dramatically.
- Rewrite in standard form The given equation is
(secx+tanx)dxdy+(sec2x+secxtanx)y=1.
Divide through by (secx+tanx) to isolate dxdy:
dxdy+secx+tanxsec2x+secxtanxy=secx+tanx1.
- Simplify the coefficient of y Factor the numerator: sec2x+secxtanx=secx(secx+tanx). Hence
secx+tanxsec2x+secxtanx=secx.
So the ODE becomes
dxdy+(secx)y=secx+tanx1.
- Find the integrating factor
μ(x)=e∫secxdx.
A standard integral: ∫secxdx=log∣secx+tanx∣+C.
Thus
μ(x)=elog∣secx+tanx∣=secx+tanx.
(We take the positive branch for typical intervals.)
- Multiply through by μ(x)
(secx+tanx)dxdy+(secx+tanx)(secx)y=1.
Notice the left side is exactly the derivative of (secx+tanx)y because
dxd[(secx+tanx)y]=(secx+tanx)dxdy+(secxtanx+sec2x)y,
and indeed secx(secx+tanx)=sec2x+secxtanx. So we have
dxd[(secx+tanx)y]=1.
- Integrate both sides
(secx+tanx)y=∫1dx=x+c.
- Match with the options This is exactly option (D): (secx+tanx)y=x+c.
TipNotice that the integrating factor turned out to be exactly the coefficient of dxdy in the original equation. This is a neat shortcut: if the ODE is already written as dxd[M(x)y]=something, you can integrate directly without computing the integrating factor separately.
Watch outA common mistake is to forget to divide by the coefficient of dxdy first, or to mis-simplify sec2x+secxtanx. Always check the algebra carefully.
✓Final answerThe correct option is (D).
ANSWER: D
- TG EAPCET 2026Set eng-2026-05-11-AN1 markMCQQ.If the equation of the line joining the points A(x1,y1) and B(x2,y2) is ax+by=c and the distance between A and B is a2+b2, then c2= (A) x2y2x12+y12 (B) y1+y2x1+x2 (C) (x1y2−x2y1)2 (D) (x1x2−y1y2)2
›Reveal solutionSolution
The key idea is that the distance condition forces the line’s normal vector (a,b) to be exactly the vector from A to B, so the line equation becomes (x2−x1)x+(y2−y1)y=c, and plugging in either point gives c=x1x2−x12+y1y2−y12, which simplifies to (x1y2−x2y1)2 after using the distance condition. The correct option is (C).
Concept and intuition
We are told that the line through A(x1,y1) and B(x2,y2) has equation ax+by=c, and that the distance AB=a2+b2.
Normally, the distance between two points is (x2−x1)2+(y2−y1)2. The fact that this equals a2+b2 suggests that (a,b) is exactly the vector from A to B (or its negative). Because if the line’s normal vector (a,b) has the same length as the segment AB, and the line passes through both points, then the normal must be aligned with the direction of the segment — a very special condition. This lets us identify a and b up to sign, then find c by substituting either point.
Step-by-step reasoning
- Write the distance condition The distance between A and B is
AB=(x2−x1)2+(y2−y1)2.
We are given AB=a2+b2, so
(x2−x1)2+(y2−y1)2=a2+b2.(1)
- Use that both points lie on the line Since A and B satisfy ax+by=c, we have
ax1+by1=candax2+by2=c.(2)
Subtracting these gives
a(x2−x1)+b(y2−y1)=0.(3)
-
Interpret equation (3)
Equation (3) says the vector (a,b) is perpendicular to the vector (x2−x1,y2−y1). But from (1) their lengths are equal. Two perpendicular vectors of equal length? That forces them to be rotated by 90° relative to each other. In the plane, if a vector (u,v) has length L, then a perpendicular vector of the same length is either (−v,u) or (v,−u).
So we must have
(a,b)=±(−(y2−y1),x2−x1).
(Check: dot product (x2−x1)(−(y2−y1))+(y2−y1)(x2−x1)=0, and lengths match.)
- Find c using one point Take the positive sign (the negative sign will give the same c2). Then
a=−(y2−y1),b=x2−x1.
Plug into ax1+by1=c:
c=−(y2−y1)x1+(x2−x1)y1=−x1y2+x1y1+x2y1−x1y1=x2y1−x1y2.
So c=x2y1−x1y2=−(x1y2−x2y1).
Hence
c2=(x1y2−x2y1)2.
- Check the other sign If we had chosen (a,b)=(y2−y1,−(x2−x1)), then
c=(y2−y1)x1−(x2−x1)y1=x1y2−x1y1−x2y1+x1y1=x1y2−x2y1,
and squaring gives the same result.
TipThe key shortcut: the condition AB=a2+b2 together with A and B on the line means (a,b) is a 90° rotation of the vector AB. That directly yields c as the 2D cross product (determinant) x1y2−x2y1.
Watch outA common mistake is to think (a,b) equals (x2−x1,y2−y1) directly. But that would make the dot product in (3) equal to (x2−x1)2+(y2−y1)2, which is nonzero unless the points coincide. The perpendicular condition is essential.
✓Final answerThe correct option is (C).
ANSWER: C
- TG EAPCET 2023Set eng-2023-05-12-FN1 markMCQQ.The general solution of dxdy+yf′(x)−f(x)f′(x)=0,y=f(x) is (A) y=f(x)+1+ce−f(x) (B) y=ce−f(x) (C) y=f(x)−1+ce−f(x) (D) y=f(x)+cef(x)
›Reveal solutionSolution
This is a first-order linear ODE disguised by the presence of f(x) and f′(x). By rewriting it in standard form and using an integrating factor ef(x), the general solution simplifies to y=f(x)−1+ce−f(x), which corresponds to option (C).
We start with the given differential equation:
dxdy+yf′(x)−f(x)f′(x)=0,y=f(x).
Concept & Intuition
The equation looks messy because of the f(x) and f′(x) terms, but notice that f′(x) appears as a coefficient of y and also multiplied by f(x). This suggests we can rearrange it into the standard linear form dxdy+P(x)y=Q(x), where P(x) and Q(x) are functions of x only. Once in that form, the method of integrating factor works cleanly. The key trick: treat f(x) as some known function (we don't need its explicit form), and f′(x) as its derivative.
Step-by-step solution
- Rewrite the equation in standard linear form Bring the term −f(x)f′(x) to the right-hand side:
dxdy+f′(x)y=f(x)f′(x).
This is now of the form dxdy+P(x)y=Q(x) with P(x)=f′(x) and Q(x)=f(x)f′(x).
- Find the integrating factor The integrating factor μ(x) is given by e∫P(x)dx. Here:
∫P(x)dx=∫f′(x)dx=f(x)+C.
We only need one integrating factor, so take μ(x)=ef(x).
- Multiply through by the integrating factor
ef(x)dxdy+ef(x)f′(x)y=ef(x)f(x)f′(x).
The left-hand side is the derivative of yef(x) with respect to x (by the product rule, since dxdef(x)=ef(x)f′(x)). So we have:
dxd(yef(x))=ef(x)f(x)f′(x).
- Integrate both sides
yef(x)=∫ef(x)f(x)f′(x)dx.
Notice that the integrand is set up for a substitution: let u=f(x), then du=f′(x)dx, so:
∫euudu.
This is a standard integral. Use integration by parts: let w=u, dv=eudu, then dw=du, v=eu. So:
∫ueudu=ueu−∫eudu=ueu−eu+C=eu(u−1)+C.
Substituting back u=f(x):
∫ef(x)f(x)f′(x)dx=ef(x)(f(x)−1)+C.
- Solve for y From step 4:
yef(x)=ef(x)(f(x)−1)+C.
Divide both sides by ef(x) (which is never zero):
y=f(x)−1+Ce−f(x).
Renaming the constant C as c, we get the general solution:
y=f(x)−1+ce−f(x).
Watch outA common mistake is to forget the constant of integration or to misapply integration by parts. Also note the condition y=f(x) is given to avoid the trivial case where the denominator in some step might vanish, but it doesn't affect the derivation here.
TipThe structure y=f(x)−1+ce−f(x) shows that as x varies, the term ce−f(x) decays or grows depending on f(x), but the particular solution f(x)−1 is the "steady" part.
✓Final answerThe correct option is (C).
ANSWER: C
- TG EAPCET 2026Set eng-2026-05-10-FN1 markMCQQ.If y=(x+x2+1)5 then 25y= (A) (x2+1)y2−xy1 (B) (x2+1)y2+xy1 (C) (x2+1)y2−2xy1 (D) (x2+1)y2+2xy1
›Reveal solutionSolution
The function y=(x+x2+1)5 is a power of an inverse hyperbolic sine, so its derivatives satisfy a simple recurrence. Differentiating twice and rearranging gives 25y=(x2+1)y2+xy1, which is option (B).
We have y=(x+x2+1)5. The expression inside the parentheses is the standard form for the inverse hyperbolic sine: sinh−1x=log(x+x2+1), so x+x2+1=esinh−1x. That means y=e5sinh−1x. This is a composition that makes differentiation clean: the derivative of sinh−1x is x2+11, and the chain rule will produce a pattern that eliminates the square root.
The key insight: instead of brute-force expanding, we can find a relation between y, y1=dxdy, and y2=dx2d2y by differentiating the defining equation. Notice that x+x2+1 satisfies a neat property: its reciprocal is x2+1−x. This will help us isolate derivatives.
- First derivative. Let u=x+x2+1. Then y=u5, and dxdu=1+x2+1x=x2+1x2+1+x=x2+1u. So by the chain rule:
y1=5u4⋅dxdu=5u4⋅x2+1u=x2+15u5=x2+15y.
Hence
x2+1y1=5y.(1)
- Second derivative. Differentiate (1) with respect to x. The left side is a product:
dxd(x2+1y1)=x2+1xy1+x2+1y2.
The right side differentiates to 5y1. So:
x2+1xy1+x2+1y2=5y1.(2)
- Eliminate the square root. Multiply (2) through by x2+1:
xy1+(x2+1)y2=5x2+1y1.
But from (1), x2+1y1=5y. Substitute:
xy1+(x2+1)y2=5⋅(5y)=25y.
- Rearrange.
25y=(x2+1)y2+xy1.
Watch outA common mistake is to misplace the sign when rearranging. The term xy1 appears with a plus sign, not minus. Check: from step 3 we have xy1+(x2+1)y2=25y, so moving xy1 to the right would give a minus, but the question asks for 25y on the left, so the expression on the right is exactly (x2+1)y2+xy1.
✓Final answerThe correct option is (B).
- TG EAPCET 2022Set eng-2022-07-20-AN1 markMCQQ.If l and m are respectively the order and the degree of the differential equation f(x)y′′+g(x)y′=x4y whose general solution is y=ax2+blogx, then f(m)+g(m)= (A) 2l (B) l (C) 3m (D) 1+m
›Reveal solutionSolution
The key idea is to find the differential equation from its given general solution, then identify its order l and degree m, and finally evaluate f(m)+g(m) — the answer is l.
We are told that the general solution of the differential equation
f(x)y′′+g(x)y′=x4y
is y=ax2+blogx, where a and b are arbitrary constants. The functions f(x) and g(x) are not given explicitly — they are to be determined from the fact that this y satisfies the equation for all a,b.
The problem asks for f(m)+g(m), where l is the order and m is the degree of this differential equation. So we first need to find the differential equation itself.
- Find the derivatives of the given solution.
y=ax2+blogx
Differentiate:
y′=2ax+xb
Differentiate again:
y′′=2a−x2b
-
Eliminate the arbitrary constants a and b.
We have three equations: y, y′, y′′ in terms of a and b. We need one equation relating y, y′, y′′ and x alone — that is the differential equation.
From y′′=2a−x2b, we can solve for a and b in terms of y′′ and something else. But a cleaner way:
From y′=2ax+xb, multiply by x:
xy′=2ax2+b
From y=ax2+blogx, we have ax2=y−blogx. Substitute into xy′:
xy′=2(y−blogx)+b=2y−2blogx+b
This still has b. Instead, let's use y′′ directly.
From y′′=2a−x2b, multiply by x2:
x2y′′=2ax2−b
But 2ax2=2(y−blogx) from y=ax2+blogx. So:
x2y′′=2y−2blogx−b
This still contains b. We need another relation to eliminate b.
From y′=2ax+xb, multiply by x:
xy′=2ax2+b
And 2ax2=2(y−blogx). So:
xy′=2y−2blogx+b
Now subtract the x2y′′ equation from this? Let's do it systematically.
We have:
xy′=2y−2blogx+b(1)
x2y′′=2y−2blogx−b(2)
Subtract (2) from (1):
xy′−x2y′′=(2y−2blogx+b)−(2y−2blogx−b)=2b
So b=21(xy′−x2y′′).
Now add (1) and (2):
xy′+x2y′′=(2y−2blogx+b)+(2y−2blogx−b)=4y−4blogx
Substitute b:
xy′+x2y′′=4y−4(21(xy′−x2y′′))logx
xy′+x2y′′=4y−2(xy′−x2y′′)logx
Bring terms together:
xy′+x2y′′+2(xy′−x2y′′)logx=4y
Factor:
xy′(1+2logx)+x2y′′(1−2logx)=4y
Divide through by x (assuming x=0):
y′(1+2logx)+xy′′(1−2logx)=x4y
This is the differential equation. Compare with the given form f(x)y′′+g(x)y′=x4y:
f(x)=x(1−2logx),g(x)=1+2logx
-
Identify order l and degree m.
The highest derivative is y′′, so order l=2.
The equation is polynomial in y′′ and y′ (no fractional powers, no transcendental functions of derivatives), and the highest power of y′′ is 1. So degree m=1.
Watch outDegree is defined only when the equation is polynomial in the derivatives. Here it is, so degree = 1. The presence of logx in the coefficients does not affect the degree — degree concerns only the dependent variable and its derivatives.
-
Compute f(m)+g(m).
Since m=1, evaluate f(1) and g(1):
f(1)=1⋅(1−2log1)=1⋅(1−0)=1
g(1)=1+2log1=1+0=1
So f(m)+g(m)=1+1=2.
And l=2, so f(m)+g(m)=l.
✓Final answerThe value is f(m)+g(m)=l, which corresponds to option (B).
- TG EAPCET 2026Set eng-2026-05-09-FN1 markMCQQ.If dxdy−x2+b2xy=−2x(x2+b), y(0)=12, y(1)=10, then sum of all possible values of b is (A) 1 (B) 4 (C) −3 (D) −1
›Reveal solutionSolution
This is a first-order linear ODE solved via an integrating factor; the two boundary conditions force a specific value of the parameter b, and the sum of all possible b values is −3.
We are given the differential equation
dxdy−x2+b2xy=−2x(x2+b),
with conditions y(0)=12 and y(1)=10. The parameter b is unknown, and we must find all possible b that allow both conditions to hold, then sum them.
Concept and intuition
This is a first-order linear ODE of the form
dxdy+P(x)y=Q(x).
The standard method: multiply by an integrating factor μ(x)=e∫P(x)dx to make the left side a perfect derivative. Here P(x)=−x2+b2x, so the integrating factor will simplify nicely because the numerator is the derivative of the denominator. The right-hand side is a polynomial times (x2+b), so after multiplication we’ll integrate easily.
The twist: we have two boundary conditions for a first-order ODE — that usually overdetermines the system. The parameter b must adjust so that both conditions are consistent. We’ll solve the ODE in terms of b and a constant C, then impose y(0)=12 and y(1)=10 to get equations that determine b.
Step-by-step solution
1. Identify P(x) and compute the integrating factor.
Rewrite the ODE as
dxdy+(−x2+b2x)y=−2x(x2+b).
So P(x)=−x2+b2x. Then
∫P(x)dx=−∫x2+b2xdx=−log∣x2+b∣+constant.
Thus the integrating factor is
μ(x)=e∫Pdx=e−log∣x2+b∣=x2+b1.
(We can drop absolute values since b will be chosen so that x2+b>0 on the interval containing 0 and 1, or we treat it as a formal algebraic factor.)
2. Multiply the ODE by μ(x).
x2+b1dxdy−(x2+b)22xy=−2x.
Notice the left side is exactly
dxd(x2+by).
Check: derivative of x2+by is x2+by′−(x2+b)22xy. Yes.
So we have
dxd(x2+by)=−2x.
3. Integrate both sides.
x2+by=∫(−2x)dx=−x2+C,
where C is an arbitrary constant.
Thus
y(x)=(x2+b)(−x2+C).
4. Apply the first condition y(0)=12.
At x=0:
y(0)=(0+b)(0+C)=bC=12⇒C=b12.
5. Apply the second condition y(1)=10.
At x=1:
y(1)=(1+b)(−1+C)=10.
Substitute C=b12:
(1+b)(−1+b12)=10.
6. Solve for b.
Simplify the left side:
(1+b)(b−b+12)=b(1+b)(12−b)=10.
Multiply both sides by b (note b=0 because otherwise y(0)=12 would be impossible from bC=12):
(1+b)(12−b)=10b.
Expand:
12−b+12b−b2=10b⇒12+11b−b2=10b.
Bring all terms to one side:
12+11b−b2−10b=0⇒12+b−b2=0.
Multiply by −1:
b2−b−12=0.
Factor:
(b−4)(b+3)=0.
So b=4 or b=−3.
7. Sum all possible values of b.
Sum = 4+(−3)=1.
Watch outA common mistake is to forget that b cannot be zero (since y(0)=bC would force 0=12), but our quadratic already excludes b=0. Also, check that for b=−3, the denominator x2−3 is nonzero at x=0 and x=1 (it is −3 and −2 respectively), so the ODE is well-defined on the interval.
TipThe integrating factor method turned the ODE into a simple derivative because the coefficient x2+b2x is exactly the derivative of log(x2+b). This is a classic pattern: whenever P(x) is a constant times f(x)f′(x), the integrating factor is a power of f(x).
✓Final answerThe correct option is (A).
ANSWER: A
- TG EAPCET 2025Set eng-2025-05-02-FN1 markMCQQ.If cosxdxdy=ysinx−1, x=(2n+1)2π, n∈Z is the differential equation corresponding to the curve y=f(x) and f(0)=1 then f(x)= (A) (1−x)secx (B) (1−x)cosx (C) x+cosx (D) x+secx
›Reveal solutionSolution
This is a first-order linear ODE. Rewriting it in standard form and using an integrating factor gives f(x)=(1−x)secx, which matches option (A).
We start with the given differential equation:
cosxdxdy=ysinx−1
The goal is to find y=f(x) satisfying f(0)=1, and then match it to one of the options.
Concept and Intuition
The equation is linear in y but not yet in standard form. The standard form for a first-order linear ODE is:
dxdy+P(x)y=Q(x)
Once in this form, we multiply through by an integrating factor μ(x)=e∫P(x)dx, which lets us write the left-hand side as the derivative of μ(x)y. Then we integrate both sides.
Here, dividing by cosx will give us P(x)=−tanx and Q(x)=−secx. The integrating factor simplifies nicely because ∫tanxdx=−log∣cosx∣, so μ(x)=secx.
Step-by-step solution
- Rewrite in standard form Divide both sides by cosx (valid since x=(2n+1)2π):
dxdy=ytanx−secx
Bring the y term to the left:
dxdy−(tanx)y=−secx
So P(x)=−tanx and Q(x)=−secx.
- Find the integrating factor
μ(x)=e∫P(x)dx=e∫−tanxdx
Since ∫tanxdx=−log∣cosx∣, we have:
∫−tanxdx=log∣cosx∣
Hence:
μ(x)=elog∣cosx∣=∣cosx∣
For the domain (where cosx>0 near x=0), we can take μ(x)=cosx. But it's more standard to use secx as the integrating factor when we multiply through — let's check.
Actually, careful: The standard formula is μ=e∫Pdx. With P=−tanx, we get μ=elog(cosx)=cosx (taking positive branch near 0). So the integrating factor is cosx.
- Multiply the ODE by μ(x)=cosx Original ODE in standard form:
dxdy−(tanx)y=−secx
Multiply by cosx:
cosxdxdy−ysinx=−1
Notice the left side is exactly dxd(ycosx) because:
dxd(ycosx)=dxdycosx−ysinx
So we have:
dxd(ycosx)=−1
- Integrate both sides
ycosx=∫−1dx=−x+C
- Apply the initial condition f(0)=1 At x=0, y=1 and cos0=1:
1⋅1=−0+C⇒C=1
So:
ycosx=1−x
Hence:
y=cosx1−x=(1−x)secx
- Match with options This is exactly option (A).
TipA common mistake is to forget the sign when integrating tanx or to misplace the negative in the standard form. Always double-check that dxd(μy) matches after multiplying by μ.
Watch outThe domain restriction x=(2n+1)2π ensures cosx=0, so division by cosx and the use of secx are valid. At x=0, everything is well-defined.
✓Final answerThe correct option is (A).
ANSWER: A
- TG EAPCET 2026Set eng-2026-05-11-AN1 markMCQQ.The integrating factor of the linear differential equation in x given by dxdy=3x+y+21 is (A) e−3x (B) e−x (C) e−3y (D) e−y
›Reveal solutionSolution
The given equation is not linear in y, but rewriting it as dydx=3x+y+2 makes it linear in x with integrating factor e−3y, so the correct option is (C).
We are given
dxdy=3x+y+21.
At first glance, this looks like a first-order differential equation in y as a function of x. But it is not linear in y because the right-hand side is a rational function containing y in the denominator. However, we can flip the relationship: treat x as a function of y instead.
The key insight: if dxdy is given, then dydx=1/dxdy (provided the derivative is nonzero). This often turns a nonlinear equation in y into a linear equation in x.
- Rewrite the equation in terms of x(y) Since dydx=dxdy1, we have
dydx=3x+y+2.
This is now a linear first-order differential equation in x with independent variable y.
- Identify the standard linear form The standard form for a linear ODE in x is
dydx+P(y)x=Q(y).
Our equation is
dydx−3x=y+2.
So P(y)=−3 and Q(y)=y+2.
- Recall the integrating factor formula For a linear ODE dydx+P(y)x=Q(y), the integrating factor is
μ(y)=e∫P(y)dy.
Here P(y)=−3, so
μ(y)=e∫(−3)dy=e−3y.
- Interpret the result The integrating factor depends only on y, and it is e−3y. Multiplying the equation by this factor makes the left side an exact derivative, allowing us to solve for x(y).
Thus, among the given options, the integrating factor is e−3y.
Watch outA common mistake is to try to force the equation into the form dxdy+P(x)y=Q(x) without checking if it is linear in y. Here it is not, so flipping variables is essential.
TipWhenever you see dxdy=linear in x and y1, try writing dydx instead — it often becomes linear immediately.
✓Final answerThe correct option is (C).
ANSWER: C
- TG EAPCET 2024Set eng-2024-05-10-AN1 markMCQQ.If y=sinx+Acosx is the general solution of dxdy+f(x)y=secx, then an integrating factor of the differential equation is (A) secx (B) tanx (C) cosx (D) sinx
›Reveal solutionSolution
The given general solution is y=sinx+Acosx. Differentiating and substituting into the differential equation reveals f(x)=tanx, so the integrating factor is secx, which is option (A).
We are told that y=sinx+Acosx (where A is an arbitrary constant) is the general solution of
dxdy+f(x)y=secx.
Our goal is to find the integrating factor (I.F.) of this linear first-order ODE. The standard form is y′+P(x)y=Q(x), and the integrating factor is μ(x)=e∫P(x)dx. Here P(x)=f(x).
The key insight: If we already know the general solution, we can work backwards to find f(x) by differentiating the solution and plugging it into the equation. Then we compute the integrating factor directly.
-
Differentiate the given general solution
y=sinx+Acosx
dxdy=cosx−Asinx
-
Substitute into the differential equation
The equation is dxdy+f(x)y=secx.
So:
(cosx−Asinx)+f(x)(sinx+Acosx)=secx
- Group terms involving A and those without A Expand:
cosx−Asinx+f(x)sinx+Af(x)cosx=secx
Group constant (in A) terms: cosx+f(x)sinx
Group A terms: A(−sinx+f(x)cosx)
Since this must hold for all A (the solution is general), the coefficient of A must be zero. That gives:
−sinx+f(x)cosx=0⇒f(x)cosx=sinx⇒f(x)=tanx
- Verify the constant part With f(x)=tanx, the constant part becomes:
cosx+tanx⋅sinx=cosx+cosxsin2x=cosxcos2x+sin2x=cosx1=secx
which matches the right-hand side. So everything is consistent.
- Find the integrating factor For the linear ODE y′+(tanx)y=secx, the integrating factor is
μ(x)=e∫tanxdx=elog∣secx∣=secx
(ignoring the absolute value for typical domains).
TipA common pitfall is to assume the integrating factor is simply e∫f(x)dx without checking the sign or form. Here f(x)=tanx integrates to log∣secx∣, giving secx — not cosx or tanx.
Watch outIf you mistakenly think the integrating factor is e∫secxdx, you'd get something messy. Always identify P(x) correctly from the standard form y′+P(x)y=Q(x).
✓Final answerThe correct option is (A).
ANSWER: A
-
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.