Home / Courses / GATE Physics / Practice / Differential equations

Differential equations

Mathematical methods · 44 questions and templates for GATE Physics, in order from warm-up to top rank. Check each answer, then read the full solution.

Loading questions… (they need JavaScript; nothing you type is sent anywhere)

Written questions with solutions

The same questions as a list, so you can print them or read without the practice box. Templates (fresh numbers) appear only in the practice box above.

  1. MCQWarm-up

    The general solution of y′′+4y=0 is
    1. Ae2x+Be−2x
    2. Acos⁡4x+Bsin⁡4x
    3. (A+Bx)e2x
    4. Acos⁡2x+Bsin⁡2x
    Answer and solution

    Answer: D

    Try y=emx: m2+4=0, m=±2i. Purely imaginary roots give oscillation: y=Acos⁡2x+Bsin⁡2x (simple harmonic motion with ω=2).

    Why people get this wrong: Option B uses ω=4; the frequency is the square root of 4.

  2. NATStandard

    Solve y′+yx=x2 for x>0 with y(1)=1. The value of y(2) is ______ (to three decimal places).
    Answer and solution

    Answer: 2.375 (±0.005)

    Integrating factor e∫dx/x=x. Then (xy)′=x3, so xy=x44+C. From y(1)=1: C=34. At x=2: 2y=4+34, y=2.375.

    Why people get this wrong: Forgetting to multiply the right side by the integrating factor: (xy)′=x⋅x2, not x2.

  3. MCQStandard

    The general solution of y′′+2y′+y=0 is
    1. Ae−x+Be−x
    2. (A+Bx)e−x
    3. Aex+Bxex
    4. e−x(Acos⁡x+Bsin⁡x)
    Answer and solution

    Answer: B

    m2+2m+1=(m+1)2: a double root m=−1. The second solution is x times the first: y=(A+Bx)e−x.

    Why people get this wrong: Option A is really one constant (A+B) times one function, so it cannot fit two initial conditions.

  4. NATStandard

    The oscillator x¨+bx˙+9x=0 is critically damped when b= ______.
    Answer and solution

    Answer: 6

    Roots m=12(−b±b2−36). Critical damping is the double root: b2=36, b=6 (that is 2ω0 with ω0=3).

    Why people get this wrong: Answering 3 (ω0) instead of 2ω0.

  5. MCQStandard

    The Wronskian W=y1y2′−y2y1′ of y1=ex and y2=e2x is
    1. e3x
    2. 0
    3. 3e3x
    4. −e3x
    Answer and solution

    Answer: A

    W=ex⋅2e2x−e2x⋅ex=e3x. It is never zero, so the two solutions are independent.
  6. MSQStandard

    Which of these (complex-valued solutions allowed) satisfy y′′+9y=0?
    1. sin⁡3x
    2. cos⁡3x+2sin⁡3x
    3. e3ix
    4. cos⁡9x
    Answer and solution

    Answer: A, B, C

    The roots are m=±3i, so e±3ix and every combination, such as sin⁡3x and cos⁡3x+2sin⁡3x, are solutions. cos⁡9x gives y′′+9y=(−81+9)cos⁡9x≠0.
  7. NATExam level

    A particular solution of y′′+y=3e2x is Ae2x. The value of A is ______ (to one decimal place).
    Answer and solution

    Answer: 0.6 (±0.01)

    Substitute y=Ae2x: 4Ae2x+Ae2x=3e2x, so 5A=3, A=0.6.
  8. MCQExam level

    A particular solution of y′′+4y=sin⁡2x is
    1. −14xcos⁡2x
    2. 14sin⁡2x
    3. −12xcos⁡2x
    4. 14xsin⁡2x
    Answer and solution

    Answer: A

    The forcing frequency equals the natural one, so Asin⁡2x fails (it solves the homogeneous equation). Try y=Bxcos⁡2x: y′′=−4Bsin⁡2x−4Bxcos⁡2x, so y′′+4y=−4Bsin⁡2x. Set −4B=1: B=−14. The amplitude grows with x: resonance.

    Why people get this wrong: Option B gives y′′+4y=0, not sin⁡2x.

  9. NATExam level

    The solutions of x¨+2x˙+10x=0 oscillate with angular frequency ______ rad/s.
    Answer and solution

    Answer: 3 rad/s

    m2+2m+10=0 gives m=−1±3i. So x=e−t(Acos⁡3t+Bsin⁡3t): angular frequency 3 rad/s, decay rate 1 s−1.

    Why people get this wrong: 10≈3.16 is the undamped frequency; damping lowers it to ω02−γ2.

  10. MCQExam level

    The general solution of x2y′′−2xy′+2y=0 (x>0) is
    1. Aex+Be2x
    2. Ax+Bx2
    3. Ax−1+Bx−2
    4. (A+Bln⁡x)x
    Answer and solution

    Answer: B

    For an Euler-Cauchy equation try y=xm: m(m−1)−2m+2=m2−3m+2=0, so m=1,2. Hence y=Ax+Bx2. Check y=x2: 2x2−4x2+2x2=0 ✓.

    Why people get this wrong: Option A treats it as constant-coefficient, but the coefficients x2 and x change the trial function to a power.

  11. MSQExam level

    For y′′+py′+qy=0 with constants p>0 and q>0, which are true?
    1. Every solution tends to 0 as x→∞.
    2. Solutions oscillate if p2<4q.
    3. If p2>4q, no solution oscillates.
    4. If p2≥4q, a solution can cross zero infinitely many times.
    Answer and solution

    Answer: A, B, C

    Roots m=12(−p±p2−4q). With p,q>0 both roots have negative real part (A). p2<4q: complex roots, decaying oscillation (B). p2>4q: two negative real roots, an overdamped decay (C). With real roots a solution Aem1x+Bem2x (or (A+Bx)emx) crosses zero at most once, so D is false.
  12. NATExam level

    The steady-state amplitude of x¨+2x˙+25x=10cos⁡5t is ______.
    Answer and solution

    Answer: 1 (±0.01)

    For x¨+2βx˙+ω02x=Fcos⁡ωt the steady amplitude is F(ω02−ω2)2+(2βω)2. Here ω02=ω2=25 and 2βω=2×5=10, so the amplitude is 10/10=1. Damping keeps it finite at resonance.

    Why people get this wrong: Without damping the formula blows up; with it, the amplitude at resonance is F/(2βω0).

  13. NATExam level

    Solve y′′−3y′+2y=0 with y(0)=0, y′(0)=1. The value of y(ln⁡2) is ______.
    Answer and solution

    Answer: 2

    Roots 1 and 2: y=Aex+Be2x. A+B=0 and A+2B=1 give B=1, A=−1: y=e2x−ex. At x=ln⁡2: 4−2=2.
  14. MSQExam level

    For y′′−2y′+y=ex, which statements are correct?
    1. A trial yp=Aex cannot work.
    2. A trial yp=Axex cannot work either.
    3. yp=12x2ex is a particular solution.
    4. yp=x2ex is a particular solution.
    Answer and solution

    Answer: A, B, C

    The auxiliary equation (m−1)2=0 has the double root 1, so ex and xex both solve the homogeneous equation and give 0 on the left (A, B). For y=u(x)ex the left side becomes u′′ex, so we need u′′=1: u=12x2 (C, not D).
  15. MCQExam level

    For y′′+2xy′+y=0 (x>0), the Wronskian of any two solutions is (with C a constant)
    1. Cx2
    2. C/x2
    3. Ce−x2
    4. a constant
    Answer and solution

    Answer: B

    Abel's identity for y′′+p(x)y′+q(x)y=0: W=Cexp⁡(−∫pdx)=Cexp⁡(−2ln⁡x)=C/x2. Check with the solutions sin⁡x/x and cos⁡x/x: their Wronskian is −1/x2.

    Why people get this wrong: Abel's formula has a minus sign in the exponent; dropping it gives Cx2.

  16. NATHard

    Solve y′′+y=x2 with y(0)=0, y′(0)=0. The value of y(π) is ______ (to two decimal places).
    Answer and solution

    Answer: 5.87 (±0.01)

    Try yp=ax2+bx+c: 2a+ax2+bx+c=x2 gives a=1, b=0, c=−2. So y=x2−2+Acos⁡x+Bsin⁡x. y(0)=0: A=2. y′(0)=0: B=0. y(π)=π2−2−2=π2−4≈5.87.

    Why people get this wrong: Forgetting the constant −2 in yp (the 2a from yp′′).

  17. MCQHard

    A particular solution of y′′+y=sec⁡x on |x|<π/2 is
    1. xcos⁡x+sin⁡xln⁡|cos⁡x|
    2. xsin⁡x+cos⁡xln⁡|cos⁡x|
    3. sec⁡xtan⁡x
    4. xsin⁡x−cos⁡xln⁡|cos⁡x|
    Answer and solution

    Answer: B

    Variation of parameters with y1=cos⁡x, y2=sin⁡x, W=1: yp=−y1∫y2sec⁡xdx+y2∫y1sec⁡xdx=−cos⁡x∫tan⁡xdx+sin⁡x∫1dx=cos⁡xln⁡|cos⁡x|+xsin⁡x.

    Why people get this wrong: Undetermined coefficients cannot handle sec⁡x; that is why this needs variation of parameters.

  18. MSQHard

    For the non-linear equation y′=y2, which are true?
    1. The sum of two solutions is in general not a solution.
    2. y=0 is a solution.
    3. The solution with y(0)=1 exists for all real x.
    4. Every non-zero solution has the form y=−1/(x+C).
    Answer and solution

    Answer: A, B, D

    D: separating gives −1/y=x+C. A: (y1+y2)′=y12+y22≠(y1+y2)2, so superposition fails. B: trivially. C: false; y=1/(1−x) blows up at x=1.
  19. NATHard

    The amplitude of the particular solution of x¨+9x=cos⁡2t (of the form Acos⁡2t) is ______ (to one decimal place).
    Answer and solution

    Answer: 0.2 (±0.01)

    Substitute x=Acos⁡2t: −4A+9A=1, so A=15=0.2. In general A=F/(ω02−ω2) for an undamped oscillator driven off resonance.
  20. MCQHard

    For Bessel's equation x2y′′+xy′+(x2−n2)y=0, the point x=0 is
    1. an ordinary point
    2. a regular singular point
    3. an irregular singular point
    4. not a singular point for n=0
    Answer and solution

    Answer: B

    In standard form y′′+1xy′+x2−n2x2y=0. The coefficients blow up at 0, so it is singular, but x⋅1x=1 and x2⋅x2−n2x2=x2−n2 are finite: a regular singular point. That is why a Frobenius series xs∑akxk works there.
  21. NATHard

    The system x˙=3x+y, y˙=x+3y has solutions of the form eλtv→. The largest growth rate λ is ______.
    Answer and solution

    Answer: 4

    The matrix (3113) has eigenvalues 3±1: 4 (along (1,1)) and 2 (along (1,−1)). Largest: 4. (See the matrices lesson: a linear system is solved by the eigenvalues of its matrix.)
  22. MCQHard

    Which equation has general solution y=Ax+Bx?
    1. x2y′′+xy′−y=0
    2. x2y′′−xy′+y=0
    3. y′′−y=0
    4. x2y′′+2xy′−2y=0
    Answer and solution

    Answer: A

    For y=xm the Euler-Cauchy equation x2y′′+axy′+by=0 gives m(m−1)+am+b=0. We need m=±1, i.e. m2−1=0: a=1, b=−1. Option B gives (m−1)2=0; D gives m=1,−2.
  23. MCQHard

    For y′′−3y′+2y=xex, the correct trial form for a particular solution (method of undetermined coefficients) is
    1. (Ax+B)ex
    2. Axex
    3. x(Ax+B)ex
    4. x2(Ax+B)ex
    Answer and solution

    Answer: C

    The characteristic roots are m=1,2. The forcing is (polynomial of degree 1)×ex, so the usual guess is (Ax+B)ex; but ex solves the homogeneous equation (simple root m=1), so multiply by x once: x(Ax+B)ex. (Working it out gives A=−12, B=−1.)

    Why people get this wrong: (Ax+B)ex fails: its Bex part is annihilated, leaving too few terms to match. A double root would need x2.

  24. MCQHard

    The general solution of x2y′′+xy′+y=0 for x>0 is
    1. y=Ax+Bx
    2. y=Acos⁡x+Bsin⁡x
    3. y=(A+Bln⁡x)x
    4. y=Acos⁡(ln⁡x)+Bsin⁡(ln⁡x)
    Answer and solution

    Answer: D

    Try y=xm: m(m−1)+m+1=m2+1=0, so m=±i. x±i=e±iln⁡x, whose real combinations are cos⁡(ln⁡x) and sin⁡(ln⁡x). (Equivalently, x=et turns it into y¨+y=0.)

    Why people get this wrong: cos⁡x and sin⁡x solve y′′+y=0; for the Euler-Cauchy form the variable is ln⁡x.

  25. NATHard

    The system x˙=y, y˙=−4x−5y starts from x(0)=1, y(0)=0. The value of x(1) is ______ (three decimal places).
    Answer and solution

    Answer: 0.484 (±0.002)

    Eliminating y: x¨+5x˙+4x=0, roots m=−1,−4. x=Ae−t+Be−4t with A+B=1 and x˙(0)=−A−4B=y(0)=0. So A=43, B=−13, and x(1)=4e−1−e−43≈1.4715−0.01833≈0.484.

    Why people get this wrong: Using x˙(0)=1 (confusing x(0) with x˙(0)) gives a different pair of constants.

  26. MSQHard

    For y′′+p(x)y′+q(x)y=0 with p, q continuous on an interval I, which statements are true?
    1. The solutions form a two-dimensional vector space
    2. The Wronskian of two solutions is either never zero on I or identically zero on I
    3. Two different solutions can both satisfy y(x0)=0 and y′(x0)=0 at the same point
    4. The Wronskian of two solutions is W=Cexp⁡(−∫pdx)
    Answer and solution

    Answer: A, B, D

    Linearity and the existence-uniqueness theorem give a two-dimensional solution space. Abel's identity: W′=−pW, so W=Ce−∫pdx, which is either never zero (C≠0) or always zero (C=0). The data y=y′=0 at x0 are satisfied by y≡0, and uniqueness says that is the only such solution.

    Why people get this wrong: Uniqueness needs both y and y′ at one point; with just y(x0)=0 many solutions exist.

  27. NATHard

    An oscillator x¨+9x=δ(t−1) is at rest (x=x˙=0) for t<1. The value of x(2) is ______ (four decimal places).
    Answer and solution

    Answer: 0.047 (±0.001)

    Integrate the equation across t=1: the delta function gives a jump Δx˙=1 while x stays 0. For t>1 the motion is free: x=Asin⁡3(t−1) with x˙(1+)=3A=1. So x=13sin⁡3(t−1) and x(2)=sin⁡33≈0.14113≈0.047.

    Why people get this wrong: Taking the kick as a jump in x (instead of in x˙) or forgetting the 13 from ω=3.

  28. MCQHard

    For the equation 2x2y′′+xy′−(1+x)y=0, the roots of the indicial equation at x=0 (Frobenius method) are
    1. −1 and 12
    2. 1 and 12
    3. 0 and 1
    4. 1 and −12
    Answer and solution

    Answer: D

    x=0 is a regular singular point. Put y=∑anxn+r; the lowest power xr gives 2r(r−1)+r−1=0, i.e. 2r2−r−1=(2r+1)(r−1)=0, so r=1 or r=−12. They differ by 32 (not an integer), so two independent Frobenius series exist.

    Why people get this wrong: The −xy term raises the power by one and does not enter the indicial equation; only the −y part does.

  29. NATHard

    An undamped oscillator obeys y¨+4y=4cos⁡2t and starts from rest at y=0. The value of y at t=π/4 is ______ (to three decimal places).
    Answer and solution

    Answer: 0.785 (±0.002)

    The forcing is at resonance, so try yp=atsin⁡2t: y¨p=4acos⁡2t−4atsin⁡2t, and y¨p+4yp=4acos⁡2t, giving a=1. This yp already has y(0)=0 and y˙(0)=0, so no homogeneous part is needed: y=tsin⁡2t, and y(π/4)=π4sin⁡π2=0.785. The amplitude grows linearly in time.

    Why people get this wrong: Acos⁡2t cannot be a particular solution here: it solves the homogeneous equation.

  30. MSQHard

    Consider dydx=3y2/3 with y(0)=0. Which statements are true?
    1. y≡0 is a solution
    2. y=x3 is a solution
    3. The solution through (0,0) is unique
    4. ∂f/∂y is unbounded near y=0, so the uniqueness theorem does not apply there
    Answer and solution

    Answer: A, B, D

    y=0 gives 0=0. y=x3: y′=3x2 and 3(x3)2/3=3x2. So two different solutions pass through the origin (in fact infinitely many: stay at 0 until any x=a, then follow (x−a)3). Uniqueness fails because f=3y2/3 has ∂f/∂y=2y−1/3, which blows up at y=0: f is not Lipschitz there.

    Why people get this wrong: Continuity of f guarantees a solution exists, not that it is unique.

← All topics · Timed mock test →