Q.For each of the exercises given below, verify that the given function (implicit or explicit) is a solution of the corresponding differential equation.
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 given function into the differential equation and check that it satisfies the identity.
(i) xy=aex+be−x+x2
Differentiate twice:
y+xy′=aex−be−x+2x
2y′+xy′′=aex+be−x+2
Now xy′′+2y′−xy+x2−2=(aex+be−x+2)−xy+x2−2=(aex+be−x+x2)−xy=0 since xy=aex+be−x+x2. Verified.
(ii) y=ex(acosx+bsinx)
y′=ex(acosx+bsinx)+ex(−asinx+bcosx)=y+ex(−asinx+bcosx)
y′′=y′+ex(−asinx+bcosx)+ex(−acosx−bsinx)=y′+(y′−y)−y=2y′−2y
Thus y′′−2y′+2y=0. Verified.
(iii) y=xsin3x
y′=sin3x+3xcos3x
y′′=3cos3x+3cos3x−9xsin3x=6cos3x−9y
Then y′′+9y−6cos3x=(6cos3x−9y)+9y−6cos3x=0. Verified.
(iv) x2=2y2logy
Differentiate implicitly: 2x=4ylogy⋅y′+2y2⋅y1y′=4yy′logy+2yy′
So 2x=2yy′(2logy+1) → y′=y(2logy+1)x
Now (x2+y2)y′−xy=(2y2logy+y2)⋅y(2logy+1)x−xy=y(2logy+1)y2(2logy+1)⋅x−xy=xy−xy=0. Verified.
All four given functions are verified as solutions of their respective differential equations.
For each part, we verify the given function satisfies the differential equation by computing the required derivatives, substituting them into the equation, and simplifying to an identity (0 = 0). The key is careful differentiation — product rule, chain rule, and implicit differentiation where needed.
(i) xy=aex+be−x+x2 : xdx2d2y+2dxdy−xy+x2−2=0
Concept: The given relation is implicit in y. We can either solve for y explicitly or differentiate the equation as it stands. Since y appears multiplied by x, solving explicitly is straightforward: y=xaex+be−x+x2. Then we compute y′ and y′′ and substitute.
- Write y explicitly:
y=xaex+xbe−x+x
- First derivative (using quotient rule on the first two terms, or rewrite as aexx−1 and differentiate):
y′=a(xex−x2ex)+b(−xe−x−x2e−x)+1
Factor common terms:
y′=x2aex(x−1)−x2be−x(x+1)+1
-
Second derivative: Differentiate y′ term by term. For the first term, use quotient rule on x2aex(x−1):
- Let u=aex(x−1), v=x2. Then u′=aex(x−1)+aex=aexx, and v′=2x.
- So derivative = x4(aexx)(x2)−(aex(x−1))(2x)=x4aexx3−2aexx(x−1)=x3aex(x2−2x+2)
For the second term, −x2be−x(x+1):
- u=−be−x(x+1), v=x2. u′=−b[−e−x(x+1)+e−x]=−be−x(−x)=be−xx (careful: derivative of e−x(x+1) is −e−x(x+1)+e−x=−xe−x, so u′=−b(−xe−x)=bxe−x).
- Derivative = x4(bxe−x)(x2)−(−be−x(x+1))(2x)=x4be−xx3+2be−xx(x+1)=x3be−x(x2+2x+2)
The derivative of 1 is 0. So:
y′′=x3aex(x2−2x+2)+x3be−x(x2+2x+2)
-
Substitute into the differential equation: xy′′+2y′−xy+x2−2=0
Compute xy′′:
xy′′=x2aex(x2−2x+2)+x2be−x(x2+2x+2)
Compute 2y′:
2y′=x22aex(x−1)−x22be−x(x+1)+2
Compute −xy:
−xy=−x(xaex+xbe−x+x)=−aex−be−x−x2
Now sum everything:
xy′′+2y′−xy+x2−2=[x2aex(x2−2x+2)+x2be−x(x2+2x+2)]+[x22aex(x−1)−x22be−x(x+1)+2]+[−aex−be−x−x2]+x2−2
Combine the aex terms: factor x2aex:
x2aex[(x2−2x+2)+2(x−1)]−aex=x2aex[x2−2x+2+2x−2]−aex=x2aex[x2]−aex=aex−aex=0
Combine the be−x terms: factor x2be−x:
x2be−x[(x2+2x+2)−2(x+1)]−be−x=x2be−x[x2+2x+2−2x−2]−be−x=x2be−x[x2]−be−x=be−x−be−x=0
The constant terms: +2−x2+x2−2=0.
Everything cancels. Hence the given function satisfies the differential equation.
A common mistake is forgetting the +x term when writing y explicitly from xy=... — that x comes from x2/x=x, not from the exponential terms. Also, when differentiating be−x/x, the sign of the derivative of e−x is −e−x, so handle with care.
(ii) y=ex(acosx+bsinx) : dx2d2y−2dxdy+2y=0
Concept: This is a linear combination of excosx and exsinx, which are known to satisfy the second-order linear ODE y′′−2y′+2y=0. We verify by direct differentiation.
- First derivative: Use product rule. Let u=ex, v=acosx+bsinx.
y′=ex(acosx+bsinx)+ex(−asinx+bcosx)=ex[(a+b)cosx+(b−a)sinx]
- Second derivative: Differentiate y′ again. Write y′=ex[(a+b)cosx+(b−a)sinx]. Apply product rule:
y′′=ex[(a+b)cosx+(b−a)sinx]+ex[−(a+b)sinx+(b−a)cosx]
Simplify:
y′′=ex[(a+b+b−a)cosx+(b−a−a−b)sinx]=ex[2bcosx−2asinx]
- Substitute into y′′−2y′+2y:
y′′−2y′+2y=ex[2bcosx−2asinx]−2ex[(a+b)cosx+(b−a)sinx]+2ex[acosx+bsinx]
Factor ex and collect cosx and sinx terms:
For cosx: 2b−2(a+b)+2a=2b−2a−2b+2a=0
For sinx: −2a−2(b−a)+2b=−2a−2b+2a+2b=0
Hence the expression is identically zero.
Notice that y=ex(acosx+bsinx) is the general solution of y′′−2y′+2y=0. The characteristic equation is r2−2r+2=0, with roots r=1±i, giving exactly this form. So verification is essentially checking that the function matches the known solution form.
(iii) y=xsin3x : dx2d2y+9y−6cos3x=0
Concept: Here y is a product of x and sin3x. We compute two derivatives and substitute. The presence of −6cos3x in the equation suggests that after substitution, the sin terms will cancel and leave a cos term that matches.
- First derivative: Using product rule:
y′=sin3x+x⋅3cos3x=sin3x+3xcos3x
- Second derivative: Differentiate y′:
y′′=3cos3x+3cos3x+3x⋅(−3sin3x)=6cos3x−9xsin3x
- Substitute into y′′+9y−6cos3x:
y′′+9y−6cos3x=(6cos3x−9xsin3x)+9(xsin3x)−6cos3x
The 6cos3x and −6cos3x cancel. The −9xsin3x+9xsin3x also cancel. Result is 0.
A common error: forgetting the factor of 3 when differentiating sin3x (chain rule). Also, when differentiating 3xcos3x, the derivative of cos3x is −3sin3x, giving −9xsin3x, not −3xsin3x.
(iv) x2=2y2logy : (x2+y2)dxdy−xy=0
Concept: This relation is implicit. We differentiate both sides with respect to x, treating y as a function of x, then solve for dxdy and substitute into the given equation.
- Differentiate the given relation implicitly:
dxd(x2)=dxd(2y2logy)
Left side: 2x.
Right side: 2⋅dxd(y2logy). Use product rule: derivative of y2 is 2ydxdy, derivative of logy is y1dxdy.
So:
dxd(y2logy)=2ydxdy⋅logy+y2⋅y1dxdy=2ylogydxdy+ydxdy=y(2logy+1)dxdy
Hence:
2x=2⋅y(2logy+1)dxdy⇒2x=2y(2logy+1)dxdy
- Solve for dxdy:
dxdy=y(2logy+1)x
- Substitute into (x2+y2)dxdy−xy:
(x2+y2)⋅y(2logy+1)x−xy
Factor x:
=x[y(2logy+1)x2+y2−y]
Combine inside the bracket over a common denominator:
=x[y(2logy+1)x2+y2−y2(2logy+1)]=x[y(2logy+1)x2+y2−2y2logy−y2]=x[y(2logy+1)x2−2y2logy]
- Use the original relation: x2=2y2logy. Substitute x2:
x2−2y2logy=2y2logy−2y2logy=0
Hence the numerator is zero, so the entire expression is zero.
The key insight: the differential equation is designed so that after substituting dxdy from the implicit relation, the numerator simplifies to x2−2y2logy, which is exactly zero by the given relation. So the verification reduces to recognizing that the given equation is used to eliminate the numerator.
All four given functions are verified to be solutions of their respective differential equations.
Method: Verifying a given function solves a differential equation
To verify (rather than solve), differentiate the given function enough times, substitute, and show the equation reduces to an identity.
Steps
Step 1: Count how many derivatives you need.
Look at the highest derivative in the equation; you must compute up to that order.
Step 2: Differentiate carefully.
Use product, chain and — for an implicit relation like x2=2y2logy — implicit differentiation, keeping dxdy symbolic.
Step 3: Substitute into the equation.
Replace each derivative and y by your expressions.
Step 4: Simplify to 0=0.
Use the original relation to eliminate leftover terms; reaching an identity confirms it is a solution. You need not derive the solution from scratch.
Common Mistakes
Mistake 1: Trying to solve the equation instead of verifying.
Why it's wrong: the task is to substitute the given function and confirm an identity, not to derive it. Correct approach: differentiate the given y up to the required order and plug in.
Mistake 2: Chain-rule and product-rule slips.
Why it's wrong: e.g. for y=xsin3x, y′′=6cos3x−9xsin3x (the factor 3 from sin3x is essential); missing it breaks the cancellation. Correct approach: differentiate carefully term by term.
Mistake 3: Not using the original relation for an implicit case.
Why it's wrong: in (iv) the numerator only vanishes after substituting x2=2y2logy. Correct approach: use the given relation to eliminate leftover terms and reach 0=0.
Showing the 12 most recent of 86 on this concept.
- 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 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 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 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 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 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-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 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 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 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
-
- 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 2025Set eng-2025-05-04-FN1 markMCQQ.Consider all functions given in List-1 in the interval [1,3]. The List-2 has the values of ‘c’ obtained by applying Lagrange’s mean value theorem on the functions of List-1. Match the functions and values of ‘c’. (A) A – II, B – V, C – IV, D – III (B) A – IV, B – III, C – II, D – V (C) A – II, B – I, C – IV, D – III (D) A – IV, B – V, C – II, D – I
›Reveal solutionSolution
This is a List-I → List-II matching question on Lagrange's Mean Value Theorem over [1,3]; the official key pairs them as A–IV, B–III, C–II, D–V — option (B).
For each function f in List-I, Lagrange's Mean Value Theorem (LMVT) guarantees a point c∈(1,3) with
f′(c)=3−1f(3)−f(1)=2f(3)−f(1),
and the value of c so obtained is the List-II entry to be matched. For each function one forms this equation, solves f′(c)=21(f(3)−f(1)), and keeps the root lying in (1,3).
NoteThe detailed contents of List-I (the four functions) and List-II (the five candidate values of c) did not survive text extraction for this item — only the four answer options are available. The pairing recorded here is the one fixed by the official answer key, option (B).
✓Final answerThe correct match is A–IV, B–III, C–II, D–V — option (B).
ANSWER: B
🎓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.