Category Archives: Study Guide

Solving Repeated Roots

Once you know how to solve second order linear homogeneous differential equations with constant coefficients, real or complex, the next step is to solve with those that have repeated roots. When solving for repeated roots, you could either factor the polynomial or use the quadratic equation, if the solution has a repeated root it means that the two solutions for “x” or whatever variable are the same.

Theorem for Solving Repeated Roots

Let:   ay” + by’ + cy = 0

Be a differential equation such that the characterstic equation has the repeated root “r” That is :

(b^2)-4ac = 0

Then the general solution to the differential equation is given by

y  =  c1ert + c2tert 

Non-homogeneous Equation; Method of Undetermined Coefficients

                                                               Title 

Non-homogeneous Equation; Method of Undetermined Coefficients

                                                            Overview

           The topic is about Non-homogeneous equation, with method of undetermined Coefficients. For our better understanding we all should know what homogeneous equation is. Homogeneous equation is a differential equation, which is equal to zero. However, before we proceed to solve the Non-homogeneous equation, with method of undetermined Coefficients, we must look for some key factors into our differential equation. For example, the differential equations must be linear and should not be more than second order. The method of undetermined coefficients is a use full technique determining a particular solution to a differential equation with linear constant-Coefficient.

    Theorem

The form of the nonhomogeneous second-order differential equation, looks like this y”+p(t)y’+q(t)y=g(t) Where p, q and g are given continuous function on an open interval I. On the other hand, the homogenous part will look like, y’’+p(t)y’+q(t)y=0

Sample problem

A Sample Problem of Non-homogeneous Equation; Method of Undetermined Coefficients below:

  1. y” – 4y’+ 3y= – 168e7t , particular solution satisfying y(0)= 9 and y’(0)= -15.

Step 1:

Make this differential as a homogeneous differential equation

y” – 4y’+ 3y= 0 Note: The differential equation is now homogenous

Step 2:

Now we can write the homogenous differential to a characteristic equation.

r2­ – 4r + 3 = 0 Note: The differential equation is now characteristic polynomial.

Step 3:

Solve the characteristic equation

 r2­ – 4r + 3 = 0r2 – 3r – r +3 = 0r ( r -3 ) – 1 (r – 3)=0

(r – 3) ( r -1)=0

Note: 3 and 1 are the roots of the characteristic polynomial. After we find the roots of the polynomial, the Y1 and Y2 will take form of eat. However, there are some exceptions and we will address it later ( at the end of the page )
(r – 3)=0

r= 3

( r -1)=0

Or  r = 1

Y1 = e3t Y2 = et
y(t)= C1 e3t + C2 et Note: This is homogeneous part of solution. Where C1 and C2 are the arbitrary constants.

Step 4:

Guessing Table

If the right side g(t)     We will guess
  Ae7t                     Ce7t
Example: – 168e7t    Ce7t       Note: C is for arbitrary constants and e7t is from the differential equation.
A sin(t)                C sin (t) + D Cos (t)
A cos (t)         C sin (t) + D Cos (t)
  t2+ 7                    Ct2 + Dt + E

Step 5:

After appropriate guessing, now, we can process to solve the Non-homogeneous part of differential equation. Now we have to take the first and second derivative guess.

Guess:

Y(t) = Ce7t

y’ = C (7e7t )

y’’= C (49e7t)

Then plug in the y(t), y’(t) and y’’(t) into the original differential equation. In this case, we will plug it into y” – 4y’+ 3y= – 168e7t.

Non-homogeneous part of differential equation

y” – 4y’+ 3y= – 168e7t 

C (49e7t) – C (4*7e7t ) + C (3e7t)= – 168e7t

C =(- 168e7t)/(24e7t)

C = -7e7t

Note:   Non-homogeneous solution to   differential equation is -7e7t
Y(t)= C1 e3t + C2 et -7e7t  Note: General solution is ,Y(t)= C1 e3t +  C2et -7e7t

 

 

Step 6:

Particular solution

Condition I, y(0) = 9
9 = C1 + C2 – 7
9 + 7 = C1 + C2
C1 = 9 + 7 – C2
C1 = 9 + 7 – 7
C1 = 9

Note: Set 9 equal to our General solution, but make sure do not take the whole mathematical expression. Instated, take only arbitrary constants as a
C1 and C2. Then write the differential equation expression in tram of C1.

Condition II, y’(0) = – 15
Y (t) = C1e3t + C2 et -7e7t
y’ (t)= 3C1e3t + C2et – 49 e7t
-15 = 3C1 + C2 – 49
-15 = 3 ( 9 + 7 – C2 ) + C2 – 49
– 15 = 3 (16 – C2 ) + C2 – 49
– 15 = 48 – 3 C2 + C2 – 49
– 15 – 48 + 49 = – 3 C2 + C2
– 14 = – 2 C2
C2 = (- 14 )/(– 2 )
C2 = 7
Note: In condition II, we have to take our general solution y(t) then take the first derivative . Then Set y’(0)= -15 equal to Coefficients of the differential equation with arbitrary constants as a  C1 and C2. Then plug in the value of C1 into our new differential equation expression. Finally, solve for C2.
The particular solution of differential equation is : Y(t)= 9e3t + 7 et – 7e7t

 

CAUTION: (very important) In step 3, before writing homogeneous part of the solution, we have to consider some of the important facts. If homogeneous part of the solution , contain same roots or double roots, such as, if we would find r = 7 0r r= 7 and r = 7, then we must introduce another t into our homogeneous part of the solution . How to identify homogeneous part of the solution has single root or double roots? Good question. If value of r is same as g(t) or in another word , value of r and the exponent of Nonhomogeneous equation are same then it has single root . If two values of r are same as an exponent of Nonhomogeneous,g(t), equation, then it has double roots. {An example, if r= 7 then Y1 = (e7t)*t}. In another case, we might find complex roots such as,   r = -4 ± 3i then y(t) = C1 e– 4tcos(3t) + C2 e– 4t sin(3t), because of imaginary part 3i, we have Cos (3t) and Sin (3t).

 

If you still have any questions and concerns then please contact me at Rana.Das@mail.citytech.cuny.edu

Thank you,

Rana das

 

 

 

 

 

 

 

 

 

Study Guide: Second Order Linear Homogeneous Equations with Constant Coefficients

What is Second Order Linear Homogeneous Equations with Constants Coefficients?

A second order homogeneous equation with constant coefficients is written as:

Ay''+By'+Cy=0 where A, B, C are constant and A\neq0

In order to solve these equation, we would convert the differential equation into a characteristic equation which is something like this:

Ar^2+Br+C=0

Then we use the quadratic equation to find the roots for the equation:

r_{1,2}= \frac{-B\pm\sqrt{B^2-4AC}}{2A}

There are three cases will be distinguish by using the discriminant (D=B^2-4AC), after getting the discriminant then we apply the roots in to their own general solution, such that:

  1. D>0 (there will be two distinct real roots, r_1 and r_2)
    y(t)= K_1e^{r_1t} + K_2e^{r_2t}
  2. D=0 (there will be one repeated root, r_1=r_2)
    y(t)= K_1e^{r_1t} + K_2te^{r_2t}
  3. D<0 (there will be two complex roots, r_{1,2}=\alpha \pm i\beta)
    y(t)= K_1e^{\alpha t}\cos(\beta t) + K_2e^{\alpha t}\sin(\beta t)

Sample Problem:
Find the solution for the following equation:

y''-6y'+9y=0, y(o)=-5, y'(0)=-4

Step 1: Converting the differential equation into characteristic equation and distinguish A, B and C.

r^2-6r+9y=0
where A=1,B=-6,C=9

Step 2: Distinguish which case will the equation be with the discriminant.

D=(-6)^2-4(1)(9)
D=36-36
D=0

In this case, we will be looking into an equation with a repeated root. So our general solution will look something like this:

y(t)= K_1e^{r_1t} + K_2te^{r_2t}

Step 3: Using the quadratic equation to solve for r_{1,2} or you can solve it by factoring if it’s possible(in this case factoring is possible).
By factoring:

r^2-6r+9y=0
(r-3)(r-3)=0
r_1=r_2=3

By quadratic equation:

r_{1,2}= \frac{-(-6)\pm\sqrt{(-6)^2-4(1)(9)}}{2(1)}

r_{1,2}= \frac{6\pm\sqrt{36-36}}{2}

r_{1,2}= \frac{6}{2}

r_{1,2}= 3

Step 4:After solving for the roots, now we apply the roots into the general solution.

y(t) = K_1e^{3t} + K_2te^{3t}

Step 5:Then we solve for the constant(K_1, K_2)using the initial values that are given to us.

y(o)=-5, y'(0)=-4

y(t) = K_1e^{3t} + K_2te^{3t}

Also we need to find the first derivatives of the equation.

y'(t) = 3K_1e^{3t} + K_2e^{3t} + 3K_2te^{3t}

By using the initial values we will then able to solve for K_1,K_2.

y(0) = K_1e^{3(0)} + K_2(0)e^{3(0)}=-5
K_1=-5

y'(0) = 3(-5)e^{3(0)} + K_2e^{3(0)} + 3K_2(0)e^{3(0)}=-4
K_2=11

Lastly we apply the constant back into the equation and we will have the final solution for this problem.

y(t) = -5e^{3t} + 11te^{3t}

Videos for reference:
Here are some videos that I think will be useful to look at.
Introduction of Second Order Linear Homogeneous Equations with Constant Coefficients:
https://www.youtube.com/watch?v=qeVFUa6bwsg
Second Order Linear Homogeneous Equations with Constant Coefficients with two distinct real roots:

Second Order Linear Homogeneous Equations with Constant Coefficients with repeated roots:
https://www.youtube.com/watch?v=vjp9QC5yy_0
Second Order Linear Homogeneous Equations with Constant Coefficients with two complex roots:
https://www.youtube.com/watch?v=6kpIqoW5vO0
*I don’t own these videos, all credits goes to the you-tuber Houston Math Prep.*

Link

Homogeneous Equations with Constant Coefficients (Second Order Linear)

3.1
By definition, y^{\prime\prime}+p(t)y^{\prime}+q(t)y=g(t)
A second order linear equation has constant coefficients if the functions p(t), q(t) and g(t) are constant functions. It is said to be homogeneous if g(t) =0.

In order to solve a second order linear equation, the best way is to translate the given differential equation into a characteristic equation as follows:

y^{\prime\prime}+p(t)y^{\prime}+q(t)y=g(t) \rightarrow r^2+br+c=0 (quadratic equation)

Once we get this quadratic equation, if we can solve it for r, then those roots will make up the solution for the differential equation.
This answer is represented as y=e^{rt}

The General Solution is: y=Ae^{r_1t}+Be^{r_2t}
where r_1 and r_2 are different roots from the characteristic equation.

If the solution of the characteristic equation has a repeated root r, then the general solution is:
y=Ae^{rt}+Bte^{rt}

Example:
Differential equation:
y^{\prime\prime}+5y^{\prime}+14y=0

Characteristic Equation:
r^2+5r-14=0
(r+7)(r-2)=0

Roots:
r_1=-7, r_2=2

General Solution:

y=Ae^{-7t}+Be^{2t}

Example with Repeated Roots:

Differential equation:

y^{\prime\prime}-6y^{\prime}+9y=0

Characteristic Equation:
r^2-6r+9=0
(r-3)(r-3)=0

Roots: r=3

General Solution:
Ae^{3t}+Bte^{3t}

When initial conditions are given, then a Particular Solution can be solved for.

Example:
y^{\prime\prime}-6y^{\prime}+8y=0, y(0)=-7, y^{\prime}(0)=-30
r^2-6r+8=0
(r-4)(r-2)=0
r_1=4, r_2=2

General Solution:

y=Ae^{4t}+Be^{2t}

In order to solve for the given conditions we have to plug in 0 for t, and the equation equal to -7. Keep in mind that the second condition indicates that it has to be applied to y’ for which we have to find the derivative of y.

y=Ae^{4t}+Be^{2t}
y^{\prime}=4Ae^{4t}+2Be^{2t}

Once this is found, we can plug in for the initial conditions:

\textbf{ y(0)=-7}, y=Ae^{4t}+Be^{2t}
\textbf{-7} =Ae^{4\textbf{(0)}}+Be^{2\textbf{(0)}}
\underline{-7=A+B}

y^{\prime}\textbf{ (0)=-30} y^{\prime}=4Ae^{4t}+2Be^{2t}
\textbf{-30} =4Ae^{4\textbf{(0)}}+2Be^{2\textbf{(0)}}
\underline{-30=4A+2B}

With these two equations, we can find the coefficients A and B, by using the elimination method or by solving for one variable and plugging into the other equation:

-7=A+B
-30=4A+2B

A=-7-B

-30=4(\textbf{-7-B})+2B
-30=-28-4B+2B
-30+28=-2B

\textbf{B=1}

then A=-7- \textbf{(1)}

\textbf{A=-8}

Particular Solution:

y=-8e^{4t}+1e^{2t}

Example of Particular Solution with Repeated Roots:

y^{\prime\prime}-18y^{\prime}+81y=0, y(0)=4, y^{\prime}(0)=39
r^2-18r+81=0
(r-9)(r-9)=0

r=9

General Solution:

y=Ae^{9t}+Bte^{9t}

Same steps from the previous example but keep an eye on the derivative of y. The product Rule must be applied.

y=Ae^{9t}+Bte^{9t}
y^{\prime}=9Ae^{9t}+9Bte^{9t}+Be^{9t}

Evaluate with initial conditions:
\textbf{y(0)=4}, y=Ae^{9t}+Bte^{9t}
\textbf{4}=Ae^{9\textbf{(0)}}+9Bte^{9\textbf{(0)}}
\underline{4=A}

y^{\prime} \textbf{(0)=39}, y^{\prime}=9A+9Bte^{9t}+Be^{9t}
\textbf{39}=9A+9B\textbf{(0)}e^{9\textbf{(0)}}+Be^{9\textbf{(0)}}
\underline{39=9A+B}

Find A and B:

\underline{4=A}
\underline{39=9A+B}
39=9\textbf{(4)}+B
39=36+B

\textbf{A=4}
\textbf{B=3}

Particular Solution:
y=4e^{9t}+3te^{9t}

Very useful videos:

I found this video very helpful when trying to solve this type of differential equation. His method of explaining is very clear and recommend you guys to check out more of his videos when solving math problems. Including Calculus I and II.

https://www.youtube.com/watch?v=soU-zRdpsoA&spfreload=10

Khan Academy has always been a great source when providing detailed information. On this video we can find many techniques on how to solve this equation.

https://www.youtube.com/watch?v=UFWAu8Ptth0
https://www.youtube.com/watch?v=SPVqgkOZMAc&spfreload=10

How to Solve Numerical Approximations: Euler’s Method

Overview

What is Euler’s Method? Euler’s method is another way to solve differential equation problems in first order.  Most first order differential equations however fall into none of the categories such as linear, separable, or exact differential equation or differential equation.  How we solve first order differential equations is by knowing what we are looking for, if you are only looking for long term behavior of a solution you can always sketch a direction field.

What do we need?

Initial value y (a) = b

Differential equation   = f (t, y)

The slope at the initial point à f (a, b)

Initial point (a, b)

The many points to choose how many steps = h, (h+1)

Find the value of y at t = c, find y(c).

Summary of Euler’s Method

In order to use Euler’s Method to generate a numerical solution to an initial value problem of the form:

y′ = f(x, y)

y (xo) = yo

We decide upon what interval, starting at the initial condition, we desire to find the solution. We chop this interval into small subdivisions of length h. Then, using the initial condition as our starting point, we generate the rest of the solution by using the iterative formulas:

xn+1 = xn + h

yn+1 = yn + h f (xnyn)

to find the coordinates of the points in our numerical solution. We terminate this process when we have reached the right end of the desired interval.

Video

Sample Problem #1

Consider the initial value problem  = 3-2t-.5y, y (0) =1.  Find y (1)

Euler’s Method

Approximate y by generating a series of points,

(t0, y0) = (a, b) = initial condition

(t1, y1)

(t2, y2)…

(tn, yn) = (c, yn), where yn is an approximation of y(c)

Goal: Find yn

Step size = h = (c-a)/n

h = (1-0)/5 = .2

t0 = 0

t1 = 0+.2 = .2

t2 = .2+.2 = .4

t3 = .4+.2 = .6

t4 = .6+.2 = .8

t5 = .8+.2 = 1

To go from one point (ti, yi) to the next (ti+1, yi+1)

  1. ti+1 = ti + h
  2. find slope if (ti, yi) = k

Slope k

pic

Slope = rise/run

k =   or d = k*h

yi +1 = yi +kh

yi +1 = yi + f (ti, yi)*h                                                                           = 3-2t-.5y

(t0, y0) = (0, 1)                                                                                    3-2(0)-.5= 2.5 =

(t1, y1) = (.2, 1.5)                                                                                yi+1 = 1+2.5(.2) = 1.5

(t2, y2) = (.4, 1.87)                                                                          yi+2 = yi+1 + f (ti, yi)*h

(t3, y3) = (.6, 2.123)                                                                        yi+3 = yi+2 + f (ti, yi)*h

(t4, y4) = (.8, 2.2707)                                                                      yi+4 = yi+3 + f (ti, yi)*h

(t5, y5) = (1, 2.32363)                                                                     yi+5 = yi+4 + f (ti, yi)*h

Chart

pic 2

Sample Problem #2

Given the initial value problem y’ = sin (t +y +2), y (0) = 1.4, find approximate values of the solution at t = .7, t = 1.4 and t = 2.1, using Euler’s method with h = .7.

t = .7, t = 1.4, t = 2.1   h=.7

y1 = y0 + h(y’0)

y1’ = sin (t+y+2)

y0’ = sin (0+1.3+2+2) = sin (3.3)

y1 = 1.3 + (.7)*(-.157746)

y1’ = sin (.7+1.89578+2)

y1’ = -.680163

y2 = 1.189578 + (.7) (-.680163)

y2’ = sin (1.4+.713464+2)

y2’ = -.825942

y3 = .713464 + (.7) (-.825942)

y3’ = sin (2.1+2+.135305)

y3’ = -.8883375

t y y’
0 1.3 -.157746
.7 1.189578 -.680163
1.4 .713464 -.825942
2.1 .135305 -.8883375

Chart

pic 3

Electrical Circuits

Overview –

In simplest terms, an electrical circuit is a device that uses electricity to complete a task. These takes may include something complex like turning on a television, or something much more simple like powering a lamp. The circuit is in a closed loop formed by a power source, wires, a fuse, a load, and a switch. Electricity flows through said circuit and is delivered to the object that it is powering, IE: the lamp.

There are three types of circuits which include series, parallel, and series-parallel circuits. Most devices that run on electricity contain an electrical circuit. When the device is connected to a power source, like being plugged into an electrical outlet, electricity can run through the circuit. The excess electricity that is not being used is returned to the original power source which continues the flow of electricity. Any device that consumes the energy flowing through a circuit and converts that energy is called a load. A light bulb is a great example of a load because it consumes the electricity from a circuit and converts it into energy which is heat and light.

A series circuit is the simplest because it only has one possible path for the electrical current to flow. If the electrical current is broken, none of the load devices will work. The difference with parallel circuits is that they contain more than one path for the electricity to flow. So if one path is broken, the other paths will still work. A series-parallel circuit is a combination of the first two. It splits the load between a series circuit and a parallel circuit. If the series circuit breaks, none of the loads will work. If the parallel circuit breaks, the parallel and series circuit will stop working while the other parallel circuits will continue to work.

Ohm’s Law is probably the most well known law that applies to electrical circuits. Ohm’s Law says that an electrical current is directly proportional to its voltage and inversely proportional to its resistance. For example, if voltage increases, the current will also increase. If resistance increases, current decreases. Both situations influence the efficiency of the electrical circuit. To gain a better understanding of Ohm’s Law, it’s important to understand the concepts of current, voltage, and resistance. Current is the flow of an electric charge, voltage is the force that drives the current in a particular direction, and resistance is the opposition of an object to having current pass through it. Ohm’s Law says V = I * R where V is voltage, I is current, and R is resistance. The answer results in Ohms. This formula can be used to analyze voltage, current, and resistance of electrical circuits.

Another important concept in electrical circuits is source voltage. This refers to the amount of voltage that is produced by the power source and applied to the circuit. Source voltage depends on how much electricity a circuit will receive. It is also affected by the amount of resistance within the circuit. Resistance is not affected by voltage or current, but can reduce the amounts of both voltage and current to an electrical circuit.

 

Sample Problem – 

Untitled

For the circuit above,

R = 20 Ohms

C = 0.05 F

E = 50 V

Initial charge is Q(0) = 0C.

Find the charge and the current at time t.

In order to find the current, we can use Ohm’s law which says I = V/R. Simply plug in and solve.

I = 50V/20 Ohms = 2.5 A

Since we are finding the current at time t, I(t) = 2.5e^(-t)

Similarly, we find the charge:

Q = I * T

Q(t) = 2.5(1 – e^(-t))

 

Videos – 

This video explains basic series and parallel circuits in the form of a cartoon, meant for kids. It’s very simple and easy to follow and demonstrates current flow with the use of a light bulb. The video also shows you how to turn a physical circuit into a schematic or circuit diagram.

This video, which is somewhat lengthy, is more of a PowerPoint presentation than a demonstration. This video goes into some detail of each part of a circuit, how to find measurements of a circuit using Kirchhoff’s and Ohm’s Laws, and even explores more complex circuits such as ones with loops.

Electrical Circuits: The Basics (Creator of video disabled embedding)

This video explains circuits in comparison to a water system, making analogies to how a water system must be closed for water to flow through just as a circuit needs to be closed for current to flow through. The video also introduces some basic tools that are used to measure components in a circuit.

 

Differential Equations – Complex Roots

In order to achieve complex roots, we have to look at the differential equation:
Ay” + By’ + Cy = 0

Then we look at the roots of the characteristic equation:
Ar² + Br + C = 0

After solving the characteristic equation the form of the complex roots of r1 and r2 should be:
λ ± μi

We refer back to the characteristic equation, we then assume that all the solution to the differential equation will be:
y(t) = e^(rt)

By plugging in our two roots into the general formula of the solution, we get:
y1(t) = e^(λ + μi)t
y2(t) = e^(λ – μi)t

Since these two functions are still in complex form, and we started the differential equation with real numbers. It would best if our solution is also real numbers. In order to transform the complex solution into a real solution, we need to use the Euler’s Formula.
e^(iƟ) = cosƟ + isinƟ
Another form of the Euler’s Formula is:
e^(-iƟ) = cos(-Ɵ) + isin(-Ɵ)
e^(-iƟ) = cosƟ – isin(Ɵ)

Now we split up both of the solutions into two parts one with real exponent and one with an imaginary exponent. Afterwards, we then applied Euler’s Formula.
y1(t) = e^(λt) e^(μit) = e^(λt) [cos(μt) + isin(μt)]
y2(t) = e^(λt) e^(-μit) = e^(λt) [cos(μt) – isin(μt)]

After doing all of that work, we are still left with a part of a complex solution. But we are able to get rid of the complex part. We can rewrite this solution as:
y(t) = c1y1(t) + c2y2(t)
y1(t) + y2(t) = 2e^(λt) cos(μt)
Simply it further:
u(t) = ½y1(t) + ½y2(t) = e^(λt) cos(μt)
Therefore:
c1 = c2 = ½

We can get the second part of the solution by subtracting the two original solutions:
y1(t) – y2(t) = 2ie^(λt) sin(μt)

At a glance, it still look like a complex solution, but looking at the two constants c1 and c2 we can result in a real solution by dividing it by 2i.
c1 = ½i
c2 = -½i

The second solution would be:
v(t) = ½i y1(t) – ½i y2(t) = e^(λt) sin(μt)

All of the work just to achieve the two real solutions:
u(t) = e^(λt) cos(μt)
v(t) = e^(λt) sin(μt)

These two real solutions is also a general solution. So if the roots of the characteristic equation result in r1,2 = λ ± μi, the general solution to this would be:
y(t) = c1 e^(λt) cos(μt) + c2 e^(λt) sin(μt)

EXAMPLE
y” – 10y’ + 29y = 0, y(0) = 1, y'(0) = 3

The characteristic equation would be:
r² – 10r + 29 = 0

The roots would be:
5 ± 2i

General Solution:
y(t) = e^(5t)[c1 cos(2t) + c2 sin(2t)]
y'(t) = 5e^(5t)[cos(2t) + c2 sin(2t)] + e^(5t)[-2 sin(2t) + 2c2 cos(2t)]

We use the initial values to find the constants.
y(0) = 1
We substitute all the t’s with 0’s and set it to equal 1.
y(0) = e^(5(0))[c1 cos(2(0)) + c2 sin(2(0))] = 1
1[c1(1) + c2(0)] = 1
“c1 = 1

y'(0) = 3
We substitute all the t’s with 0’s and set it to equal 3.
y'(0) = 5e^(5(0))[cos(2(0)) + c2 sin(2(0))] + e^(5(0))[-2 sin(2(0)) + 2c2 cos(2(0))] = 3
5[1 + 0] + 1[0 + 2c2] = 3
5 + 2c2 = 3
c2 = -1

Particular Solution:
y = e^(5t)[cos(2t) – sin(2t)]

If you still do not understand this study guide you may go visit these websites or you can personally ask me, they go into more detail solving the differential equation of complex root solutions with characteristic equation. Thank you.

Videos from Khan Academy
Part I

Part II

Part III

Complex Roots(of the Characteristic Equation)

Complex Roots relate to the topic of Second order Linear Homogeneous equations with constant coefficients. The Second Order linear refers to the equation having the setup formula of y”+p(t)y’ + q(t)y = g(t). Constant coefficients  are the values in front of the derivatives of y and y itself. Homogeneous means the equation is equal to zero.So a homogeneous equation would look like

y”+by’ + cy = 0 or y”+p(t)y’ + q(t)y = 0.

When solving the general solution of the homogeneous equation, we have to look for the characteristic equation which is r^2 + br + c = 0. But how would you get there? To start we are given the differential equation of

y = e^rt

which can be used to look for the characteristic equation. To start we look for the derivative of the differential equation then replace y and its derivatives with what we found which the homogeneous equation would look like

(r^2)e^rt + bre^rt + ce^rt = 0

You can see there is a common value which is e^rt you can factor out. Once you factor it out, you can divide e^rt and this is the characteristic equation,

r^2 + br + c = 0

The general solution of the homogeneous equation will have 3 different results depending on the roots which are found from the characteristic equation. This is where Complex Roots come into play. Complex Roots is when the roots have an imaginary number or i which looks like r =  a ± i*b. The general solution will be

 y = C1e^(a + ib)t + C2e^(a – ib)t

But there is a problem when you want to solve for a particular solution how would you get rid of the i? So the general solution is still not done. With the general solution, y = C1e^(a + ib)t + C2e^(a – ib)t you can right away separate the roots which will become y = C1e^at * e^(ibt) + C2e^at * e^( –ibt). Next you factor out e^a which makes the equation y = e^at(C1e^(ibt) + C2e^(-ibt). This is where the Euler’s Formula is introduced which says that

e^it = cos(t) + isin(t)

So the equation is written as such

y = e^at(C1(cos(bt) + isin(bt)) + C2(cos(-bt) + isin(-bt)))

This is where your knowledge of trig identities comes to play. Two trig identities which can be used are

sin(-x) = -sin(x), cos(-x) = -cos(x)

This would replace the negative values in the sin and cos but we are left with the complex part i. To get rid of the complex part, the equation is rearranged so that the constants can be created into a new constant that will work with real and imaginary numbers.

y = e^at((C1 + C2)cos(bt) + (C1i – C2i)isin(bt)))

y = e^at(Acos(bt) + Bsin(bt)), general solution

Sample Problem:                                                                                                                                y” + 4y’ + 5y = 0, y(0) = 1, y'(0) = 0                                                                                      y=e^(rt), y’ = re^(rt), y” = (r^2)e^(rt)                                                                                     e^(rt)*(r^2 + 4r +5) = 0

Since the roots are the easy to separate, we use the quadratic formula to look for the roots which you will end up with                                                                                            r = -2±i

The General Solution will equal to

y = e^(-2t)*(Acos(t) + Bsin(t))

For the particular solution, we solve for A and B using y(0) = 1 and y'(0) = 0.   y(0) = 1                                                                                                                                                      1 = e^(-2(0))*(Acos(0) + Bsin(0))                                                                                                1 = A

y'(0) = 0                                                                                                                                                  y’ = -2Ae^(-2t)cos(t) – Ae^(-2t)sin(t) – 2Be^(-2t)sin(t) + Be^(-2t)cos(t)                    0 = -2(1)e^(-2(0))cos(0) – (1)e^(-2(0))sin(0) – 2Be^(-2(0))sin(0) + Be^(-2(0))cos(0)                                                                                                                                 0 = -2 + B                                                                                                                                                B = 2

The Particular Solution:

y = e^(-2t)*(cos(t) + 2sin(t))

Videos to help with Studies:

Complex Roots Part 1

Complex Roots Part 2

Complex Roots Part 3

OpenLab #4: Study Guide

Hi everyone,

This post contains the instructions for the Study Guide project.  Our goal is to create a study guide that will be useful both for the students in this class, and for future students.  This project will require an investment of time & energy on your part, and will be given a corresponding weight in your OpenLab grade (equivalent to two OpenLab assignments).

NOTE: your Study Guide should NOT be a comment in reply to this post, but instead should be a new Post that you create (see the “Resources” section below for help on this).  Creating a post means that you can save your work, and come back and edit it later.  You also have much more control over things like formatting, inserting images and videos, and so on.

Instructions.

  1. To get started, create a new post (HINT: click the “plus” sign in the grey bar at the top of the screen).
  2. Give your post a title that makes sense
  3. Select the Category “Study Guide” (from the box on the right side)
  4. Add at least 3 tags (you choose) (from the box on the right side, below “Categories”)
  5. Your post should include
    1. Overview.  Explain what the topic is about.
    2. Sample problem.  Give a sample problem, and explain how to solve it.
    3. Videos or images.  Please include at least 3 videos or images in your post that you personally found helpful.  Be sure to include a brief description.
  6. 500 words minimum (no maximum – write as much as is needed).
  7. Don’t forget to click either “Save Draft” or “Publish” from the topmost box on the right side.  “Publish” will make your post public on the main page of the site (but you can still edit it later), “Save Draft” will save your work without making it public.

Question: What if more than one person has the same topic?

  • Option 1: you can work together on a single post (this is preferred – but you will each be responsible for writing at least 500 words)
  • Option 2: you can work independently (you each create your own post)

Question: When is it due?

  • For topics covered BEFORE Spring Break (through Section 3.7), your Study Guide is due April 30th.
  • For topics covered AFTER Spring Break, your Study Guide is due May 18th (beginning of Finals Week).

Question: I saved a draft, how can I find it so I can work on it some more?

  • Saved drafts of posts can be accessed through the Dashboard:
    • Make sure you are logged into the OpenLab
    • To access the Dashboard, click the link “MAT 2680 Differential Equations” in the gray bar at the very top of the screen
    • Select “Posts” from the menu on the left side of the screen, and scroll through to find your post.  If you wish, you can show only posts that are “Drafts” by clicking the appropriate link near the top of the page (below the main title “Posts”)

Resources that may help you:

  • How to create a new post.
  • How to insert a video or image – look at the help topics here.
  • How to use mathematical notation on the OpenLab (like \int \frac{e^t}{t^2} dt).  This is done using the (very common in professional circles) mathematical markup language LaTeX — if you ever publish professionally in math or most sciences, you will end up learning this!  Luckily, it’s not too hard to get started — take a look at this assignment from a past Calculus class, which includes an introduction to writing LaTeX on the OpenLab.

Extra Credit

For extra credit, comment on another student’s Study Guide post. Your comment must say something substantive (more than just “great post!” or “very helpful” or “I don’t understand”) – tell us why you feel that way, or add something to the post that you think is missing, or (politely) point out an error if you think you see one, or suggest another video or other resource etc.  You can earn up to 3  extra credit points by commenting on multiple posts.

 

Study Guide Topic Assignments

If you do NOT appear on this list, please contact me immediately!

Study Guide Topic Username
2.1 Linear Equations; Method of Integrating Factors rahmanhasan718
2.1 Linear Equations; Method of Integrating Factors rmorel91
2.2 Separable Equations dhiraj
2.2 Separable Equations jiwei
2.2 Separable Equations (Homogeneous) diallo11368
2.2 Separable Equations (Homogeneous) ricardoferro
2.4 Bernouli Equations mrknowit22
2.4 Bernouli Equations wenyuli
2.4 Difference between Linear and Nonlinear Equations (Existence and Uniqueness) attareb212
2.6 Exact Equations vliang88
2.6 Exact Equations kmendez1994
2.7 Numerical Approximations: Euler’s Method samsonx711
2.7 Numerical Approximations: Euler’s Method dsantos
3.1 Homogeneous Equations with Constant Coefficients (second order linear) mattiie
3.1 Homogeneous Equations with Constant Coefficients (second order linear) jdelgado
3.1 Homogeneous Equations with Constant Coefficients (second order linear) enriquebron6
3.3 Complex Roots (of the Characteristic Equation) chand
3.3 Complex Roots (of the Characteristic Equation) rex19941
3.3 Complex Roots (of the Characteristic Equation) ltsakuxsasu648
3.4 Repeated Roots steven328
3.4 Repeated Roots hxie
3.4 Repeated Roots carolinam926
3.5 Non-homogeneous Equations; Method of Undetermined Coefficients pak1s0ul
3.5 Non-homogeneous Equations; Method of Undetermined Coefficients chowdhuryshawn
3.5 Non-homogeneous Equations; Method of Undetermined Coefficients rana
3.7 Electrical Circuits skane17
3.7 Electrical Circuits anzamul hyder
5.2 Series Solutions Near an Ordinary Point kumar
5.2 Series Solutions Near an Ordinary Point jramroop4
6.1 Definition of the Laplace Transform christianpinto
6.1 Definition of the Laplace Transform abraham
6.2 Laplace Transform: Solution of the Initial Value Problems (Inverse Transform) vanessa2793
6.2 Laplace Transform: Solution of the Initial Value Problems (Inverse Transform) aayush
8.1 The Euler or Tangent Line Method medinalex13
8.2 Improvements on the Euler Method danielmwong
8.2 Improvements on the Euler Method 520crystal

 

Grading: 10 points total (equiv. to 2 OpenLab assignments)

  1. Basics (one point each, 4 total):
    1. Title that makes sense
    2. Category “Study Guide”
    3. At least 3 on-topic tags
    4. 500 words minimum
  2. Content (two points each, 6 total):
    1. Overview
    2. Sample problem/solution
    3. Three videos/images with brief description