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 vector. Note as we

Calculus III - 3-Dimensional Space: Equations of Lines

In this section we need to take a look at the equation of a line in R3. As we saw in the previous section the equation y=mx+b does not describe a line in R3, 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
A vector function is a function that takes one or more variables, one in this case, and returns a vector. Note as well that a vector function can be a function of two or more variables. However, in those cases the graph may no longer be a curve in space.
The vector that the function gives can be a vector in whatever dimension we need it to be. In the example above it returns a vector in R2. When we get to the real subject of this section, equations of lines, we’ll be using a vector function that returns a vector in R3
Now, we want to determine the graph of the vector function above. In order to find the graph of our function we’ll think of the vector that the vector function returns as a position vector for points on the graph. Recall that a position vector, say v=a,b, is a vector that starts at the origin and ends at the point (a,b).
So, to get the graph of a vector function all we need to do is plug in some values of the variable and then plot the point that corresponds to each position vector we get out of the function and play connect the dots. Here are some evaluations for our example.
r(3)=3,1r(1)=1,1r(2)=2,1r(5)=5,1
So, each of these are position vectors representing points on the graph of our vector function. The points,
(3,1)(1,1)(2,1)(5,1)
are all points that lie on the graph of our vector function.
If we do some more evaluations and plot all the points we get the following sketch.
In this sketch we’ve included the position vector (in gray and dashed) for several evaluations as well as the t (above each point) we used for each evaluation. It looks like, in this case the graph of the vector equation is in fact the line y=1.
Here’s another quick example. Here is the graph of r(t)=6cost,3sint.
In this case we get an ellipse. It is important to not come away from this section with the idea that vector functions only graph out lines. We’ll be looking at lines in this section, but the graphs of vector functions do not have to be lines as the example above shows.
We’ll leave this brief discussion of vector functions with another way to think of the graph of a vector function. Imagine that a pencil/pen is attached to the end of the position vector and as we increase the variable the resulting position vector moves and as it moves the pencil/pen on the end sketches out the curve for the vector function.
Okay, we now need to move into the actual topic of this section. We want to write down the equation of a line in R3 and as suggested by the work above we will need a vector function to do this. To see how we’re going to do this let’s think about what we need to write down the equation of a line in R2. In two dimensions we need the slope (m) and a point that was on the line in order to write down the equation.
In R3 that is still all that we need except in this case the “slope” won’t be a simple number as it was in two dimensions. In this case we will need to acknowledge that a line can have a three dimensional slope. So, we need something that will allow us to describe a direction that is potentially in three dimensions. We already have a quantity that will do this for us. Vectors give directions and can be three dimensional objects.
So, let’s start with the following information. Suppose that we know a point that is on the line, P0=(x0,y0,z0), and that v=a,b,c is some vector that is parallel to the line. Note, in all likelihood, v will not be on the line itself. We only need vto be parallel to the line. Finally, let P=(x,y,z) be any point on the line.
Now, since our “slope” is a vector let’s also represent the two points on the line as vectors. We’ll do this with position vectors. So, let r0 and r be the position vectors for P0 and P respectively. Also, for no apparent reason, let’s define a to be the vector with representation P0P.
We now have the following sketch with all these points and vectors on it.
Now, we’ve shown the parallel vector, v, as a position vector but it doesn’t need to be a position vector. It can be anywhere, a position vector, on the line or off the line, it just needs to be parallel to the line.
Next, notice that we can write r as follows,
r=r0+a
If you’re not sure about this go back and check out the sketch for vector addition in the vector arithmetic section. Now, notice that the vectors a and v are parallel. Therefore there is a number, t, such that
a=tv
We now have,
r=r0+tv=x0,y0,z0+ta,b,c
This is called the vector form of the equation of a line. The only part of this equation that is not known is the t. Notice that tv will be a vector that lies along the line and it tells us how far from the original point that we should move. If t is positive we move away from the original point in the direction of v (right in our sketch) and if t is negative we move away from the original point in the opposite direction of v (left in our sketch). As t varies over all possible values we will completely cover the line. The following sketch shows this dependence on t of our sketch.
There are several other forms of the equation of a line. To get the first alternate form let’s start with the vector form and do a slight rewrite.
r=x0,y0,z0+ta,b,cx,y,z=x0+ta,y0+tb,z0+tc
The only way for two vectors to be equal is for the components to be equal. In other words,
x=x0+tay=y0+tbz=z0+tc
This set of equations is called the parametric form of the equation of a line. Notice as well that this is really nothing more than an extension of the parametric equations we’ve seen previously. The only difference is that we are now working in three dimensions instead of two dimensions.
To get a point on the line all we do is pick a t and plug into either form of the line. In the vector form of the line we get a position vector for the point and in the parametric form we get the actual coordinates of the point.
There is one more form of the line that we want to look at. If we assume that ab, and c are all non-zero numbers we can solve each of the equations in the parametric form of the line for t. We can then set all of them equal to each other since twill be the same number in each. Doing this gives the following,
xx0a=yy0b=zz0c
This is called the symmetric equations of the line.
If one of ab, or c does happen to be zero we can still write down the symmetric equations. To see this let’s suppose that ­b=0. In this case t will not exist in the parametric equation for y and so we will only solve the parametric equations for xand z for t. We then set those equal and acknowledge the parametric equation for y as follows,
xx0a=zz0cy=y0
Let’s take a look at an example.


Example 1 Write down the equation of the line that passes through the points (2,1,3) and (1,4,3). Write down all three forms of the equation of the line.

To do this we need the vector v that will be parallel to the line. This can be any vector as long as it’s parallel to the line. In general, v won’t lie on the line itself. However, in this case it will. All we need to do is let v be the vector that starts at the second point and ends at the first point. Since these two points are on the line the vector between them will also lie on the line and will hence be parallel to the line. So,
v=1,5,6Note that the order of the points was chosen to reduce the number of minus signs in the vector. We could just have easily gone the other way.
Once we’ve got v there really isn’t anything else to do. To use the vector form we’ll need a point on the line. We’ve got two and so we can use either one. We’ll use the first point. Here is the vector form of the line.
r=2,1,3+t1,5,6=2+t,15t,3+6tOnce we have this equation the other two forms follow. Here are the parametric equations of the line.
x=2+ty=15tz=3+6tHere is the symmetric form.
x21=y+15=z36



Example 2 Determine if the line that passes through the point (0,3,8) and is parallel to the line given by x=10+3ty=12t and z=3t passes through the xz-plane. If it does give the coordinates of that point.

To answer this we will first need to write down the equation of the line. We know a point on the line and just need a parallel vector. We know that the new line must be parallel to the line given by the parametric equations in the problem statement. That means that any vector that is parallel to the given line must also be parallel to the new line.
Now recall that in the parametric form of the line the numbers multiplied by t are the components of the vector that is parallel to the line. Therefore, the vector,
v=3,12,1is parallel to the given line and so must also be parallel to the new line.
The equation of new line is then,
r=0,3,8+t3,12,1=3t,3+12t,8tIf this line passes through the xz-plane then we know that the y-coordinate of that point must be zero. So, let’s set the ycomponent of the equation equal to zero and see if we can solve for t. If we can, this will give the value of t for which the point will pass through the xz-plane.
3+12t=0t=14So, the line does pass through the xz-plane. To get the complete coordinates of the point all we need to do is plug t=14into any of the equations. We’ll use the vector form.
r=3(14),3+12(14),814=34,0,314Recall that this vector is the position vector for the point on the line and so the coordinates of the point where the line will pass through the xz-plane are (34,0,314).

Comments

Popular posts from this blog

Digital Signal Processing - Basic Continuous Time Signals

To test a system, generally, standard or basic signals are used. These signals are the basic building blocks for many complex signals. Hence, they play a very important role in the study of signals and systems. Unit Impulse or Delta Function A signal, which satisfies the condition,   δ ( t ) = lim ϵ → ∞ x ( t ) δ ( t ) = lim ϵ → ∞ x ( t )   is known as unit impulse signal. This signal tends to infinity when t = 0 and tends to zero when t ≠ 0 such that the area under its curve is always equals to one. The delta function has zero amplitude everywhere except at t = 0. Properties of Unit Impulse Signal δ(t) is an even signal. δ(t) is an example of neither energy nor power (NENP) signal. Area of unit impulse signal can be written as; A = ∫ ∞ − ∞ δ ( t ) d t = ∫ ∞ − ∞ lim ϵ → 0 x ( t ) d t = lim ϵ → 0 ∫ ∞ − ∞ [ x ( t ) d t ] = 1 Weight or strength of the signal can be written as; y ( t ) = A δ ( t ) y ( t ) = A δ ( t ) Area of the weighted impulse signal can

Differential Equations - First Order: Bernoulli

In this section we are going to take a look at differential equations in the form, y ′ + p ( x ) y = q ( x ) y n y ′ + p ( x ) y = q ( x ) y n where  p ( x ) p ( x )  and  q ( x ) q ( x )  are continuous functions on the interval we’re working on and  n n  is a real number. Differential equations in this form are called  Bernoulli Equations . First notice that if  n = 0 n = 0  or  n = 1 n = 1  then the equation is linear and we already know how to solve it in these cases. Therefore, in this section we’re going to be looking at solutions for values of  n n  other than these two. In order to solve these we’ll first divide the differential equation by  y n y n  to get, y − n y ′ + p ( x ) y 1 − n = q ( x ) y − n y ′ + p ( x ) y 1 − n = q ( x ) We are now going to use the substitution  v = y 1 − n v = y 1 − n  to convert this into a differential equation in terms of  v v . As we’ll see this will lead to a differential equation that we can solve. We are going to have to be c

Differential Equations - Systems: Solutions

Now that we’ve got some of the basics out of the way for systems of differential equations it’s time to start thinking about how to solve a system of differential equations. We will start with the homogeneous system written in matrix form, → x ′ = A → x (1) (1) x → ′ = A x → where,  A A  is an  n × n n × n  matrix and  → x x →  is a vector whose components are the unknown functions in the system. Now, if we start with  n = 1 n = 1 then the system reduces to a fairly simple linear (or separable) first order differential equation. x ′ = a x x ′ = a x and this has the following solution, x ( t ) = c e a t x ( t ) = c e a t So, let’s use this as a guide and for a general  n n  let’s see if → x ( t ) = → η e r t (2) (2) x → ( t ) = η → e r t will be a solution. Note that the only real difference here is that we let the constant in front of the exponential be a vector. All we need to do then is plug this into the differential equation and see what we get. First notice that

Digital Signal Processing - Miscellaneous Signals

There are other signals, which are a result of operation performed on them. Some common type of signals are discussed below. Conjugate Signals Signals, which satisfies the condition  x ( t ) = x ∗ ( − t ) are called conjugate signals. Let  x ( t ) = a ( t ) + j b ( t ) So,  x ( − t ) = a ( − t ) + j b ( − t ) And  x ∗ ( − t ) = a ( − t ) − j b ( − t ) By Condition,  x ( t ) = x ∗ ( − t ) If we compare both the derived equations 1 and 2, we can see that the real part is even, whereas the imaginary part is odd. This is the condition for a signal to be a conjugate type. Conjugate Anti-Symmetric Signals Signals, which satisfy the condition  x ( t ) = − x ∗ ( − t ) are called conjugate anti-symmetric signal Let  x ( t ) = a ( t ) + j b ( t ) So  x ( − t ) = a ( − t ) + j b ( − t ) And  x ∗ ( − t ) = a ( − t ) − j b ( − t ) − x ∗ ( − t ) = − a ( − t ) + j b ( − t ) By Condition  x ( t ) = − x ∗ ( − t ) Now, again compare, both the equations just as w

Differential Equations - First Order: Modeling - i

We now move into one of the main applications of differential equations both in this class and in general. Modeling is the process of writing a differential equation to describe a physical situation. Almost all of the differential equations that you will use in your job (for the engineers out there in the audience) are there because somebody, at some time, modeled a situation to come up with the differential equation that you are using. This section is not intended to completely teach you how to go about modeling all physical situations. A whole course could be devoted to the subject of modeling and still not cover everything! This section is designed to introduce you to the process of modeling and show you what is involved in modeling. We will look at three different situations in this section : Mixing Problems, Population Problems, and Falling Objects. In all of these situations we will be forced to make assumptions that do not accurately depict reality in most cases, but wi

Differential Equations - Basic Concepts: Definitions

Differential Equation The first definition that we should cover should be that of  differential equation . A differential equation is any equation which contains derivatives, either ordinary derivatives or partial derivatives. There is one differential equation that everybody probably knows, that is Newton’s Second Law of Motion. If an object of mass  m m  is moving with acceleration  a a  and being acted on with force  F F  then Newton’s Second Law tells us. F = m a (1) (1) F = m a To see that this is in fact a differential equation we need to rewrite it a little. First, remember that we can rewrite the acceleration,  a a , in one of two ways. a = d v d t OR a = d 2 u d t 2 (2) (2) a = d v d t OR a = d 2 u d t 2 Where  v v  is the velocity of the object and  u u  is the position function of the object at any time  t t . We should also remember at this point that the force,  F F  may also be a function of time, velocity, and/or position. So, with all these things in

Differential Equations - Partial: Summary of Separation of Variables

Throughout this chapter we’ve been talking about and solving partial differential equations using the method of separation of variables. However, the one thing that we’ve not really done is completely work an example from start to finish showing each and every step. Each partial differential equation that we solved made use somewhere of the fact that we’d done at least part of the problem in another section and so it makes some sense to have a quick summary of the method here. Also note that each of the partial differential equations only involved two variables. The method can often be extended out to more than two variables, but the work in those problems can be quite involved and so we didn’t cover any of that here. So with all of that out of the way here is a quick summary of the method of separation of variables for partial differential equations in two variables. Verify that the partial differential equation is linear and homogeneous. Verify that the boundary condi

Differential Equations - Systems: Repeated Eigenvalues - i

This is the final case that we need to take a look at. In this section we are going to look at solutions to the system, → x ′ = A → x x → ′ = A x → where the eigenvalues are repeated eigenvalues. Since we are going to be working with systems in which  A A  is a  2 × 2 2 × 2  matrix we will make that assumption from the start. So, the system will have a double eigenvalue,  λ λ . This presents us with a problem. We want two linearly independent solutions so that we can form a general solution. However, with a double eigenvalue we will have only one, → x 1 = → η e λ t x → 1 = η → e λ t So, we need to come up with a second solution. Recall that when we looked at the double root case with the second order differential equations we ran into a similar problem. In that section we simply added a  t t  to the solution and were able to get a second solution. Let’s see if the same thing will work in this case as well. We’ll see if → x = t e λ t → η x → = t e λ t η → will also be a

Differential Equations - First Order: Modeling - ii

Example 4  A 50 kg object is shot from a cannon straight up with an initial velocity of 10m/s off a bridge that is 100 meters above the ground. If air resistance is given by 5 v v  determine the velocity of the mass when it hits the ground. First, notice that when we say straight up, we really mean straight up, but in such a way that it will miss the bridge on the way back down. Here is a sketch of the situation. Notice the conventions that we set up for this problem. Since the vast majority of the motion will be in the downward direction we decided to assume that everything acting in the downward direction should be positive. Note that we also defined the “zero position” as the bridge, which makes the ground have a “position” of 100. Okay, if you think about it we actually have two situations here. The initial phase in which the mass is rising in the air and the second phase when the mass is on its way down. We will need to examine both situations and set up an IVP for