The GATE Grind

GATE 2026 EE – Question 50

Engineering Mathematics · Differential Equations: Initial and boundary value problems · 2 marks · Multiple choice

Consider the second-order differential equation

$$\frac{d^2y}{dx^2}+\frac{dy}{dx}+y=0$$

with initial conditions $y(0)=1,\ \dfrac{dy}{dx}\Big|_{x=0}=1$.

The solution is given by

  1. $y(x)=\exp(-x/2)\left(\cos\left(\frac{\sqrt3x}{2}\right)+\sqrt3\sin\left(\frac{\sqrt3x}{2}\right)\right)$
  2. $y(x)=\exp(-x/2)\left(\cos\left(\frac{\sqrt3x}{2}\right)+\frac1{\sqrt3}\sin\left(\frac{\sqrt3x}{2}\right)\right)$
  3. $y(x)=\exp(-x/2)\left(\cos\left(\frac{\sqrt3x}{2}\right)-\frac1{\sqrt3}\sin\left(\frac{\sqrt3x}{2}\right)\right)$
  4. $y(x)=\exp(-x/2)\left(\cos\left(\frac{\sqrt3x}{2}\right)-\sqrt3\sin\left(\frac{\sqrt3x}{2}\right)\right)$

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (A) $y(x)=\exp(-x/2)\left(\cos\left(\frac{\sqrt3x}{2}\right)+\sqrt3\sin\left(\frac{\sqrt3x}{2}\right)\right)$

Explanation

**1. Solve the characteristic equation.** $m^2+m+1=0$ has roots $-1/2\pm j\sqrt3/2$. Put a = √3/2; the real solution is $y=e^{-x/2}[A\cos(ax)+B\sin(ax)]$.

**2. Use the displacement condition.** At x = 0, cosine is 1 and sine is 0, so y(0) = A = 1.

**3. Use the derivative condition.** Differentiating both the exponential and bracket gives $y^{\prime}(0)=-A/2+aB=1$. With A = 1, $aB=3/2$, hence B = √3.

**4. Select the matching solution.** $y=e^{-x/2}[\cos(\sqrt3x/2)+\sqrt3\sin(\sqrt3x/2)]$. **Answer: A.** Omitting the derivative of the exponential would give the wrong sine coefficient.

More Differential Equations: Initial and boundary value problems questions

All Differential Equations: Initial and boundary value problems questions →