We need to solve the second-order linear non-homogeneous differential equation: $y'' + y = x^2 - x$.

AnalysisDifferential EquationsSecond-Order Linear Non-Homogeneous Differential EquationsMethod of Undetermined Coefficients
2025/3/6

1. Problem Description

We need to solve the second-order linear non-homogeneous differential equation: y+y=x2xy'' + y = x^2 - x.

2. Solution Steps

First, we find the homogeneous solution. The characteristic equation is r2+1=0r^2 + 1 = 0. The roots are r=±ir = \pm i. Therefore, the homogeneous solution is yh=c1cos(x)+c2sin(x)y_h = c_1 \cos(x) + c_2 \sin(x).
Next, we find a particular solution. Since the right-hand side is a polynomial of degree 2, we assume a particular solution of the form yp=Ax2+Bx+Cy_p = Ax^2 + Bx + C. Then, yp=2Ax+By_p' = 2Ax + B and yp=2Ay_p'' = 2A.
Substituting into the differential equation, we have 2A+Ax2+Bx+C=x2x2A + Ax^2 + Bx + C = x^2 - x.
Comparing coefficients, we get:
A=1A = 1
B=1B = -1
2A+C=02A + C = 0, so 2(1)+C=02(1) + C = 0, which implies C=2C = -2.
Therefore, yp=x2x2y_p = x^2 - x - 2.
The general solution is the sum of the homogeneous and particular solutions: y=yh+ypy = y_h + y_p.

3. Final Answer

y=c1cos(x)+c2sin(x)+x2x2y = c_1 \cos(x) + c_2 \sin(x) + x^2 - x - 2

Related problems in "Analysis"

We are asked to evaluate the double integral $\int_{-1}^{4}\int_{1}^{2} (x+y^2) \, dy \, dx$.

Double IntegralsIntegration
2025/6/5

The problem asks us to evaluate the double integral $\int_0^2 \int_1^3 x^2 y \, dy \, dx$.

Double IntegralIntegrationCalculus
2025/6/5

We are asked to evaluate the double integral $\iint_R f(x, y) dA$, where $R = \{(x, y): 1 \le x \le ...

Double IntegralsPiecewise FunctionsIntegrationMultivariable Calculus
2025/6/5

We are asked to evaluate the double integral $\iint_R f(x, y) \, dA$, where $R = \{(x, y): 1 \le x \...

Double IntegralsPiecewise FunctionsIntegration
2025/6/5

We are asked to evaluate the indefinite integral $\int xe^{-2x} dx$.

IntegrationIntegration by PartsIndefinite Integral
2025/6/5

We are asked to evaluate the triple integral $I = \int_0^{\log_e 2} \int_0^x \int_0^{x+\log_e y} e^{...

Multiple IntegralsIntegration by PartsCalculus
2025/6/4

The problem asks us to evaluate the following limit: $ \lim_{x\to\frac{\pi}{3}} \frac{\sqrt{3}(\frac...

LimitsTrigonometryCalculus
2025/6/4

We need to evaluate the limit of the expression $(x + \sqrt{x^2 - 9})$ as $x$ approaches negative in...

LimitsCalculusFunctionsConjugateInfinity
2025/6/4

The problem asks to prove that $\int_0^1 \ln(\frac{\varphi - x^2}{\varphi + x^2}) \frac{dx}{x\sqrt{1...

Definite IntegralsCalculusIntegration TechniquesTrigonometric SubstitutionImproper Integrals
2025/6/4

The problem defines a harmonic function as a function of two variables that satisfies Laplace's equa...

Partial DerivativesLaplace's EquationHarmonic FunctionMultivariable Calculus
2025/6/4