## 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 ;-)

## 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!

## 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.