Solve any maths problem
Equations, derivatives, integrals, matrices, triangles, primes, statistics, or a word problem the tutor breaks into parts.
Y' + y = sin(x)
y{\left(x \right)} + \frac{d}{d x} y{\left(x \right)} = \sin{\left(x \right)}
Step by step
- y{\left(x \right)} + \frac{d}{d x} y{\left(x \right)} = \sin{\left(x \right)}
The differential equation.
- \text{order } 1
Order 1: the highest derivative present.
- \text{Exact}
M dx + N dy = 0 with ∂M/∂y = ∂N/∂x: find the potential F with F_x = M, F_y = N; the solution is F = C.
- r + 1 = 0
Characteristic equation of the homogeneous part (substitute y = e^{rx}).
- r = -1
Its roots.
- y{\left(x \right)} = C_{1} e^{- x} - \frac{\sqrt{2} \cos{\left(x + \frac{\pi}{4} \right)}}{2}
General solution (C₁, C₂ … are arbitrary constants).
- \checkmark
Verified: substituting the solution back into the equation gives 0.
Reveal the answer
y{\left(x \right)} = C_{1} e^{- x} - \frac{\sqrt{2} \cos{\left(x + \frac{\pi}{4} \right)}}{2}