Q.Verify that the function y=acosx+bsinx, where a,b∈R is a solution of the differential equation dx2d2y+y=0.
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →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. …
Concept: Verification of Solution — substitute the given function into the differential equation and check that it satisfies the equation identically.
Step 1: Compute the first derivative:
y=acosx+bsinx
dxdy=−asinx+bcosx
Step 2: Compute the second derivative:
dx2d2y=−acosx−bsinx=−(acosx+bsinx)=−y
Step 3: Substitute into the differential equation: …
The function y=acosx+bsinx satisfies dx2d2y+y=0 because its second derivative is −y, making the sum identically zero for any real a,b.
Why this approach works
When we're asked to verify that a given function is a solution of a differential equation, we don't need to solve anything — we just need to check that plugging the function into the equation makes it true. The differential equation here is second-order linear and homogeneous: dx2d2y+y=0. It says, in words, "the second derivative of y plus y itself equals zero for all x."
The given function is a combination of sine and cosine. The key insight: both sinx and cosx have the property that differentiating them twice brings you back to the negative of the original function. So any linear combination of them will also have that property. That's exactly what the equation demands.
Step-by-step verification
1. Write down the function clearly
We have:
y=acosx+bsinx
where a and b are any real constants.
2. Find the first derivative
Differentiate term by term:
dxdy=−asinx+bcosx
Remember: derivative of cosx is −sinx, and derivative of sinx is cosx.
3. Find the second derivative
Differentiate dxdy:
dx2d2y=−acosx−bsinx
Here, derivative of −sinx is −cosx, and derivative of cosx is −sinx.
4. Observe the pattern
Look at the second derivative:
dx2d2y=−(acosx+bsinx)
But acosx+bsinx is exactly y! So:
dx2d2y=−y …
Method: Verifying a given function is a solution
Use this whenever a question says "Show that ... is a solution of ..." or "Verify that ...". You are NOT asked to solve the equation — only to confirm that a function already handed to you makes the equation an identity.
Steps
Step 1: List exactly which derivatives the equation contains.
Read the differential equation and note the highest derivative present. If it contains dx2d2y, you will need y, y′ and y′′; if only dxdy, you need y and y′. Compute no more than you need.
Step 2: Differentiate the given function, treating every constant as a constant.
Constants such as a, b, c1 are parameters, not functions of x — their derivative is 0. Differentiate term by term.
Step 3: Substitute y and its derivatives into the left-hand side. …
Common Mistakes
Mistake 1: Differentiating the constants a and b.
Why it's wrong: a and b are fixed parameters, not functions of x, so they carry through differentiation unchanged. Treating them as variables corrupts every derivative. Correct approach: differentiate only cosx and sinx, leaving a and b as constant multipliers.
Mistake 2: Sign slips when differentiating trig functions. …
Showing the 12 most recent of 14 on this concept.
- AP EAPCET 2021Set eng-2021-08-19-FN1 markMCQQ.The solution of the differential equation dx2d2y+y=0 is ____ (A) y=3sinx+4cosx (B) y=x2 (C) y=x+2 (D) y=logx
›Reveal solutionSolution
The equation y′′+y=0 has general solution C1sinx+C2cosx; only y=3sinx+4cosx fits and satisfies the equation.
Concept and Intuition
y′′+y=0 is the classic simple-harmonic-motion differential equation. Its solutions are sinusoids, since the second derivative of sinx or cosx is the negative of itself, exactly cancelling the +y term.
Step-by-Step Solution
- Recognize the auxiliary equation for y′′+y=0: m2+1=0⇒m=±i, giving general solution y=C1cosx+C2sinx.
- Check option (A): y=3sinx+4cosx. Then y′=3cosx−4sinx, y′′=−3sinx−4cosx=−y. So y′′+y=0. ✓ Matches the required form.
- Check option (B): y=x2⇒y′′=2, so y′′+y=2+x2=0. ✗
- Check option (C): y=x+2⇒y′′=0, so y′′+y=x+2=0. ✗ …
- AP EAPCET 2026Set eng-2026-05-18-AN1 markMCQQ.The differential equation among the following, whose general solution is y=Ae5x+Be−4x is (A) 5dxdy+4dydx=0 (B) dx2d2y+dxdy+20y=0 (C) (dxdy)2−dxdy−20y=0 (D) dx2d2y−dxdy−20y=0
›Reveal solutionSolution
Since y=Ae5x+Be−4x, the characteristic roots are 5 and −4, giving the ODE y′′−y′−20y=0.
Concept and Intuition
For a linear homogeneous ODE with constant coefficients, a general solution y=Aem1x+Bem2x corresponds exactly to characteristic roots m1,m2, via the characteristic (auxiliary) equation (m−m1)(m−m2)=0.
Step-by-Step Solution
- The roots implied by y=Ae5x+Be−4x are m1=5, m2=−4.
- The characteristic equation is
(m−5)(m+4)=0⇒m2−m−20=0
- This corresponds to the differential equation
dx2d2y−dxdy−20y=0
- Verify: substituting y=e5x gives 25−5−20=0 ✓; substituting y=e−4x gives 16−(−4)−20=0 ✓.
Common Mistakes …
- AP EAPCET 2023Set eng-2023-05-16-AN1 markMCQQ.If c and d are the roots of x2+ax+b=0, then a root of x2+(4c+a)x+(b+2ac+4c2)=0 is (A) d+2c (B) d+c (C) d−c (D) d−2c
›Reveal solutionSolution
Rewriting the new quadratic's coefficients in terms of c,d (using a=−(c+d), b=cd) and testing candidates shows x=d−2c satisfies it exactly.
Concept and Intuition
The trick is to eliminate a,b using Vieta's relations for the original quadratic, turning the second quadratic into a polynomial purely in c,d. Then the four given candidate roots (differing only in the coefficient/sign of c) can be tested directly by substitution — the correct one makes the expression vanish identically.
Step-by-Step Solution
- Since c,d are roots of x2+ax+b=0: c+d=−a and cd=b, i.e. a=−(c+d), b=cd.
- Coefficient of x in new equation: 4c+a=4c−(c+d)=3c−d.
- Constant term: b+2ac+4c2=cd+2c(−(c+d))+4c2=cd−2c2−2cd+4c2=2c2−cd.
- New equation: x2+(3c−d)x+(2c2−cd)=0.
- Substitute x=d−2c: x2=d2−4cd+4c2; (3c−d)x=(3c−d)(d−2c)=3cd−6c2−d2+2cd=5cd−6c2−d2. …
- AP EAPCET 2021Set eng-2021-08-20-AN1 markMCQQ.2+5,1 are roots of the cubic equation given by (A) x3+3x2−3x−1=0 (B) x3−3x2+3x−1=0 (C) x3−5x2+3x+1=0 (D) x3+5x2−3x+1=0
›Reveal solutionSolution
A rational-coefficient cubic with irrational root 2+5 must also have 2−5 as a
root; combined with the given root 1, Vieta's formulas build the cubic
x3−5x2+3x+1=0.
Concept and Intuition
For polynomials with rational coefficients, irrational roots of the form p+q always occur
in conjugate pairs p±q (otherwise the coefficients, built from sums/products of the
roots, would themselves be irrational). So knowing one irrational root and one rational root of a
cubic with rational coefficients pins down all three roots.
Step-by-Step Solution
- The three roots are 2+5, 2−5, 1 (the conjugate is forced by the rational coefficients).
- Sum of roots: (2+5)+(2−5)+1=4+1=5.
- Sum of pairwise products: (2+5)(2−5)+(2+5)(1)+(2−5)(1) =(4−5)+[(2+5)+(2−5)]=−1+4=3.
- Product of roots: (2+5)(2−5)(1)=(4−5)(1)=−1. …
- AP EAPCET 2021Set eng-2021-08-23-AN1 markMCQQ.Let ω=cis(32π)=cos(32π)+isin(32π) and f(x)=x7−2x4−4x3+8. Which of the following option is correct? (A) {221,231,ω,231ω} is a subset of the solution set of f(x). (B) {221,−231,231ω2,221i} is a subset of the solution set of f(x). (C) {231,221,−221i,231ω2} is not a subset of the solution set of f(x). (D) {231,231ω,221i,−221} is a subset of the solution set of f(x).
›Reveal solutionSolution
Factoring f into (x3−2)(x2−2)(x2+2) pins down all 7 roots exactly; testing each option's listed set against that root list shows only (D) is entirely made of genuine roots.
Concept and Intuition
A degree-7 polynomial has (at most) 7 roots; if we can factor it into lower-degree pieces we know every root exactly, turning a "which set is a subset" question into simple list-membership checking.
Step-by-Step Solution
- Group terms: f(x)=x7−2x4−4x3+8=x4(x3−2)−4(x3−2)=(x3−2)(x4−4).
- Factor further: x4−4=(x2−2)(x2+2). So f(x)=(x3−2)(x2−2)(x2+2).
- Roots of x3−2=0: x=21/3, 21/3ω, 21/3ω2 (using the given ω=cis(2π/3)).
- Roots of x2−2=0: x=±21/2.
- Roots of x2+2=0: x=±21/2i.
- Full root set (7 roots, matching degree 7): {21/3,21/3ω,21/3ω2,21/2,−21/2,21/2i,−21/2i}.
- Test (A): contains bare ω — not in the root list (only 21/3ω etc. are roots). So (A)'s claimed subset is false.
- Test (B): contains −21/3 — not a root (only 21/3,21/3ω,21/3ω2 are). False. …
- AP EAPCET 2023Set eng-2023-05-16-AN1 markMCQQ.If the equation x4+7x3+18x2+20x+8=0 has a repeated root, then that repeated root is (A) −2 (B) −1 (C) −3 (D) −4
›Reveal solutionSolution
x=−2 satisfies both the quartic and its derivative, confirming it is the repeated root.
Concept and Intuition
A value r is a repeated root of a polynomial P(x) exactly when P(r)=0 and P′(r)=0 (the tangent to the curve is flat exactly at a double root). Testing small integer divisors of the constant term (candidates from the Rational Root Theorem: ±1,±2,±4,±8) is the fastest route here.
Step-by-Step Solution
- P(x)=x4+7x3+18x2+20x+8. Try x=−2: (−2)4=16, 7(−2)3=−56, 18(−2)2=72, 20(−2)=−40, constant 8. Sum: 16−56+72−40+8=0. So x=−2 is a root.
- P′(x)=4x3+21x2+36x+20. At x=−2: 4(−8)=−32, 21(4)=84, 36(−2)=−72, +20. Sum: −32+84−72+20=0. …
- AP EAPCET 2021Set eng-2021-08-20-FN1 markMCQQ.If f(x)=2x3+mx2−13x+n and 2,3 are the roots of the equation f(x)=0 then the values of m and n are (A) −5,−30 (B) −5,30 (C) 5,30 (D) 5,−30
›Reveal solutionSolution
Substituting the two given roots into f(x)=0 gives two linear equations in m,n; solving them gives m=−5, n=30.
Concept and Intuition
If r is a root of a polynomial equation f(x)=0, then f(r)=0 exactly. With two known roots and two unknowns (m,n), we get two independent linear equations — enough to solve for both unknowns.
Step-by-Step Solution
- f(x)=2x3+mx2−13x+n.
- Since x=2 is a root: f(2)=2(8)+m(4)−13(2)+n=16+4m−26+n=0⇒4m+n=10.
- Since x=3 is a root: f(3)=2(27)+m(9)−13(3)+n=54+9m−39+n=0⇒9m+n=−15. …
- AP EAPCET 2025Set eng-2025-05-24-FN1 markMCQQ.The number of solutions of the equation 3x2+x+5=x−3 is (A) 2 (B) 1 (C) 0 (D) 4
›Reveal solutionSolution
This tests the crucial extra step in radical equations: after squaring, you must check the domain restriction (x−3≥0) that the square root imposes, since squaring can introduce extraneous roots.
Concept and Intuition
Since 3x2+x+5 is always non-negative, the equation 3x2+x+5=x−3 can only hold when the right side x−3 is also non-negative, i.e. x≥3. Squaring both sides is a valid algebraic step but doesn't preserve this sign restriction automatically — so every candidate root must be checked against x≥3 before being accepted.
Step-by-Step Solution
- Require x−3≥0⇒x≥3 for the equation to possibly hold.
- Square both sides: 3x2+x+5=(x−3)2=x2−6x+9.
- Rearrange: 3x2+x+5−x2+6x−9=0⇒2x2+7x−4=0.
- Solve using the quadratic formula: x=4−7±49+32=4−7±9, giving x=21 or x=−4. …
- AP EAPCET 2022Set eng-2022-07-08-AN1 markMCQQ.A complex number z among the following which does not satisfy z3+27i=0 is (A) (33−3i)/2 (B) −3i (C) (33+3i)/2 (D) (−33+3i)/2
›Reveal solutionSolution
Three of the four options form a clean 120∘-spaced triple of cube roots of 27i; the fourth stands apart as a root of the sign-flipped equation, so it is the one that fails to belong with the other three.
Concept and Intuition
The three cube roots of any nonzero complex number are always spaced 120∘ apart on a common circle. Recognizing which options form such a family tells you instantly which one does not belong, without needing to trust a possibly ambiguous overall sign in the stem.
Step-by-Step Solution
- Write each option in polar form (modulus 3 throughout):
- 233−3i=3(cos(−30∘)+isin(−30∘))
- −3i=3(cos(−90∘)+isin(−90∘))=3(cos270∘+isin270∘)
- 233+3i=3(cos30∘+isin30∘)
- 2−33+3i=3(cos150∘+isin150∘)
- Options B, C, D sit at 270∘,30∘,150∘ — exactly 120∘ apart — a genuine cube-root triple. Cubing any one of them (e.g. (−3i)3=−27i3=−27(−i)=27i) gives 27i, so B, C, D are the three roots of z3=27i.
- Option A sits at −30∘; cubing gives 33(cos(−90∘)+isin(−90∘))=27(0−i)=−27i — the genuine root of z3=−27i, i.e. z3+27i=0. …
- Write each option in polar form (modulus 3 throughout):
- AP EAPCET 2021Set eng-2021-08-25-FN1 markMCQQ.The solution of the equation 2x3−x2−22x−24=0 when two of the roots are in the ratio 3:4 is (A) 3,4,21 (B) −23,−2,4 (C) −21,23,2 (D) −23,2,25
›Reveal solutionSolution
Using Vieta's formulas with two roots in ratio 3:4, the roots are −23,−2,4.
Concept and Intuition
For 2x3−x2−22x−24=0 (dividing by 2: x3−21x2−11x−12=0), Vieta gives: sum of roots =21, sum of products of pairs =−11, product of roots =12. If two roots are in ratio 3:4, write them as 3k,4k and let the third be r; then use the three Vieta relations to pin down k and r.
Step-by-Step Solution
- Sum: 3k+4k+r=7k+r=21.
- Product: 3k⋅4k⋅r=12k2r=12⇒k2r=1.
- Pair-sum: 12k2+3kr+4kr=12k2+7kr=−11.
- Rather than solve the system directly, test the answer choice that has two entries in ratio 3:4: in (B), −23 and −2 have ratio −23:−2=3:4, so k=−21, giving 3k=−23,4k=−2, and third root r=4. …
- AP EAPCET 2021Set eng-2021-08-24-AN1 markMCQQ.For the equation x2−5∣x∣−14=0, (A) all roots are real (B) all the roots are imaginary (C) Two roots are real (D) No real roots
›Reveal solutionSolution
Substituting t=∣x∣ reduces the equation to a simple quadratic in t, of which only the
nonnegative root is valid, giving x=±7 — two roots, both real.
Concept and Intuition
An equation involving ∣x∣ is best handled by substituting t=∣x∣≥0, solving the resulting
polynomial in t, and then discarding any root that violates t≥0 (since ∣x∣ can never be
negative). Each valid t-value then corresponds to (up to) two real x-values, x=±t.
Step-by-Step Solution
- Substitute t=∣x∣, t≥0: the equation becomes t2−5t−14=0.
- Factor: t2−5t−14=(t−7)(t+2)=0⇒t=7 or t=−2.
- Reject t=−2 since ∣x∣ can never be negative; keep t=7.
- ∣x∣=7⇒x=7 or x=−7.
- Both values, 7 and −7, are real numbers — the equation has exactly two roots and both are real.
Common Mistakes …
- AP EAPCET 2023Set eng-2023-05-16-AN1 markMCQQ.If the equation 2x3+5x2−4x−12=0 has a repeated root, then the constant term of the quadratic equation whose roots are the distinct roots of the given equation is (A) −6 (B) −5 (C) −4 (D) −2
›Reveal solutionSolution
The cubic factors as (x+2)2(2x−3); the quadratic built from its two distinct roots (−2,23) is 2x2+x−6, with constant term −6.
Concept and Intuition
When a cubic has a repeated root, dividing out one copy of that root's factor leaves a quadratic whose two roots are exactly the distinct values among the cubic's three roots. So the strategy is: find the repeated root, do synthetic division once, and read the resulting quadratic.
Step-by-Step Solution
- Test x=−2 in 2x3+5x2−4x−12: 2(−8)+5(4)−4(−2)−12=−16+20+8−12=0 — a root.
- Confirm repetition via the derivative 6x2+10x−4 at x=−2: 24−20−4=0 — yes, double root.
- Synthetic division of 2x3+5x2−4x−12 by (x+2): coefficients 2,5,−4,−12 → bring down 2; 2×(−2)=−4, 5−4=1; 1×(−2)=−2, −4−2=−6; −6×(−2)=12, −12+12=0. Quotient: 2x2+x−6.
- Factor 2x2+x−6=(2x−3)(x+2), confirming the full cubic is (x+2)2(2x−3) — repeated root −2, distinct root 23. …
🎓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.