Part 1
The function was chosen at random from HW1: HW1.4 Hang Zhang - Periodic vs Non-period Functions_ECE301Fall2008mboutin
$ \,x(t)=2cos(2\pi t)\, $
Periodic Signal in DT:
If $ x(t) $ is sampled at $ period=0.1 $, the function
$ \,y[n]=x[0.1n]=2cos(\frac{2\pi n}{10})\, $
is periodic, since
$ \,\exists N\in \mathbb{Z}, N\not= 0\, $ such that $ \,y[n]=y[n+N], \forall n\in \mathbb{Z}\, $
$ \,2cos(\frac{2\pi n}{10})=2cos(\frac{2\pi n}{10}+\frac{2\pi N}{10})\, $
This is true when
$ \,\frac{2\pi N}{10}=2\pi \, $
$ \,N=10\, $
This can be seen in the following plot:
Non-Periodic Signal in DT:
However, if $ x(t) $ is sampled at $ period=1/2\pi $, the function
$ \,z[n]=x[\frac{n}{2\pi}]=2cos(n)\, $
is not periodic in DT, since there is no integer $ N\in \mathbb{Z}, N\not= 0 $ such that
$ \,z[n]=z[n+N], \forall n\in \mathbb{Z}\, $
$ \,2cos(n)=2cos(n+N)\, $
This would be true when
$ \,N=2\pi k, k\in \mathbb{Z}, k\not= 0\, $
$ \,\frac{N}{k}=2\pi \, $
but, $ 2\pi $ is irrational, thus there are no values for the integers $ \,N,k\, $ that will satisfy this equation.
This can be seen in the following plot:
Part 2
The non-periodic function was chosen from HW1: HW1.4 Ben Horst_ECE301Fall2008mboutin. It appears to be possible with this function since the function decays in the positive and negative x directions.
$ \,x(t)=\frac{sin(t)}{t}\, $
The function could be made periodic by:
$ \,y(t)=\sum_{k\in \mathbb{Z}}x(t+2\pi k)=\sum_{k\in \mathbb{Z}}\frac{sin(t+2\pi k)}{t+2\pi k}\, $
Proof:
Need to show $ \,\exists T\in \mathbb{R}, T\not= 0\, $ such that
$ \,y(t)=y(t+T), \forall t\in \mathbb{R}\, $
$ \,\sum_{k\in \mathbb{Z}}\frac{sin(t+2\pi k)}{t+2\pi k}=\sum_{k\in \mathbb{Z}}\frac{sin(t+T+2\pi k)}{t+T+2\pi k}\, $
$ \,\sum_{k\in \mathbb{Z}}\frac{sin(t)}{t+2\pi k}=\sum_{k\in \mathbb{Z}}\frac{sin(t+T)}{t+T+2\pi k}\, $
Choose $ \,T=2\pi \, $
$ \,\sum_{k\in \mathbb{Z}}\frac{sin(t)}{t+2\pi k}=\sum_{k\in \mathbb{Z}}\frac{sin(t+2\pi )}{t+2\pi +2\pi k}\, $
$ \,\sum_{k\in \mathbb{Z}}\frac{sin(t)}{t+2\pi k}=\sum_{k\in \mathbb{Z}}\frac{sin(t)}{t+2\pi (k+1)}\, $
With the infinite sum, there will be always be matching terms for the $ k $ and $ k+1 $, since we are covering all $ k\in \mathbb{Z} $ with the summation. Therefore, the two are equal and $ \,y(t)\, $ is periodic.