Thursday, December 10, 2015

Android aplication to edit mathematical equations in latex

I have been looking for a long time for a good android app that would allow me to edit equations, and get the latex code of it, but I haven´t found nothing really good, untill now ;-)

 The first big step was my script smart note.  It makes a great work in recognizing a handwriteen equation, and allos to export the latex code to a tex file.

 But, in order to use it to write equations for a blog (or paper) I rather need to get the latex code writen to the wallpaper. For that purpose I begun writing an small app myself that imported the equations of that program. Althought my script makes a great work it doesn't allways recognizes things as you wan, so I decided to make a full equation's editor that can modify the imported equations, and ,of course, make an equation from zero. I have added symbols for most usual latex symbols, and also for the unsual. As far as I know the app is the most complete latex editor on the google play. It has a lot of symbols, and you have lot of flexibility to rearrange them to meet your preferences.

 But I didn't stop there. In a typical use one needs to write some equations once and again, or variants of them, and it is pretty stupid to write them from scratch every time. To ride with that the app allows to save the latex code of the equations, together with additional information that allows to search them, in a database so one can construct it´s own equation's agend.

Once you have an equation you have buttons that copy the equation to the clipboard so you only need to paste them into the destination. It even wraps them with the tags corresponding to blogspot (if you use matjax), wordpress, or forums that are latex enabled (there is a button for every purpose).

If you have a note device (phablet, or even better, tablet) you can use the multiwindow features and use my app side by side with a document reader from wich you are actually copiying the equations, or a web navigator, or the blogspot/wordpress apps, or whatever you need, so you are far more productive.

I have made two versions of the app. The basic one, that is free (and withouth google adds by now) contains all the mentioned functionality. It is available at Google Play since now here

The free version is very complete, and powerfull, but there is a full version that has best quality graphs, and aditional features (export of registers, to share among devices, or other people, import the equations from a latex file in your device, etc) that will be available pretty soon ;-).

 Beeing a blogger I have made it to make easy the most usual tasks of a scientific (mainly a physic) blogger, but It also makes a great work to write equations for a paper. As far as I know I honestly think that it is by far the best, and most complete equation editor in the android market, and, althought I don't know all the equations editors available, I think that even in windows there is nothing as complete and easy to use. But, of course, it may be because I have made it and I know how to use it, maybe others don't agree. In any case I hope you kike it, and find it usefull :).

Tuesday, July 28, 2015

Stringy summer cinema

This summer, as usual, there has been two major string conferences. One of them is the strings 2015, celebrated in India, and has been announced on the Lubos and Woit blog. The most relevant page of the conference contains the talks and includes links to the slides and videos to most of the conferences. I have seen some of them and my idea is to see all of the most relevant ones. Until now the one I have liked the more are the Maldacena one "Quantum mechanics and the geometry of spacetime" where he talks about the basics of black holes quantum aspects and from there he goes to his conjecture, to the correspondence ER=EPR, to the fluid-gravity duality and to some still to develop "Entanglements is the fluid mechanics of gravity" or something like that, that sounds really intriguing. Another very interesting one was the one by Ashoke Sen "Surviving in a metastable de Sitter space-time" It studies how the actual mass of the Higgs, on the metastability zone, represents a treat for the survival of the universe because there could be a transition to a most stable one in a given point and that region would grow to the speed of light. That is well known, but the new thing is that an small cosmological constant makes our universe more safe against that problem, and also discusses how having redundant information in sufficiently separated points you can be well assured against that danger. Ok, the stirngs 2015 has been announced in the blogs (although not as much as it usually was some years ago). But the thing is that recently in Madrid there was another very important string meeting String Phenomenology 2015. As with the strings 2015 there are links to the slides of the talks, and to the videos. The only difference is that instead of youtube the videos are located in another server and I am not sure for how long they will be available. The talks covers topics in string cosmology (mainly inflation). some of results and expectatives from the LHC lot of F-theory phenomenology and a few other mixed topics. Untill now I have just begun to watch the video of Eva Silverstein, that I find somewhat confuse so I can't say too much, but you can read more (in spanish) form the Francis blog El estado actual de las predicciones en teoría de cuerdas Wll, it has been really a large time that I had not written here. I hope next entry would not take that long ;-)

Saturday, October 04, 2014

Why it is a good idea to build a new supercollider

Sabine Hossenfelder has posted an entry in it's blog claiming that maybe it is not a good idea to build a new supercollider: Is the next supercollider a good investment?. I have nothing aagins Sabine, but I disagree with his arguments, and I have ansered her in her facebook. Because my answer has been long enought I have decided to copy it here in the form of a brief blog entry. I seriously disagree with your viewpoint about this. Perhaps the most important reason is that you are neglecting the dark side (matter and energy). We have overhelming evidence that the standard model is not the whole history. In fact we know that it is only an small part of the mass and energy of the universe. The fact of not knowing from direct evidence nothing about the major cinstituent of the universe means that we have very few predictive power about it. Of course we ca learn from the dark side by other type of experiments, but at the end of the day if we need detailled knowledge we need to product it in a collider (if we can). On the practical size, well, untill know the most of aplications from the standard model (the specific part that only theorethical physics study of it) come from neutrinos. That is because they can go througnt matter quite easily. Well, dark matter also can do that, but at slow speeds. If at some time we know how to product it and how to detect it in a reasonable way we could learn a lot abut solid objects, as for example, the earth, that are not available by other means. And you have also the possibility that dark matter is not simple -a single particle- and maybe you could do it for build something. Another point is the Higgs. We know that it existes, and it's mass. But we also know that itself alone is somewhat exoteric, I mean, the problem of it's raunaway mass and the naturallnes question. We had expected that something very special should existe at near the higgs mass, and we have barely beguined to explore that energies. Maybe we could say that naturalness was not a good idea, but note before studiying that range of energies in deep. And that drives me to another point. We even have not run the LHC at full energy. Maybe we could find a lot of things when it does. Even the mini black holes (and the associated braneworld scenaries)are not fully discarded at present for the next energies as far as I know. And that ,for sure, would be a great, great discover. I am almost sure that if there are mesoscopic extra dimensions and we can build miniblack holes there will be a lot of new aplied physics that will be build upon it. And about SUSY. well, it is a pain in the ass, I agree. But the fact is that it's non existance would be somewhat tantalizing. My main point about it is that local supersymmetry brings a theory of gravity, and I would find a bizarre coincidence that we have a theory of gravity and a well motivated theory of particle physics that gives gravity, and that both are unrelated. I am sure that I could elaborate a lot more on many of the subjects but I guess that anyone interested could do it by himself.

Sunday, June 29, 2014

Strings 2014

Long time since my last post. There is no particular reason, just a mix of circunstances. I write now to advise, if someone is still not aware, about the annual convention about string theory. The slides, and vídeos, are available online at talks online Based on previous experience with similar cases I warm potential watchers about the fact that the videos usually are available online for a limited amount of timpe, typically one or two weeks, so harry up!

Tuesday, December 31, 2013

A prety good year ending in Arxiv

After a somewhat disappointing year in theorethical physics where the greater topic seems to have been the black holes firewall discussion (seemingly settled in a long - around 90 pages- paper) the end year in a promising way. One one hand we have the second paper of the famous Amplituhedron construction (I told about it in my spanish blog when it appeared) that was announced by Nima Arkani-Hamed, but of which we only had seen a somewhat introductory paper. This is the second one: Into the Amplituhedron. I have not read it, neither I did it with the first. I still am reading, from time to time, a previous long paper about grassmanians and all that. I hope I'll give a reading to the first, and to the one of today, soon, but I guess that Lubos will write a fair better post about it that anything that I could do. I must acknowledge to Lubos the pointing to another paper. Gravitation from Entanglement in Holographic CFTs. I had not paid attention to it because almost like a question of principles I don't pay attention to papers with the fancy names "holographic" or "entanglement" in the topic. But this time it looks pretty important because it looks like is they have made a great advance in a constructive derivation of general relativity from some thermodynamics consideration, improving the previous work by Ted Jacobson. But better read the entry in Lubos Blog Einstein's equations from first law of thermodynamics in AdS. A very different type of article is Stars in M theory (made up of intersecting branes). The title is surprising and the subject certifies that we are in front of a very exotic paper. We study stars in M theory. First, we obtain the analog of Oppenheimer -- Volkoff equations in a suitably general set up. We obtain analytically the asymptotic solutions to these equations when the equations of state are linear. We study perturbations around such solutions in several examples and, following a standard method, use their behaviour to determine whether an instability is present or not. In this way, we obtain a generalisation of the corresponding results of Chavanis. We also find that stars in M theory have instabilities. Therefore, if sufficiently massive, such stars will collapse. We discuss the significance of these (in)stabilities within the context of Mathur's fuzz ball proposal. The last paper I consider is this: Inflationary paradigm after Planck 2013. The first author is the very creator of the idea of Inflation, Alan guth, and at first sight it would seem a review of resoluts. In fact is somewhat of a reply to another paper, but still it is a good way to get an idea of how the Planck results have affected our view on Inflation. One last words for my previous entry. After a discussion of it in an spanish forum I was pointed to an old paper by Tholman - and, seemengly, it could be considered in the kind of ideas discussed there. My example could be translated to emission of photons between bodies orbitating a central one. The gravitational blue/red shift would play the role of the expanding/contracting universe red/blue shift and that would accommodate into a stationary situation. If the difference of blue/red shift energy is greater than the temperature difference (boltzman factors mediated) then an inverse Clausius behaviour is possible. The key point is that the Clausius Law is not equivalent to the formulation of increase of entropy in a general relativistic setup and this last kind of law still holds, at least in static (probably stationary) gravitational fields, but I am not sure about how the same would still hold in a general spacetime.

Thursday, October 24, 2013

Spacetime kills the second law of thermodynamics, real or paradox?

  This summer, among many other things, have read the famous book of Susskind and Lindesay about black hole information paradox. Casually just after finishing ir's reading I have to teach in private tuition (hope I am saying it right ) statistical mechanics (a conventional introduction with the main average topics). In doing that I have revised the foundations of it from the viewpoint of what I had read in the Susskind, and also some other aspects that one must face when triying to apply  statistical mechanic reasoning to non physical problems (for example ecology (I collaborated with a guy working in mathematical ecology for a while).

  There are a few things that I am thinking about, but for the present entry I will concentrate in an easy mental experiment that, at least apparently, violates the second law of thermodynamics. The key of the violation is the lack of a proper definition of energy in general relativity, but for the present case I don't even need to go into mathematical details about it. My idea was clear, take a situation where that problem in the energy definition rises a paradox that violates the second law. I tried a few strategies that possible also work, but in the end I found a really easy one that I think is simple and representative.

 I have found that the easier way of attack is to use the Clausius enunciate: No physical process can transfer heat from a cold body to a warm one. The way to circunvate the law is as follows: Take two  "black bodies", for example the canonical ones consisting of a cavity with photons in equilibrium with the walls that are at different temperatures. Now in the warmer one open the also canonical small hole that allow a photon, or a few ones, to scape. This is made in an expanding universe, the photons that have exit form the body travel in that space time loosing energy. Them they arrive at the coldest body. The photons of the warmer body initially had more energy that the ones in the coldest body, but now, after travelling in the expanding space time, arrive to the second with less energy that the photons in the cold body. That means that the cold body becomes coldest after it gets in equilibrium with that photons. Now we make the reverse procedure, we send some photons from the cold (now coldest) body to the warmest one. But, as this is an imaginary experiment, choose to do so when the universe is contracting (for example we make the experiment in the edge of the time when a FRW goes for the expanding to the contracting phase). In the travel on this contracting universe the photons gain energy and when they arrive to the warmest body they can be, if we wait enough, be more energetic than the ones in equilibrium with the warm body and so they actually  drive it hotter. As far as we can make the experiment as far as we want from anything else we are in a closed system and in that closed system we have effectively transferred heat from a cold body to a hot one, breaking the second law.

 Of course we have not counted the entropy of spacetime, but how could we do so? In the Hawking laws of black holes we learned that classical gravity worked as entropy, the area of a black hole playing the role of entropy. And  it is well known how the Hawking radiation, a semiclassical effect (so taking quantum mechanics into play) gave a further argument. String theory (and ulterior works using  only geometry and CFT, the kerr/CFT correspondence) gave microscopic support to that correspondence among gravity and thermodinamics. And also are were known the, probably wrong, ideas about gravity as entropy, that have gained a rebirth with the paper of Verlinde about "gravity as en entropic force". But in this mind experiment I don't use nothing special in GR, something like an horizon, or quantum effects. Neither is any claim about saying that gravity is entropy. The whole point is that, if there is no mistake, if you don't know how to count the entropy of the spacetime, in this nonstationary case, you can violate the second law of thermodynamics, and that looks very unfunny, isn't it? ;)

 The most similar situation that I know is the famous case of Hawkings telling once (and later felling shame about the idea) that in a contracting universe entropy would go in the opposite direction, and the worries of Sean Carrol and others about the thermodynamic arrow. But as far as I know none made such an explicit case as the one I am presenting here.

 Just to avoid some trivial criticisms I clarify that in GR the energy of a body (or a system of bodies) is the time component of a cuadrivector, so it is not an invariant. As E=Q-W (first law) and \[ \Delta S= \Delta Q /T \] entropy also should be some time component of some cuadrivector and that makes it's precise definition somewhat tricky, but as far as I see this experiment could be suited in a single reference system so we don't need to care about that things.

 Well, this is the idea, and probably I am making some very trivial mistake, or this simply has already been considered and discarded, but as I don't know for sure than that is the case I present the idea here so anyone can blame me if necessary ;).

Friday, September 27, 2013

Conference about the inmeditate future of particle physics afther the Higgs discovering

As you can have read in the Peter Woit blog this week there was a meeting in Madrid, in the institute of theorethical physics, auspiced by the CSIC (consejo superior de investigaciones científicas, close to the UAM , autonomous university of Madrid) with the title " Why mH= 126 GeV? .

 The conferences have been recorded in video and are available online (including the slides). This morning is having place the last set of talks. IT begins at 10 00 so if you live somewhere in the UE maybe you still can get a plane and arrive to the dinner after the last talk, or, if you live in Madrid you can get the next train or bus to Cantoblanco and probably you could arrive to most of the talks.

 I find the topics pretty interesting from a phenomenology viewpoint because some clues on where to be reasonable to watch for new physics. I'll try to post some review of the most interesting ideas exposed if I find time for it.