Differentiate twice: $y^{\prime\prime}=m^2Ae^{mx}+m^2Be^{-mx}=m^2y$. Rearranging gives the homogeneous ODE in A. The constants A and B weight independent solutions and do not belong as arbitrary coefficients of the governing equation.
More Differential Equations: First order linear ODEs and higher order linear ODEs with constant coefficients questions
GATE 2020 AE Q36– The equation x\,dx/dy+y=c, with constant c, represents a family of
GATE 2019 AE Q43– For dy/dx=y2 with y(1)=−1, the source asks for y(−2). Give the value intended by the…
GATE 2024 AE Q12– The acceleration of a body travelling in a straight line is given by a = -C 1 - C 2v2…
GATE 2024 AE Q36– Given y = epx qx, where p and q are non-zero real numbers, the value of the differential…
GATE 2025 AE Q43– Consider the ordinary differential equation: 12dydx + yx = 1. If y = 2/3 at x = 1, then…
GATE 2026 AE Q49– Consider the differential equation with the initial conditions given below. If y(x) is the…