# I having an issue in the format of the king - man +woman = queen

why the vec cant be like this and this is the most logical way to think about it
vec = city1_emb - city2_emb + country1_emb

why is it like this
vec = country1_emb - city1_emb + city2_emb
i think this is not logical to me … is there any issue in my understandings or its bug …

This was explained in the lectures with the example about:

`King - Man + Woman`

The point is that you are taking “Kingness” and removing the component related to “Man-ness” and then replacing it with the vector that expresses “Woman-ness” and what would you expect that to give you?

So the way to think about it is that this expression:

`country_embedding - capital_city_of_that_country_embedding`

expresses the “Capital of a Country-ness”, right? So what you want is to take a new city and add “Capital of a Country-ness” to it and see what you get.

I find it helpful to rearrange “king - man + woman = queen” into the following ways:

king - queen = man - woman, or
king - man = queen - woman

because we can pair up like -

If you do “country2_emb = city1_emb - city2_emb + country1_emb”, when rearranged, it is going to be:

country2_emb - country1_emb = city1_emb - city2_emb
country2_emb - city1_emb = country1_emb - city2_emb

and we can’t do the same pairing.

Cheers,
Raymond