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 - Partial: Laplace's Equation - i

The next partial differential equation that we’re going to solve is the 2-D Laplace’s equation,
2u=2ux2+2uy2=0
A natural question to ask before we start learning how to solve this is does this equation come up naturally anywhere? The answer is a very resounding yes! If we consider the 2‑D heat equation,
ut=k2u+Qcp
We can see that Laplace’s equation would correspond to finding the equilibrium solution (i.e. time independent solution) if there were not sources. So, this is an equation that can arise from physical situations.
How we solve Laplace’s equation will depend upon the geometry of the 2-D object we’re solving it on. Let’s start out by solving it on the rectangle given by 0xL,0yH. For this geometry Laplace’s equation along with the four boundary conditions will be,
(1)2u=2ux2+2uy2=0u(0,y)=g1(y)u(L,y)=g2(y)u(x,0)=f1(x)u(x,H)=f2(x)
One of the important things to note here is that unlike the heat equation we will not have any initial conditions here. Both variables are spatial variables and each variable occurs in a 2nd order derivative and so we’ll need two boundary conditions for each variable.
Next, let’s notice that while the partial differential equation is both linear and homogeneous the boundary conditions are only linear and are not homogeneous. This creates a problem because separation of variables requires homogeneous boundary conditions.
To completely solve Laplace’s equation we’re in fact going to have to solve it four times. Each time we solve it only one of the four boundary conditions can be nonhomogeneous while the remaining three will be homogeneous.
The four problems are probably best shown with a quick sketch so let’s consider the following sketch.
Now, once we solve all four of these problems the solution to our original system, (1), will be,
u(x,y)=u1(x,y)+u2(x,y)+u3(x,y)+u4(x,y)
Because we know that Laplace’s equation is linear and homogeneous and each of the pieces is a solution to Laplace’s equation then the sum will also be a solution. Also, this will satisfy each of the four original boundary conditions. We’ll verify the first one and leave the rest to you to verify.
u(x,0)=u1(x,0)+u2(x,0)+u3(x,0)+u4(x,0)=f1(x)+0+0+0=f1(x)
In each of these cases the lone nonhomogeneous boundary condition will take the place of the initial condition in the heat equation problems that we solved a couple of sections ago. We will apply separation of variables to each problem and find a product solution that will satisfy the differential equation and the three homogeneous boundary conditions. Using the Principle of Superposition we’ll find a solution to the problem and then apply the final boundary condition to determine the value of the constant(s) that are left in the problem. The process is nearly identical in many ways to what we did when we were solving the heat equation.
We’re going to do two of the cases here and we’ll leave the remaining two for you to do.


Example 1 Find a solution to the following partial differential equation.2u4=2u4x2+2u4y2=0u4(0,y)=g1(y)u4(L,y)=0u4(x,0)=0u4(x,H)=0

We’ll start by assuming that our solution will be in the form,
u4(x,y)=h(x)φ(y)and then recall that we performed separation of variables on this problem (with a small change in notation) back in Example 5 of the Separation of Variables section. So from that problem we know that separation of variables yields the following two ordinary differential equations that we’ll need to solve.
d2hdx2λh=0d2φdy2+λφ=0h(L)=0φ(0)=0φ(H)=0Note that in this case, unlike the heat equation we must solve the boundary value problem first. Without knowing what λis there is no way that we can solve the first differential equation here with only one boundary condition since the sign of λwill affect the solution.
Let’s also notice that we solved the boundary value problem in Example 1 of Solving the Heat Equation and so there is no reason to resolve it here. Taking a change of letters into account the eigenvalues and eigenfunctions for the boundary value problem here are,
λn=(nπH)2φn(y)=sin(nπyH)n=1,2,3,Now that we know what the eigenvalues are let’s write down the first differential equation with λ plugged in.
d2hdx2(nπH)2h=0h(L)=0Because the coefficient of h(x) in the differential equation above is positive we know that a solution to this is,
h(x)=c1cosh(nπxH)+c2sinh(nπxH)However, this is not really suited for dealing with the h(L)=0 boundary condition. So, let’s also notice that the following is also a solution.
h(x)=c1cosh(nπ(xL)H)+c2sinh(nπ(xL)H)You should verify this by plugging this into the differential equation and checking that it is in fact a solution. Applying the lone boundary condition to this “shifted” solution gives,
0=h(L)=c1The solution to the first differential equation is now,
h(x)=c2sinh(nπ(xL)H)and this is all the farther we can go with this because we only had a single boundary condition. That is not really a problem however because we now have enough information to form the product solution for this partial differential equation.
A product solution for this partial differential equation is,
un(x,y)=Bnsinh(nπ(xL)H)sin(nπyH)n=1,2,3,The Principle of Superposition then tells us that a solution to the partial differential equation is,
u4(x,y)=n=1Bnsinh(nπ(xL)H)sin(nπyH)and this solution will satisfy the three homogeneous boundary conditions.
To determine the constants all we need to do is apply the final boundary condition.
u4(0,y)=g1(y)=n=1Bnsinh(nπ(L)H)sin(nπyH)Now, in the previous problems we’ve done this has clearly been a Fourier series of some kind and in fact it still is. The difference here is that the coefficients of the Fourier sine series are now,
Bnsinh(nπ(L)H)instead of just Bn. We might be a little more tempted to use the orthogonality of the sines to derive formulas for the Bn, however we can still reuse the work that we’ve done previously to get formulas for the coefficients here.
Remember that a Fourier sine series is just a series of coefficients (depending on n times a sine. We still have that here, except the “coefficients” are a little messier this time that what we saw when we first dealt with Fourier series. So, the coefficients can be found using exactly the same formula from the Fourier sine series section of a function on 0yH we just need to be careful with the coefficients.
Bnsinh(nπ(L)H)=2H0Hg1(y)sin(nπyH)dyn=1,2,3,Bn=2Hsinh(nπ(L)H)0Hg1(y)sin(nπyH)dyn=1,2,3,The formulas for the Bn are a little messy this time in comparison to the other problems we’ve done but they aren’t really all that messy.

Okay, let’s do one of the other problems here so we can make a couple of points.

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 s...

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 th...

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 d...

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 - 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...

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 ) ...

Differential Equations - Second Order: Repeated Roots

In this section we will be looking at the last case for the constant coefficient, linear, homogeneous second order differential equations. In this case we want solutions to a y ′′ + b y ′ + c y = 0 a y ″ + b y ′ + c y = 0 where solutions to the characteristic equation a r 2 + b r + c = 0 a r 2 + b r + c = 0 are double roots  r 1 = r 2 = r r 1 = r 2 = r . This leads to a problem however. Recall that the solutions are y 1 ( t ) = e r 1 t = e r t y 2 ( t ) = e r 2 t = e r t y 1 ( t ) = e r 1 t = e r t y 2 ( t ) = e r 2 t = e r t These are the same solution and will NOT be “nice enough” to form a general solution. We do promise that we’ll define “nice enough” eventually! So, we can use the first solution, but we’re going to need a second solution. Before finding this second solution let’s take a little side trip. The reason for the side trip will be clear eventually. From the quadratic formula we know that the roots to the characteristic equation are, r 1 , 2 = ...

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 f...

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...

Differential Equations - Higher Order: Linear Homogeneous

As with 2 nd   order differential equations we can’t solve a nonhomogeneous differential equation unless we can first solve the homogeneous differential equation. We’ll also need to restrict ourselves down to constant coefficient differential equations as solving non-constant coefficient differential equations is quite difficult and so we won’t be discussing them here. Likewise, we’ll only be looking at linear differential equations. So, let’s start off with the following differential equation, a n y ( n ) + a n − 1 y ( n − 1 ) + ⋯ + a 1 y ′ + a 0 y = 0 a n y ( n ) + a n − 1 y ( n − 1 ) + ⋯ + a 1 y ′ + a 0 y = 0 Now, assume that solutions to this differential equation will be in the form  y ( t ) = e r t y ( t ) = e r t  and plug this into the differential equation and with a little simplification we get, e r t ( a n r n + a n − 1 r n − 1 + ⋯ + a 1 r + a 0 ) = 0 e r t ( a n r n + a n − 1 r n − 1 + ⋯ + a 1 r + a 0 ) = 0 and so in order for this to be zero we’ll n...