(dy)/(dx)+3y=40
⚠ (dy)/(dx)+3y=40 is read as y'+3y=40: use dif(expression, variable) for a derivative with respect to that variable, use (numerator)/(denominator) for a quotient
Solve the linear equation y' + 3y = 40, where y is a function of x. The polynomial coefficients are continuous on ℝ
The form y' + py = q gives p = 3 and q = 40
⇥1) Let's compute the integral: ∫3dx
⇥ⓘ The derivative of 3x is 3, so 3x is an antiderivative of 3: ∫3dx = 3x
⇥ 3x
The integrating factor exp(∫p) is exp(3x), strictly positive on ℝ
Multiplying by this factor, the product rule gives (exp(3x)y)' = 40exp(3x)
⇥2) Let's integrate: ∫40exp(3x)dx
⇥For the math expression: 40exp(3x), since (exp(a))' = a'*exp(a), we try differentiating exp(3x)
⇥3) Let's perform the differentiation: ddx(exp(3x))
⇥Apply the differentiation rule: ddx(exp(f)) = ddx(f)·exp(f) with f = 3x
⇥ⓘ The derivative of exp(x) is exp(x): ddx(exp(3x)) = ddx(3x)·exp(3x)
⇥ ddx(3x)·exp(3x)
⇥ⓘ A constant factor stays in front of the derivative, (k*u)' = k*u': ddx(3x) = 3
⇥ 3exp(3x)
⇥The computed derivative matches the original math expression up to a constant factor. Therefore, the integral is:
⇥ⓘ The derivative of 403·exp(3x) is 40exp(3x), so 403·exp(3x) is an antiderivative of 40exp(3x): ∫40exp(3x)dx = 403·exp(3x)
⇥ 403·exp(3x)
⇥ⓘ Multiplying a fraction by a term multiplies its numerator: 403·exp(3x) = 40exp(3x)3
⇥ 40exp(3x)3
Integrating gives exp(3x)y = 40exp(3x)3 + C. Divide by the factor, which is never zero; C is an arbitrary real constant, including zero
▶Solution:   y = 403 + Cexp(3x)