I am having a difficulty to derive the solution to the ODE \begin{align*} Ay'' - By = G(x) \end{align*} where \begin{align*} G(x) = \begin{cases} C \sin (kx) & |kx| < \pi \\ 0 & \text{Otherwise} \end{cases} \end{align*} The solution roughly reads \begin{align*} y = \begin{cases} p(\sin(kx) + kqe^{-\frac{\pi}{kq}} \sinh(\frac{x}{q})) & |kx| < \pi \\ pqk \sinh(\frac{\pi}{kq}) e^{-\frac{|x|}{q}} sgn(x) & \text{Otherwise} \end{cases} \end{align*} where $p$, $q$ are some constants in terms of $A$ and $B$. I have tried to use Laplace Transform that leads to something resembling the first part of the solution ($|kx| < \pi$), but I cannot obtain anything that looks like the second part (otherwise). I think the given solution should be correct (and physically feasible), but I have no idea how to proceed. I also doubt that if my approach of Laplace Transform is correct, since the initial condition is kind of not given (in hindsight $y(0)=0$, and I try to make my solution physically bounded). I attempt the question by writing $G(x)$ with the help of Heaviside step function and do the transform (and inverse). Any help would be appreciated.
2026-04-24 09:39:22.1777023562
Solving an ODE with a jump in the source term
126 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in ORDINARY-DIFFERENTIAL-EQUATIONS
- The Runge-Kutta method for a system of equations
- Analytical solution of a nonlinear ordinary differential equation
- Stability of system of ordinary nonlinear differential equations
- Maximal interval of existence of the IVP
- Power series solution of $y''+e^xy' - y=0$
- Change of variables in a differential equation
- Dimension of solution space of homogeneous differential equation, proof
- Solve the initial value problem $x^2y'+y(x-y)=0$
- Stability of system of parameters $\kappa, \lambda$ when there is a zero eigenvalue
- Derive an equation with Faraday's law
Related Questions in LAPLACE-TRANSFORM
- Solution to ODE with Dirac Delta satisfies ODE
- Calculating an inverse Laplace transform
- Laplace Transform working out
- How to solve the integral equation $f(x) = \int_0^x f(x-y)k(x,y)dy+g(x)$ for $f(x)$?
- Laplace Transform for an Initial Value Problem
- Laplace transform of a one-sided full-wave rectified...
- Laplace transform for the solution of a system of differential equations with no constant coefficients
- Question about Dirac comb
- Using Laplace transforms to solve a differential equation
- Prove $\int_0^{\infty} \frac{\cos xt}{1+t^2} dt = \frac{\pi}{2}e^{-x}$ by using Laplace Transform
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?




In order to simplify notation, I will rewrite your first two equations as $$ y''-a^2y=C\sin kx\,[1-H(x-\pi/k)], \tag{1} $$ where $H$ denotes the Heaviside step function. Taking the Laplace transform of both sides, and imposing the condition $y(0)=0$, we obtain $$ -y'(0)+(s^2-a^2)\mathcal{L}[y]=\frac{Ck}{s^2+k^2}(e^{-\pi s/k}+1), \tag{2} $$ which yields $$ \mathcal{L}[y]=\frac{y'(0)}{s^2-a^2}+\frac{Ck}{a^2+k^2} \left(\frac{1}{s^2-a^2}-\frac{1}{s^2+k^2}\right)(e^{-\pi s/k}+1). \tag{3} $$ Taking the inverse Laplace transform we obtain \begin{align*} y(x)=& \left[y'(0)\,\frac{\sinh ax}{a} + \frac{Ck}{a^2+k^2}\left( \frac{\sinh ax}{a}-\frac{\sin kx}{k}\right) \right]H(x) \\ & +\frac{Ck}{a^2+k^2}\left[\frac{\sinh a(x-\pi/k)}{a}-\frac{\sin k(x-\pi/k)}{k}\right] H(x-\pi/k) \\ =&-\frac{C}{a^2+k^2}\,\sin kx\,[H(x)-H(x-\pi/k)] \\ &+\left[y'(0)+\frac{Ck}{a^2+k^2}\right]\frac{\sinh ax}{a}\,H(x) +\frac{Ck}{a^2+k^2}\,\frac{\sinh a(x-\pi/k)}{a}\,H(x-\pi/k). \tag{4} \end{align*} For $x>\pi/k$ only the last line of $(4)$ contributes to $y(x)$. To examine its behavior for $x\to\infty$, it is convenient to rewrite it in terms of exponentials: \begin{align*} y(x)|_{x>\pi/k}=&\left[y'(0)+\frac{Ck}{a^2+k^2} \,(1+e^{-\pi a/k})\right]\frac{e^{ax}}{2a} \\ &-\left[y'(0)+\frac{Ck}{a^2+k^2}\, (1+e^{\pi a/k})\right]\frac{e^{-ax}}{2a}.\tag{5} \end{align*} For $y(x)$ to be bounded, the coefficient of $e^{ax}$ in $(5)$ must be $0$, and this condition determines the value of $y'(0)$: $$ y'(0)=-\frac{Ck}{a^2+k^2}\,(1+e^{-\pi a/k}). \tag{6} $$ Combining results $(4)-(6)$ we finally obtain the following expression for $y(x)$: $$ y(x)=-\frac{C}{a^2+k^2}\times\begin{cases} \sin kx+(k/a)\,e^{-\pi a/k}\,\sinh ax &\mathrm{if}\,0\leq x<\pi/k, \\ (k/a)\,\sinh(\pi a/k)\,e^{-ax} &\mathrm{if}\,x>\pi/k. \tag{7} \end{cases} $$ To obtain $y(x)$ for $x<0$ take the odd extension of $(7)$.