- How do you solve a first order linear differential equation with an integrating factor?
- Divide through so the coefficient of dy/dx is 1, then read off P(x). The integrating factor is e^(int P(x) dx). Multiplying by it turns the left-hand side into d/dx(y×IF), so integrate Q(x)×IF and write the arbitrary constant in at once. For coth x, the integrating factor is sinh x.
- What is the complementary function and the particular integral of a differential equation?
- The complementary function is the general solution with the right-hand side replaced by 0, and it carries the arbitrary constants. A particular integral is any one solution of the full equation and has no arbitrary constants. The general solution is the sum of the two, y=y_CF+y_PI. For dy/dx+ky=0 the complementary function is Ae^(-kx).
- How do you find the complementary function of a second order differential equation?
- Write the auxiliary equation am²+bm+c=0 and solve it. Two distinct real roots α and β give Ae^(α x)+Be^(β x). A repeated root gives (Ax+B)e^(α x), with the factor x. Conjugate complex roots p± iq give e^(px)(Acos qx+Bsin qx). For m²+4m+13=0 the roots are -2±3i, so y=e^(-2x)(Acos3x+Bsin3x).
- How do you choose a particular integral for a polynomial, an exponential or a sine on the right-hand side?
- The trial form follows the right-hand side. A polynomial of degree n takes a polynomial of degree n with every power present. A multiple of e^(bx) takes ke^(bx). A combination of cos px and sin px takes both λcos px and μsin px, even if only one is on the right. Substitute the trial form into the equation and compare coefficients. For dy/dx+2y=8e^(2x), take y=2e^(2x).
- How do you solve a differential equation with a given substitution, such as y = ux or x = e^t?
- Differentiate the substitution, replace every derivative, and the equation changes type. With y=ux the product rule gives dy/dx=u+xdu/dx, which can give separable variables. With x=e^(t), xdy/dx=dy/dt and x²d²y/dx²=d²y/dt²-dy/dt, which gives a linear equation with constant coefficients. Give the answer in the variable the question asks for.
- Why do I lose marks when I apply initial conditions to a differential equation?
- Examiners reported slips when substituting initial conditions. Apply them to the general solution, the complementary function plus the particular integral, never to the complementary function alone. For a second order equation, differentiate the whole solution before using a condition on dy/dx. Write the final answer as an equation, y=…, with an equals sign, not as an expression or an arrow.