Does a photon possess mass? One of my friend told me that photon is massless but I think that (please correct me if i was wrong),  Albert Einstein's equation  $E=mc^2$.  This equation stands for energy,  now as we know energy is also, $E= hc/\lambda$ here h is planck constant and c is speed of light and $\lambda$ is wavelenght of upcoming photons wavelenght so from both equation $mc^2 =hc/\lambda$ solving further $m=h/c\lambda$ hence the photon is not massless.  Tell me where I am wrong.
Why can't photons have a mass? Why can't photons have a mass? Could you explain this to me in a short and mathematical way?
I'm reading . Then I'm not able to figure out the difference between hard voting and soft voting in context to ensemble based methods.  I quote descriptions of them from the book. The first two images from the top are description for hard voting, and last one is for soft voting.        In my view hard voting is majority decision, but I don't understand soft voting and the reason why soft voting is better than hard voting. Would anyone teach me these? Order posts by tags count? I am trying to order posts by tag count. I want to order posts with no tags first and posts with highest count last.  I tried and got posts with no tags only.       $tags = get_tags();     $tag_ids = wp_list_pluck( $tags, 'term_id' );      $args1 = array (        'orderby'          =&gt; 'DEC',        'post_type'        =&gt; 'post',        'pagination'       =&gt; true,        'posts_per_page'   =&gt; '1',        'tag__not_in'      =&gt;  $tag_ids,        'meta_key'         =&gt; '_thumbnail_id',     );   How do I order posts based on the tags count? Does everyone see the same Pokémon? I was wondering if everyone sees the same Pokémon on the map. If I catch all the Pokémon around me will others be unable to get any? I am a student who has taken the basic calculus courses but I am working through Calculus (the fourth edition) by Spivak in my spare time in order to both review the material and to gain a more rigorous understanding of the concepts. I am currently in Chapter 8 where he supplies a proof of the basis of the Intermediate Value Theorem, Theorem 7-1 (pp. 135-136 of the fourth edition). It seems mostly straightforward but I think there is some nuance of it that I don't grasp.  I am including in this post the statement Theorem 6-3 since he references it in the proof of Theorem 7-1 as well as part of Theorem 7-1 itself.     Theorem 6-3 Suppose $f$ is continuous at $a$, and $f(a) &gt; 0$. Then $f(x) &gt; 0$ for all $x$ in some interval containing $a$; more precisely, there is a number $\delta &gt; 0$ such that $f(x) &gt; 0$ for all $x$ satisfying $|x-a| &lt; \delta$. Similarly, if $f(a) &lt; 0$, then there is a number $\delta &gt; 0$ such that $f(x) &lt; 0$ for all $x$ satisfying $|x-a| &lt; \delta$.     Problem 6-16 is also referenced. However,it is the same thing as Theorem 6-3 for one-sided limits. The following proof is the Theorem 7-1 up through the paragraph which I don't fully understand.     Theorem 7-1: If $f$ is continuous on $[a,b]$ and $f(a) &lt; 0 &lt; f(b)$, then there is some number $z$ in $[a,b]$ such that $f(x) = 0$.  Proof: Define the set $A$ as follows:  $$A = \{x : a \le x\le b, \mbox{ and } f \mbox{ is negative on the interval } [a,x] \}.$$  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clearly $A \ne \emptyset$, since $a$ is in $A$; in fact, there is some $\delta &gt; 0$ such that $A$ contains all points $x$ satisfying $a \le x &lt; a + \delta$; this follows from Problem 6-16, since $f$ is continuous on $[a,b]$ and $f(a)&lt;0$. Similarly, $b$ is an upper bound for $A$ and, in fact, there is a $\delta &gt; 0$ such that all points $x$ satisfying $b-\delta &lt; x \le b$ are upper bounds for $A$; this also follows from Problem 6-16, since $f(b) &gt; 0$. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From these remarks it follows that $A$ has a least upper bound $\alpha$ and that $a &lt; \alpha &lt; b$. We now wish to show that $f(\alpha) = 0$, by eliminating the possibilities $f(\alpha) &lt; 0$ and $f(\alpha) &gt; 0$. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Suppose first that $f(\alpha) &lt; 0$. By Theorem 6-3, there is a $\delta &gt; 0$ such that $f(x) &lt; 0$ for $\alpha - \delta &lt; x &lt; \alpha + \delta$. Now there is some number $x_0$ in $A$ which satisfies $\alpha - \delta &lt; x_0 &lt; \alpha$ (because otherwise $\alpha$ would not be the least upper bound of $A$). This means that $f$ is negative on the whole interval $[a,x_0]$. But if $x_1$ is a number between $\alpha$ and $\alpha+\delta$, then $f$ is also negative on the whole interval $[x_0,x_1]$. Therefore $f$ is negative on the interval $[a,x_1]$, so $x_1$ is in $A$. But this contradicts the fact that $\alpha$ is an upper bound for $A$; our original assumption that $f(\alpha) &lt; 0$ must be false.    The point I don't understand is in the final paragraph of the excerpt. Why does Spivak split the interval $[a,b]$ up into the subintervals $\lbrack a,x_0 \rbrack$ and $[x_0,x_1]$? Isn't it true that, because $\alpha$ is a least upper bound of $A$ and $f$ is continuous on $[a,b]$, it must be true that if $a \le x &lt; \alpha$ then $f(x)&lt;0$? I understand the need to pick out the $x_1$ but not the $x_0$. Especially perplexing is the statement "there is some number $x_0$ in $A$ which satisfies $\alpha - \delta &lt; x_0 &lt; \alpha$ (because otherwise $\alpha$ would not be the least upper bound of $A$." Wouldn't it be true that if there were some $x_0$ such that $a \le x_0 &lt; \alpha$ and $f(x_0) \ge 0$ that $x_0$ would be an upper bound for $A$, contradicting that $\alpha$ is the least upper bound of $A$?  Thanks for any help. I want to determine the set of natural numbers that can be expressed as the sum of some non-negative number of 3s and 5s.  $$S=\{3k+5j∣k,j∈\mathbb{N}∪\{0\}\}$$  I want to check whether that would be: 0,3, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, and so on.  Meaning that it would include 0, 3, 5, 8. Then from 9 and on, every Natural Number. But how would I explain it as a set? or prove that these are the numbers in the set? How can I reset all the bind keys in my Bash? I bound some keys by mistake, and they don't work any more, such as HOME, END, UP, DOWN, LEFT, RIGHT.  Is there a way to reset all the bound keys to their original state? Which wire is negative on this PC fan? I just got this PC fan and it has a 3 pin connector, I know the wire with the white stripe is positive but how can I find out which of the other two wires are negative?  If you can't see the photo, here is a link to it: How to configure preferred network for internet? I am connected to a LAN network and wireless network. Both provide access to internet.  Sometimes when the internet on LAN is not working, the browser simply throws an exception instead of switching to Wireless. (Wireless is on and local peer computers on wireless are connectible).  Apparently it is giving more priority to LAN. How do I increase the priority of Wireless or set it as an automatic fall back? When are "because", "since","for" and "as" interchangeable? Why Doesn't a Bootable USB Boot Canadian visa rules for flight connections I know that in the US foreigners must have a US visa if they have a connection in the US, even if they fly from a different country to a different country. That is because in the US you have to go through passport control regardless of your final destination.  What is the situation in Canada? Does a person who would need a visa to enter Canada need a visa to connect through Canada without exiting the airport? I am using the function below to match URLs inside a given text and replace them for HTML links. The regular expression is working great, but currently I am only replacing the first match.  How I can replace all the URL? I guess I should be using the exec command, but I did not really figure how to do it.  function replaceURLWithHTMLLinks(text) {     var exp = /(\b(https?|ftp|file):\/\/[-A-Z0-9+&amp;@#\/%?=~_|!:,.;]*[-A-Z0-9+&amp;@#\/%=~_|])/i;     return text.replace(exp,"&lt;a href='$1'&gt;$1&lt;/a&gt;");  } I was able to read and write NTFS filesystems normally in Mountain Lion, but after the upgrade this stopped to work.  I installed ntfs-3g and fuse4x using homebrew in Mountain Lion and followed the instructions displayed by homebrew to finish the installation of fuse4x kernel extension.  To try to solve this problem I removed ntfs-3g, fuse4x and fuse4x-kext and reinstalled them. But this didn't solve my problem.  Does anyone know how to solve this? Thanks. Drawing Roman laurel leaves (SPQR) in TikZ I was trying to get the symbol of the old .  I'm actually interested in the laurel leaves, and not so much in the banner per se.  What I would like to have is something like this (in Tikz, as oppose to simply \includegraphics).  With the possibility to change the stylish A to any other simple roman letter.    I'm a complete newbie with TikZ, and even though I know this question sounds like do this for me, I would really appreciate if someone could at least throw in an sketch where to start. Simple question but I am confused.  What is the boundary of $S^2\times\mathbb{R}$? Is it just $S^2$?  What would be the general way to evaluate the boundary of a product manifold?  Thanks for the replies! Optimize table layout Notation: Why write the differential first? From reading answers here, I've noticed that some people write integrals as $\int dx \; f(x)$, while other people write them as $\int f(x)\;dx$.  I realize that there is no mathematical difference between the two notation forms, but was wondering why some people choose the first method over the second.  Is there some place in higher maths that it becomes beneficial to write the differential first?  (I, personally, have always used the second method, just because I was taught that way...) Markdown code snippets don't allow trailing spaces It seems that given a statement $a = b$, that $a + c = b + c$ is assumed also to be true.  Why isn't this an axiom of arithmetic, like the commutative law or associative law?  Or is it a consequence of some other axiom of arithmetic?  Thanks!  Edit: I understand the intuitive meaning of equality. Answers that stated that $a = b$ means they are the same number or object make sense but what I'm asking is if there is an explicit law of replacement that allows us to make this intuitive truth a valid mathematical deduction. For example is there an axiom of Peano's Axioms or some other axiomatic system that allows for adding or multiplying both sides of an equation by the same number?   In all the texts I've come across I've never seen an axiom that states if $a = b$ then $a + c = b + c$. I have however seen if $a &lt; b$ then $a + c &lt; b + c$. In my view $&lt;$ and $=$ are similar so the absence of a definition for equality is strange. Error 1052 Field is Ambiguous using Inner Join Function