How do you prove that a function shows that something is in SHM if the equation isn't in the form:
x = Acos (kt + b)
Is a graph would be acceptable or is there a mathematical way to do this?
(Edited version)
The equation you have written is one way to define harmonic motion. So if your trial function cannot be put into this form, then it does not represent a SHO.
On the other hand you can define simple harmonic motion as . By taking small displacements from equilibrium for many physical systems you will find it is a SHO. (Usually you need to do a Taylor expansion to prove this. The linear coefficients in the series needs to be 0 and the quadratic coefficient needs to be negative. The condition on the linear term is automatic around an equilibrium point, so many systems have this kind of behavior.)
For your function
you can easily see that it is the (linear) sum of two SHO functions, so it is also a harmonic oscillator.
-Dan