Kevin S. answered 07/15/25
Math PhD, 11 yrs experience Pre/Calculus: confidence through precision
The other answers have given you the shortcut. It's good to know, but shortcuts are hard to use and/or remember if you don't know what's going on in the first place.
Let's review some facts:
- Remember from the beginning of the course, you learned that a linear equation y'+Py = f is homogeneous if f=0 (the term comes from linear algebra).
- Remember that P and f are allowed to be functions. So the full written version is y'(x) + P(x)y(x) = f(x)
- You can have more derivatives, but a linear equation always looks like any(n)+...+a2y''+a1y'+ay=f
- The term "term" only refers to things being added together. If you have 4xsinx+8abcx2, 4xsinx is a term, sinx is not, abc is not. This is important for understanding why the other answers to your post are correct.
- The system you gave is also first order linear and the idea is it can look the same if you use a matrix: X'+AX = f (with your variables X=(x,y)
- Still functions: X'(t)+A(t)X(t) = f(t)
- I wrote A on the left to look like the y'+Py, but if you write X'=AX+f, then the sign will be switched!
So the other two answers are assuming you know the equation is linear and first order, and that you understand what that means. The equation type will only allow dependent variables to show up like [t stuff]*x or [t stuff]*y. So either a term has an x or y and looks like those, or it's part of f(t).