# My final Diff Eq question for now

• stunner5000pt
In summary, the extensions for f(x) and g(x) for the first problem are given by the above equations. These extensions can be used to calculate the value of u(3/4,2) using D'Alembert's solution for one-dimensional wave equation with length and speed of the wave given as 1 and the functions f(x) and g(x) as defined above.

#### stunner5000pt

Here u(x,t) refers to D'ALembert's solution for the one dimensional wave. L represnets the legnth of the string and c, the speed of the wave.

Find u(3/4,2) where l=c=1 f(x) = x(1-x), g(x) = x^2 (1-x)
Ok i know that from earlier that i ahve to extend g as an even periodic function over this interval

But what about f? Does f have to be extended ?

For teh extension of g... Do i simply move that function to right?
so $$g_{1} (r) = r^2 (1-r)$$

for $$g_{2} (r) = (-r-\frac{1}{2})^2)[1-(-r-\frac{1}{2})]$$ over the interval [5/4,7/4]

and finally $$g_{3} (r) = (r-1)^2)[1-(r-1)]$$ over the interval [7/4,2]

am i going in the right direction??

Simialr question i have is
If $f(x) = x^2 (1-x)^2, g(x) = 1, \partial u/ \partial x (0,t)=0, c=1, find u(3/4,7/2)$

does f(x) have to be extended
if so would it be extended by a polynomial of degree 4? in which case
for [1,2] (x-1.5)^4
for [2,3.5] (2.5-x)^4 [/tex]

your help would be greatly appreciated!
p.s. the other question was not required to be answered tahts why you don't see that one, thanks!

Last edited:
Stunner, the extensions depend on the boundary conditions: if the boundary conditions are of a form u(0,t)=0 or u(L,t)=0 then odd-extend about those points. If the boundary conditions are of the form $u_x(0,t)=0$ or $u_x(L,t)=0$, then even-extend about the points. If the left boundary is u(0,t) then odd-extend about that point and if the right boundary is $u_x(L,t)=0$, then even-extend about that point.

You don't state the boundary conditions above.

the first one is just like this question from earlier https://www.physicsforums.com/showthread.php?t=90027

the second one has the following conditions
$f(x) = x^2 (1-x)^2, g(x) = 1, \partial u/ \partial x (0,t)=\partial u/ \partial x (1,t)0, c=1$ find u(3/4,7/2)

ok to odd extend is for a function to follow this rules f(-x) = -f(x)
and to even extend is fora function to follow f(-x) = f(x)

i nthe first case i need to odd extend - but am right in what i have done?

in the second case i need to even extend

now here's the stupid part - how do i even or odd extend?

Last edited:
stunner5000pt said:
the first one is just like this question from earlier https://www.physicsforums.com/showthread.php?t=90027

the second one has the following conditions
$f(x) = x^2 (1-x)^2, g(x) = 1, \partial u/ \partial x (0,t)=\partial u/ \partial x (1,t)0, c=1$ find u(3/4,7/2)

Ok, the first one has boundary conditions:

u(0,t)=0 and u(L,0)=0

So then both f(x) and g(x) would be odd-extended about 0 and L. The second one has derivative boundary conditions so f(x) and g(x) for that one would be even-extended. Can you draw plots of both of these extensions?

the one on the left applies to the first one

te one of hte right applies to the second one

#### Attachments

• A.JPG
3.5 KB · Views: 391
• charge.JPG
4.2 KB · Views: 364
Not exactly Stunner. You need to extend both f(x) and g(x) for each problem. Plots below are the odd-extensions for the first problem. First is odd-extension of f(x)=x(1-x), second one is the odd-extension for g(x)=x^2(1-x). Both are extended in the range of -5/4 to 11/4 which corresponds to the intervals needed in order to calculate the value for u(3/4, 2). Can you come up with the equations for each interval for each plot in order to plug it into D'Alembert's formula?

#### Attachments

• fextended.JPG
4.7 KB · Views: 363
• gextended.JPG
6.3 KB · Views: 402
ok so then for the first one
For f(x)
x(1-x) [0,1]
(x-1)(x-2) [1,2]
(2-x)(x-3) [2,3]

x(x+1) [-1,0]
(x+1)(x+2) [-2,-1]

for g(x)
x^2 (1-x) [0,1]
(x-2)^2 (-1-x) [1,2]
-x(x+1)^2 [-1,-2]

stunner5000pt said:
ok so then for the first one
For f(x)
x(1-x) [0,1]
(x-1)(x-2) [1,2]
(2-x)(x-3) [2,3]

x(x+1) [-1,0]
(x+1)(x+2) [-2,-1]

for g(x)
x^2 (1-x) [0,1]
(x-2)^2 (-1-x) [1,2]
-x(x+1)^2 [-1,-2]

This is what I get:

For f(x):

$$(-1,0)\Rightarrow \quad x(1+x)$$
$$(0,1)\Rightarrow \quad x(1-x)$$
$$(1,2)\Rightarrow \quad -(x-1)+(x-1)^2$$
$$(2,3)\Rightarrow \quad (x-2)-(x-2)^2$$

for g(x):

$$(-1,0)\Rightarrow \quad -x^2(1+x)$$
$$(0,1)\Rightarrow \quad x^2(1-x)$$
$$(1,2)\Rightarrow \quad -(2-x)^2[1-(2-x)]$$
$$(2,3)\Rightarrow \quad (x-2)^2[1-(x-2)]$$

## 1. What is the purpose of studying differential equations?

Differential equations are used to model real-world phenomena in various fields such as physics, engineering, economics, and biology. By understanding differential equations, scientists are able to analyze and predict the behavior of complex systems, making it an essential tool in scientific research and problem-solving.

## 2. What is the difference between ordinary and partial differential equations?

Ordinary differential equations involve only one independent variable, while partial differential equations involve multiple independent variables. Ordinary differential equations are used to model systems that change over time, while partial differential equations are used to model systems that change over both time and space.

## 3. What are the methods for solving differential equations?

There are several methods for solving differential equations, including separation of variables, variation of parameters, and the use of integrating factors. Other methods such as Laplace transforms and numerical methods can also be used for more complex equations.

## 4. How are differential equations used in real-life applications?

Differential equations are used to model a wide range of phenomena in the natural world, such as population growth, heat transfer, and motion of objects. They are also used in engineering for designing and analyzing systems, and in economics for predicting market trends.

## 5. What skills are needed to understand and solve differential equations?

A strong foundation in calculus, algebra, and trigonometry is necessary to understand and solve differential equations. Additionally, critical thinking, problem-solving, and analytical skills are important for approaching and solving complex equations.