Toronto Math Forum

APM346-2012 => APM346 Math => Term Test 1 => Topic started by: Victor Ivrii on October 16, 2012, 06:30:11 PM

Title: TT1 = Problem 5
Post by: Victor Ivrii on October 16, 2012, 06:30:11 PM
The functions $H$ and $Q$ are defined as follows:
\begin{equation*}
H(x) = \left\{\begin{aligned}
&1, \qquad&&x>0,\\
&0, \qquad&&x \leq 0,
\end{aligned}\right.
\end{equation*}   
\begin{equation*}
Q(x) = \left\{\begin{aligned}
&1, \qquad&&|x| \leq 1,\\
&0, \qquad&&|x| > 1.
\end{aligned}\right.
\end{equation*}
Consider the function
\begin{equation*}
C(x) = \int_{-\infty}^{+\infty} H(x-y) Q(y) dy.
\end{equation*}
Title: Re: TT1 = Problem 5
Post by: Ian Kivlichan on October 16, 2012, 06:50:29 PM
Hopeful solution attached!
Title: Re: TT1 = Problem 5
Post by: Aida Razi on October 16, 2012, 07:22:05 PM
Solution is attached,
Title: Re: TT1 = Problem 5
Post by: Victor Ivrii on October 16, 2012, 07:29:37 PM
We have two rather different answers and the person who posted after should explain what's wrong with the previous posts. This is a general remark without endorsement of any particular solution.
Title: Re: TT1 = Problem 5
Post by: Ian Kivlichan on October 16, 2012, 07:39:21 PM
Solution is attached,

Aida, I think your solution is not correct - the integral from -1 to 0 will only be 0 if x < y in H(x-y), i.e. x < -1.

Also, consider extreme cases - for C(-100), H(-100-y) can never be greater than 0, so a solution with C(x) = 1 cannot be right (unless I've totally misunderstood something).
Title: Re: TT1 = Problem 5
Post by: Djirar on October 16, 2012, 08:07:48 PM
I solved the question in the same way as Aida Razi did. Of course for part b, C(x) > 0  for all x.
Title: Re: TT1 = Problem 5
Post by: Aida Razi on October 16, 2012, 08:10:14 PM
I solve the question in the same way as Aida Razi did. Of course for part b, C(x) > 0  for all x.

Yes, as C(x) is a constant function and it is equal to one, then x is lR: it can be any real number.
Title: Re: TT1 = Problem 5
Post by: Aida Razi on October 16, 2012, 08:16:11 PM
Solution is attached,

Aida, I think your solution is not correct - the integral from -1 to 0 will only be 0 if x < y in H(x-y), i.e. x < -1.

Also, consider extreme cases - for C(-100), H(-100-y) can never be greater than 0, so a solution with C(x) = 1 cannot be right (unless I've totally misunderstood something).

I believe your solution is not correct; H(x) and H(x-y) has the same value for these two different domain because it is a constant function.
Title: Re: TT1 = Problem 5
Post by: Qitan Cui on October 16, 2012, 08:23:50 PM
I agree with Ian's solution. The value of H(x-y) depends on both x and y. So you have to break the scenarios regarding to x when doing the integral.
Title: Re: TT1 = Problem 5
Post by: Ian Kivlichan on October 16, 2012, 08:25:25 PM
Solution is attached,

Aida, I think your solution is not correct - the integral from -1 to 0 will only be 0 if x < y in H(x-y), i.e. x < -1.

Also, consider extreme cases - for C(-100), H(-100-y) can never be greater than 0, so a solution with C(x) = 1 cannot be right (unless I've totally misunderstood something).

I believe your solution is not correct; H(x) and H(x-y) has the same value for these two different domain because it is a constant function.

Shouldn't they be different though? For H(x), it's 1 for x>0 and 0 for x<=0, but H(x-y) is 1 for x-y>0, or x>y, and 0 for x<=y.

In any case, how can C(-100) be nonzero? x-y=-100-y>0 is impossible for -1<=y<=1, which is the only area where Q(y) is nonzero.
Title: Re: TT1 = Problem 5
Post by: Jinchao Lin on October 16, 2012, 09:20:20 PM
We are only asked to draw the graph but not the functional form, don't we?
Title: Re: TT1 = Problem 5
Post by: Victor Ivrii on October 16, 2012, 10:04:23 PM
Ian is correct. BTW,

Operation $f*g$, $(f*g)(x)=\int_{-\infty}^\infty f(x-y)g(y)\,dy$ is called a convolution (we implicitly met it and will discuss when study Fourier transform),

$H(x)$ is called Heaviside function and $(H*f)(x)=\int_{-\infty}^x f(y)\,dy$. Therefore the answer is such integral of $Q(x)$ and
\begin{equation*}
(Q*H)(x)=\left\{\begin{aligned}
& 0 \qquad&& x<-1,\\
&x+1 && -1<x<1,\\
&2 && x\ge 1.
\end{aligned}\right.
\end{equation*}
Title: Re: TT1 = Problem 5
Post by: Aida Razi on October 16, 2012, 10:08:35 PM
Solution is attached,

Aida, I think your solution is not correct - the integral from -1 to 0 will only be 0 if x < y in H(x-y), i.e. x < -1.

Also, consider extreme cases - for C(-100), H(-100-y) can never be greater than 0, so a solution with C(x) = 1 cannot be right (unless I've totally misunderstood something).

I believe your solution is not correct; H(x) and H(x-y) has the same value for these two different domain because it is a constant function.

Shouldn't they be different though? For H(x), it's 1 for x>0 and 0 for x<=0, but H(x-y) is 1 for x-y>0, or x>y, and 0 for x<=y.

In any case, how can C(-100) be nonzero? x-y=-100-y>0 is impossible for -1<=y<=1, which is the only area where Q(y) is nonzero.

Sorry Ian, You are right   ???