Skip to main content

Calculus III - 3-Dimensional Space: Equations of Lines

In this section we need to take a look at the equation of a line in  R 3 R 3 . As we saw in the previous section the equation  y = m x + b y = m x + b  does not describe a line in  R 3 R 3 , instead it describes a plane. This doesn’t mean however that we can’t write down an equation for a line in 3-D space. We’re just going to need a new way of writing down the equation of a curve. So, before we get into the equations of lines we first need to briefly look at vector functions. We’re going to take a more in depth look at vector functions later. At this point all that we need to worry about is notational issues and how they can be used to give the equation of a curve. The best way to get an idea of what a vector function is and what its graph looks like is to look at an example. So, consider the following vector function. → r ( t ) = ⟨ t , 1 ⟩ r → ( t ) = ⟨ t , 1 ⟩ A vector function is a function that takes one or more variables, one in this case, and returns a...

Differential Equations - Systems: Non-homogeneous



We now need to address non-homogeneous systems briefly. Both of the methods that we looked at back in the second order differential equations chapter can also be used here. As we will see Undetermined Coefficients is almost identical when used on systems while Variation of Parameters will need to have a new formula derived, but will actually be slightly easier when applied to systems.


Undetermined Coefficients


The method of Undetermined Coefficients for systems is pretty much identical to the second order differential equation case. The only difference is that the coefficients will need to be vectors now.
Let’s take a quick look at an example.


Example 1 Find the general solution to the following system.x=(1232)x+t(24)

We already have the complementary solution as we solved that part back in the real eigenvalue section. It is,
xc(t)=c1et(11)+c2e4t(23)Guessing the form of the particular solution will work in exactly the same way it did back when we first looked at this method. We have a linear polynomial and so our guess will need to be a linear polynomial. The only difference is that the “coefficients” will need to be vectors instead of constants. The particular solution will have the form,
xP=ta+b=t(a1a2)+(b1b2)So, we need to differentiate the guess
xP=a=(a1a2)
Before plugging into the system let’s simplify the notation a little to help with our work. We’ll write the system as,
x=(1232)x+t(24)=Ax+tgThis will make the following work a little easier. Now, let’s plug things into the system.
a=A(ta+b)+tga=tAa+Ab+tg0=t(Aa+g)+(Aba)Now we need to set the coefficients equal. Doing this gives,
t1:Aa+g=0Aa=gt0:Aba=0Ab=aNow only a is unknown in the first equation so we can use Gaussian elimination to solve the system. We’ll leave this work to you to check.
(1232)(a1a2)=(24)a=(352)Now that we know a we can solve the second equation for b.
(1232)(b1b2)=(352)b=(114238)So, since we were able to solve both equations, the particular solution is then,
xP=t(352)+(114238)The general solution is then,
x(t)=c1et(11)+c2e4t(23)+t(352)+(114238)

So, as you can see undetermined coefficients is nearly the same as the first time we saw it. The work in solving for the “constants” is a little messier however.


Variation of Parameters


In this case we will need to derive a new formula for variation of parameters for systems. The derivation this time will be much simpler than the when we first saw variation of parameters.
First let X(t) be a matrix whose ith column is the ith linearly independent solution to the system,
x=Ax
Now it can be shown that X(t) will be a solution to the following differential equation.
(1)X=AX
This is nothing more than the original system with the matrix in place of the original vector.
We are going to try and find a particular solution to
x=Ax+g(t)
We will assume that we can find a solution of the form,
xP=X(t)v(t)
where we will need to determine the vector v(t). To do this we will need to plug this into the non-homogeneous system. Don’t forget to product rule the particular solution when plugging the guess into the system.
Xv+Xv=AXv+g
Note that we dropped the (t) part of things to simplify the notation a little. Now using (1) we can rewrite this a little.
Xv+Xv=Xv+gXv=g
Because we formed X using linearly independent solutions we know that det(X) must be nonzero and this in turn means that we can find the inverse of X. So, multiply both sides by the inverse of X.
v=X1g
Now all that we need to do is integrate both sides to get v(t).
v(t)=X1gdt
As with the second order differential equation case we can ignore any constants of integration. The particular solution is then,
(2)xP=XX1gdt
Let’s work a quick example using this.


Example 2 Find the general solution to the following system.
x=(5142)x+e2t(61)

We found the complementary solution to this system in the real eigenvalue section. It is,
xc(t)=c1et(14)+c2e6t(11)Now the matrix X is,
X=(ete6t4ete6t)Now, we need to find the inverse of this matrix. We saw how to find inverses of matrices back in the second linear algebra review section and the process is the same here even though we don’t have constant entries. We’ll leave the detail to you to check.
X1=(15et15et45e6t15e6t)Now do the multiplication in the integral.
X1g=(15et15et45e6t15e6t)(6e2te2t)=(e3t5e8t)Now do the integral.
X1gdt=(e3t5e8t)dt=(e3tdt5e8tdt)=(13e3t58e8t)Remember that to integrate a matrix or vector you just integrate the individual entries.
We can now get the particular solution.
xP=XX1gdt=(ete6t4ete6t)(13e3t58e8t)=(2324e2t1724e2t)=e2t(23241724)The general solution is then,
x(t)=c1et(14)+c2e6t(11)+e2t(23241724)
So, some of the work can be a little messy, but overall not too bad.

We looked at two methods of solving non-homogeneous differential equations here and while the work can be a little messy they aren’t too bad. Of course, we also kept the non-homogeneous part fairly simple here. More complicated problems will have significant amounts of work involved.

Comments