Spiny Norman said:
dv said:
I’d recommend parametrizing using Θ for the first one.
For the second one, this is a second order linear DE, kind of analogous to a quadratic equation …
So that’s a sin/cos thingy for the 1st one then?
The NFI what to do with the 2nd one is unchanged.
Okay, I’m not sure what methods you’ve been taught but this is one way to do it using D nomenclature, D representing differentiation.
We expect that a non-homogeneous second order linear differential equation will have a solution in two parts: one of them is the solution that would apply if the RHS was a zero (ie the homogeneous equation) y 0, and a second part to allow for the RHS (y 1). The second part is sometimes called the “particular solution”. The first part is sometimes called the “general solution to the homogeneous equation”.
Writing it in that D form would be
D²y + 2Dy – 3y = 3 e -t
(D² + 2D – 3 )y = 3 e -t
Factorise
(D + 3) (D – 1) y = 3 e -t
Setting aside the RHS for a moment, the roots of the quadratic on the left hand side are -3 and 1. This would give y 0 = C 0 e t + C 1 e -3t
This leads to the solution C 0 e t + C 1 e -3t + y 1
So we now need to find “the particular solution. The RHS has one of the exponents that we see in the general solution which is nice, so we’ll start there.
We assume that the particular solution will take the form C 2 e -t
Subbing this into the original equation we get:
D²(C 2 e -t) + 2D(C 2 e -t) – 3(C 2 e -t) = 3 e -t
bring that constant to the front
C 2 ( D²( e -t) + 2D( e -t) – 3( e -t) )= 3 e -t
Using differentiation
C 2 ( ( e -t ) + 2(- e -t ) – 3( e -t) )= 3 e -t
C 2 = -3 /4
So we combine the “general” and “characteristic” parts
y = C 0 e t + C 1 e -3t + -3 /4 e -t
We now sub in what else we know to find the remaining variables.
We know y(0) = 0
So C 0 + C 1 = 3/4
and we know Dy(0) = 2 , and we can work out Dy = C 0 e t + -3C 1 e -3t + 3 /4 e -t
So C 0 + -3C 1 + 3 /4 = 2
C 0 + -3C 1 = 5/4
You can solve these simultaneous equations
4C 1 = -1/2
C 1 = -1/8
C 0 = 7/8
Put those in:
y = 7/8 e t + -1/8 e -3t + -3 /4 e -t