- #1

timsea81

- 89

- 1

**y" + y = sin(x)**

## Homework Statement

Solve y" + y = sin(x) for y=y(x) using the method of undetermined coefficients

## Homework Equations

## The Attempt at a Solution

The homogeneous solution Yh = Asin(x) + Bcos(x)

The particular solution Yp = Csin(x).

Y''p = -Csin(x)

Y''p + Yp = -Csin(x) + Csin(x) = 0

No C exists to make Y''p + Yp = sin(x) for all x

What am I doing wrong?