Question: I know that when I am playing one string on the guitar, it creates a standing wave which causes the entire body vibrates in its frequency and therefore create sound waves. But, what about two strings?

Do the two waves cause the same body to vibrate in some kind of a sum of the two frequencies? How come you get the sound of both from the same body?

Answer: 
The first image shows a string oscillating at its fundamental frequency $f$.

The second image shows a string oscillating at $2f$.

The third image shows a string (or the wooden soundbox of a guitar or the air in and around a guitar) oscillating at both frequencies at the same time.

[![enter image description here](https://i.stack.imgur.com/Il1VA.gif)](https://i.stack.imgur.com/Il1VA.gif)

[![enter image description here](https://i.stack.imgur.com/REE9k.gif)](https://i.stack.imgur.com/REE9k.gif)
[![enter image description here](https://i.stack.imgur.com/zma4o.gif)](https://i.stack.imgur.com/zma4o.gif)

Finally, here is a graph showing the height of a point a short way along the last string, as a function of time. Notice that it vibrates with an overall period of $2\pi$, but within each period there is also a faster oscillation with period $\pi$.
[![enter image description here](https://i.stack.imgur.com/oVPU1.png)](https://i.stack.imgur.com/oVPU1.png)
**Short answers:** 

> 
> Do the two waves cause the same body to vibrate in some kind of a sum of the two frequencies?
> 
> 
> 

Yes. The vibration state of the guitar with two strings is a **superposition** of the two string frequencies. This state doesn't have a well defined frequency.

> 
> How come you get the sound of both from the same body? 
> 
> 
> 

The guitar body isn't generating two sounds. Its generating just one-the superposition state. Its the ears which are able to discern the two tones being played simultaneously.

**Further explanation:**

In a simple picture$^2$, the vibrations from the two strings add up(in the guitar body) in the manner $\alpha A\_{1}(t)+\beta A\_{2}(t)$ where $A\_{i}(t)$ is the vibration amplitude at time $t$ of the $i^{th}$ string. This is what we mean by linear superposition.(This is they way sound "adds" at low intensities).
Here the constants(in time) $\alpha$ and $\beta$ are in general real$^1$. This is important. They are determined by the way the strings were stroked, the tensions in the strings, the dissipation environment, string-guitar coupling etc. But once the strings are stroked, they determine the contribution to the whole sound from each individual tone.

The guitar is now vibrating in a state which follows the above description. Is this state periodic with some frequency? Not really. For general coefficients and general ratio of the two string frequencies, this state doesn't have a well defined frequency--after no amount of time does the signal repeat. The notion of frequency isn't useful here. There is an instantaneous frequency- though its not the frequency in the usual sense.

To re-emphasize-the guitar isn't in two states of well defined frequencies vibrating simultaneously-it is in just one state-the superposition- of ill-defined frequency. 

Why are we able to hear the two sounds? I am not entirely sure here but its the brain which is able to discern the two frequencies. There is an obvious aural resolution involved. Again the eardrum doesn't vibrate at two frequencies-it receives the superposition only.

---

1. In general they can be time dependent and complex.
2. A more complicated picture is that the vibrations (comprising of contributions from more than just the fundamental harmonics of both strings) excite the normal modes of the guitar cavity.